mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
66525bb732
Add support for the ANX9804 bridge chip, which can take pixel data coming from a parallel LCD interface and translate it on the fly into a DP interface for driving eDP TFT displays. It uses I2C for configuration. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Anatolij Gustschin <agust@denx.de>
25 lines
661 B
C
25 lines
661 B
C
/*
|
|
* (C) 2015 Hans de Goede <hdegoede@redhat.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/*
|
|
* Support for the ANX9804 bridge chip, which can take pixel data coming
|
|
* from a parallel LCD interface and translate it on the flight into a DP
|
|
* interface for driving eDP TFT displays.
|
|
*/
|
|
|
|
#ifndef _ANX9804_H
|
|
#define _ANX9804_H
|
|
|
|
#define ANX9804_DATA_RATE_1620M 0x06
|
|
#define ANX9804_DATA_RATE_2700M 0x0a
|
|
|
|
#ifdef CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804
|
|
void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp);
|
|
#else
|
|
static inline void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate,
|
|
int bpp) {}
|
|
#endif
|
|
#endif
|