soc/mediatek/mt8196: Initialize SSPM
[coreboot.git] / src / drivers / ti / sn65dsi86bridge / sn65dsi86bridge.h
blob0f0308018523e1a080f537100bd52907be865a23
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __TI_SN65DSI86BRIDGE_H
4 #define __TI_SN65DSI86BRIDGE_H
6 #include <edid.h>
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,
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);
23 #endif