Skip to content

Commit

Permalink
ARM: shmobile: porter: add VIN0/ADV7180 DT support
Browse files Browse the repository at this point in the history
Define the  Porter board dependent part of the VIN0 device node.
Add the device node for Analog Devices  ADV7180 video decoder to I2C2 bus.
Add the necessary subnodes to interconnect VIN0 and ADV7180 devices.

This patch is  analogous to the commit 8d62f4f ("ARM: shmobile:
henninger: add VIN0/ADV7180 DT support") as there are no differences
between the boards in this respect.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Oct 9, 2015
1 parent d6b9403 commit 778f2e7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions arch/arm/boot/dts/r8a7791-porter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@
renesas,groups = "i2c2";
renesas,function = "i2c2";
};

vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0";
};
};

&scif0 {
Expand Down Expand Up @@ -166,8 +171,38 @@

status = "okay";
clock-frequency = <400000>;

composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
remote = <&vin0>;

port {
adv7180: endpoint {
bus-width = <8>;
remote-endpoint = <&vin0ep>;
};
};
};
};

&sata0 {
status = "okay";
};

/* composite video input */
&vin0 {
status = "ok";
pinctrl-0 = <&vin0_pins>;
pinctrl-names = "default";

port {
#address-cells = <1>;
#size-cells = <0>;

vin0ep: endpoint {
remote-endpoint = <&adv7180>;
bus-width = <8>;
};
};
};

0 comments on commit 778f2e7

Please sign in to comment.