linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs
       [not found] <20170301152220.MEgmqtKw@smtp2p.mail.yandex.net>
@ 2017-03-02 14:08 ` Maxime Ripard
  2017-03-02 15:13   ` Icenowy Zheng
  0 siblings, 1 reply; 5+ messages in thread
From: Maxime Ripard @ 2017-03-02 14:08 UTC (permalink / raw)
  To: Icenowy Zheng
  Cc: devicetree, linux-kernel, linux-sunxi, Rob Herring, Chen-Yu Tsai,
	linux-clk, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 573 bytes --]

On Wed, Mar 01, 2017 at 08:17:39PM +0800, Icenowy Zheng wrote:
> > I'm a bit worried by that to be honest. You claim to support the A31, 
> > yet jugdging by the current state of that code you never actually 
> > tested it on that SoC. 
> 
> I only claim to reserve possibility to extend the driver to support
> A31, but I didn't claim it currently support A31.

Well, you did call it sun6i.

Please rename it, and we will consolidate in due time.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs
  2017-03-02 14:08 ` [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs Maxime Ripard
@ 2017-03-02 15:13   ` Icenowy Zheng
  2017-03-03 14:48     ` Maxime Ripard
  0 siblings, 1 reply; 5+ messages in thread
From: Icenowy Zheng @ 2017-03-02 15:13 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: devicetree@vger.kernel.org, linux-kernel,
	linux-sunxi@googlegroups.com, Rob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X19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX18KbGludXgtYXJtLWtlcm5lbCBtYWlsaW5nIGxpc3QK
bGludXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6Ly9saXN0cy5pbmZyYWRl
YWQub3JnL21haWxtYW4vbGlzdGluZm8vbGludXgtYXJtLWtlcm5lbAo=

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs
  2017-03-02 14:09 ` Maxime Ripard
@ 2017-03-02 15:13   ` Icenowy Zheng
  2017-03-03 14:51     ` maxime.ripard
  0 siblings, 1 reply; 5+ messages in thread
From: Icenowy Zheng @ 2017-03-02 15:13 UTC (permalink / raw)
  To: maxime.ripard@free-electrons.com
  Cc: devicetree@vger.kernel.org, linux-kernel,
	linux-sunxi@googlegroups.com, Rob Herring, Chen-Yu Tsai,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org

CgowMi4wMy4yMDE3LCAyMjowOSwgIk1heGltZSBSaXBhcmQiIDxtYXhpbWUucmlwYXJkQGZyZWUt
ZWxlY3Ryb25zLmNvbT46Cj4gT24gV2VkLCBNYXIgMDEsIDIwMTcgYXQgMDg6MjI6MTNQTSArMDgw
MCwgSWNlbm93eSBaaGVuZyB3cm90ZToKPj4gwqA+IEknbSBhIGJpdCB3b3JyaWVkIGJ5IHRoYXQg
dG8gYmUgaG9uZXN0LiBZb3UgY2xhaW0gdG8gc3VwcG9ydCB0aGUgQTMxLAo+PiDCoD4geWV0IGp1
Z2RnaW5nIGJ5IHRoZSBjdXJyZW50IHN0YXRlIG9mIHRoYXQgY29kZSB5b3UgbmV2ZXIgYWN0dWFs
bHkKPj4gwqA+IHRlc3RlZCBpdCBvbiB0aGF0IFNvQy4KPj4gwqA+Cj4+IMKgPiBXaGF0IG1ha2Vz
IHlvdSBzYXkgdGhhdCB0aGUgUFJDTSBjbG9ja3MgYX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
aXZlZCB0aGlzIG1lc3NhZ2UgYmVjYXVzZSB5b3UgYXJlIHN1YnNjcmliZWQgdG8gdGhlIEdvb2ds
ZSBHcm91cHMgImxpbnV4LXN1bnhpIiBncm91cC4KPiBUbyB1bnN1YnNjcmliZSBmcm9tIHRoaXMg
Z3JvdXAgYW5kIHN0b3AgcmVjZWl2aW5nIGVtYWlscyBmcm9tIGl0LCBzZW5kIGFuIGVtYWlsIHRv
IGxpbnV4LXN1bnhpK3Vuc3Vic2NyaWJlQGdvb2dsZWdyb3Vwcy5jb20uCj4gRm9yIG1vcmUgb3B0
aW9ucywgdmlzaXQgaHR0cHM6Ly9ncm91cHMuZ29vZ2xlLmNvbS9kL29wdG91dC4KCl9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmxpbnV4LWFybS1rZXJuZWwg
bWFpbGluZyBsaXN0CmxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8v
bGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4LWFybS1rZXJuZWwK

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs
  2017-03-02 15:13   ` Icenowy Zheng
@ 2017-03-03 14:48     ` Maxime Ripard
  0 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2017-03-03 14:48 UTC (permalink / raw)
  To: Icenowy Zheng
  Cc: devicetree@vger.kernel.org, linux-kernel,
	linux-sunxi@googlegroups.com, Rob Herring, Chen-Yu Tsai,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org


[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]

On Thu, Mar 02, 2017 at 11:13:18PM +0800, Icenowy Zheng wrote:
> 
> 
> 02.03.2017, 22:09, "Maxime Ripard" <maxime.ripard@free-electrons.com>:
> > On Wed, Mar 01, 2017 at 08:17:39PM +0800, Icenowy Zheng wrote:
> >>  > I'm a bit worried by that to be honest. You claim to support the A31,
> >>  > yet jugdging by the current state of that code you never actually
> >>  > tested it on that SoC.
> >>
> >>  I only claim to reserve possibility to extend the driver to support
> >>  A31, but I didn't claim it currently support A31.
> >
> > Well, you did call it sun6i.
> >
> > Please rename it, and we will consolidate in due time.
> 
> Then rename it back when it really gains support for A31?

Yes.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs
  2017-03-02 15:13   ` [linux-sunxi] " Icenowy Zheng
@ 2017-03-03 14:51     ` maxime.ripard
  0 siblings, 0 replies; 5+ messages in thread
From: maxime.ripard @ 2017-03-03 14:51 UTC (permalink / raw)
  To: Icenowy Zheng
  Cc: devicetree@vger.kernel.org, linux-kernel,
	linux-sunxi@googlegroups.com, Rob Herring, Chen-Yu Tsai,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org


[-- Attachment #1.1: Type: text/plain, Size: 1550 bytes --]

On Thu, Mar 02, 2017 at 11:13:53PM +0800, Icenowy Zheng wrote:
> 
> 
> 02.03.2017, 22:09, "Maxime Ripard" <maxime.ripard@free-electrons.com>:
> > On Wed, Mar 01, 2017 at 08:22:13PM +0800, Icenowy Zheng wrote:
> >>  > I'm a bit worried by that to be honest. You claim to support the A31,
> >>  > yet jugdging by the current state of that code you never actually
> >>  > tested it on that SoC.
> >>  >
> >>  > What makes you say that the PRCM clocks are the same for the H3 and
> >>  > A64? We have to be sure, otherwise we might not be able to get the DT
> >>  > binding right from the very beginning, and we might not be able to fix
> >>  > it later.
> >>
> >>  In fact, if we worry about this, we shouldn't make r-ccu, as
> >>  dedicated clocks are more easy to fix.
> >>
> >>  For newer SoCs' PRCM, we never have enough documents, and Allwinner
> >>  have said that they cannot provide it. (I asked them for this.)
> >>
> >>  The best solution is to implement mature enough dedicated clocks
> >>  before we convert to ccu.
> >
> > What do you mean by dedicated clocks?
> 
> The legacy form of clocks.

Which itself creates another form of issues. What happens if we get
something wrong on those clocks (as it is likely to happen)?

We potentially can't fix it at all, that's what happens.

And that's leaving aside the DT and clocks maintainers regular
complaints that we should get away from those.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-03 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170301152220.MEgmqtKw@smtp2p.mail.yandex.net>
2017-03-02 14:08 ` [linux-sunxi] Re: [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs Maxime Ripard
2017-03-02 15:13   ` Icenowy Zheng
2017-03-03 14:48     ` Maxime Ripard
     [not found] <20170301152236.MUXmRgOe@smtp1m.mail.yandex.net>
2017-03-02 14:09 ` Maxime Ripard
2017-03-02 15:13   ` [linux-sunxi] " Icenowy Zheng
2017-03-03 14:51     ` maxime.ripard

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).