Skip to content

Commit d0cb2f3

Browse files
openedevmmind
authored andcommitted
ARM: dts: rockchip: Add HDMI out for RockPI N8/N10
This patch adds support to enable HDMI out for N10 and N8 combinations SBCs. Signed-off-by: Jagan Teki <[email protected]> Signed-off-by: Suniel Mahesh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 417b188 commit d0cb2f3

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

arch/arm/boot/dts/rk3288-vmarc-som.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
3939
};
4040

41+
&hdmi {
42+
ddc-i2c-bus = <&i2c5>;
43+
pinctrl-names = "default";
44+
pinctrl-0 = <&hdmi_cec_c0>;
45+
};
46+
4147
&i2c0 {
4248
clock-frequency = <400000>;
4349
status = "okay";
@@ -225,6 +231,10 @@
225231
};
226232
};
227233

234+
&i2c5 {
235+
status = "okay";
236+
};
237+
228238
&io_domains {
229239
bb-supply = <&vcc_io>;
230240
flash0-supply = <&vccio_flash>;

arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
status = "okay";
6767
};
6868

69+
&hdmi {
70+
status = "okay";
71+
};
72+
6973
&pwm0 {
7074
status = "okay";
7175
};
@@ -94,3 +98,19 @@
9498
&uart2 {
9599
status = "okay";
96100
};
101+
102+
&vopb {
103+
status = "okay";
104+
};
105+
106+
&vopb_mmu {
107+
status = "okay";
108+
};
109+
110+
&vopl {
111+
status = "okay";
112+
};
113+
114+
&vopl_mmu {
115+
status = "okay";
116+
};

arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
4040
};
4141

42+
&hdmi {
43+
ddc-i2c-bus = <&i2c3>;
44+
pinctrl-names = "default";
45+
pinctrl-0 = <&hdmi_cec>;
46+
};
47+
4248
&i2c0 {
4349
clock-frequency = <400000>;
4450
i2c-scl-falling-time-ns = <30>;
@@ -285,6 +291,12 @@
285291
};
286292
};
287293

294+
&i2c3 {
295+
i2c-scl-rising-time-ns = <450>;
296+
i2c-scl-falling-time-ns = <15>;
297+
status = "okay";
298+
};
299+
288300
&io_domains {
289301
status = "okay";
290302
bt656-supply = <&vcca_1v8>;

0 commit comments

Comments
 (0)