Skip to content

Commit

Permalink
MIPS: DTS: CI20: fix how ddc power is enabled
Browse files Browse the repository at this point in the history
Originally we proposed a new hdmi-5v-supply regulator reference
for CI20 device tree but that was superseded by a better idea to use
the already defined "ddc-en-gpios" property of the "hdmi-connector".

Since "MIPS: DTS: CI20: Add DT nodes for HDMI setup" has already
been applied to v5.17-rc1, we add this on top.

Fixes: ae1b8d2 ("MIPS: DTS: CI20: Add DT nodes for HDMI setup")
Signed-off-by: H. Nikolaus Schaller <[email protected]>
Reviewed-by: Paul Cercueil <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
  • Loading branch information
goldelico authored and tsbogend committed Feb 9, 2022
1 parent dfd42fa commit d9565bf
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions arch/mips/boot/dts/ingenic/ci20.dts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
label = "HDMI OUT";
type = "a";

ddc-en-gpios = <&gpa 25 GPIO_ACTIVE_HIGH>;

port {
hdmi_con: endpoint {
remote-endpoint = <&dw_hdmi_out>;
Expand Down Expand Up @@ -114,17 +116,6 @@
gpio = <&gpf 14 GPIO_ACTIVE_LOW>;
enable-active-high;
};

hdmi_power: fixedregulator@3 {
compatible = "regulator-fixed";

regulator-name = "hdmi_power";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;

gpio = <&gpa 25 0>;
enable-active-high;
};
};

&ext {
Expand Down Expand Up @@ -576,8 +567,6 @@
pinctrl-names = "default";
pinctrl-0 = <&pins_hdmi_ddc>;

hdmi-5v-supply = <&hdmi_power>;

ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit d9565bf

Please sign in to comment.