* [PATCH 0/2] Add V3H Starter Kit board support @ 2018-05-10 18:07 Sergei Shtylyov 2018-05-10 18:09 ` [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings Sergei Shtylyov 2018-05-10 18:12 ` [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree Sergei Shtylyov 0 siblings, 2 replies; 9+ messages in thread From: Sergei Shtylyov @ 2018-05-10 18:07 UTC (permalink / raw) To: Simon Horman, Rob Herring, Catalin Marinas, linux-renesas-soc, devicetree Cc: Mark Rutland, Magnus Damm, Will Deacon, Sergei Shtylyov, linux-arm-kernel Hello! Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180509-v4.17-rc4' tag. I'm adding the device tree support for the R8A77980-based V3H Starter Kit board; only serial console is supported for now, NFS support will require more work (it won't use EtherAVB but GEther) and will be posted later... [1/2] dt-bindings: arm: document Renesas V3HSK board bindings [2/2] arm64: dts: renesas: initial V3HSK board device tree WBR, Sergei ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings 2018-05-10 18:07 [PATCH 0/2] Add V3H Starter Kit board support Sergei Shtylyov @ 2018-05-10 18:09 ` Sergei Shtylyov 2018-05-12 14:12 ` Simon Horman 2018-05-14 20:28 ` Geert Uytterhoeven 2018-05-10 18:12 ` [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree Sergei Shtylyov 1 sibling, 2 replies; 9+ messages in thread From: Sergei Shtylyov @ 2018-05-10 18:09 UTC (permalink / raw) To: Simon Horman, Rob Herring, linux-renesas-soc, devicetree Cc: Magnus Damm, Mark Rutland Document the V3H Starter Kit device tree bindings, listing it as a supported board. This allows to use checkpatch.pl to validate .dts files referring to the V3HSK board. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ 1 file changed, 2 insertions(+) Index: renesas/Documentation/devicetree/bindings/arm/shmobile.txt =================================================================== --- renesas.orig/Documentation/devicetree/bindings/arm/shmobile.txt +++ renesas/Documentation/devicetree/bindings/arm/shmobile.txt @@ -132,6 +132,8 @@ Boards: compatible = "renesas,sk-rzg1m", "renesas,r8a7743" - Stout (ADAS Starterkit, Y-R-CAR-ADAS-SKH2-BOARD) compatible = "renesas,stout", "renesas,r8a7790" + - V3HSK (Y-ASK-RCAR-V3H-WS10) + compatible = "renesas,v3hsk", "renesas,r8a77980" - V3MSK (Y-ASK-RCAR-V3M-WS10) compatible = "renesas,v3msk", "renesas,r8a77970" - Wheat (RTP0RC7792ASKB0000JE) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings 2018-05-10 18:09 ` [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings Sergei Shtylyov @ 2018-05-12 14:12 ` Simon Horman 2018-05-14 20:28 ` Geert Uytterhoeven 1 sibling, 0 replies; 9+ messages in thread From: Simon Horman @ 2018-05-12 14:12 UTC (permalink / raw) To: Sergei Shtylyov Cc: Rob Herring, linux-renesas-soc, devicetree, Magnus Damm, Mark Rutland On Thu, May 10, 2018 at 09:09:40PM +0300, Sergei Shtylyov wrote: > Document the V3H Starter Kit device tree bindings, listing it as > a supported board. > > This allows to use checkpatch.pl to validate .dts files referring to > the V3HSK board. > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> This looks fine but I will wait to see if there are other reviews before applying. Reviewed-by: Simon Horman <horms+renesas@verge.net.au> > > --- > Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ > 1 file changed, 2 insertions(+) > > Index: renesas/Documentation/devicetree/bindings/arm/shmobile.txt > =================================================================== > --- renesas.orig/Documentation/devicetree/bindings/arm/shmobile.txt > +++ renesas/Documentation/devicetree/bindings/arm/shmobile.txt > @@ -132,6 +132,8 @@ Boards: > compatible = "renesas,sk-rzg1m", "renesas,r8a7743" > - Stout (ADAS Starterkit, Y-R-CAR-ADAS-SKH2-BOARD) > compatible = "renesas,stout", "renesas,r8a7790" > + - V3HSK (Y-ASK-RCAR-V3H-WS10) > + compatible = "renesas,v3hsk", "renesas,r8a77980" > - V3MSK (Y-ASK-RCAR-V3M-WS10) > compatible = "renesas,v3msk", "renesas,r8a77970" > - Wheat (RTP0RC7792ASKB0000JE) > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings 2018-05-10 18:09 ` [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings Sergei Shtylyov 2018-05-12 14:12 ` Simon Horman @ 2018-05-14 20:28 ` Geert Uytterhoeven 2018-05-15 7:18 ` Simon Horman 1 sibling, 1 reply; 9+ messages in thread From: Geert Uytterhoeven @ 2018-05-14 20:28 UTC (permalink / raw) To: Sergei Shtylyov Cc: Simon Horman, Rob Herring, Linux-Renesas, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Magnus Damm, Mark Rutland On Thu, May 10, 2018 at 8:09 PM, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> wrote: > Document the V3H Starter Kit device tree bindings, listing it as > a supported board. > > This allows to use checkpatch.pl to validate .dts files referring to > the V3HSK board. > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@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] 9+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings 2018-05-14 20:28 ` Geert Uytterhoeven @ 2018-05-15 7:18 ` Simon Horman 0 siblings, 0 replies; 9+ messages in thread From: Simon Horman @ 2018-05-15 7:18 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Sergei Shtylyov, Rob Herring, Linux-Renesas, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Magnus Damm, Mark Rutland On Mon, May 14, 2018 at 10:28:34PM +0200, Geert Uytterhoeven wrote: > On Thu, May 10, 2018 at 8:09 PM, Sergei Shtylyov > <sergei.shtylyov@cogentembedded.com> wrote: > > Document the V3H Starter Kit device tree bindings, listing it as > > a supported board. > > > > This allows to use checkpatch.pl to validate .dts files referring to > > the V3HSK board. > > > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks, applied. ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree 2018-05-10 18:07 [PATCH 0/2] Add V3H Starter Kit board support Sergei Shtylyov 2018-05-10 18:09 ` [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings Sergei Shtylyov @ 2018-05-10 18:12 ` Sergei Shtylyov 2018-05-13 8:07 ` Simon Horman 2018-06-06 7:52 ` Geert Uytterhoeven 1 sibling, 2 replies; 9+ messages in thread From: Sergei Shtylyov @ 2018-05-10 18:12 UTC (permalink / raw) To: Simon Horman, Rob Herring, Catalin Marinas, linux-renesas-soc, devicetree, Will Deacon Cc: Mark Rutland, Magnus Damm, linux-arm-kernel Add the initial device tree for the V3H Starter Kit board. The board has 1 debug serial port (SCIF0); include support for it, so that the serial console can work. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- arch/arm64/boot/dts/renesas/Makefile | 2 arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts | 60 +++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) Index: renesas/arch/arm64/boot/dts/renesas/Makefile =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/Makefile +++ renesas/arch/arm64/boot/dts/renesas/Makefile @@ -9,6 +9,6 @@ dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-m3 dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-salvator-x.dtb r8a77965-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77970) += r8a77970-eagle.dtb r8a77970-v3msk.dtb -dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-condor.dtb +dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-condor.dtb r8a77980-v3hsk.dtb dtb-$(CONFIG_ARCH_R8A77990) += r8a77990-ebisu.dtb dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb Index: renesas/arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts =================================================================== --- /dev/null +++ renesas/arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts @@ -0,0 +1,60 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the V3H Starter Kit board + * + * Copyright (C) 2018 Renesas Electronics Corp. + * Copyright (C) 2018 Cogent Embedded, Inc. + */ + +/dts-v1/; +#include "r8a77980.dtsi" + +/ { + model = "Renesas V3H Starter Kit board"; + compatible = "renesas,v3hsk", "renesas,r8a77980"; + + aliases { + serial0 = &scif0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0 0x48000000 0 0x78000000>; + }; +}; + +&extal_clk { + clock-frequency = <16666666>; +}; + +&extalr_clk { + clock-frequency = <32768>; +}; + +&pfc { + scif0_pins: scif0 { + groups = "scif0_data"; + function = "scif0"; + }; + + scif_clk_pins: scif_clk { + groups = "scif_clk_b"; + function = "scif_clk"; + }; +}; + +&scif0 { + pinctrl-0 = <&scif0_pins>, <&scif_clk_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&scif_clk { + clock-frequency = <14745600>; +}; ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree 2018-05-10 18:12 ` [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree Sergei Shtylyov @ 2018-05-13 8:07 ` Simon Horman 2018-05-16 7:04 ` Simon Horman 2018-06-06 7:52 ` Geert Uytterhoeven 1 sibling, 1 reply; 9+ messages in thread From: Simon Horman @ 2018-05-13 8:07 UTC (permalink / raw) To: Sergei Shtylyov Cc: Mark Rutland, devicetree, Magnus Damm, Catalin Marinas, Will Deacon, linux-renesas-soc, Rob Herring, linux-arm-kernel On Thu, May 10, 2018 at 09:12:30PM +0300, Sergei Shtylyov wrote: > Add the initial device tree for the V3H Starter Kit board. > The board has 1 debug serial port (SCIF0); include support for it, > so that the serial console can work. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> This looks fine but I will wait to see if there are other reviews before applying. Reviewed-by: Simon Horman <horms+renesas@verge.net.au> ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree 2018-05-13 8:07 ` Simon Horman @ 2018-05-16 7:04 ` Simon Horman 0 siblings, 0 replies; 9+ messages in thread From: Simon Horman @ 2018-05-16 7:04 UTC (permalink / raw) To: Sergei Shtylyov Cc: Mark Rutland, devicetree, Magnus Damm, Catalin Marinas, Will Deacon, linux-renesas-soc, Rob Herring, linux-arm-kernel On Sun, May 13, 2018 at 10:07:04AM +0200, Simon Horman wrote: > On Thu, May 10, 2018 at 09:12:30PM +0300, Sergei Shtylyov wrote: > > Add the initial device tree for the V3H Starter Kit board. > > The board has 1 debug serial port (SCIF0); include support for it, > > so that the serial console can work. > > > > Based on the original (and large) patch by Vladimir Barinov. > > > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > This looks fine but I will wait to see if there are other reviews before > applying. > > Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Applied ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree 2018-05-10 18:12 ` [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree Sergei Shtylyov 2018-05-13 8:07 ` Simon Horman @ 2018-06-06 7:52 ` Geert Uytterhoeven 1 sibling, 0 replies; 9+ messages in thread From: Geert Uytterhoeven @ 2018-06-06 7:52 UTC (permalink / raw) To: Sergei Shtylyov Cc: Mark Rutland, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Magnus Damm, Catalin Marinas, Will Deacon, Rob Herring, Linux-Renesas, Simon Horman, Linux ARM On Thu, May 10, 2018 at 8:12 PM, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> wrote: > Add the initial device tree for the V3H Starter Kit board. > The board has 1 debug serial port (SCIF0); include support for it, > so that the serial console can work. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> FTR: Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- /dev/null > +++ renesas/arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts > +&pfc { > + scif0_pins: scif0 { > + groups = "scif0_data"; > + function = "scif0"; > + }; JFYI, hscif0 can be routed to the same pins, if higher performance is needed. 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] 9+ messages in thread
end of thread, other threads:[~2018-06-06 7:52 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-05-10 18:07 [PATCH 0/2] Add V3H Starter Kit board support Sergei Shtylyov 2018-05-10 18:09 ` [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings Sergei Shtylyov 2018-05-12 14:12 ` Simon Horman 2018-05-14 20:28 ` Geert Uytterhoeven 2018-05-15 7:18 ` Simon Horman 2018-05-10 18:12 ` [PATCH 2/2] arm64: dts: renesas: initial V3HSK board device tree Sergei Shtylyov 2018-05-13 8:07 ` Simon Horman 2018-05-16 7:04 ` Simon Horman 2018-06-06 7:52 ` Geert Uytterhoeven
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).