* [PATCH 0/2] VIN, ADV7180 for r8a7794/alt
@ 2015-11-18 12:51 Ulrich Hecht
[not found] ` <1447851067-8214-1-git-send-email-ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ulrich Hecht @ 2015-11-18 12:51 UTC (permalink / raw)
To: linux-sh, horms
Cc: magnus.damm, laurent.pinchart, sergei.shtylyov, devicetree,
linux-arm-kernel, Ulrich Hecht
Hi!
This series adds VIN support for the Alt board. The hardware configuration
for I2C1 and the video decoder of Alt is exactly identical to that of Silk,
so these are largely identical to Sergei's Silk definitions.
To be applied on top of Horms's "ARM: shmobile: alt: Add pfc pins to DT"
patch.
CU
Uli
Ulrich Hecht (2):
ARM: shmobile: alt: add I2C1 DT support
ARM: shmobile: alt: add VIN0, ADV7180 DT support
arch/arm/boot/dts/r8a7794-alt.dts | 47 +++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
--
2.6.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: shmobile: alt: add I2C1 DT support
[not found] ` <1447851067-8214-1-git-send-email-ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-11-18 12:51 ` Ulrich Hecht
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Hecht @ 2015-11-18 12:51 UTC (permalink / raw)
To: linux-sh-u79uwXL29TY76Z2rM5mHXA, horms-/R6kz+dDXgpPR4JQBCEnsQ
Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw,
sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Ulrich Hecht
Defines the board-dependent part of the I2C1 device.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/r8a7794-alt.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index e7c9455..88ed017 100644
--- a/arch/arm/boot/dts/r8a7794-alt.dts
+++ b/arch/arm/boot/dts/r8a7794-alt.dts
@@ -115,6 +115,11 @@
renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b";
renesas,function = "eth";
};
+
+ i2c1_pins: i2c1 {
+ renesas,groups = "i2c1";
+ renesas,function = "i2c1";
+ };
};
&cmt0 {
@@ -134,6 +139,14 @@
};
};
+&i2c1 {
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ clock-frequency = <400000>;
+};
+
&scif2 {
status = "okay";
};
--
2.6.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: shmobile: alt: add VIN0, ADV7180 DT support
2015-11-18 12:51 [PATCH 0/2] VIN, ADV7180 for r8a7794/alt Ulrich Hecht
[not found] ` <1447851067-8214-1-git-send-email-ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-11-18 12:51 ` Ulrich Hecht
2015-11-18 20:52 ` [PATCH 0/2] VIN, ADV7180 for r8a7794/alt Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Ulrich Hecht @ 2015-11-18 12:51 UTC (permalink / raw)
To: linux-sh, horms
Cc: magnus.damm, laurent.pinchart, sergei.shtylyov, devicetree,
linux-arm-kernel, Ulrich Hecht
Adds the device board-dependent part of the VIN0 device and its ADV7180
video decoder on I2C1, and the interconnection between them.
Based on silk patch by Sergei Shtylyov.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
arch/arm/boot/dts/r8a7794-alt.dts | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index 88ed017..fd1cfcd 100644
--- a/arch/arm/boot/dts/r8a7794-alt.dts
+++ b/arch/arm/boot/dts/r8a7794-alt.dts
@@ -120,6 +120,11 @@
renesas,groups = "i2c1";
renesas,function = "i2c1";
};
+
+ vin0_pins: vin0 {
+ renesas,groups = "vin0_data8", "vin0_clk";
+ renesas,function = "vin0";
+ };
};
&cmt0 {
@@ -145,6 +150,35 @@
status = "okay";
clock-frequency = <400000>;
+
+ composite-in@20 {
+ compatible = "adi,adv7180";
+ reg = <0x20>;
+ remote = <&vin0>;
+
+ port {
+ adv7180: endpoint {
+ bus-width = <8>;
+ remote-endpoint = <&vin0ep>;
+ };
+ };
+ };
+};
+
+&vin0 {
+ status = "okay";
+ pinctrl-0 = <&vin0_pins>;
+ pinctrl-names = "default";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ vin0ep: endpoint {
+ remote-endpoint = <&adv7180>;
+ bus-width = <8>;
+ };
+ };
};
&scif2 {
--
2.6.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] VIN, ADV7180 for r8a7794/alt
2015-11-18 12:51 [PATCH 0/2] VIN, ADV7180 for r8a7794/alt Ulrich Hecht
[not found] ` <1447851067-8214-1-git-send-email-ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-11-18 12:51 ` [PATCH 2/2] ARM: shmobile: alt: add VIN0, ADV7180 " Ulrich Hecht
@ 2015-11-18 20:52 ` Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-11-18 20:52 UTC (permalink / raw)
To: Ulrich Hecht
Cc: linux-sh, magnus.damm, laurent.pinchart, sergei.shtylyov,
devicetree, linux-arm-kernel
On Wed, Nov 18, 2015 at 01:51:05PM +0100, Ulrich Hecht wrote:
> Hi!
>
> This series adds VIN support for the Alt board. The hardware configuration
> for I2C1 and the video decoder of Alt is exactly identical to that of Silk,
> so these are largely identical to Sergei's Silk definitions.
>
> To be applied on top of Horms's "ARM: shmobile: alt: Add pfc pins to DT"
> patch.
Thanks, I have queued-up this series on top of the patch mentioned above.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-18 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18 12:51 [PATCH 0/2] VIN, ADV7180 for r8a7794/alt Ulrich Hecht
[not found] ` <1447851067-8214-1-git-send-email-ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-11-18 12:51 ` [PATCH 1/2] ARM: shmobile: alt: add I2C1 DT support Ulrich Hecht
2015-11-18 12:51 ` [PATCH 2/2] ARM: shmobile: alt: add VIN0, ADV7180 " Ulrich Hecht
2015-11-18 20:52 ` [PATCH 0/2] VIN, ADV7180 for r8a7794/alt Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).