| 1 |
|
| 2 |
|
| 3 |
#ifndef __TI_SN65DSI86BRIDGE_H |
| 4 |
#define __TI_SN65DSI86BRIDGE_H |
| 5 |
|
| 6 |
#include <edid.h> |
| 7 |
|
| 8 |
enum dp_pll_clk_src { |
| 9 |
SN65_SEL_12MHZ = 0x0, |
| 10 |
SN65_SEL_19MHZ = 0x1, |
| 11 |
SN65_SEL_26MHZ = 0x2, |
| 12 |
SN65_SEL_27MHZ = 0x3, |
| 13 |
SN65_SEL_38MHZ = 0x4, |
| 14 |
}; |
| 15 |
|
| 16 |
void sn65dsi86_bridge_init(uint8_t bus, uint8_t chip, enum dp_pll_clk_src ref_clk); |
| 17 |
void sn65dsi86_bridge_configure(uint8_t bus, uint8_t chip, |
| 18 |
struct edid *edid, uint32_t num_of_lines, |
| 19 |
uint32_t dsi_bpp); |
| 20 |
enum cb_err sn65dsi86_bridge_read_edid(uint8_t bus, uint8_t chip, struct edid *out); |
| 21 |
void sn65dsi86_backlight_enable(uint8_t bus, uint8_t chip); |
| 22 |
|
| 23 |
#endif |