2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2015-08-08 14:03:29 +00:00
|
|
|
/*
|
|
|
|
* (C) 2015 Hans de Goede <hdegoede@redhat.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|
2021-10-08 05:17:24 +00:00
|
|
|
void anx9804_init(struct udevice *i2c_bus, u8 lanes, u8 data_rate, int bpp);
|
2015-08-08 14:03:29 +00:00
|
|
|
#else
|
2021-10-08 05:17:24 +00:00
|
|
|
static inline void anx9804_init(struct udevice *i2c_bus, u8 lanes, u8 data_rate,
|
2015-08-08 14:03:29 +00:00
|
|
|
int bpp) {}
|
|
|
|
#endif
|
2021-10-08 05:17:24 +00:00
|
|
|
|
2015-08-08 14:03:29 +00:00
|
|
|
#endif
|