* [PATCHv2] ARM: dts: exynos: update the usbdrd_phy suspend clk
@ 2018-11-20 18:55 Anand Moon
2018-11-22 7:54 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Anand Moon @ 2018-11-20 18:55 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-samsung-soc
Cc: Bartlomiej Zolnierkiewicz, Rob Herring, Krzysztof Kozlowski,
Marek Szyprowski
As per FSYS usbdrd_phy clk setting CLK_SCLK_USBD300/1 binds
to SUSPEND_CLK so correct update the suspend clk.
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
[0] https://lkml.org/lkml/2017/10/6/12
changes from previous patch
fix the order of clk and update the commit message
FSYS block show in user manual
CLKMUX_USBDRD300/1----CLKDIV_USBDRD300/1----SCLK_USBDRD300/1-----SUSPEND_CLK
|
|--CLKDIV_USBPHY300/1----SCLK_USBPHY300/1-----USBDRD30_PHY_0/1
---
arch/arm/boot/dts/exynos5410.dtsi | 4 ++--
arch/arm/boot/dts/exynos5420.dtsi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
index 57fc9c949e54..a92c765a7a84 100644
--- a/arch/arm/boot/dts/exynos5410.dtsi
+++ b/arch/arm/boot/dts/exynos5410.dtsi
@@ -395,7 +395,7 @@
};
&usbdrd_phy0 {
- clocks = <&clock CLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
+ clocks = <&clock CLK_SCLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
clock-names = "phy", "ref";
samsung,pmu-syscon = <&pmu_system_controller>;
};
@@ -410,7 +410,7 @@
};
&usbdrd_phy1 {
- clocks = <&clock CLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
+ clocks = <&clock CLK_SCLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
clock-names = "phy", "ref";
samsung,pmu-syscon = <&pmu_system_controller>;
};
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index aaff15880761..b84b44556efc 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -1509,7 +1509,7 @@
};
&usbdrd_phy0 {
- clocks = <&clock CLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
+ clocks = <&clock CLK_SCLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
clock-names = "phy", "ref";
samsung,pmu-syscon = <&pmu_system_controller>;
};
@@ -1524,7 +1524,7 @@
};
&usbdrd_phy1 {
- clocks = <&clock CLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
+ clocks = <&clock CLK_SCLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
clock-names = "phy", "ref";
samsung,pmu-syscon = <&pmu_system_controller>;
};
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCHv2] ARM: dts: exynos: update the usbdrd_phy suspend clk
2018-11-20 18:55 [PATCHv2] ARM: dts: exynos: update the usbdrd_phy suspend clk Anand Moon
@ 2018-11-22 7:54 ` Krzysztof Kozlowski
2018-11-23 10:02 ` Anand Moon
2018-11-26 5:06 ` Anand Moon
0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2018-11-22 7:54 UTC (permalink / raw)
To: linux.amoon
Cc: devicetree, linux-samsung-soc@vger.kernel.org,
Bartłomiej Żołnierkiewicz, robh+dt,
linux-arm-kernel, Marek Szyprowski
On Tue, 20 Nov 2018 at 19:55, Anand Moon <linux.amoon@gmail.com> wrote:
>
> As per FSYS usbdrd_phy clk setting CLK_SCLK_USBD300/1 binds
> to SUSPEND_CLK so correct update the suspend clk.
>
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---
> [0] https://lkml.org/lkml/2017/10/6/12
> changes from previous patch
> fix the order of clk and update the commit message
>
> FSYS block show in user manual
>
> CLKMUX_USBDRD300/1----CLKDIV_USBDRD300/1----SCLK_USBDRD300/1-----SUSPEND_CLK
> |
> |--CLKDIV_USBPHY300/1----SCLK_USBPHY300/1-----USBDRD30_PHY_0/1
Your new clock - SCLK_USBD301 - is not mentioned here. I don't get the
reason behind this change.
Best regards,
Krzysztof
> ---
> arch/arm/boot/dts/exynos5410.dtsi | 4 ++--
> arch/arm/boot/dts/exynos5420.dtsi | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
> index 57fc9c949e54..a92c765a7a84 100644
> --- a/arch/arm/boot/dts/exynos5410.dtsi
> +++ b/arch/arm/boot/dts/exynos5410.dtsi
> @@ -395,7 +395,7 @@
> };
>
> &usbdrd_phy0 {
> - clocks = <&clock CLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
> + clocks = <&clock CLK_SCLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
> clock-names = "phy", "ref";
> samsung,pmu-syscon = <&pmu_system_controller>;
> };
> @@ -410,7 +410,7 @@
> };
>
> &usbdrd_phy1 {
> - clocks = <&clock CLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
> + clocks = <&clock CLK_SCLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
> clock-names = "phy", "ref";
> samsung,pmu-syscon = <&pmu_system_controller>;
> };
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index aaff15880761..b84b44556efc 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -1509,7 +1509,7 @@
> };
>
> &usbdrd_phy0 {
> - clocks = <&clock CLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
> + clocks = <&clock CLK_SCLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
> clock-names = "phy", "ref";
> samsung,pmu-syscon = <&pmu_system_controller>;
> };
> @@ -1524,7 +1524,7 @@
> };
>
> &usbdrd_phy1 {
> - clocks = <&clock CLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
> + clocks = <&clock CLK_SCLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
> clock-names = "phy", "ref";
> samsung,pmu-syscon = <&pmu_system_controller>;
> };
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCHv2] ARM: dts: exynos: update the usbdrd_phy suspend clk
2018-11-22 7:54 ` Krzysztof Kozlowski
@ 2018-11-23 10:02 ` Anand Moon
2018-11-26 5:06 ` Anand Moon
1 sibling, 0 replies; 4+ messages in thread
From: Anand Moon @ 2018-11-23 10:02 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, linux-samsung-soc, Bartlomiej Zolnierkiewicz,
Rob Herring, linux-arm-kernel, Marek Szyprowski
Hi Krzysztof,
On Thu, 22 Nov 2018 at 13:24, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Tue, 20 Nov 2018 at 19:55, Anand Moon <linux.amoon@gmail.com> wrote:
> >
> > As per FSYS usbdrd_phy clk setting CLK_SCLK_USBD300/1 binds
> > to SUSPEND_CLK so correct update the suspend clk.
> >
> > Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> > ---
> > [0] https://lkml.org/lkml/2017/10/6/12
> > changes from previous patch
> > fix the order of clk and update the commit message
> >
> > FSYS block show in user manual
> >
> > CLKMUX_USBDRD300/1----CLKDIV_USBDRD300/1----SCLK_USBDRD300/1-----SUSPEND_CLK
> > |
> > |--CLKDIV_USBPHY300/1----SCLK_USBPHY300/1-----USBDRD30_PHY_0/1
>
> Your new clock - SCLK_USBD301 - is not mentioned here. I don't get the
> reason behind this change.
>
> Best regards,
> Krzysztof
>
As far as I could figure your from fsys clk structure
CLK_SCLK_USBD300/1 SUSPEND_CLK
CLK_SCLK_USBPHY300/1 PHY CLK
CLK_USBD300/1 DWC3 CLK
I sill have some dough from the schematic of Odroid XU4
we have two clk *USB_CLK* and *RTC_CLK* which is not
configure and used.
Best Regards
-Anand
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCHv2] ARM: dts: exynos: update the usbdrd_phy suspend clk
2018-11-22 7:54 ` Krzysztof Kozlowski
2018-11-23 10:02 ` Anand Moon
@ 2018-11-26 5:06 ` Anand Moon
1 sibling, 0 replies; 4+ messages in thread
From: Anand Moon @ 2018-11-26 5:06 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, linux-samsung-soc, Bartlomiej Zolnierkiewicz,
Rob Herring, linux-arm-kernel, Marek Szyprowski
Hi Krzysztof,
On Thu, 22 Nov 2018 at 13:24, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Tue, 20 Nov 2018 at 19:55, Anand Moon <linux.amoon@gmail.com> wrote:
> >
> > As per FSYS usbdrd_phy clk setting CLK_SCLK_USBD300/1 binds
> > to SUSPEND_CLK so correct update the suspend clk.
> >
> > Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> > ---
> > [0] https://lkml.org/lkml/2017/10/6/12
> > changes from previous patch
> > fix the order of clk and update the commit message
> >
> > FSYS block show in user manual
> >
> > CLKMUX_USBDRD300/1----CLKDIV_USBDRD300/1----SCLK_USBDRD300/1-----SUSPEND_CLK
> > |
> > |--CLKDIV_USBPHY300/1----SCLK_USBPHY300/1-----USBDRD30_PHY_0/1
>
> Your new clock - SCLK_USBD301 - is not mentioned here. I don't get the
> reason behind this change.
>
> Best regards,
> Krzysztof
>
My patch was based on following block diagram.
[0] https://imgur.com/a/fmpk9aR
But looks like I am bit wrong with this patch again.
Sorry for the noise.
Best Regards
-Anand
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-26 5:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-20 18:55 [PATCHv2] ARM: dts: exynos: update the usbdrd_phy suspend clk Anand Moon
2018-11-22 7:54 ` Krzysztof Kozlowski
2018-11-23 10:02 ` Anand Moon
2018-11-26 5:06 ` Anand Moon
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).