* [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board
@ 2014-06-10 23:04 Sergei Shtylyov
2014-06-10 23:06 ` [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2014-06-10 23:04 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.15-20140610' tag plus the Henninger I2C2 DT support patch
that I posted earlier. Here we add the VIN and ADV7180 video decoder device
tree support on the R8A7791/Henninger board. The patchset requires Ben Dooks'
adv7180, rcar_vin, and soc_camera DT support patches posted back in April in
order to work.
[1/2] ARM: shmobile: r8a7791: add VIN DT support
[2/2] ARM: shmobile: henninger: add VIN0/ADV7180 DT support
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support
2014-06-10 23:04 [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Sergei Shtylyov
@ 2014-06-10 23:06 ` Sergei Shtylyov
2014-06-11 23:53 ` Sergei Shtylyov
2014-06-10 23:07 ` [PATCH 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 " Sergei Shtylyov
2014-06-10 23:54 ` [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Simon Horman
2 siblings, 1 reply; 7+ messages in thread
From: Sergei Shtylyov @ 2014-06-10 23:06 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Define the generic R8A7791 parts of the VIN[0-2] device nodes. Add aliases for
the VIN[0-2] device nodes.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7791.dtsi | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7791.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi
+++ renesas/arch/arm/boot/dts/r8a7791.dtsi
@@ -34,6 +34,9 @@
spi1 = &msiof0;
spi2 = &msiof1;
spi3 = &msiof2;
+ vin0 = &vin0;
+ vin1 = &vin1;
+ vin2 = &vin2;
};
cpus {
@@ -518,6 +521,30 @@
status = "disabled";
};
+ vin0: video@e6ef0000 {
+ compatible = "renesas,vin-r8a7790";
+ clocks = <&mstp8_clks R8A7791_CLK_VIN0>;
+ reg = <0 0xe6ef0000 0 0x1000>;
+ interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ vin1: video@e6ef1000 {
+ compatible = "renesas,vin-r8a7790";
+ clocks = <&mstp8_clks R8A7791_CLK_VIN1>;
+ reg = <0 0xe6ef1000 0 0x1000>;
+ interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ vin2: video@e6ef2000 {
+ compatible = "renesas,vin-r8a7790";
+ clocks = <&mstp8_clks R8A7791_CLK_VIN2>;
+ reg = <0 0xe6ef2000 0 0x1000>;
+ interrupts = <0 190 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 DT support
2014-06-10 23:04 [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Sergei Shtylyov
2014-06-10 23:06 ` [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support Sergei Shtylyov
@ 2014-06-10 23:07 ` Sergei Shtylyov
2014-06-10 23:54 ` [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Simon Horman
2 siblings, 0 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2014-06-10 23:07 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Define the Henninger 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.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7791-henninger.dts | 35 ++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -125,6 +125,11 @@
"msiof0_tx";
renesas,function = "msiof0";
};
+
+ vin0_pins: vin0 {
+ renesas,groups = "vin0_data8", "vin0_clk";
+ renesas,function = "vin0";
+ };
};
&scif0 {
@@ -181,6 +186,19 @@
status = "okay";
clock-frequency = <400000>;
+
+ composite-in@20 {
+ compatible = "adi,adv7180";
+ reg = <0x20>;
+ remote = <&vin0>;
+
+ port {
+ adv7180: endpoint {
+ bus-width = <8>;
+ remote-endpoint = <&vin0ep>;
+ };
+ };
+ };
};
&qspi {
@@ -230,3 +248,20 @@
spi-cpha;
};
};
+
+/* 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>;
+ };
+ };
+};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board
2014-06-10 23:04 [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Sergei Shtylyov
2014-06-10 23:06 ` [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support Sergei Shtylyov
2014-06-10 23:07 ` [PATCH 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 " Sergei Shtylyov
@ 2014-06-10 23:54 ` Simon Horman
2014-06-11 12:41 ` Sergei Shtylyov
2 siblings, 1 reply; 7+ messages in thread
From: Simon Horman @ 2014-06-10 23:54 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: linux-sh, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
galak, devicetree, magnus.damm, linux, linux-arm-kernel
On Wed, Jun 11, 2014 at 03:04:18AM +0400, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-v3.15-20140610' tag plus the Henninger I2C2 DT support patch
> that I posted earlier. Here we add the VIN and ADV7180 video decoder device
> tree support on the R8A7791/Henninger board. The patchset requires Ben Dooks'
> adv7180, rcar_vin, and soc_camera DT support patches posted back in April in
> order to work.
I wonder what the status of those (driver?) patches are.
In general I prefer bindings to be accepted before they are used.
> [1/2] ARM: shmobile: r8a7791: add VIN DT support
> [2/2] ARM: shmobile: henninger: add VIN0/ADV7180 DT support
>
> WBR, Sergei
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board
2014-06-10 23:54 ` [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Simon Horman
@ 2014-06-11 12:41 ` Sergei Shtylyov
2014-06-12 0:19 ` Simon Horman
0 siblings, 1 reply; 7+ messages in thread
From: Sergei Shtylyov @ 2014-06-11 12:41 UTC (permalink / raw)
To: Simon Horman
Cc: linux-sh, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
galak, devicetree, magnus.damm, linux, linux-arm-kernel
Hello.
On 06/11/2014 03:54 AM, Simon Horman wrote:
>> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
>> 'renesas-devel-v3.15-20140610' tag plus the Henninger I2C2 DT support patch
>> that I posted earlier. Here we add the VIN and ADV7180 video decoder device
>> tree support on the R8A7791/Henninger board. The patchset requires Ben Dooks'
>> adv7180, rcar_vin, and soc_camera DT support patches posted back in April in
>> order to work.
> I wonder what the status of those (driver?) patches are.
Someone in CodeThink is working on them, I was told. I had to fix them up
somewhat in order for them to compile.
> In general I prefer bindings to be accepted before they are used.
No argument here. I just have my own schedule.
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support
2014-06-10 23:06 ` [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support Sergei Shtylyov
@ 2014-06-11 23:53 ` Sergei Shtylyov
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2014-06-11 23:53 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Hello.
On 06/11/2014 03:06 AM, Sergei Shtylyov wrote:
> Define the generic R8A7791 parts of the VIN[0-2] device nodes. Add aliases for
> the VIN[0-2] device nodes.
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> ---
> arch/arm/boot/dts/r8a7791.dtsi | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> Index: renesas/arch/arm/boot/dts/r8a7791.dtsi
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi
> +++ renesas/arch/arm/boot/dts/r8a7791.dtsi
[...]
> @@ -518,6 +521,30 @@
> status = "disabled";
> };
>
> + vin0: video@e6ef0000 {
> + compatible = "renesas,vin-r8a7790";
Duh, should have been "renesas,vin-r8a7791"...
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board
2014-06-11 12:41 ` Sergei Shtylyov
@ 2014-06-12 0:19 ` Simon Horman
0 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2014-06-12 0:19 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: linux-sh, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
galak, devicetree, magnus.damm, linux, linux-arm-kernel
On Wed, Jun 11, 2014 at 04:41:33PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 06/11/2014 03:54 AM, Simon Horman wrote:
>
> >> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
> >>'renesas-devel-v3.15-20140610' tag plus the Henninger I2C2 DT support patch
> >>that I posted earlier. Here we add the VIN and ADV7180 video decoder device
> >>tree support on the R8A7791/Henninger board. The patchset requires Ben Dooks'
> >>adv7180, rcar_vin, and soc_camera DT support patches posted back in April in
> >>order to work.
>
> >I wonder what the status of those (driver?) patches are.
>
> Someone in CodeThink is working on them, I was told. I had to fix them up
> somewhat in order for them to compile.
>
> >In general I prefer bindings to be accepted before they are used.
>
> No argument here. I just have my own schedule.
No argument there either :)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-06-12 0:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 23:04 [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Sergei Shtylyov
2014-06-10 23:06 ` [PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support Sergei Shtylyov
2014-06-11 23:53 ` Sergei Shtylyov
2014-06-10 23:07 ` [PATCH 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 " Sergei Shtylyov
2014-06-10 23:54 ` [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board Simon Horman
2014-06-11 12:41 ` Sergei Shtylyov
2014-06-12 0:19 ` 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).