mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
arm64: dts: imx8mp-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 VEXT_3V3 fixed regulator.
* Add "*-supply" properties, since most are required.
* Fix label names - s/adv7533/adv7535/.
Fixes: 65344b9bed ("arm64: dts: imx8mp-evk: Add HDMI support")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
a05de2cca0
commit
0ff08803ec
1 changed files with 21 additions and 12 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
port {
|
port {
|
||||||
hdmi_connector_in: endpoint {
|
hdmi_connector_in: endpoint {
|
||||||
remote-endpoint = <&adv7533_out>;
|
remote-endpoint = <&adv7535_out>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -107,6 +107,13 @@
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_vext_3v3: regulator-vext-3v3 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "VEXT_3V3";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
};
|
||||||
|
|
||||||
sound {
|
sound {
|
||||||
compatible = "simple-audio-card";
|
compatible = "simple-audio-card";
|
||||||
simple-audio-card,name = "wm8960-audio";
|
simple-audio-card,name = "wm8960-audio";
|
||||||
|
|
@ -364,7 +371,7 @@
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
BUCK5 {
|
reg_buck5: BUCK5 {
|
||||||
regulator-name = "BUCK5";
|
regulator-name = "BUCK5";
|
||||||
regulator-min-microvolt = <1650000>;
|
regulator-min-microvolt = <1650000>;
|
||||||
regulator-max-microvolt = <1950000>;
|
regulator-max-microvolt = <1950000>;
|
||||||
|
|
@ -415,14 +422,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>;
|
||||||
adi,input-depth = <8>;
|
avdd-supply = <®_buck5>;
|
||||||
adi,input-colorspace = "rgb";
|
dvdd-supply = <®_buck5>;
|
||||||
adi,input-clock = "1x";
|
pvdd-supply = <®_buck5>;
|
||||||
adi,input-style = <1>;
|
a2vdd-supply = <®_buck5>;
|
||||||
adi,input-justification = "evenly";
|
v3p3-supply = <®_vext_3v3>;
|
||||||
|
v1p2-supply = <®_buck5>;
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
@ -431,7 +440,7 @@
|
||||||
port@0 {
|
port@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
adv7533_in: endpoint {
|
adv7535_in: endpoint {
|
||||||
remote-endpoint = <&dsi_out>;
|
remote-endpoint = <&dsi_out>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -439,7 +448,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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -524,7 +533,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…
Add table
Reference in a new issue