* [PATCH 02/18] dt: arm: shmobile: add H3ULCB Kingfisher board DT bindings
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
@ 2017-09-06 22:35 ` Vladimir Barinov
2017-09-06 22:35 ` [PATCH 03/18] arm64: dts: ulcb-kf: initial device tree Vladimir Barinov
` (10 subsequent siblings)
11 siblings, 0 replies; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
Add H3ULCB Kingfisher Device tree bindings Documentation, listing it as a
supported board.
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
Documentation/devicetree/bindings/arm/shmobile.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt b/Documentation/devicetree/bindings/arm/shmobile.txt
index 89bd3a6..b313fe2 100644
--- a/Documentation/devicetree/bindings/arm/shmobile.txt
+++ b/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -65,6 +65,7 @@ Boards:
compatible = "renesas,gose", "renesas,r8a7793"
- H3ULCB (R-Car Starter Kit Premier, RTP0RC7795SKBX0010SA00 (H3 ES1.1))
H3ULCB (R-Car Starter Kit Premier, RTP0RC77951SKBX010SA00 (H3 ES2.0))
+ H3ULCB Kingfisher (SBEV-RCAR-KF-M03)
compatible = "renesas,h3ulcb", "renesas,r8a7795";
- Henninger
compatible = "renesas,henninger", "renesas,r8a7791"
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [PATCH 03/18] arm64: dts: ulcb-kf: initial device tree
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
2017-09-06 22:35 ` [PATCH 02/18] dt: arm: shmobile: add H3ULCB Kingfisher board DT bindings Vladimir Barinov
@ 2017-09-06 22:35 ` Vladimir Barinov
[not found] ` <1504737322-22954-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:35 ` [PATCH 05/18] arm64: dts: h3ulcb-kf: ES1.x SoC " Vladimir Barinov
` (9 subsequent siblings)
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
Add the initial common dtsi file for Kingfisher infotainment board (R-Car
Starter Kit extension)
This commit supports the following peripherals:
- HSCIF0
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
new file mode 100644
index 0000000..849f8b1
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -0,0 +1,31 @@
+/*
+ * Device Tree Source for the Kingfisher (ULCB extension) board
+ *
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ * Copyright (C) 2017 Cogent Embedded, Inc.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+/ {
+ aliases {
+ serial1 = &hscif0;
+ };
+};
+
+&hscif0 {
+ pinctrl-0 = <&hscif0_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+
+ status = "okay";
+};
+
+&pfc {
+ hscif0_pins: hscif0 {
+ groups = "hscif0_data", "hscif0_ctrl";
+ function = "hscif0";
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [PATCH 05/18] arm64: dts: h3ulcb-kf: ES1.x SoC initial device tree
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
2017-09-06 22:35 ` [PATCH 02/18] dt: arm: shmobile: add H3ULCB Kingfisher board DT bindings Vladimir Barinov
2017-09-06 22:35 ` [PATCH 03/18] arm64: dts: ulcb-kf: initial device tree Vladimir Barinov
@ 2017-09-06 22:35 ` Vladimir Barinov
2017-09-06 22:35 ` [PATCH 06/18] arm64: dts: h3ulcb-kf: ES2.0+ " Vladimir Barinov
` (8 subsequent siblings)
11 siblings, 0 replies; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
Add the initial device tree for the H3ULCB ES1.x SoC with Kingfisher
extension infotainment board.
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/Makefile | 1 +
arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index 54e8316..e745450 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -1,6 +1,7 @@
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb r8a7795-h3ulcb.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-salvator-x.dtb r8a7795-es1-h3ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-h3ulcb-kf.dtb
dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-m3ulcb.dtb
dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-m3ulcb-kf.dtb
dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts
new file mode 100644
index 0000000..dcc9e68
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts
@@ -0,0 +1,17 @@
+/*
+ * Device Tree Source for the H3ULCB Kingfisher board
+ *
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ * Copyright (C) 2017 Cogent Embedded, Inc.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include "r8a7795-es1-h3ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+ model = "Renesas H3ULCB Kingfisher board based on r8a7795 ES1.x";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [PATCH 06/18] arm64: dts: h3ulcb-kf: ES2.0+ SoC initial device tree
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (2 preceding siblings ...)
2017-09-06 22:35 ` [PATCH 05/18] arm64: dts: h3ulcb-kf: ES1.x SoC " Vladimir Barinov
@ 2017-09-06 22:35 ` Vladimir Barinov
2017-09-06 22:36 ` [PATCH 08/18] arm64: dts: ulcb-kf: enable CAN0/1 Vladimir Barinov
` (7 subsequent siblings)
11 siblings, 0 replies; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
Add the initial device tree for the H3ULCB ES2.0+ SoC with Kingfisher
extension infotainment board.
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/Makefile | 1 +
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index e745450..a865704 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -1,4 +1,5 @@
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb r8a7795-h3ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-h3ulcb-kf.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-salvator-x.dtb r8a7795-es1-h3ulcb.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-h3ulcb-kf.dtb
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts
new file mode 100644
index 0000000..427b73b
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts
@@ -0,0 +1,17 @@
+/*
+ * Device Tree Source for the H3ULCB Kingfisher board
+ *
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ * Copyright (C) 2017 Cogent Embedded, Inc.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include "r8a7795-h3ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+ model = "Renesas H3ULCB Kingfisher board based on r8a7795 ES2.0+";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [PATCH 08/18] arm64: dts: ulcb-kf: enable CAN0/1
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (3 preceding siblings ...)
2017-09-06 22:35 ` [PATCH 06/18] arm64: dts: h3ulcb-kf: ES2.0+ " Vladimir Barinov
@ 2017-09-06 22:36 ` Vladimir Barinov
2017-09-07 9:50 ` Sergei Shtylyov
2017-09-06 22:36 ` [PATCH 10/18] arm64: dts: ulcb-kf: enable HSUSB Vladimir Barinov
` (6 subsequent siblings)
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
This supports CAN0/1 on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 2449915..ca8de1a 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -16,6 +16,22 @@
};
};
+&can0 {
+ pinctrl-0 = <&can0_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ renesas,can-clock-select = <0x0>;
+};
+
+&can1 {
+ pinctrl-0 = <&can1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ renesas,can-clock-select = <0x0>;
+};
+
&hscif0 {
pinctrl-0 = <&hscif0_pins>;
pinctrl-names = "default";
@@ -25,6 +41,16 @@
};
&pfc {
+ can0_pins: can0 {
+ groups = "can0_data_a";
+ function = "can0";
+ };
+
+ can1_pins: can1 {
+ groups = "can1_data";
+ function = "can1";
+ };
+
hscif0_pins: hscif0 {
groups = "hscif0_data", "hscif0_ctrl";
function = "hscif0";
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* Re: [PATCH 08/18] arm64: dts: ulcb-kf: enable CAN0/1
2017-09-06 22:36 ` [PATCH 08/18] arm64: dts: ulcb-kf: enable CAN0/1 Vladimir Barinov
@ 2017-09-07 9:50 ` Sergei Shtylyov
0 siblings, 0 replies; 46+ messages in thread
From: Sergei Shtylyov @ 2017-09-07 9:50 UTC (permalink / raw)
To: Vladimir Barinov, Simon Horman, Magnus Damm, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc
Hello!
On 9/7/2017 1:36 AM, Vladimir Barinov wrote:
> This supports CAN0/1 on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> ---
> arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> index 2449915..ca8de1a 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -16,6 +16,22 @@
> };
> };
>
> +&can0 {
> + pinctrl-0 = <&can0_pins>;
> + pinctrl-names = "default";
> + status = "okay";
> +
> + renesas,can-clock-select = <0x0>;
> +};
> +
> +&can1 {
> + pinctrl-0 = <&can1_pins>;
> + pinctrl-names = "default";
> + status = "okay";
> +
> + renesas,can-clock-select = <0x0>;
IIRC, you can omit these Renesas specific props -- the driver uses 0 if it
doesn't find the prop.
[...]
MBR, Sergei
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 10/18] arm64: dts: ulcb-kf: enable HSUSB
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (4 preceding siblings ...)
2017-09-06 22:36 ` [PATCH 08/18] arm64: dts: ulcb-kf: enable CAN0/1 Vladimir Barinov
@ 2017-09-06 22:36 ` Vladimir Barinov
2017-09-20 12:51 ` Geert Uytterhoeven
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
` (5 subsequent siblings)
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
This supports HSUSB on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 0854600..8950a52 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -40,6 +40,10 @@
status = "okay";
};
+&hsusb {
+ status = "okay";
+};
+
&pfc {
can0_pins: can0 {
groups = "can0_data_a";
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* Re: [PATCH 10/18] arm64: dts: ulcb-kf: enable HSUSB
2017-09-06 22:36 ` [PATCH 10/18] arm64: dts: ulcb-kf: enable HSUSB Vladimir Barinov
@ 2017-09-20 12:51 ` Geert Uytterhoeven
[not found] ` <CAMuHMdVVCBUgOrFrTQgVpwkShr8SgE9C7agEov5u5PE2F=h8ng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-20 12:51 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Thu, Sep 7, 2017 at 12:36 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports HSUSB on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
[parent not found: <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>]
* [PATCH 01/18] dt: arm: shmobile: add M3ULCB Kingfisher board DT bindings
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2017-09-06 22:35 ` Vladimir Barinov
2017-09-07 10:58 ` Geert Uytterhoeven
2017-09-06 22:35 ` [PATCH 04/18] arm64: dts: m3ulcb-kf: initial device tree Vladimir Barinov
` (6 subsequent siblings)
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
Add M3ULCB Kingfisher Device tree bindings Documentation, listing it as a
supported board.
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
Documentation/devicetree/bindings/arm/shmobile.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt b/Documentation/devicetree/bindings/arm/shmobile.txt
index ae75cb3..89bd3a6 100644
--- a/Documentation/devicetree/bindings/arm/shmobile.txt
+++ b/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -85,6 +85,7 @@ Boards:
- Lager (RTP0RC7790SEB00010S)
compatible = "renesas,lager", "renesas,r8a7790"
- M3ULCB (R-Car Starter Kit Pro, RTP0RC7796SKBX0010SA09 (M3 ES1.0))
+ M3ULCB Kingfisher (SBEV-RCAR-KF-M03)
compatible = "renesas,m3ulcb", "renesas,r8a7796";
- Marzen (R0P7779A00010S)
compatible = "renesas,marzen", "renesas,r8a7779"
--
1.9.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] 46+ messages in thread
* Re: [PATCH 01/18] dt: arm: shmobile: add M3ULCB Kingfisher board DT bindings
2017-09-06 22:35 ` [PATCH 01/18] dt: arm: shmobile: add M3ULCB Kingfisher board DT bindings Vladimir Barinov
@ 2017-09-07 10:58 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUi9THE7nTd54C22K6kOo_Ye5LkhTrRZPNfcHfWCiBsUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-07 10:58 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
Hi Vladimir,
On Thu, Sep 7, 2017 at 12:35 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> Add M3ULCB Kingfisher Device tree bindings Documentation, listing it as a
> supported board.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Thanks for your patch!
> --- a/Documentation/devicetree/bindings/arm/shmobile.txt
> +++ b/Documentation/devicetree/bindings/arm/shmobile.txt
> @@ -85,6 +85,7 @@ Boards:
> - Lager (RTP0RC7790SEB00010S)
> compatible = "renesas,lager", "renesas,r8a7790"
> - M3ULCB (R-Car Starter Kit Pro, RTP0RC7796SKBX0010SA09 (M3 ES1.0))
> + M3ULCB Kingfisher (SBEV-RCAR-KF-M03)
As the Kingfisher is an extension board (and you added the same board part
number to the H3ULCB section in patch 02/18), shouldn't it have its own
compatible value "shimafuji,kingfisher" instead?
Then this can be used in ulcb-kf.dtsi:
compatible = "shimafuji,kingfisher";
and appended (overridden, as there's no /append-property/ directive in dtc
yet?) in the board files, e.g. r8a7796-m3ulcb-kf.dts:
compatible = "shimafuji,kingfisher", "renesas,m3ulcb", "renesas,r8a7796";
Does that make sense?
> compatible = "renesas,m3ulcb", "renesas,r8a7796";
> - Marzen (R0P7779A00010S)
> compatible = "renesas,marzen", "renesas,r8a7779"
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 04/18] arm64: dts: m3ulcb-kf: initial device tree
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:35 ` [PATCH 01/18] dt: arm: shmobile: add M3ULCB Kingfisher board DT bindings Vladimir Barinov
@ 2017-09-06 22:35 ` Vladimir Barinov
2017-09-06 22:35 ` [PATCH 07/18] arm64: dts: ulcb-kf: enable SCIF1 Vladimir Barinov
` (5 subsequent siblings)
7 siblings, 0 replies; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
Add the initial device tree for the M3ULCB with Kingfisher extension
infotainment board.
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/Makefile | 1 +
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index 381928b..54e8316 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb r8a7795-h3ulcb.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb
dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-salvator-x.dtb r8a7795-es1-h3ulcb.dtb
dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-m3ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-m3ulcb-kf.dtb
dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts
new file mode 100644
index 0000000..22fad76c
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts
@@ -0,0 +1,17 @@
+/*
+ * Device Tree Source for the M3ULCB Kingfisher board
+ *
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ * Copyright (C) 2017 Cogent Embedded, Inc.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include "r8a7796-m3ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+ model = "Renesas M3ULCB Kingfisher board based on r8a7796";
+};
--
1.9.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] 46+ messages in thread
* [PATCH 07/18] arm64: dts: ulcb-kf: enable SCIF1
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:35 ` [PATCH 01/18] dt: arm: shmobile: add M3ULCB Kingfisher board DT bindings Vladimir Barinov
2017-09-06 22:35 ` [PATCH 04/18] arm64: dts: m3ulcb-kf: initial device tree Vladimir Barinov
@ 2017-09-06 22:35 ` Vladimir Barinov
[not found] ` <1504737358-23113-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:36 ` [PATCH 09/18] arm64: dts: ulcb-kf: enable USB2 PHY of channel 0 Vladimir Barinov
` (4 subsequent siblings)
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:35 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
This supports SCIF1 on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 849f8b1..2449915 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -12,6 +12,7 @@
/ {
aliases {
serial1 = &hscif0;
+ serial2 = &scif1;
};
};
@@ -28,4 +29,16 @@
groups = "hscif0_data", "hscif0_ctrl";
function = "hscif0";
};
+
+ scif1_pins: scif1 {
+ groups = "scif1_data_b";
+ function = "scif1";
+ };
+};
+
+&scif1 {
+ pinctrl-0 = <&scif1_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
};
--
1.9.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] 46+ messages in thread
* [PATCH 09/18] arm64: dts: ulcb-kf: enable USB2 PHY of channel 0
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
` (2 preceding siblings ...)
2017-09-06 22:35 ` [PATCH 07/18] arm64: dts: ulcb-kf: enable SCIF1 Vladimir Barinov
@ 2017-09-06 22:36 ` Vladimir Barinov
[not found] ` <1504737377-23191-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:36 ` [PATCH 11/18] arm64: dts: ulcb-kf: enable USB2.0 Host " Vladimir Barinov
` (3 subsequent siblings)
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
This supports USB2 PHY channel #0 on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index ca8de1a..0854600 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -60,6 +60,11 @@
groups = "scif1_data_b";
function = "scif1";
};
+
+ usb0_pins: usb0 {
+ groups = "usb0";
+ function = "usb0";
+ };
};
&scif1 {
@@ -68,3 +73,10 @@
status = "okay";
};
+
+&usb2_phy0 {
+ pinctrl-0 = <&usb0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
--
1.9.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] 46+ messages in thread
* [PATCH 11/18] arm64: dts: ulcb-kf: enable USB2.0 Host channel 0
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
` (3 preceding siblings ...)
2017-09-06 22:36 ` [PATCH 09/18] arm64: dts: ulcb-kf: enable USB2 PHY of channel 0 Vladimir Barinov
@ 2017-09-06 22:36 ` Vladimir Barinov
2017-09-20 12:52 ` Geert Uytterhoeven
2017-09-06 22:36 ` [PATCH 12/18] arm64: dts: ulcb-kf: enable PCIE0/1 Vladimir Barinov
` (2 subsequent siblings)
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
This supports USB2.0 Host channel 0 on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 8950a52..46e3a34 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -32,6 +32,10 @@
renesas,can-clock-select = <0x0>;
};
+&ehci0 {
+ status = "okay";
+};
+
&hscif0 {
pinctrl-0 = <&hscif0_pins>;
pinctrl-names = "default";
@@ -44,6 +48,10 @@
status = "okay";
};
+&ohci0 {
+ status = "okay";
+};
+
&pfc {
can0_pins: can0 {
groups = "can0_data_a";
--
1.9.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] 46+ messages in thread
* Re: [PATCH 11/18] arm64: dts: ulcb-kf: enable USB2.0 Host channel 0
2017-09-06 22:36 ` [PATCH 11/18] arm64: dts: ulcb-kf: enable USB2.0 Host " Vladimir Barinov
@ 2017-09-20 12:52 ` Geert Uytterhoeven
[not found] ` <CAMuHMdW9e-hSEHDbN9PNjLQHYdoXy6jFF=PgbCFb0neN_0Ho2Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-20 12:52 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Thu, Sep 7, 2017 at 12:36 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports USB2.0 Host channel 0 on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 12/18] arm64: dts: ulcb-kf: enable PCIE0/1
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
` (4 preceding siblings ...)
2017-09-06 22:36 ` [PATCH 11/18] arm64: dts: ulcb-kf: enable USB2.0 Host " Vladimir Barinov
@ 2017-09-06 22:36 ` Vladimir Barinov
2017-09-20 13:06 ` Geert Uytterhoeven
2017-09-06 22:36 ` [PATCH 14/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C2 Vladimir Barinov
2017-09-06 22:37 ` [PATCH 16/18] arm64: dts: ulcb-kf: enable PCA9548 " Vladimir Barinov
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
This supports PCIE0/1 on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 46e3a34..952d2b7 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -52,6 +52,19 @@
status = "okay";
};
+&pcie_bus_clk {
+ clock-frequency = <100000000>;
+ status = "okay";
+};
+
+&pciec0 {
+ status = "okay";
+};
+
+&pciec1 {
+ status = "okay";
+};
+
&pfc {
can0_pins: can0 {
groups = "can0_data_a";
--
1.9.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] 46+ messages in thread
* Re: [PATCH 12/18] arm64: dts: ulcb-kf: enable PCIE0/1
2017-09-06 22:36 ` [PATCH 12/18] arm64: dts: ulcb-kf: enable PCIE0/1 Vladimir Barinov
@ 2017-09-20 13:06 ` Geert Uytterhoeven
0 siblings, 0 replies; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-20 13:06 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
Hi Vladimir,
On Thu, Sep 7, 2017 at 12:36 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports PCIE0/1 on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> ---
> arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> index 46e3a34..952d2b7 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -52,6 +52,19 @@
> status = "okay";
> };
>
> +&pcie_bus_clk {
> + clock-frequency = <100000000>;
> + status = "okay";
The status update is superfluous, as the PCIe bus clock is already enabled
in r8a779[56].dtsi.
With that fixed:
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 14/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C2
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
` (5 preceding siblings ...)
2017-09-06 22:36 ` [PATCH 12/18] arm64: dts: ulcb-kf: enable PCIE0/1 Vladimir Barinov
@ 2017-09-06 22:36 ` Vladimir Barinov
2017-09-07 10:49 ` Geert Uytterhoeven
2017-09-06 22:37 ` [PATCH 16/18] arm64: dts: ulcb-kf: enable PCA9548 " Vladimir Barinov
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
This supports PCA9539 gpio expanders on I2C2 bus on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 71dee77..40885e7 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -48,6 +48,28 @@
status = "okay";
};
+&i2c2 {
+ gpio_exp_74: pca9539@74 {
+ compatible = "nxp,pca9539";
+ reg = <0x74>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ interrupt-parent = <&gpio6>;
+ interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
+ };
+
+ gpio_exp_75: pca9539@75 {
+ compatible = "nxp,pca9539";
+ reg = <0x75>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ interrupt-parent = <&gpio6>;
+ interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
+ };
+};
+
&ohci0 {
status = "okay";
};
--
1.9.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] 46+ messages in thread
* Re: [PATCH 14/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C2
2017-09-06 22:36 ` [PATCH 14/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C2 Vladimir Barinov
@ 2017-09-07 10:49 ` Geert Uytterhoeven
0 siblings, 0 replies; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-07 10:49 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
Hi Vladimir,
On Thu, Sep 7, 2017 at 12:36 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports PCA9539 gpio expanders on I2C2 bus on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> ---
> arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> index 71dee77..40885e7 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -48,6 +48,28 @@
> status = "okay";
> };
>
> +&i2c2 {
> + gpio_exp_74: pca9539@74 {
Please use generic names: gpio@74
> + compatible = "nxp,pca9539";
> + reg = <0x74>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + interrupt-parent = <&gpio6>;
> + interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
> + };
> +
> + gpio_exp_75: pca9539@75 {
gpio@75
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 16/18] arm64: dts: ulcb-kf: enable PCA9548 on I2C2
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
` (6 preceding siblings ...)
2017-09-06 22:36 ` [PATCH 14/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C2 Vladimir Barinov
@ 2017-09-06 22:37 ` Vladimir Barinov
2017-09-07 10:37 ` Geert Uytterhoeven
7 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
This supports PCA9548 I2C switch on I2C2 bus on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 1cf8466..3bbc490 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -68,6 +68,14 @@
interrupt-parent = <&gpio6>;
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
};
+
+ i2cswitch2: pca9548@71 {
+ compatible = "nxp,pca9548";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x71>;
+ reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
+ };
};
&i2c4 {
--
1.9.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] 46+ messages in thread
* Re: [PATCH 16/18] arm64: dts: ulcb-kf: enable PCA9548 on I2C2
2017-09-06 22:37 ` [PATCH 16/18] arm64: dts: ulcb-kf: enable PCA9548 " Vladimir Barinov
@ 2017-09-07 10:37 ` Geert Uytterhoeven
0 siblings, 0 replies; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-07 10:37 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Thu, Sep 7, 2017 at 12:37 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports PCA9548 I2C switch on I2C2 bus on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> ---
> arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> index 1cf8466..3bbc490 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -68,6 +68,14 @@
> interrupt-parent = <&gpio6>;
> interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
> };
> +
> + i2cswitch2: pca9548@71 {
Please use generic node names: i2c-switch@71
> + compatible = "nxp,pca9548";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0x71>;
> + reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
> + };
> };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 13/18] arm64: dts: ulcb-kf: enable USB3.0 Host
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (6 preceding siblings ...)
[not found] ` <1504737267-22829-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2017-09-06 22:36 ` Vladimir Barinov
2017-09-20 13:07 ` Geert Uytterhoeven
2017-09-06 22:37 ` [PATCH 15/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C4 Vladimir Barinov
` (3 subsequent siblings)
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
This supports USB3.0 Host on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 952d2b7..71dee77 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -105,3 +105,7 @@
status = "okay";
};
+
+&xhci0 {
+ status = "okay";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* Re: [PATCH 13/18] arm64: dts: ulcb-kf: enable USB3.0 Host
2017-09-06 22:36 ` [PATCH 13/18] arm64: dts: ulcb-kf: enable USB3.0 Host Vladimir Barinov
@ 2017-09-20 13:07 ` Geert Uytterhoeven
2017-10-09 7:16 ` Simon Horman
0 siblings, 1 reply; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-20 13:07 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Thu, Sep 7, 2017 at 12:36 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports USB3.0 Host on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 13/18] arm64: dts: ulcb-kf: enable USB3.0 Host
2017-09-20 13:07 ` Geert Uytterhoeven
@ 2017-10-09 7:16 ` Simon Horman
0 siblings, 0 replies; 46+ messages in thread
From: Simon Horman @ 2017-10-09 7:16 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Vladimir Barinov, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Wed, Sep 20, 2017 at 03:07:31PM +0200, Geert Uytterhoeven wrote:
> On Thu, Sep 7, 2017 at 12:36 AM, Vladimir Barinov
> <vladimir.barinov@cogentembedded.com> wrote:
> > This supports USB3.0 Host on ULCB Kingfisher board
> >
> > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Gr{oetje,eeting}s,
Thanks, applied.
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 15/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C4
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (7 preceding siblings ...)
2017-09-06 22:36 ` [PATCH 13/18] arm64: dts: ulcb-kf: enable USB3.0 Host Vladimir Barinov
@ 2017-09-06 22:37 ` Vladimir Barinov
2017-09-07 10:50 ` Geert Uytterhoeven
2017-09-06 22:37 ` [PATCH 17/18] arm64: dts: ulcb-kf: enable PCA9548 " Vladimir Barinov
` (2 subsequent siblings)
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
This supports PCA9539 gpio expanders on I2C4 bus on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 40885e7..1cf8466 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -70,6 +70,28 @@
};
};
+&i2c4 {
+ gpio_exp_76: pca9539@76 {
+ compatible = "nxp,pca9539";
+ reg = <0x76>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ interrupt-parent = <&gpio7>;
+ interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+ };
+
+ gpio_exp_77: pca9539@77 {
+ compatible = "nxp,pca9539";
+ reg = <0x77>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ interrupt-parent = <&gpio5>;
+ interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+ };
+};
+
&ohci0 {
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* Re: [PATCH 15/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C4
2017-09-06 22:37 ` [PATCH 15/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C4 Vladimir Barinov
@ 2017-09-07 10:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 46+ messages in thread
From: Geert Uytterhoeven @ 2017-09-07 10:50 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Thu, Sep 7, 2017 at 12:37 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> This supports PCA9539 gpio expanders on I2C4 bus on ULCB Kingfisher board
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -70,6 +70,28 @@
> };
> };
>
> +&i2c4 {
> + gpio_exp_76: pca9539@76 {
gpio@76
> + gpio_exp_77: pca9539@77 {
gpio@77
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 17/18] arm64: dts: ulcb-kf: enable PCA9548 on I2C4
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (8 preceding siblings ...)
2017-09-06 22:37 ` [PATCH 15/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C4 Vladimir Barinov
@ 2017-09-06 22:37 ` Vladimir Barinov
[not found] ` <1504737438-23504-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:37 ` [PATCH 18/18] arm64: dts: ulcb-kf: hog USB3 hub control gpios Vladimir Barinov
2017-09-06 22:45 ` [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
This supports PCA9548 I2C switch on I2C4 bus on ULCB Kingfisher board
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 3bbc490..0c3844f 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -98,6 +98,14 @@
interrupt-parent = <&gpio5>;
interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
};
+
+ i2cswitch4: pca9548@74 {
+ compatible = "nxp,pca9548";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x71>;
+ reset-gpios= <&gpio3 15 GPIO_ACTIVE_LOW>;
+ };
};
&ohci0 {
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [PATCH 18/18] arm64: dts: ulcb-kf: hog USB3 hub control gpios
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (9 preceding siblings ...)
2017-09-06 22:37 ` [PATCH 17/18] arm64: dts: ulcb-kf: enable PCA9548 " Vladimir Barinov
@ 2017-09-06 22:37 ` Vladimir Barinov
[not found] ` <1504737444-23544-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-09-06 22:45 ` [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
11 siblings, 1 reply; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
This adds gpio hogs for USB3 hub on ULCB Kingfisher board to power up and
remove from reset the hub
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 0c3844f..7bb9793 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -57,6 +57,20 @@
interrupt-controller;
interrupt-parent = <&gpio6>;
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
+
+ hub_pwen {
+ gpio-hog;
+ gpios = <6 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "HUB pwen";
+ };
+
+ hub_rst {
+ gpio-hog;
+ gpios = <7 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "HUB rst";
+ };
};
gpio_exp_75: pca9539@75 {
--
1.9.1
^ permalink raw reply related [flat|nested] 46+ messages in thread
* Re: [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board
2017-09-06 22:34 [PATCH 0/18] arm64: renesas: add ULCB Kingfisher board Vladimir Barinov
` (10 preceding siblings ...)
2017-09-06 22:37 ` [PATCH 18/18] arm64: dts: ulcb-kf: hog USB3 hub control gpios Vladimir Barinov
@ 2017-09-06 22:45 ` Vladimir Barinov
11 siblings, 0 replies; 46+ messages in thread
From: Vladimir Barinov @ 2017-09-06 22:45 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc
On 07.09.2017 01:34, Vladimir Barinov wrote:
> Hello,
>
> This adds the folowing:
> - ULCB Kingfisher infotainment board device tree
> - Document DT bindings
Forgot to mention about documentation:
http://elinux.org/R-Car/Boards/Kingfisher
http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/
http://www.shimafuji.co.jp/Kingfisher/indexEN.html
--
Regards,
Vladimir
^ permalink raw reply [flat|nested] 46+ messages in thread