* [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board
@ 2014-10-08 19:53 Sergei Shtylyov
2014-10-08 19:54 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add HS-USB device node Sergei Shtylyov
` (7 more replies)
0 siblings, 8 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2014-10-08 19:53 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20141007-v3.17' tag. Here we add the HS-USB device tree support
on the R8A7790/Lager reference board. The patchset requires the USB PHY
driver (already merged by Kishon and Greg) and the generic PHY support patches
for the HS-USB driver posted by Yoshihiro Shimoda in order to work...
[1/2] ARM: shmobile: r8a7790: add HS-USB device node
[2/2] ARM: shmobile: lager: enable HS-USB
WBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v4 1/2] ARM: shmobile: r8a7790: add HS-USB device node
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
@ 2014-10-08 19:54 ` Sergei Shtylyov
2014-10-08 19:55 ` [PATCH v4 2/2] ARM: shmobile: lager: enable HS-USB Sergei Shtylyov
` (6 subsequent siblings)
7 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2014-10-08 19:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Define the R8A7790 generic part of the HS-USB device node. It is up to the board
file to enable the device.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: fixed summary, added changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 3:
- uppercased "arm" in the summary;
- added changelog.
arch/arm/boot/dts/r8a7790.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7790.dtsi
=================================--- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi
+++ renesas/arch/arm/boot/dts/r8a7790.dtsi
@@ -600,6 +600,17 @@
status = "disabled";
};
+ hsusb: usb@e6590000 {
+ compatible = "renesas,usbhs-r8a7790";
+ reg = <0 0xe6590000 0 0x100>;
+ interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
+ renesas,buswait = <4>;
+ phys = <&usb0 1>;
+ phy-names = "usb";
+ status = "disabled";
+ };
+
usbphy: usb-phy@e6590100 {
compatible = "renesas,usb-phy-r8a7790";
reg = <0 0xe6590100 0 0x100>;
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v4 2/2] ARM: shmobile: lager: enable HS-USB
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
2014-10-08 19:54 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add HS-USB device node Sergei Shtylyov
@ 2014-10-08 19:55 ` Sergei Shtylyov
2014-10-24 5:09 ` [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Simon Horman
` (5 subsequent siblings)
7 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2014-10-08 19:55 UTC (permalink / raw)
To: linux-arm-kernel
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Enable HS-USB device for the Lager board, defining the GPIO that the driver
should check when probing. Since this board doesn't have the OTG ID pin, we
assume that GP5_18 (USB0_PWEN) is an ID pin because it is 1 when the SW5 is
in position 2-3 (meaning USB function) and 0 in other positions.
Note that there will be pinctrl-related error messages if both internal PCI
and HS-USB drivers are enabled but they should be just ignored.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: added pin node and prop, moved device node, fixed summary, supplemented
changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 4:
- fixed pin node name;
- moved pin node before USB0's one.
Changes in version 3:
- added pin function/group and the pinctrl-related prop;
- moved the HS-USB node to precede the USB PHY node;
- uppercased "arm" in the summary;
- supplemented changelog.
arch/arm/boot/dts/r8a7790-lager.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts
+++ renesas/arch/arm/boot/dts/r8a7790-lager.dts
@@ -221,6 +221,11 @@
renesas,function = "iic3";
};
+ hsusb_pins: hsusb {
+ renesas,groups = "usb0_ovc_vbus";
+ renesas,function = "usb0";
+ };
+
usb0_pins: usb0 {
renesas,groups = "usb0";
renesas,function = "usb0";
@@ -425,6 +430,13 @@
pinctrl-names = "default";
};
+&hsusb {
+ status = "okay";
+ pinctrl-0 = <&hsusb_pins>;
+ pinctrl-names = "default";
+ renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
+};
+
&usbphy {
status = "okay";
};
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
2014-10-08 19:54 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add HS-USB device node Sergei Shtylyov
2014-10-08 19:55 ` [PATCH v4 2/2] ARM: shmobile: lager: enable HS-USB Sergei Shtylyov
@ 2014-10-24 5:09 ` Simon Horman
2014-10-24 5:22 ` Yoshihiro Shimoda
2015-09-16 23:53 ` [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support Sergei Shtylyov
` (4 subsequent siblings)
7 siblings, 1 reply; 19+ messages in thread
From: Simon Horman @ 2014-10-24 5:09 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Oct 08, 2014 at 11:53:11PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-20141007-v3.17' tag. Here we add the HS-USB device tree support
> on the R8A7790/Lager reference board. The patchset requires the USB PHY
> driver (already merged by Kishon and Greg) and the generic PHY support patches
> for the HS-USB driver posted by Yoshihiro Shimoda in order to work...
>
> [1/2] ARM: shmobile: r8a7790: add HS-USB device node
> [2/2] ARM: shmobile: lager: enable HS-USB
Now that v3.18-rc1 is present in my devel branch should I queue-up
these patches? If so, please rebase them on renesas-devel-20141024-v3.18-rc1
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board
2014-10-24 5:09 ` [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Simon Horman
@ 2014-10-24 5:22 ` Yoshihiro Shimoda
0 siblings, 0 replies; 19+ messages in thread
From: Yoshihiro Shimoda @ 2014-10-24 5:22 UTC (permalink / raw)
To: linux-arm-kernel
Hi Simon-san,
(2014/10/24 14:09), Simon Horman wrote:
> On Wed, Oct 08, 2014 at 11:53:11PM +0400, Sergei Shtylyov wrote:
>> Hello.
>>
>> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
>> 'renesas-devel-20141007-v3.17' tag. Here we add the HS-USB device tree support
>> on the R8A7790/Lager reference board. The patchset requires the USB PHY
>> driver (already merged by Kishon and Greg) and the generic PHY support patches
>> for the HS-USB driver posted by Yoshihiro Shimoda in order to work...
>>
>> [1/2] ARM: shmobile: r8a7790: add HS-USB device node
>> [2/2] ARM: shmobile: lager: enable HS-USB
>
> Now that v3.18-rc1 is present in my devel branch should I queue-up
> these patches? If so, please rebase them on renesas-devel-20141024-v3.18-rc1
Since the first patch set was made from me, I will rebase this.
Best regards,
Yoshihiro Shimoda
> --
> 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] 19+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
` (2 preceding siblings ...)
2014-10-24 5:09 ` [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Simon Horman
@ 2015-09-16 23:53 ` Sergei Shtylyov
2015-10-05 3:02 ` Simon Horman
2015-10-14 19:35 ` [PATCH] ARM: shmobile: porter: " Sergei Shtylyov
` (3 subsequent siblings)
7 siblings, 1 reply; 19+ messages in thread
From: Sergei Shtylyov @ 2015-09-16 23:53 UTC (permalink / raw)
To: linux-arm-kernel
Define the R8A7794 generic part of the HS-USB device node.
It is up to the board file to enable the device.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against 'renesas-devel-20150914-v4.3-rc1' tag of Simon Horman's
'renesas.git' repo plus the R8A7794/ PCI USB and USB PHY support patches posted
last week.
arch/arm/boot/dts/r8a7794.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
=================================--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -718,6 +718,18 @@
};
};
+ hsusb: usb@e6590000 {
+ compatible = "renesas,usbhs-r8a7794";
+ reg = <0 0xe6590000 0 0x100>;
+ interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
+ power-domains = <&cpg_clocks>;
+ renesas,buswait = <4>;
+ phys = <&usb0 1>;
+ phy-names = "usb";
+ status = "disabled";
+ };
+
usbphy: usb-phy@e6590100 {
compatible = "renesas,usb-phy-r8a7794";
reg = <0 0xe6590100 0 0x100>;
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support
2015-09-16 23:53 ` [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support Sergei Shtylyov
@ 2015-10-05 3:02 ` Simon Horman
0 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2015-10-05 3:02 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Sep 17, 2015 at 02:53:58AM +0300, Sergei Shtylyov wrote:
> Define the R8A7794 generic part of the HS-USB device node.
> It is up to the board file to enable the device.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH] ARM: shmobile: porter: add HS-USB DT support
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
` (3 preceding siblings ...)
2015-09-16 23:53 ` [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support Sergei Shtylyov
@ 2015-10-14 19:35 ` Sergei Shtylyov
2015-10-15 0:18 ` Simon Horman
2015-10-27 21:03 ` [PATCH] ARM: shmobile: porter: add CAN0 " Sergei Shtylyov
` (2 subsequent siblings)
7 siblings, 1 reply; 19+ messages in thread
From: Sergei Shtylyov @ 2015-10-14 19:35 UTC (permalink / raw)
To: linux-arm-kernel
Enable HS-USB device for the Porter board, defining the GPIO that the
driver should check when probing (which is the ID output from MAX3355
OTG chip).
Note that there will be pinctrl-related error messages if both internal
PCI and HS-USB drivers are enabled but they should be just ignored.
This patch is analogous to the commit 6f4f7156e0e6 (ARM: shmobile:
henninger: enable HS-USB) as there are no differences between the
boards in this respect.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against 'renesas-devel-20151013v2-v4.3-rc5' tag of Simon Horman's
'renesas.git' repo.
arch/arm/boot/dts/r8a7791-porter.dts | 8 ++++++++
1 file changed, 8 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts
+++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
@@ -269,6 +269,14 @@
status = "okay";
};
+&hsusb {
+ pinctrl-0 = <&usb0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
+};
+
&usbphy {
status = "okay";
};
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add HS-USB DT support
2015-10-14 19:35 ` [PATCH] ARM: shmobile: porter: " Sergei Shtylyov
@ 2015-10-15 0:18 ` Simon Horman
2015-10-15 10:27 ` Sergei Shtylyov
0 siblings, 1 reply; 19+ messages in thread
From: Simon Horman @ 2015-10-15 0:18 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Oct 14, 2015 at 10:35:46PM +0300, Sergei Shtylyov wrote:
> Enable HS-USB device for the Porter board, defining the GPIO that the
> driver should check when probing (which is the ID output from MAX3355
> OTG chip).
>
> Note that there will be pinctrl-related error messages if both internal
> PCI and HS-USB drivers are enabled but they should be just ignored.
>
> This patch is analogous to the commit 6f4f7156e0e6 (ARM: shmobile:
> henninger: enable HS-USB) as there are no differences between the
> boards in this respect.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
Thanks Sergei,
I have queued this up for v4.5.
I took the liberty of tweaking the changelog to address a complaint made
by Mr. Check Patch.
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 6f4f7156e0e6 ("ARM: shmobile: henninger: enable HS-USB")'
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add HS-USB DT support
2015-10-15 0:18 ` Simon Horman
@ 2015-10-15 10:27 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2015-10-15 10:27 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 10/15/2015 3:18 AM, Simon Horman wrote:
>> Enable HS-USB device for the Porter board, defining the GPIO that the
>> driver should check when probing (which is the ID output from MAX3355
>> OTG chip).
>>
>> Note that there will be pinctrl-related error messages if both internal
>> PCI and HS-USB drivers are enabled but they should be just ignored.
>>
>> This patch is analogous to the commit 6f4f7156e0e6 (ARM: shmobile:
>> henninger: enable HS-USB) as there are no differences between the
>> boards in this respect.
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> Thanks Sergei,
>
> I have queued this up for v4.5.
>
> I took the liberty of tweaking the changelog to address a complaint made
> by Mr. Check Patch.
Which means I forgot to run it again. Sorry about that. :-<
> ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 6f4f7156e0e6 ("ARM: shmobile: henninger: enable HS-USB")'
Keep forgetting about the now enforced quotes...
MBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH] ARM: shmobile: porter: add CAN0 DT support
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
` (4 preceding siblings ...)
2015-10-14 19:35 ` [PATCH] ARM: shmobile: porter: " Sergei Shtylyov
@ 2015-10-27 21:03 ` Sergei Shtylyov
2015-10-27 22:41 ` Simon Horman
2015-12-24 22:45 ` [PATCH] ARM: shmobile: porter: add DU " Sergei Shtylyov
2016-01-12 23:06 ` [PATCH] ARM: shmobile: silk: " Sergei Shtylyov
7 siblings, 1 reply; 19+ messages in thread
From: Sergei Shtylyov @ 2015-10-27 21:03 UTC (permalink / raw)
To: linux-arm-kernel
Define the Porter board dependent part of the CAN0 device node.
This patch is analogous to the commit 457acc4a6ce8 (ARM: shmobile:
henninger: add CAN0 DT support) as there are no differences between the
boards in this respect.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against 'renesas-devel-20151026-v4.3-rc7' tag of Simon Horman's
'renesas.git' repo.
arch/arm/boot/dts/r8a7791-porter.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts
+++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
@@ -134,6 +134,11 @@
renesas,groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0";
};
+
+ can0_pins: can0 {
+ renesas,groups = "can0_data";
+ renesas,function = "can0";
+ };
};
&scif0 {
@@ -288,3 +293,10 @@
&pciec {
status = "okay";
};
+
+&can0 {
+ pinctrl-0 = <&can0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add CAN0 DT support
2015-10-27 21:03 ` [PATCH] ARM: shmobile: porter: add CAN0 " Sergei Shtylyov
@ 2015-10-27 22:41 ` Simon Horman
2015-10-27 22:56 ` Sergei Shtylyov
0 siblings, 1 reply; 19+ messages in thread
From: Simon Horman @ 2015-10-27 22:41 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Oct 28, 2015 at 12:03:22AM +0300, Sergei Shtylyov wrote:
> Define the Porter board dependent part of the CAN0 device node.
>
> This patch is analogous to the commit 457acc4a6ce8 (ARM: shmobile:
> henninger: add CAN0 DT support) as there are no differences between the
> boards in this respect.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up for v4.5 after updating the changelog
as per checkpatch.pl's insight:
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 457acc4a6ce8 ("ARM: shmobile: henninger: add CAN0 DT support")'
#8:
This patch is analogous to the commit 457acc4a6ce8 (ARM: shmobile:
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add CAN0 DT support
2015-10-27 22:41 ` Simon Horman
@ 2015-10-27 22:56 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2015-10-27 22:56 UTC (permalink / raw)
To: linux-arm-kernel
On 10/28/2015 01:41 AM, Simon Horman wrote:
>> Define the Porter board dependent part of the CAN0 device node.
>>
>> This patch is analogous to the commit 457acc4a6ce8 (ARM: shmobile:
>> henninger: add CAN0 DT support) as there are no differences between the
>> boards in this respect.
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> Thanks, I have queued this up for v4.5 after updating the changelog
> as per checkpatch.pl's insight:
>
> ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 457acc4a6ce8 ("ARM: shmobile: henninger: add CAN0 DT support")'
> #8:
> This patch is analogous to the commit 457acc4a6ce8 (ARM: shmobile:
Oops, sorry, forgot to update the patch description.
MBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH] ARM: shmobile: porter: add DU DT support
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
` (5 preceding siblings ...)
2015-10-27 21:03 ` [PATCH] ARM: shmobile: porter: add CAN0 " Sergei Shtylyov
@ 2015-12-24 22:45 ` Sergei Shtylyov
2015-12-28 5:29 ` Simon Horman
2016-01-12 23:06 ` [PATCH] ARM: shmobile: silk: " Sergei Shtylyov
7 siblings, 1 reply; 19+ messages in thread
From: Sergei Shtylyov @ 2015-12-24 22:45 UTC (permalink / raw)
To: linux-arm-kernel
Define the Porter board dependent part of the DU device node.
Add the device node for Analog Devices ADV7511W HDMI transmitter to I2C2
bus and the HDMI connector. Add the necessary subnodes to interconnect DU
and HDMI devices.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against 'renesas-devel-20151221-v4.4-rc6' tag of Simon Horman's
'renesas.git' repo.
arch/arm/boot/dts/r8a7791-porter.dts | 81 +++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts
+++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
@@ -78,6 +78,29 @@
states = <3300000 1
1800000 0>;
};
+
+ hdmi-out {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con: endpoint {
+ remote-endpoint = <&adv7511_out>;
+ };
+ };
+ };
+
+ x3_clk: x3-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ };
+
+ x16_clk: x16-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <74250000>;
+ };
};
&extal_clk {
@@ -139,6 +162,11 @@
renesas,groups = "can0_data";
renesas,function = "can0";
};
+
+ du_pins: du {
+ renesas,groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
+ renesas,function = "du";
+ };
};
&scif0 {
@@ -240,6 +268,38 @@
};
};
};
+
+ hdmi@39 {
+ compatible = "adi,adv7511w";
+ reg = <0x39>;
+ interrupt-parent = <&gpio3>;
+ interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
+
+ adi,input-depth = <8>;
+ adi,input-colorspace = "rgb";
+ adi,input-clock = "1x";
+ adi,input-style = <1>;
+ adi,input-justification = "evenly";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ adv7511_in: endpoint {
+ remote-endpoint = <&du_out_rgb>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ adv7511_out: endpoint {
+ remote-endpoint = <&hdmi_con>;
+ };
+ };
+ };
+ };
};
&sata0 {
@@ -303,3 +363,24 @@
status = "okay";
};
+
+&du {
+ pinctrl-0 = <&du_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ clocks = <&mstp7_clks R8A7791_CLK_DU0>,
+ <&mstp7_clks R8A7791_CLK_DU1>,
+ <&mstp7_clks R8A7791_CLK_LVDS0>,
+ <&x3_clk>, <&x16_clk>;
+ clock-names = "du.0", "du.1", "lvds.0",
+ "dclkin.0", "dclkin.1";
+
+ ports {
+ port@1 {
+ endpoint {
+ remote-endpoint = <&adv7511_in>;
+ };
+ };
+ };
+};
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add DU DT support
2015-12-24 22:45 ` [PATCH] ARM: shmobile: porter: add DU " Sergei Shtylyov
@ 2015-12-28 5:29 ` Simon Horman
2015-12-28 14:35 ` Sergei Shtylyov
0 siblings, 1 reply; 19+ messages in thread
From: Simon Horman @ 2015-12-28 5:29 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Dec 25, 2015 at 01:45:30AM +0300, Sergei Shtylyov wrote:
> Define the Porter board dependent part of the DU device node.
> Add the device node for Analog Devices ADV7511W HDMI transmitter to I2C2
> bus and the HDMI connector. Add the necessary subnodes to interconnect DU
> and HDMI devices.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against 'renesas-devel-20151221-v4.4-rc6' tag of Simon Horman's
> 'renesas.git' repo.
Thanks, I have queued this up for v4.6.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add DU DT support
2015-12-28 5:29 ` Simon Horman
@ 2015-12-28 14:35 ` Sergei Shtylyov
2015-12-28 21:43 ` Simon Horman
0 siblings, 1 reply; 19+ messages in thread
From: Sergei Shtylyov @ 2015-12-28 14:35 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 12/28/2015 08:29 AM, Simon Horman wrote:
>> Define the Porter board dependent part of the DU device node.
>> Add the device node for Analog Devices ADV7511W HDMI transmitter to I2C2
>> bus and the HDMI connector. Add the necessary subnodes to interconnect DU
>> and HDMI devices.
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>
>> ---
>> This patch is against 'renesas-devel-20151221-v4.4-rc6' tag of Simon Horman's
>> 'renesas.git' repo.
>
> Thanks, I have queued this up for v4.6.
Actually, I was going to check this patch WRT the DU channels used, given
Laurent's remark. OK, I will just send an incremental patch if needed.
MBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: porter: add DU DT support
2015-12-28 14:35 ` Sergei Shtylyov
@ 2015-12-28 21:43 ` Simon Horman
0 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2015-12-28 21:43 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Dec 28, 2015 at 05:35:33PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 12/28/2015 08:29 AM, Simon Horman wrote:
>
> >>Define the Porter board dependent part of the DU device node.
> >>Add the device node for Analog Devices ADV7511W HDMI transmitter to I2C2
> >>bus and the HDMI connector. Add the necessary subnodes to interconnect DU
> >>and HDMI devices.
> >>
> >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >>
> >>---
> >>This patch is against 'renesas-devel-20151221-v4.4-rc6' tag of Simon Horman's
> >>'renesas.git' repo.
> >
> >Thanks, I have queued this up for v4.6.
>
> Actually, I was going to check this patch WRT the DU channels used, given
> Laurent's remark. OK, I will just send an incremental patch if needed.
Thanks and sorry for being a bit hasty.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH] ARM: shmobile: silk: add DU DT support
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
` (6 preceding siblings ...)
2015-12-24 22:45 ` [PATCH] ARM: shmobile: porter: add DU " Sergei Shtylyov
@ 2016-01-12 23:06 ` Sergei Shtylyov
2016-01-18 1:41 ` Simon Horman
7 siblings, 1 reply; 19+ messages in thread
From: Sergei Shtylyov @ 2016-01-12 23:06 UTC (permalink / raw)
To: linux-arm-kernel
Define the SILK board dependent part of the DU device node.
Add the device nodes for the Analog Devices ADV7511W HDMI transmitter
(connected to DU0) and ADV7123 video DAC (connected to DU1). Add the
necessary subnodes to interconnect DU, HDMI/VDAC devices, and HDMI/VGA
connectors.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20160111-v4.4' tag of Simon Horman's
'renesas.git' repo.
arch/arm/boot/dts/r8a7794-silk.dts | 109 +++++++++++++++++++++++++++++++++++++
1 file changed, 109 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -64,6 +64,61 @@
states = <3300000 1
1800000 0>;
};
+
+ vga-encoder {
+ compatible = "adi,adv7123";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ adv7123_in: endpoint {
+ remote-endpoint = <&du_out_rgb1>;
+ };
+ };
+ port@1 {
+ reg = <1>;
+ adv7123_out: endpoint {
+ remote-endpoint = <&vga_in>;
+ };
+ };
+ };
+ };
+
+ hdmi-out {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con: endpoint {
+ remote-endpoint = <&adv7511_out>;
+ };
+ };
+ };
+
+ vga {
+ compatible = "vga-connector";
+
+ port {
+ vga_in: endpoint {
+ remote-endpoint = <&adv7123_out>;
+ };
+ };
+ };
+
+ x2_clk: x2-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ };
+
+ x3_clk: x3-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <74250000>;
+ };
};
&extal_clk {
@@ -164,6 +219,38 @@
};
};
};
+
+ hdmi@39 {
+ compatible = "adi,adv7511w";
+ reg = <0x39>;
+ interrupt-parent = <&gpio5>;
+ interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
+
+ adi,input-depth = <8>;
+ adi,input-colorspace = "rgb";
+ adi,input-clock = "1x";
+ adi,input-style = <1>;
+ adi,input-justification = "evenly";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ adv7511_in: endpoint {
+ remote-endpoint = <&du_out_rgb0>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ adv7511_out: endpoint {
+ remote-endpoint = <&hdmi_con>;
+ };
+ };
+ };
+ };
};
&mmcif0 {
@@ -258,3 +345,25 @@
&usbphy {
status = "okay";
};
+
+&du {
+ status = "okay";
+
+ clocks = <&mstp7_clks R8A7794_CLK_DU0>,
+ <&mstp7_clks R8A7794_CLK_DU0>,
+ <&x2_clk>, <&x3_clk>;
+ clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
+
+ ports {
+ port@0 {
+ endpoint {
+ remote-endpoint = <&adv7511_in>;
+ };
+ };
+ port@1 {
+ endpoint {
+ remote-endpoint = <&adv7123_in>;
+ };
+ };
+ };
+};
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH] ARM: shmobile: silk: add DU DT support
2016-01-12 23:06 ` [PATCH] ARM: shmobile: silk: " Sergei Shtylyov
@ 2016-01-18 1:41 ` Simon Horman
0 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2016-01-18 1:41 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 13, 2016 at 02:06:08AM +0300, Sergei Shtylyov wrote:
> Define the SILK board dependent part of the DU device node.
> Add the device nodes for the Analog Devices ADV7511W HDMI transmitter
> (connected to DU0) and ADV7123 video DAC (connected to DU1). Add the
> necessary subnodes to interconnect DU, HDMI/VDAC devices, and HDMI/VGA
> connectors.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up for v4.6 after updating the subject with
s/shmobile/dts/ to reflect a request made from the ARM SoC maintainers
regarding prefixes for DT patches.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2016-01-18 1:41 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 19:53 [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Sergei Shtylyov
2014-10-08 19:54 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add HS-USB device node Sergei Shtylyov
2014-10-08 19:55 ` [PATCH v4 2/2] ARM: shmobile: lager: enable HS-USB Sergei Shtylyov
2014-10-24 5:09 ` [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board Simon Horman
2014-10-24 5:22 ` Yoshihiro Shimoda
2015-09-16 23:53 ` [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support Sergei Shtylyov
2015-10-05 3:02 ` Simon Horman
2015-10-14 19:35 ` [PATCH] ARM: shmobile: porter: " Sergei Shtylyov
2015-10-15 0:18 ` Simon Horman
2015-10-15 10:27 ` Sergei Shtylyov
2015-10-27 21:03 ` [PATCH] ARM: shmobile: porter: add CAN0 " Sergei Shtylyov
2015-10-27 22:41 ` Simon Horman
2015-10-27 22:56 ` Sergei Shtylyov
2015-12-24 22:45 ` [PATCH] ARM: shmobile: porter: add DU " Sergei Shtylyov
2015-12-28 5:29 ` Simon Horman
2015-12-28 14:35 ` Sergei Shtylyov
2015-12-28 21:43 ` Simon Horman
2016-01-12 23:06 ` [PATCH] ARM: shmobile: silk: " Sergei Shtylyov
2016-01-18 1:41 ` 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).