Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2010,2011 |
| 4 | * NVIDIA Corporation <www.nvidia.com> |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _SYS_PROTO_H_ |
| 8 | #define _SYS_PROTO_H_ |
| 9 | |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 10 | void invalidate_dcache(void); |
| 11 | |
Simon Glass | 69c93c7 | 2015-04-14 21:03:25 -0600 | [diff] [blame] | 12 | /** |
| 13 | * tegra_board_id() - Get the board iD |
| 14 | * |
Heinrich Schuchardt | 47b4c02 | 2022-01-19 18:05:50 +0100 | [diff] [blame] | 15 | * Return: a board ID, or -ve on error |
Simon Glass | 69c93c7 | 2015-04-14 21:03:25 -0600 | [diff] [blame] | 16 | */ |
| 17 | int tegra_board_id(void); |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 18 | |
Simon Glass | 0cf62dd | 2015-04-14 21:03:27 -0600 | [diff] [blame] | 19 | /** |
| 20 | * tegra_lcd_pmic_init() - Set up the PMIC for a board |
| 21 | * |
| 22 | * @board_id: Board ID which may be used to select LCD type |
Heinrich Schuchardt | 47b4c02 | 2022-01-19 18:05:50 +0100 | [diff] [blame] | 23 | * Return: 0 if OK, -ve on error |
Simon Glass | 0cf62dd | 2015-04-14 21:03:27 -0600 | [diff] [blame] | 24 | */ |
| 25 | int tegra_lcd_pmic_init(int board_id); |
| 26 | |
Simon Glass | 44a6808 | 2015-06-05 14:39:42 -0600 | [diff] [blame] | 27 | /** |
| 28 | * nvidia_board_init() - perform any board-specific init |
| 29 | * |
Heinrich Schuchardt | 47b4c02 | 2022-01-19 18:05:50 +0100 | [diff] [blame] | 30 | * Return: 0 if OK, -ve on error |
Simon Glass | 44a6808 | 2015-06-05 14:39:42 -0600 | [diff] [blame] | 31 | */ |
| 32 | int nvidia_board_init(void); |
| 33 | |
Svyatoslav Ryhel | b99f3df | 2023-02-14 19:35:31 +0200 | [diff] [blame^] | 34 | /** |
| 35 | * nvidia_board_late_init() - perform any board-specific |
| 36 | * init on late stages |
| 37 | */ |
| 38 | void nvidia_board_late_init(void); |
| 39 | |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 40 | #endif |