blob: 501ed3ada826fd6ebfcf57b098b9908d117c75e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __RK_HDMI_H__
#define __RK_HDMI_H__
struct rkhdmi_driverdata {
/* configuration */
u8 i2c_clk_high;
u8 i2c_clk_low;
const char * const *regulator_names;
u32 regulator_names_cnt;
/* setters/getters */
int (*set_input_vop)(struct udevice *dev);
int (*clk_config)(struct udevice *dev);
};
struct rk_hdmi_priv {
struct dw_hdmi hdmi;
void *grf;
};
int rk_hdmi_read_edid(struct udevice *dev, u8 *buf, int buf_size);
void rk_hdmi_probe_regulators(struct udevice *dev,
const char * const *names, int cnt);
int rk_hdmi_ofdata_to_platdata(struct udevice *dev);
int rk_hdmi_probe(struct udevice *dev);
#endif
|