arm64: dts: imx8mm-evk: Fix hdmi@3d node
The hdmi@3d node's compatible string is "adi,adv7535" instead of "adi,adv7533" or "adi,adv751*". Fix the hdmi@3d node by means of: * Use default register addresses for "cec", "edid" and "packet", because there is no need to use a non-default address map. * Add missing interrupt related properties. * Drop "adi,input-*" properties which are only valid for adv751*. * Add VDDEXT_3V3 fixed regulator * Add "*-supply" properties, since most are required. * Fix label names - s/adv7533/adv7535/. Fixes: a27335b3f1e0 ("arm64: dts: imx8mm-evk: Add HDMI support") Signed-off-by: Liu Ying <victor.liu@nxp.com> Tested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
9d1e8275a2
commit
efa97aed07
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
port {
|
port {
|
||||||
hdmi_connector_in: endpoint {
|
hdmi_connector_in: endpoint {
|
||||||
remote-endpoint = <&adv7533_out>;
|
remote-endpoint = <&adv7535_out>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -72,6 +72,13 @@
|
|||||||
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>;
|
||||||
|
};
|
||||||
|
|
||||||
backlight: backlight {
|
backlight: backlight {
|
||||||
compatible = "pwm-backlight";
|
compatible = "pwm-backlight";
|
||||||
pwms = <&pwm1 0 5000000 0>;
|
pwms = <&pwm1 0 5000000 0>;
|
||||||
@ -317,15 +324,16 @@
|
|||||||
|
|
||||||
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>;
|
||||||
|
avdd-supply = <&buck5_reg>;
|
||||||
adi,input-depth = <8>;
|
dvdd-supply = <&buck5_reg>;
|
||||||
adi,input-colorspace = "rgb";
|
pvdd-supply = <&buck5_reg>;
|
||||||
adi,input-clock = "1x";
|
a2vdd-supply = <&buck5_reg>;
|
||||||
adi,input-style = <1>;
|
v3p3-supply = <®_vddext_3v3>;
|
||||||
adi,input-justification = "evenly";
|
v1p2-supply = <&buck5_reg>;
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
@ -334,7 +342,7 @@
|
|||||||
port@0 {
|
port@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
adv7533_in: endpoint {
|
adv7535_in: endpoint {
|
||||||
remote-endpoint = <&dsi_out>;
|
remote-endpoint = <&dsi_out>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -342,7 +350,7 @@
|
|||||||
port@1 {
|
port@1 {
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
|
|
||||||
adv7533_out: endpoint {
|
adv7535_out: endpoint {
|
||||||
remote-endpoint = <&hdmi_connector_in>;
|
remote-endpoint = <&hdmi_connector_in>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -448,7 +456,7 @@
|
|||||||
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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user