* [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces
@ 2016-07-21 10:48 Grzegorz Jaszczyk
2016-07-21 11:50 ` Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Grzegorz Jaszczyk @ 2016-07-21 10:48 UTC (permalink / raw)
To: linux-clk, devicetree, linux-kernel
Cc: mturquette, sboyd, robh+dt, mark.rutland, thomas.petazzoni,
gregory.clement, mw, jaz, alior
Both SATA and second USB3.0 interface are supported in Armada-39x SoC
family. Add necessary clk description, so both xhci and sata drivers
can be correctly initialized.
The binding documentation has also been updated accordingly.
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
---
Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt | 2 ++
drivers/clk/mvebu/armada-39x.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt b/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
index 660e649..cb8542d 100644
--- a/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
+++ b/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
@@ -86,6 +86,8 @@ ID Clock Peripheral
7 pex3 PCIe 3
8 pex0 PCIe 0
9 usb3h0 USB3 Host 0
+10 usb3h1 USB3 Host 1
+15 sata0 SATA 0
17 sdio SDIO
22 xor0 XOR 0
28 xor1 XOR 1
diff --git a/drivers/clk/mvebu/armada-39x.c b/drivers/clk/mvebu/armada-39x.c
index efb974d..4fdfd32 100644
--- a/drivers/clk/mvebu/armada-39x.c
+++ b/drivers/clk/mvebu/armada-39x.c
@@ -142,6 +142,8 @@ static const struct clk_gating_soc_desc armada_39x_gating_desc[] __initconst = {
{ "pex3", NULL, 7 },
{ "pex0", NULL, 8 },
{ "usb3h0", NULL, 9 },
+ { "usb3h1", NULL, 10 },
+ { "sata0", NULL, 15 },
{ "sdio", NULL, 17 },
{ "xor0", NULL, 22 },
{ "xor1", NULL, 28 },
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces
2016-07-21 10:48 [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces Grzegorz Jaszczyk
@ 2016-07-21 11:50 ` Thomas Petazzoni
2016-07-21 22:08 ` Rob Herring
[not found] ` <1469098090-17836-1-git-send-email-jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-07-21 11:50 UTC (permalink / raw)
To: Grzegorz Jaszczyk
Cc: linux-clk, devicetree, linux-kernel, mturquette, sboyd, robh+dt,
mark.rutland, gregory.clement, mw, alior
Hello,
On Thu, 21 Jul 2016 12:48:10 +0200, Grzegorz Jaszczyk wrote:
> Both SATA and second USB3.0 interface are supported in Armada-39x SoC
> family. Add necessary clk description, so both xhci and sata drivers
> can be correctly initialized.
>
> The binding documentation has also been updated accordingly.
>
> Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(I verified in the datasheet that those bits indeed control the usb3h1
and sata0 clocks).
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces
2016-07-21 10:48 [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces Grzegorz Jaszczyk
2016-07-21 11:50 ` Thomas Petazzoni
@ 2016-07-21 22:08 ` Rob Herring
[not found] ` <1469098090-17836-1-git-send-email-jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>
2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2016-07-21 22:08 UTC (permalink / raw)
To: Grzegorz Jaszczyk
Cc: linux-clk, devicetree, linux-kernel, mturquette, sboyd,
mark.rutland, thomas.petazzoni, gregory.clement, mw, alior
On Thu, Jul 21, 2016 at 12:48:10PM +0200, Grzegorz Jaszczyk wrote:
> Both SATA and second USB3.0 interface are supported in Armada-39x SoC
> family. Add necessary clk description, so both xhci and sata drivers
> can be correctly initialized.
>
> The binding documentation has also been updated accordingly.
>
> Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
> ---
> Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt | 2 ++
> drivers/clk/mvebu/armada-39x.c | 2 ++
> 2 files changed, 4 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1469098090-17836-1-git-send-email-jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>]
* Re: [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces
[not found] ` <1469098090-17836-1-git-send-email-jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>
@ 2016-08-13 1:20 ` Stephen Boyd
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2016-08-13 1:20 UTC (permalink / raw)
To: Grzegorz Jaszczyk
Cc: linux-clk-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
mturquette-rdvid1DuHRBWk0Htik3J/w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
mark.rutland-5wv7dgnIgG8,
thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
mw-nYOzD4b6Jr9Wk0Htik3J/w, alior-eYqpPyKDWXRBDgjK7y7TUQ
On 07/21, Grzegorz Jaszczyk wrote:
> Both SATA and second USB3.0 interface are supported in Armada-39x SoC
> family. Add necessary clk description, so both xhci and sata drivers
> can be correctly initialized.
>
> The binding documentation has also been updated accordingly.
>
> Signed-off-by: Grzegorz Jaszczyk <jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
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 [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-13 1:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 10:48 [PATCH] clk: mvebu: armada-39x: add clk description for supported interfaces Grzegorz Jaszczyk
2016-07-21 11:50 ` Thomas Petazzoni
2016-07-21 22:08 ` Rob Herring
[not found] ` <1469098090-17836-1-git-send-email-jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>
2016-08-13 1:20 ` Stephen Boyd
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).