Commit d157e889 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

arm64: dts: imx8mn-evk: Fix ADV7535 dt-schema warnings

Currently, there are several ADV7535 dt-schema warnings.

Fx them the same way as in commit efa97aed ("arm64: dts:
imx8mm-evk: Fix hdmi@3d node").

As there are two different PMICs used on the imx8mn-evk variants,
describe the ADV7535 power supplies in each board devicetree.

Fixes: 5aafda60 ("arm64: dts: imx8mn-evk: Add camera support")
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 97459224
...@@ -112,3 +112,13 @@ ldo5: LDO5 { ...@@ -112,3 +112,13 @@ ldo5: LDO5 {
}; };
}; };
}; };
&i2c2 {
hdmi@3d {
avdd-supply = <&buck5>;
dvdd-supply = <&buck5>;
pvdd-supply = <&buck5>;
a2vdd-supply = <&buck5>;
v1p2-supply = <&buck5>;
};
};
...@@ -158,3 +158,13 @@ ldo6_reg: LDO6 { ...@@ -158,3 +158,13 @@ ldo6_reg: LDO6 {
}; };
}; };
}; };
&i2c2 {
hdmi@3d {
avdd-supply = <&buck5_reg>;
dvdd-supply = <&buck5_reg>;
pvdd-supply = <&buck5_reg>;
a2vdd-supply = <&buck5_reg>;
v1p2-supply = <&buck5_reg>;
};
};
...@@ -125,3 +125,13 @@ ldo5: LDO5 { ...@@ -125,3 +125,13 @@ ldo5: LDO5 {
}; };
}; };
}; };
&i2c2 {
hdmi@3d {
avdd-supply = <&buck5>;
dvdd-supply = <&buck5>;
pvdd-supply = <&buck5>;
a2vdd-supply = <&buck5>;
v1p2-supply = <&buck5>;
};
};
...@@ -30,7 +30,7 @@ hdmi-connector { ...@@ -30,7 +30,7 @@ hdmi-connector {
port { port {
hdmi_connector_in: endpoint { hdmi_connector_in: endpoint {
remote-endpoint = <&adv7533_out>; remote-endpoint = <&adv7535_out>;
}; };
}; };
}; };
...@@ -52,6 +52,13 @@ reg_usdhc2_vmmc: regulator-usdhc2 { ...@@ -52,6 +52,13 @@ reg_usdhc2_vmmc: regulator-usdhc2 {
enable-active-high; enable-active-high;
}; };
reg_vddext_3v3: regulator-vddext-3v3 {
compatible = "regulator-fixed";
regulator-name = "VDDEXT_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
ir-receiver { ir-receiver {
compatible = "gpio-ir-receiver"; compatible = "gpio-ir-receiver";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
...@@ -193,15 +200,11 @@ &i2c2 { ...@@ -193,15 +200,11 @@ &i2c2 {
hdmi@3d { hdmi@3d {
compatible = "adi,adv7535"; compatible = "adi,adv7535";
reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; reg = <0x3d>;
reg-names = "main", "cec", "edid", "packet"; interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
adi,dsi-lanes = <4>; adi,dsi-lanes = <4>;
v3p3-supply = <&reg_vddext_3v3>;
adi,input-depth = <8>;
adi,input-colorspace = "rgb";
adi,input-clock = "1x";
adi,input-style = <1>;
adi,input-justification = "evenly";
ports { ports {
#address-cells = <1>; #address-cells = <1>;
...@@ -210,7 +213,7 @@ ports { ...@@ -210,7 +213,7 @@ ports {
port@0 { port@0 {
reg = <0>; reg = <0>;
adv7533_in: endpoint { adv7535_in: endpoint {
remote-endpoint = <&dsi_out>; remote-endpoint = <&dsi_out>;
}; };
}; };
...@@ -218,7 +221,7 @@ adv7533_in: endpoint { ...@@ -218,7 +221,7 @@ adv7533_in: endpoint {
port@1 { port@1 {
reg = <1>; reg = <1>;
adv7533_out: endpoint { adv7535_out: endpoint {
remote-endpoint = <&hdmi_connector_in>; remote-endpoint = <&hdmi_connector_in>;
}; };
}; };
...@@ -335,7 +338,7 @@ port@1 { ...@@ -335,7 +338,7 @@ port@1 {
reg = <1>; reg = <1>;
dsi_out: endpoint { dsi_out: endpoint {
remote-endpoint = <&adv7533_in>; remote-endpoint = <&adv7535_in>;
data-lanes = <1 2 3 4>; data-lanes = <1 2 3 4>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment