diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-08 16:03:29 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-14 08:37:39 +0200 |
commit | 66525bb73235464e02bac99d8f01c88a5bf97d14 (patch) | |
tree | c57725c50a0e95bde28833dac477cb5e8f382c8d /drivers/video/anx9804.h | |
parent | fb685d3310a68d9f32f6ae8f328e63156c47ef09 (diff) | |
download | u-boot-66525bb73235464e02bac99d8f01c88a5bf97d14.tar.gz |
video: Add support for the ANX9804 parallel lcd to dp bridge chip
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>
Diffstat (limited to 'drivers/video/anx9804.h')
-rw-r--r-- | drivers/video/anx9804.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/video/anx9804.h b/drivers/video/anx9804.h new file mode 100644 index 0000000000..6c5daf92ea --- /dev/null +++ b/drivers/video/anx9804.h @@ -0,0 +1,25 @@ +/* + * (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 |