Message ID | cover.1706194617.git.geert+renesas@glider.be |
---|---|
Headers | show |
Series | arm64: renesas: Add R-Car V4M and Gray Hawk Single support | expand |
Hi Geert, On 2024-01-25 16:34:42 +0100, Geert Uytterhoeven wrote: > Add initial support for the Renesas Gray Hawk Single board, which is > based on the R-Car V4M (R8A779H0) SoC: > - Memory, > - Crystal oscillators, > - Serial console. > > Based on the White Hawk Single DTS, and on a patch for the Gray Hawk > board stack in the BSP by Hai Pham. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> > --- > v2: > - Add SoC name to top-level comment. > --- > arch/arm64/boot/dts/renesas/Makefile | 2 + > .../dts/renesas/r8a779h0-gray-hawk-single.dts | 52 +++++++++++++++++++ > 2 files changed, 54 insertions(+) > create mode 100644 arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts > > diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile > index 1d7d69657a1f0559..4c5ac5f02829ff58 100644 > --- a/arch/arm64/boot/dts/renesas/Makefile > +++ b/arch/arm64/boot/dts/renesas/Makefile > @@ -86,6 +86,8 @@ dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g0-white-hawk-ard-audio-da7212.dtbo > r8a779g0-white-hawk-ard-audio-da7212-dtbs := r8a779g0-white-hawk.dtb r8a779g0-white-hawk-ard-audio-da7212.dtbo > dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g0-white-hawk-ard-audio-da7212.dtb > > +dtb-$(CONFIG_ARCH_R8A779H0) += r8a779h0-gray-hawk-single.dtb > + > dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb > r8a779m1-salvator-xs-panel-aa104xd12-dtbs := r8a779m1-salvator-xs.dtb salvator-panel-aa104xd12.dtbo > dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs-panel-aa104xd12.dtb > diff --git a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts > new file mode 100644 > index 0000000000000000..1ed404712d823871 > --- /dev/null > +++ b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts > @@ -0,0 +1,52 @@ > +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +/* > + * Device Tree Source for the R-Car V4M Gray Hawk Single board > + * > + * Copyright (C) 2023 Renesas Electronics Corp. > + * Copyright (C) 2024 Glider bv > + */ > + > +/dts-v1/; > +#include "r8a779h0.dtsi" > + > +/ { > + model = "Renesas Gray Hawk Single board based on r8a779h0"; > + compatible = "renesas,gray-hawk-single", "renesas,r8a779h0"; > + > + aliases { > + serial0 = &hscif0; > + }; > + > + chosen { > + bootargs = "ignore_loglevel"; > + stdout-path = "serial0:921600n8"; > + }; > + > + memory@48000000 { > + device_type = "memory"; > + /* first 128MB is reserved for secure area. */ > + reg = <0x0 0x48000000 0x0 0x78000000>; > + }; > + > + memory@480000000 { > + device_type = "memory"; > + reg = <0x4 0x80000000 0x1 0x80000000>; > + }; > +}; > + > +&extal_clk { > + clock-frequency = <16666666>; > +}; > + > +&extalr_clk { > + clock-frequency = <32768>; > +}; > + > +&hscif0 { > + uart-has-rtscts; > + status = "okay"; > +}; > + > +&scif_clk { > + clock-frequency = <24000000>; > +}; > -- > 2.34.1 > >
Hi Ulf, On Tue, Jan 30, 2024 at 2:11 PM Ulf Hansson <ulf.hansson@linaro.org> wrote: > On Thu, 25 Jan 2024 at 16:34, Geert Uytterhoeven > <geert+renesas@glider.be> wrote: > > This patch series adds initial support for the Renesas R-Car V4M > > (R8A779G0) SoC and the Renesas Gray Hawk Single development board. > > > > As both driver code and DTS have hard dependencies on DT binding > > definitions, most patches in this series are supposed to go in through > > the renesas-devel and/or renesas-clk trees, using a shared branch for DT > > binding definitions, as usual. For the PM domain patches (03, 04, 09), > > Ulf already offered to apply these to his pmdomain tree, and provide an > > immutable "dt" branch, to be pulled in my renesas-devel tree. > > Patch 3,4 and 9 (I dropped the copyright line in patch9, as pointed > out by Niklas) applied for next, thanks! > > Patch 3,4 are also available at the immutable dt branch for you to pull in. Thank you! I have pulled the immutable branch, added the remaining DT binding definitions, and queued all remaining patches. Gr{oetje,eeting}s, Geert
Hi Ulf, On Wed, Jan 31, 2024 at 3:56 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Tue, Jan 30, 2024 at 2:11 PM Ulf Hansson <ulf.hansson@linaro.org> wrote: > > On Thu, 25 Jan 2024 at 16:34, Geert Uytterhoeven > > <geert+renesas@glider.be> wrote: > > > This patch series adds initial support for the Renesas R-Car V4M > > > (R8A779G0) SoC and the Renesas Gray Hawk Single development board. > > > > > > As both driver code and DTS have hard dependencies on DT binding > > > definitions, most patches in this series are supposed to go in through > > > the renesas-devel and/or renesas-clk trees, using a shared branch for DT > > > binding definitions, as usual. For the PM domain patches (03, 04, 09), > > > Ulf already offered to apply these to his pmdomain tree, and provide an > > > immutable "dt" branch, to be pulled in my renesas-devel tree. > > > > Patch 3,4 and 9 (I dropped the copyright line in patch9, as pointed > > out by Niklas) applied for next, thanks! > > > > Patch 3,4 are also available at the immutable dt branch for you to pull in. > > Thank you! > > I have pulled the immutable branch, added the remaining DT binding > definitions, and queued all remaining patches. It looks like you have applied copies of all commits on the "dt" branch to the "next" branch, so now there are two copies? See the output of "git range-diff v6.8-rc1..pmdomain/dt v6.8-rc4..pmdomain/next". Gr{oetje,eeting}s, Geert
On Wed, 14 Feb 2024 at 09:35, Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Ulf, > > On Wed, Jan 31, 2024 at 3:56 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > On Tue, Jan 30, 2024 at 2:11 PM Ulf Hansson <ulf.hansson@linaro.org> wrote: > > > On Thu, 25 Jan 2024 at 16:34, Geert Uytterhoeven > > > <geert+renesas@glider.be> wrote: > > > > This patch series adds initial support for the Renesas R-Car V4M > > > > (R8A779G0) SoC and the Renesas Gray Hawk Single development board. > > > > > > > > As both driver code and DTS have hard dependencies on DT binding > > > > definitions, most patches in this series are supposed to go in through > > > > the renesas-devel and/or renesas-clk trees, using a shared branch for DT > > > > binding definitions, as usual. For the PM domain patches (03, 04, 09), > > > > Ulf already offered to apply these to his pmdomain tree, and provide an > > > > immutable "dt" branch, to be pulled in my renesas-devel tree. > > > > > > Patch 3,4 and 9 (I dropped the copyright line in patch9, as pointed > > > out by Niklas) applied for next, thanks! > > > > > > Patch 3,4 are also available at the immutable dt branch for you to pull in. > > > > Thank you! > > > > I have pulled the immutable branch, added the remaining DT binding > > definitions, and queued all remaining patches. > > It looks like you have applied copies of all commits on the "dt" > branch to the "next" > branch, so now there are two copies? > > See the output of "git range-diff v6.8-rc1..pmdomain/dt > v6.8-rc4..pmdomain/next". I screwed up - and thanks for pointing this out! Problem is taken care of now. Kind regards Uffe