Skip to content

Commit

Permalink
modify orangepi dts and add fragement for hdmirx-5v-detection
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoff committed Jul 23, 2024
1 parent 9c5dd0e commit 7b5db01
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,16 @@ index 111111111111..222222222222 100644
};

&i2c7 {
@@ -385,7 +459,7 @@ &pcie3x4 {
@@ -383,9 +457,15 @@ &pcie3x4 {
};

&pinctrl {
+ hdmirx {
+ hdmirx_5v_detection: hdmirx-5v-detection {
+ rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
hym8563 {
hym8563_int: hym8563-int {
- rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
Expand Down Expand Up @@ -240,6 +248,18 @@ index 111111111111..222222222222 100644
+ status = "okay";
+};
+
+&hdmi_receiver {
+ status = "okay";
+ hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl
+ &hdmim1_rx_sda &hdmirx_5v_detection>;
+ pinctrl-names = "default";
+};
+
+&hdmi_receiver_cma {
+ status = "okay";
+};
+
+&vop_mmu {
+ status = "okay";
+};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@
status = "okay";
};
};

fragment@2 {
target = <&hdmirx>;
__overlay__ {
hdmirx-5v-detection = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
};
};
};

0 comments on commit 7b5db01

Please sign in to comment.