* [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem. @ 2015-11-11 7:34 Caesar Wang [not found] ` <1447227272-1728-1-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Caesar Wang @ 2015-11-11 7:34 UTC (permalink / raw) To: Heiko Stuebner, Srinivas Kandagatla Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Caesar Wang, Russell King, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Ian Campbell, devicetree-u79uwXL29TY76Z2rM5mHXA, Jiri Kosina, Pawel Moll, Rob Herring, Mark Rutland, Chen-Yu Tsai, Maxime Ripard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r This patchset to support reading the efuse info for more SoCs. (Note: support 32 bits SoCs). Meanwhile, cleanup sunxi/rockchip drivers for more readability. You can easy to test for following: cd /sys/bus/nvmem/devices/rockchip-efuse0 localhost rockchip-efuse0 # busybox hexdump -C nvmem Caesar Wang (4): nvmem: sunxi: trivial: fix code style nvmem: rockchip: trivial: Make the driver more readability ARM: dts: rockchip: add eFuse node for rk3066a SoCs ARM: dts: rockchip: add eFuse node for rk3188 SoCs arch/arm/boot/dts/rk3066a.dtsi | 13 ++++++ arch/arm/boot/dts/rk3188.dtsi | 13 ++++++ drivers/nvmem/rockchip-efuse.c | 90 ++++++++++++++++++++---------------------- drivers/nvmem/sunxi_sid.c | 9 ++--- 4 files changed, 71 insertions(+), 54 deletions(-) -- 1.9.1 -- 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] 7+ messages in thread
[parent not found: <1447227272-1728-1-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs [not found] ` <1447227272-1728-1-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2015-11-11 7:34 ` Caesar Wang [not found] ` <1447227272-1728-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-11-11 7:34 ` [PATCH 4/4] ARM: dts: rockchip: add eFuse node for rk3188 SoCs Caesar Wang 2015-12-02 2:44 ` [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem Caesar Wang 2 siblings, 1 reply; 7+ messages in thread From: Caesar Wang @ 2015-11-11 7:34 UTC (permalink / raw) To: Heiko Stuebner, Srinivas Kandagatla Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Russell King, Pawel Moll, Ian Campbell, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring, Kumar Gala, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Caesar Wang This patch add the eFuse dt node for rk3066a SoCs. Signed-off-by: Caesar Wang <wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> --- arch/arm/boot/dts/rk3066a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index 946f187..f61bb8a 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -153,6 +153,19 @@ clock-names = "timer", "pclk"; }; + efuse: efuse@20010000 { + compatible = "rockchip,rockchip-efuse"; + reg = <0x20010000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru PCLK_EFUSE>; + clock-names = "pclk_efuse"; + + cpu_leakage: cpu_leakage { + reg = <0x17 0x1>; + }; + }; + timer@20038000 { compatible = "snps,dw-apb-timer-osc"; reg = <0x20038000 0x100>; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <1447227272-1728-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs [not found] ` <1447227272-1728-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2015-12-14 9:57 ` Srinivas Kandagatla 2015-12-14 13:06 ` Heiko Stübner 0 siblings, 1 reply; 7+ messages in thread From: Srinivas Kandagatla @ 2015-12-14 9:57 UTC (permalink / raw) To: Caesar Wang, Heiko Stuebner Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Russell King, devicetree-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Ian Campbell, Rob Herring, Pawel Moll, Mark Rutland, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Heiko, Can you take the DT patches in this series via your tree. I picked up nvmem patches from this series. thanks, srini On 11/11/15 07:34, Caesar Wang wrote: > This patch add the eFuse dt node for rk3066a SoCs. > > Signed-off-by: Caesar Wang <wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > --- > > arch/arm/boot/dts/rk3066a.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi > index 946f187..f61bb8a 100644 > --- a/arch/arm/boot/dts/rk3066a.dtsi > +++ b/arch/arm/boot/dts/rk3066a.dtsi > @@ -153,6 +153,19 @@ > clock-names = "timer", "pclk"; > }; > > + efuse: efuse@20010000 { > + compatible = "rockchip,rockchip-efuse"; > + reg = <0x20010000 0x4000>; > + #address-cells = <1>; > + #size-cells = <1>; > + clocks = <&cru PCLK_EFUSE>; > + clock-names = "pclk_efuse"; > + > + cpu_leakage: cpu_leakage { > + reg = <0x17 0x1>; > + }; > + }; > + > timer@20038000 { > compatible = "snps,dw-apb-timer-osc"; > reg = <0x20038000 0x100>; > -- 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] 7+ messages in thread
* Re: [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs 2015-12-14 9:57 ` Srinivas Kandagatla @ 2015-12-14 13:06 ` Heiko Stübner 2015-12-14 13:12 ` Heiko Stübner 0 siblings, 1 reply; 7+ messages in thread From: Heiko Stübner @ 2015-12-14 13:06 UTC (permalink / raw) To: Srinivas Kandagatla Cc: Caesar Wang, linux-rockchip, Russell King, devicetree, Kumar Gala, linux-kernel, Ian Campbell, Rob Herring, Pawel Moll, Mark Rutland, linux-arm-kernel Hi srini, Am Montag, 14. Dezember 2015, 09:57:02 schrieb Srinivas Kandagatla: > Heiko, > > Can you take the DT patches in this series via your tree. > > I picked up nvmem patches from this series. yep that was my plan ... just needed to wait for the nvmem parts to be picked. Thanks for the notifying me :-) Heiko > > thanks, > srini > > On 11/11/15 07:34, Caesar Wang wrote: > > This patch add the eFuse dt node for rk3066a SoCs. > > > > Signed-off-by: Caesar Wang <wxt@rock-chips.com> > > --- > > > > arch/arm/boot/dts/rk3066a.dtsi | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > > > diff --git a/arch/arm/boot/dts/rk3066a.dtsi > > b/arch/arm/boot/dts/rk3066a.dtsi index 946f187..f61bb8a 100644 > > --- a/arch/arm/boot/dts/rk3066a.dtsi > > +++ b/arch/arm/boot/dts/rk3066a.dtsi > > @@ -153,6 +153,19 @@ > > > > clock-names = "timer", "pclk"; > > > > }; > > > > + efuse: efuse@20010000 { > > + compatible = "rockchip,rockchip-efuse"; > > + reg = <0x20010000 0x4000>; > > + #address-cells = <1>; > > + #size-cells = <1>; > > + clocks = <&cru PCLK_EFUSE>; > > + clock-names = "pclk_efuse"; > > + > > + cpu_leakage: cpu_leakage { > > + reg = <0x17 0x1>; > > + }; > > + }; > > + > > > > timer@20038000 { > > > > compatible = "snps,dw-apb-timer-osc"; > > reg = <0x20038000 0x100>; ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs 2015-12-14 13:06 ` Heiko Stübner @ 2015-12-14 13:12 ` Heiko Stübner 0 siblings, 0 replies; 7+ messages in thread From: Heiko Stübner @ 2015-12-14 13:12 UTC (permalink / raw) To: Srinivas Kandagatla Cc: Caesar Wang, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Russell King, devicetree-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Ian Campbell, Rob Herring, Pawel Moll, Mark Rutland, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Am Montag, 14. Dezember 2015, 14:06:06 schrieb Heiko Stübner: > Hi srini, > > Am Montag, 14. Dezember 2015, 09:57:02 schrieb Srinivas Kandagatla: > > Heiko, > > > > Can you take the DT patches in this series via your tree. > > > > I picked up nvmem patches from this series. > > yep that was my plan ... just needed to wait for the nvmem parts to be > picked. after looking at the patch-series as a whole, I just noticed, that they don't even depend on each other ... so I could've picked them earlier easily. Anyway, I'll do that now. > > thanks, > > srini > > > > On 11/11/15 07:34, Caesar Wang wrote: > > > This patch add the eFuse dt node for rk3066a SoCs. > > > > > > Signed-off-by: Caesar Wang <wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > > > --- > > > > > > arch/arm/boot/dts/rk3066a.dtsi | 13 +++++++++++++ > > > 1 file changed, 13 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/rk3066a.dtsi > > > b/arch/arm/boot/dts/rk3066a.dtsi index 946f187..f61bb8a 100644 > > > --- a/arch/arm/boot/dts/rk3066a.dtsi > > > +++ b/arch/arm/boot/dts/rk3066a.dtsi > > > @@ -153,6 +153,19 @@ > > > > > > clock-names = "timer", "pclk"; > > > > > > }; > > > > > > + efuse: efuse@20010000 { > > > + compatible = "rockchip,rockchip-efuse"; > > > + reg = <0x20010000 0x4000>; > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + clocks = <&cru PCLK_EFUSE>; > > > + clock-names = "pclk_efuse"; > > > + > > > + cpu_leakage: cpu_leakage { > > > + reg = <0x17 0x1>; > > > + }; > > > + }; > > > + > > > > > > timer@20038000 { > > > > > > compatible = "snps,dw-apb-timer-osc"; > > > reg = <0x20038000 0x100>; -- 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] 7+ messages in thread
* [PATCH 4/4] ARM: dts: rockchip: add eFuse node for rk3188 SoCs [not found] ` <1447227272-1728-1-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-11-11 7:34 ` [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs Caesar Wang @ 2015-11-11 7:34 ` Caesar Wang 2015-12-02 2:44 ` [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem Caesar Wang 2 siblings, 0 replies; 7+ messages in thread From: Caesar Wang @ 2015-11-11 7:34 UTC (permalink / raw) To: Heiko Stuebner, Srinivas Kandagatla Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Russell King, Pawel Moll, Ian Campbell, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring, Kumar Gala, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Caesar Wang This patch add the eFuse dt node for rk3188 SoCs. Signed-off-by: Caesar Wang <wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> --- arch/arm/boot/dts/rk3188.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 6399942..b01ef45 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -144,6 +144,19 @@ #reset-cells = <1>; }; + efuse: efuse@20010000 { + compatible = "rockchip,rockchip-efuse"; + reg = <0x20010000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru PCLK_EFUSE>; + clock-names = "pclk_efuse"; + + cpu_leakage: cpu_leakage { + reg = <0x17 0x1>; + }; + }; + usbphy: phy { compatible = "rockchip,rk3188-usb-phy", "rockchip,rk3288-usb-phy"; rockchip,grf = <&grf>; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem. [not found] ` <1447227272-1728-1-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-11-11 7:34 ` [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs Caesar Wang 2015-11-11 7:34 ` [PATCH 4/4] ARM: dts: rockchip: add eFuse node for rk3188 SoCs Caesar Wang @ 2015-12-02 2:44 ` Caesar Wang 2 siblings, 0 replies; 7+ messages in thread From: Caesar Wang @ 2015-12-02 2:44 UTC (permalink / raw) To: Srinivas Kandagatla Cc: Caesar Wang, Heiko Stuebner, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Russell King, Pawel Moll, Ian Campbell, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Chen-Yu Tsai, Rob Herring, Kumar Gala, Jiri Kosina, Maxime Ripard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Hi Srinivas, What's the think of this series patches? Let me know if you have any suggestions or ideas.:-) Thanks! 在 2015年11月11日 15:34, Caesar Wang 写道: > This patchset to support reading the efuse info for more SoCs. > (Note: support 32 bits SoCs). > > Meanwhile, cleanup sunxi/rockchip drivers for more readability. > > You can easy to test for following: > > cd /sys/bus/nvmem/devices/rockchip-efuse0 > localhost rockchip-efuse0 # busybox hexdump -C nvmem > > > > Caesar Wang (4): > nvmem: sunxi: trivial: fix code style > nvmem: rockchip: trivial: Make the driver more readability > ARM: dts: rockchip: add eFuse node for rk3066a SoCs > ARM: dts: rockchip: add eFuse node for rk3188 SoCs > > arch/arm/boot/dts/rk3066a.dtsi | 13 ++++++ > arch/arm/boot/dts/rk3188.dtsi | 13 ++++++ > drivers/nvmem/rockchip-efuse.c | 90 ++++++++++++++++++++---------------------- > drivers/nvmem/sunxi_sid.c | 9 ++--- > 4 files changed, 71 insertions(+), 54 deletions(-) > -- caesar wang | software engineer | wxt-TNX95d0MmH73oGB3hsPCZA@public.gmane.org -- 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] 7+ messages in thread
end of thread, other threads:[~2015-12-14 13:12 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-11-11 7:34 [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem Caesar Wang [not found] ` <1447227272-1728-1-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-11-11 7:34 ` [PATCH 3/4] ARM: dts: rockchip: add eFuse node for rk3066a SoCs Caesar Wang [not found] ` <1447227272-1728-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-12-14 9:57 ` Srinivas Kandagatla 2015-12-14 13:06 ` Heiko Stübner 2015-12-14 13:12 ` Heiko Stübner 2015-11-11 7:34 ` [PATCH 4/4] ARM: dts: rockchip: add eFuse node for rk3188 SoCs Caesar Wang 2015-12-02 2:44 ` [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem Caesar Wang
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).