Commit d594c977 authored by Ben Dooks's avatar Ben Dooks Committed by Simon Horman

ARM: shmobile: lager: add VIN1/ADV7180 device nodes

Add the Lager board specific device node part for VIN1 (composite video in);
add the device node for Analog Devices ADV7180 video decoder to IIC2 bus.
Add the necessary subnodes to interconnect VIN1 and ADV7180 devices.
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
[Sergei: rebased, edited changelog and summary]
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 9f685bfc
......@@ -234,6 +234,11 @@ usb2_pins: usb2 {
renesas,groups = "usb2";
renesas,function = "usb2";
};
vin1_pins: vin {
renesas,groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1";
};
};
&ether {
......@@ -366,6 +371,19 @@ &iic2 {
status = "ok";
pinctrl-0 = <&iic2_pins>;
pinctrl-names = "default";
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
remote = <&vin1>;
port {
adv7180: endpoint {
bus-width = <8>;
remote-endpoint = <&vin1ep0>;
};
};
};
};
&iic3 {
......@@ -401,3 +419,21 @@ &pci2 {
pinctrl-0 = <&usb2_pins>;
pinctrl-names = "default";
};
/* composite video input */
&vin1 {
pinctrl-0 = <&vin1_pins>;
pinctrl-names = "default";
status = "ok";
port {
#address-cells = <1>;
#size-cells = <0>;
vin1ep0: endpoint {
remote-endpoint = <&adv7180>;
bus-width = <8>;
};
};
};
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