Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-07-08 Thread Павел
Hey, I believe this patch can be merged as is. According to Sricharan R. [1]: "It is [sleep clk] derived from a 48M wifi refclk 48M wifi ref clk -> [/2 divider] -> [/750 divider] -> sleep_clk (32000)" [1] https://patchwork.kernel.org/comment/22721613/ пт, 17 мая 2019 г., 11:16 Павел : > > > чт

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-17 Thread Павел
чт, 16 мая 2019 г., 15:22 Sven Eckelmann : > On Tuesday, 14 May 2019 15:42:18 CEST Pavel Kubelun wrote: > > +--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi > > b/arch/arm/boot/dts/qcom-ipq4019.dtsi > > +@@ -141,9 +141,9 @@ > > + }; > > + > > + clocks { > > +- sleep_clk: sl

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-16 Thread Sven Eckelmann
On Tuesday, 14 May 2019 15:42:18 CEST Pavel Kubelun wrote: > +--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi > b/arch/arm/boot/dts/qcom-ipq4019.dtsi > +@@ -141,9 +141,9 @@ > + }; > + > + clocks { > +- sleep_clk: sleep_clk { > ++ sleep_clk: gcc_sleep_clk_src {

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-16 Thread Павел
чт, 16 мая 2019 г., 13:05 Sven Eckelmann : > On Wednesday, 15 May 2019 19:16:51 CEST Павел wrote: > [...] > > > Is there any particular reason why > > > this > > > shouldn't be sent upstream and then backported to OpenWrt? > > > > > > > There are no reasons why it shouldn't be sent upstream along

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-16 Thread Sven Eckelmann
On Wednesday, 15 May 2019 19:16:51 CEST Павел wrote: [...] > > Is there any particular reason why > > this > > shouldn't be sent upstream and then backported to OpenWrt? > > > > There are no reasons why it shouldn't be sent upstream along with other > patches. I hope to find someone with datasheet

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-15 Thread Павел
ср, 15 мая 2019 г., 18:55 Petr Štetiar : > Pavel Kubelun [2019-05-14 16:42:18]: > > Hi, > > > It seems like sleep_clk was copied from ipq806x. > > Fix ipq40xx sleep_clk to the value QSDK defines. > > > > Hope someone with datasheet could clarify the correct > > value. > > what problem does this e

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-15 Thread Petr Štetiar
Pavel Kubelun [2019-05-14 16:42:18]: Hi, > It seems like sleep_clk was copied from ipq806x. > Fix ipq40xx sleep_clk to the value QSDK defines. > > Hope someone with datasheet could clarify the correct > value. what problem does this exactly fixes? Is there any particular reason why this should

[OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-14 Thread Pavel Kubelun
It seems like sleep_clk was copied from ipq806x. Fix ipq40xx sleep_clk to the value QSDK defines. Hope someone with datasheet could clarify the correct value. Also rename the sleep clock node like the GCC driver awaits it to be.. Signed-off-by: Pavel Kubelun --- .../patches-4.14/089-ipq40xx-f