From: sergei.shtylyov@cogentembedded•com (sergei.shtylyov at cogentembedded.com)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] ARM: shmobile: koelsch: add VIN1/ADV7180 DT support
Date: Wed, 06 Aug 2014 22:38:22 +0400 [thread overview]
Message-ID: <2131152.vMTPsJUYLQ@wasted.cogentembedded.com> (raw)
In-Reply-To: <201408020402.14560.sergei.shtylyov@cogentembedded.com>
Define the Koelsch board dependent part of the VIN1 device node. Add the device
node for Analog Devices ADV7180 video decoder to I2C2 bus. Add the necessary
subnodes to interconnect VIN1 and ADV7180 devices.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
---
This patch is against the 'renesas-devel-v3.16-20140804' tag of Simon Horman's
'renesas.git' repo. It requires the 'soc_camera' and 'rcar_vin' device tree
support patches (already merged to the 'media_tree.git' repo) in order to work.
arch/arm/boot/dts/r8a7791-koelsch.dts | 35 ++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -289,6 +289,11 @@
renesas,groups = "usb1";
renesas,function = "usb1";
};
+
+ vin1_pins: vin1 {
+ renesas,groups = "vin1_data8", "vin1_clk";
+ renesas,function = "vin1";
+ };
};
ðer {
@@ -416,6 +421,19 @@
status = "okay";
clock-frequency = <400000>;
+ composite-in at 20 {
+ compatible = "adi,adv7180";
+ reg = <0x20>;
+ remote = <&vin1>;
+
+ port {
+ adv7180: endpoint {
+ bus-width = <8>;
+ remote-endpoint = <&vin1ep>;
+ };
+ };
+ };
+
eeprom at 50 {
compatible = "renesas,24c02";
reg = <0x50>;
@@ -463,3 +481,20 @@
&cpu0 {
cpu0-supply = <&vdd_dvfs>;
};
+
+/* composite video input */
+&vin1 {
+ status = "ok";
+ pinctrl-0 = <&vin1_pins>;
+ pinctrl-names = "default";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ vin1ep: endpoint {
+ remote-endpoint = <&adv7180>;
+ bus-width = <8>;
+ };
+ };
+};
next prev parent reply other threads:[~2014-08-06 18:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-02 0:02 [PATCH v2 0/2] Add VIN and ADV7180 device tree support for R8A7791/Henninger board Sergei Shtylyov
2014-08-02 0:04 ` [PATCH v2 1/2] ARM: shmobile: r8a7791: add VIN DT support Sergei Shtylyov
2014-08-02 0:05 ` [PATCH v2 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 " Sergei Shtylyov
2014-08-04 7:08 ` [PATCH v2 0/2] Add VIN and ADV7180 device tree support for R8A7791/Henninger board Simon Horman
2014-08-06 18:38 ` sergei.shtylyov at cogentembedded.com [this message]
2014-08-07 0:47 ` [PATCH] ARM: shmobile: koelsch: add VIN1/ADV7180 DT support Simon Horman
2014-08-07 4:01 ` Magnus Damm
2014-08-07 15:31 ` Sergei Shtylyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2131152.vMTPsJUYLQ@wasted.cogentembedded.com \
--to=sergei.shtylyov@cogentembedded$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox