* [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H @ 2020-12-28 20:22 Adam Ford 2020-12-28 20:22 ` [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to " Adam Ford ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Adam Ford @ 2020-12-28 20:22 UTC (permalink / raw) To: linux-renesas-soc Cc: aford, Adam Ford, Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-clk, devicetree, linux-kernel The datasheet for the RZ/G2 Series show the bit for choosing between a crystal oscillator and an external oscillator is present. Add the bindings for r8a774a1 (RZ/G2M), r8a774b1 (RZ/G2N), and r8a774e1 (RZ/G2H) Signed-off-by: Adam Ford <aford173@gmail.com> diff --git a/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml b/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml index 5be1229b3d6e..6eaabb4d82ec 100644 --- a/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml +++ b/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml @@ -35,6 +35,9 @@ properties: compatible: items: - enum: + - renesas,r8a774a1-rcar-usb2-clock-sel # RZ/G2M + - renesas,r8a774b1-rcar-usb2-clock-sel # RZ/G2N + - renesas,r8a774e1-rcar-usb2-clock-sel # RZ/G2H - renesas,r8a7795-rcar-usb2-clock-sel # R-Car H3 - renesas,r8a7796-rcar-usb2-clock-sel # R-Car M3-W - renesas,r8a77961-rcar-usb2-clock-sel # R-Car M3-W+ -- 2.25.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to RZ/G2 M/N/H 2020-12-28 20:22 [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H Adam Ford @ 2020-12-28 20:22 ` Adam Ford 2021-01-08 14:10 ` Geert Uytterhoeven 2021-01-08 14:03 ` [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for " Geert Uytterhoeven 2021-01-11 20:14 ` Rob Herring 2 siblings, 1 reply; 8+ messages in thread From: Adam Ford @ 2020-12-28 20:22 UTC (permalink / raw) To: linux-renesas-soc Cc: aford, Adam Ford, Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-clk, devicetree, linux-kernel Per the reference manal for the RZ/G Series, 2nd Generation, the RZ/G2M, RZ/G2N, and RZ/G2H have a bit that can be set to choose between a crystal oscillator and an external oscillator. Because only boards that need this should enable it, it's marked as disabled by default for backwards compatibility with existing boards. Signed-off-by: Adam Ford <aford173@gmail.com> diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi index d37ec42a1caa..60e150320ce8 100644 --- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi @@ -835,6 +835,21 @@ hsusb: usb@e6590000 { status = "disabled"; }; + usb2_clksel: clock-controller@e6590630 { + compatible = "renesas,r8a774a1-rcar-usb2-clock-sel", + "renesas,rcar-gen3-usb2-clock-sel"; + reg = <0 0xe6590630 0 0x02>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&usb_extal_clk>, <&usb3s0_clk>; + clock-names = "ehci_ohci", "hs-usb-if", + "usb_extal", "usb_xtal"; + #clock-cells = <0>; + power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + reset-names = "ehci_ohci", "hs-usb-if"; + status = "disabled"; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a774a1-usb-dmac", "renesas,usb-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi index 83523916d360..20003a41a706 100644 --- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi @@ -709,6 +709,21 @@ hsusb: usb@e6590000 { status = "disabled"; }; + usb2_clksel: clock-controller@e6590630 { + compatible = "renesas,r8a774b1-rcar-usb2-clock-sel", + "renesas,rcar-gen3-usb2-clock-sel"; + reg = <0 0xe6590630 0 0x02>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&usb_extal_clk>, <&usb3s0_clk>; + clock-names = "ehci_ohci", "hs-usb-if", + "usb_extal", "usb_xtal"; + #clock-cells = <0>; + power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + reset-names = "ehci_ohci", "hs-usb-if"; + status = "disabled"; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a774b1-usb-dmac", "renesas,usb-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi index 1333b02d623a..2e6c12a46daf 100644 --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -890,6 +890,21 @@ hsusb: usb@e6590000 { status = "disabled"; }; + usb2_clksel: clock-controller@e6590630 { + compatible = "renesas,r8a774e1-rcar-usb2-clock-sel", + "renesas,rcar-gen3-usb2-clock-sel"; + reg = <0 0xe6590630 0 0x02>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&usb_extal_clk>, <&usb3s0_clk>; + clock-names = "ehci_ohci", "hs-usb-if", + "usb_extal", "usb_xtal"; + #clock-cells = <0>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + reset-names = "ehci_ohci", "hs-usb-if"; + status = "disabled"; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a774e1-usb-dmac", "renesas,usb-dmac"; -- 2.25.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to RZ/G2 M/N/H 2020-12-28 20:22 ` [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to " Adam Ford @ 2021-01-08 14:10 ` Geert Uytterhoeven 2021-01-09 9:29 ` Geert Uytterhoeven 0 siblings, 1 reply; 8+ messages in thread From: Geert Uytterhoeven @ 2021-01-08 14:10 UTC (permalink / raw) To: Adam Ford Cc: Linux-Renesas, Adam Ford-BE, Michael Turquette, Stephen Boyd, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-clk, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List On Mon, Dec 28, 2020 at 9:22 PM Adam Ford <aford173@gmail.com> wrote: > Per the reference manal for the RZ/G Series, 2nd Generation, manual > the RZ/G2M, RZ/G2N, and RZ/G2H have a bit that can be set to > choose between a crystal oscillator and an external oscillator. > > Because only boards that need this should enable it, it's marked > as disabled by default for backwards compatibility with existing > boards. > > Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-devel for v5.12 (with the typo fixed). 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] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to RZ/G2 M/N/H 2021-01-08 14:10 ` Geert Uytterhoeven @ 2021-01-09 9:29 ` Geert Uytterhoeven 2021-01-09 9:30 ` Geert Uytterhoeven 0 siblings, 1 reply; 8+ messages in thread From: Geert Uytterhoeven @ 2021-01-09 9:29 UTC (permalink / raw) To: Adam Ford Cc: Linux-Renesas, Adam Ford-BE, Michael Turquette, Stephen Boyd, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-clk, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List On Fri, Jan 8, 2021 at 3:10 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Mon, Dec 28, 2020 at 9:22 PM Adam Ford <aford173@gmail.com> wrote: > > Per the reference manal for the RZ/G Series, 2nd Generation, > > manual > > > the RZ/G2M, RZ/G2N, and RZ/G2H have a bit that can be set to > > choose between a crystal oscillator and an external oscillator. > > > > Because only boards that need this should enable it, it's marked > > as disabled by default for backwards compatibility with existing > > boards. > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > i.e. will queue in renesas-devel for v5.12 (with the typo fixed). (and the unneeded 'status = "disabled"' dropped). 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] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to RZ/G2 M/N/H 2021-01-09 9:29 ` Geert Uytterhoeven @ 2021-01-09 9:30 ` Geert Uytterhoeven 0 siblings, 0 replies; 8+ messages in thread From: Geert Uytterhoeven @ 2021-01-09 9:30 UTC (permalink / raw) To: Adam Ford Cc: Linux-Renesas, Adam Ford-BE, Michael Turquette, Stephen Boyd, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-clk, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List On Sat, Jan 9, 2021 at 10:29 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Fri, Jan 8, 2021 at 3:10 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > On Mon, Dec 28, 2020 at 9:22 PM Adam Ford <aford173@gmail.com> wrote: > > > Per the reference manal for the RZ/G Series, 2nd Generation, > > > > manual > > > > > the RZ/G2M, RZ/G2N, and RZ/G2H have a bit that can be set to > > > choose between a crystal oscillator and an external oscillator. > > > > > > Because only boards that need this should enable it, it's marked > > > as disabled by default for backwards compatibility with existing > > > boards. > > > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > i.e. will queue in renesas-devel for v5.12 (with the typo fixed). > > (and the unneeded 'status = "disabled"' dropped). Please disregard that. Lazy Saturday morning... 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] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H 2020-12-28 20:22 [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H Adam Ford 2020-12-28 20:22 ` [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to " Adam Ford @ 2021-01-08 14:03 ` Geert Uytterhoeven 2021-01-11 20:14 ` Rob Herring 2 siblings, 0 replies; 8+ messages in thread From: Geert Uytterhoeven @ 2021-01-08 14:03 UTC (permalink / raw) To: Adam Ford Cc: Linux-Renesas, Adam Ford-BE, Michael Turquette, Stephen Boyd, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-clk, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List On Mon, Dec 28, 2020 at 9:22 PM Adam Ford <aford173@gmail.com> wrote: > The datasheet for the RZ/G2 Series show the bit for choosing between a crystal > oscillator and an external oscillator is present. Add the bindings for > r8a774a1 (RZ/G2M), r8a774b1 (RZ/G2N), and r8a774e1 (RZ/G2H) > > Signed-off-by: Adam Ford <aford173@gmail.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] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H 2020-12-28 20:22 [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H Adam Ford 2020-12-28 20:22 ` [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to " Adam Ford 2021-01-08 14:03 ` [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for " Geert Uytterhoeven @ 2021-01-11 20:14 ` Rob Herring 2021-01-12 8:39 ` Geert Uytterhoeven 2 siblings, 1 reply; 8+ messages in thread From: Rob Herring @ 2021-01-11 20:14 UTC (permalink / raw) To: Adam Ford Cc: Yoshihiro Shimoda, aford, Magnus Damm, Geert Uytterhoeven, linux-renesas-soc, linux-kernel, Michael Turquette, Stephen Boyd, Rob Herring, devicetree, linux-clk On Mon, 28 Dec 2020 14:22:20 -0600, Adam Ford wrote: > The datasheet for the RZ/G2 Series show the bit for choosing between a crystal > oscillator and an external oscillator is present. Add the bindings for > r8a774a1 (RZ/G2M), r8a774b1 (RZ/G2N), and r8a774e1 (RZ/G2H) > > Signed-off-by: Adam Ford <aford173@gmail.com> > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H 2021-01-11 20:14 ` Rob Herring @ 2021-01-12 8:39 ` Geert Uytterhoeven 0 siblings, 0 replies; 8+ messages in thread From: Geert Uytterhoeven @ 2021-01-12 8:39 UTC (permalink / raw) To: Rob Herring Cc: Adam Ford, Yoshihiro Shimoda, Adam Ford-BE, Magnus Damm, Geert Uytterhoeven, Linux-Renesas, Linux Kernel Mailing List, Michael Turquette, Stephen Boyd, Rob Herring, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, linux-clk On Mon, Jan 11, 2021 at 9:14 PM Rob Herring <robh@kernel.org> wrote: > On Mon, 28 Dec 2020 14:22:20 -0600, Adam Ford wrote: > > The datasheet for the RZ/G2 Series show the bit for choosing between a crystal > > oscillator and an external oscillator is present. Add the bindings for > > r8a774a1 (RZ/G2M), r8a774b1 (RZ/G2N), and r8a774e1 (RZ/G2H) > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > > > Acked-by: Rob Herring <robh@kernel.org> Thanks, will queue in renesas-clk-for-v5.12. 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] 8+ messages in thread
end of thread, other threads:[~2021-01-12 8:40 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-12-28 20:22 [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H Adam Ford 2020-12-28 20:22 ` [PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to " Adam Ford 2021-01-08 14:10 ` Geert Uytterhoeven 2021-01-09 9:29 ` Geert Uytterhoeven 2021-01-09 9:30 ` Geert Uytterhoeven 2021-01-08 14:03 ` [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for " Geert Uytterhoeven 2021-01-11 20:14 ` Rob Herring 2021-01-12 8:39 ` Geert Uytterhoeven
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.