All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
To: Simon Horman <horms@verge.net.au>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Cc: Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>
Subject: [PATCH 1/6] arm64: dts: renesas: r8a774a1: Fix USB 2.0 clocks
Date: Tue, 11 Jun 2019 14:06:36 +0100	[thread overview]
Message-ID: <1560258401-9517-2-git-send-email-fabrizio.castro@bp.renesas.com> (raw)
In-Reply-To: <1560258401-9517-1-git-send-email-fabrizio.castro@bp.renesas.com>

Similarly to what done for the r8a7796 with commit 737e05bf034e
("arm64: dts: renesas: revise properties for R-Car Gen3 SoCs'
usb 2.0"), this patch lists the clock for the USB High-Speed Module
(HS-USB) with the USB2.0 Host (EHCI/OHCI) IP DT node, and it lists
the clock for the USB2.0 Host IP with the HS-USB module DT node.

Fixes: 4c2c2fb99876 ("arm64: dts: renesas: r8a774a1: Add USB2.0 phy and host(EHCI/OHCI) device nodes")
Fixes: ed898d4fc19d ("arm64: dts: renesas: r8a774a1: Add USB-DMAC and HSUSB device nodes")
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
index eb9f299..4a12a42 100644
--- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
@@ -649,7 +649,7 @@
 				     "renesas,rcar-gen3-usbhs";
 			reg = <0 0xe6590000 0 0x200>;
 			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cpg CPG_MOD 704>;
+			clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
 			dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
 			       <&usb_dmac1 0>, <&usb_dmac1 1>;
 			dma-names = "ch0", "ch1", "ch2", "ch3";
@@ -657,7 +657,7 @@
 			phys = <&usb2_phy0 3>;
 			phy-names = "usb";
 			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
-			resets = <&cpg 704>;
+			resets = <&cpg 704>, <&cpg 703>;
 			status = "disabled";
 		};
 
@@ -1780,11 +1780,11 @@
 			compatible = "generic-ohci";
 			reg = <0 0xee080000 0 0x100>;
 			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cpg CPG_MOD 703>;
+			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
 			phys = <&usb2_phy0 1>;
 			phy-names = "usb";
 			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
-			resets = <&cpg 703>;
+			resets = <&cpg 703>, <&cpg 704>;
 			status = "disabled";
 		};
 
@@ -1804,12 +1804,12 @@
 			compatible = "generic-ehci";
 			reg = <0 0xee080100 0 0x100>;
 			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cpg CPG_MOD 703>;
+			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
 			phys = <&usb2_phy0 2>;
 			phy-names = "usb";
 			companion = <&ohci0>;
 			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
-			resets = <&cpg 703>;
+			resets = <&cpg 703>, <&cpg 704>;
 			status = "disabled";
 		};
 
@@ -1831,9 +1831,9 @@
 				     "renesas,rcar-gen3-usb2-phy";
 			reg = <0 0xee080200 0 0x700>;
 			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cpg CPG_MOD 703>;
+			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
 			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
-			resets = <&cpg 703>;
+			resets = <&cpg 703>, <&cpg 704>;
 			#phy-cells = <1>;
 			status = "disabled";
 		};
-- 
2.7.4

  reply	other threads:[~2019-06-11 13:06 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 13:06 [PATCH 0/6] Add USB2.0/CMT/TMU support to HiHope RZ/G2M Fabrizio Castro
2019-06-11 13:06 ` Fabrizio Castro [this message]
2019-06-17  8:05   ` [PATCH 1/6] arm64: dts: renesas: r8a774a1: Fix USB 2.0 clocks Simon Horman
2019-06-11 13:06 ` [PATCH 2/6] arm64: dts: renesas: hihope-common: Add USB 2.0 support Fabrizio Castro
2019-06-17  8:06   ` Simon Horman
2019-06-11 13:06 ` [PATCH 3/6] arm64: dts: renesas: r8a774a1: Add CMT device nodes Fabrizio Castro
2019-06-12  7:02   ` Geert Uytterhoeven
2019-06-12  7:02     ` Geert Uytterhoeven
2019-06-12 12:27     ` Simon Horman
2019-06-12 12:27       ` Simon Horman
2019-06-11 13:06 ` [PATCH 4/6] clk: renesas: r8a774a1: Add TMU clock Fabrizio Castro
2019-06-12  6:51   ` Geert Uytterhoeven
2019-06-12 12:25   ` Simon Horman
2019-06-11 13:06 ` [PATCH 5/6] dt-bindings: timer: renesas: tmu: Document r8a774a1 bindings Fabrizio Castro
2019-06-12  6:52   ` Geert Uytterhoeven
2019-06-12  6:52     ` Geert Uytterhoeven
2019-06-12 12:21   ` Simon Horman
2019-07-09  2:34   ` Rob Herring
2019-07-09  2:34     ` Rob Herring
2019-08-30 10:37   ` Fabrizio Castro
2019-08-30 10:37     ` Fabrizio Castro
2019-09-02  8:32     ` Simon Horman
2019-09-02  8:32       ` Simon Horman
2019-09-02  8:39       ` Geert Uytterhoeven
2019-09-02  8:39         ` Geert Uytterhoeven
2019-09-02  8:42         ` Daniel Lezcano
2019-09-02  8:42           ` Daniel Lezcano
2019-09-03 12:10           ` Geert Uytterhoeven
2019-09-03 12:10             ` Geert Uytterhoeven
2019-06-11 13:06 ` [PATCH 6/6] arm64: dts: renesas: r8a774a1: Add TMU device nodes Fabrizio Castro
2019-06-12  6:56   ` Geert Uytterhoeven
2019-06-12  6:56     ` Geert Uytterhoeven
2019-06-12 12:29     ` Simon Horman
2019-06-12 12:29       ` Simon Horman
2019-06-11 13:12 ` [PATCH 0/6] Add USB2.0/CMT/TMU support to HiHope RZ/G2M Fabrizio Castro
2019-06-11 13:12   ` Fabrizio Castro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1560258401-9517-2-git-send-email-fabrizio.castro@bp.renesas.com \
    --to=fabrizio.castro@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.