Commit 83a0731b authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman

ARM: shmobile: koelsch: Add DU HDMI output support

Add DT nodes for the ADV7511 HDMI encoder and its HDMI output connector
and configure the DISP pin group that drives the HDMI transmitter DE
pin.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 2ea0d4ec
...@@ -258,6 +258,17 @@ sndcodec: simple-audio-card,codec { ...@@ -258,6 +258,17 @@ sndcodec: simple-audio-card,codec {
system-clock-frequency = <11289600>; system-clock-frequency = <11289600>;
}; };
}; };
hdmi-out {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con: endpoint {
remote-endpoint = <&adv7511_out>;
};
};
};
}; };
&du { &du {
...@@ -266,6 +277,11 @@ &du { ...@@ -266,6 +277,11 @@ &du {
status = "okay"; status = "okay";
ports { ports {
port@0 {
endpoint {
remote-endpoint = <&adv7511_in>;
};
};
port@1 { port@1 {
lvds_connector: endpoint { lvds_connector: endpoint {
}; };
...@@ -284,7 +300,7 @@ i2c2_pins: i2c2 { ...@@ -284,7 +300,7 @@ i2c2_pins: i2c2 {
}; };
du_pins: du { du_pins: du {
renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0"; renesas,groups = "du_rgb666", "du_sync", "du_disp", "du_clk_out_0";
renesas,function = "du"; renesas,function = "du";
}; };
...@@ -506,6 +522,38 @@ adv7180: endpoint { ...@@ -506,6 +522,38 @@ adv7180: endpoint {
}; };
}; };
hdmi@39 {
compatible = "adi,adv7511w";
reg = <0x39>;
interrupt-parent = <&gpio3>;
interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
adi,input-depth = <8>;
adi,input-colorspace = "rgb";
adi,input-clock = "1x";
adi,input-style = <1>;
adi,input-justification = "evenly";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
adv7511_in: endpoint {
remote-endpoint = <&du_out_rgb>;
};
};
port@1 {
reg = <1>;
adv7511_out: endpoint {
remote-endpoint = <&hdmi_con>;
};
};
};
};
eeprom@50 { eeprom@50 {
compatible = "renesas,24c02"; compatible = "renesas,24c02";
reg = <0x50>; reg = <0x50>;
......
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