u-boot/arch/arm/include/asm/arch-tegra/sys_proto.h
Simon Glass 8277636420 tegra: Provide a function to allow LCD PMIC setup
Some LCDs require a PMIC to be set up - add a function for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2015-05-13 09:24:08 -07:00

28 lines
512 B
C

/*
* (C) Copyright 2010,2011
* NVIDIA Corporation <www.nvidia.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _SYS_PROTO_H_
#define _SYS_PROTO_H_
void invalidate_dcache(void);
/**
* tegra_board_id() - Get the board iD
*
* @return a board ID, or -ve on error
*/
int tegra_board_id(void);
/**
* tegra_lcd_pmic_init() - Set up the PMIC for a board
*
* @board_id: Board ID which may be used to select LCD type
* @return 0 if OK, -ve on error
*/
int tegra_lcd_pmic_init(int board_id);
#endif