[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170403073640.7l7mar6zjcgytf6z@lukather>
Date: Mon, 3 Apr 2017 09:36:40 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Icenowy Zheng <icenowy@...c.io>
Cc: devicetree@...r.kernel.org,
Michael Turquette <mturquette@...libre.com>,
linux-sunxi@...glegroups.com, linux-kernel@...r.kernel.org,
Chen-Yu Tsai <wens@...e.org>, Rob Herring <robh+dt@...nel.org>,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v3 0/5] Add support for the R_CCU on Allwinner H3/A64 SoCs
On Mon, Apr 03, 2017 at 12:32:08AM +0800, Icenowy Zheng wrote:
>
>
> On Sun, 2 Apr 2017, Maxime Ripard wrote:
>
> > Hi,
> >
> > On Wed, Mar 29, 2017 at 06:42:41PM +0800, Icenowy Zheng wrote:
> > > Allwinner SoCs after sun6i-a31 nearly all have a R_CCU in PRCM part.
> > > (V3s and R40 do not have it, as they have even no PRCM)
> > >
> > > This patch adds support for the ones on H3/A64.
> > >
> > > Some clock/reset values are reserved for easier extending the support to
> > > A31/A23, but for this I think some changes to the PRCM MFD should be made,
> > > see [1] (Although this is only a sketch).
> > >
> > > The r_pio device node is also added for A64, as the driver is already
> > > merged, and its depends (r_ccu) is now met.
> > >
> > > [1] https://github.com/wens/linux/commits/sunxi-ng-prcm
> >
> > It looks good now, thanks.
> >
> > Beside from the minor fix you've mentionned, please don't use the
> > defined IDs (yet) in your DT patches (3 to 5).
>
> Thanks! (I think it's the same question we meet when merging V3s patchset,
> right? :-) )
Exactly. When doing that kind of conversion, in order to not break the
compilation, we would take the DT patches through the clock
tree.
However, this doesn't work very well when we also have DT patches that
conflicts with those clock conversion ones that would need to get
through arm-soc.
And in this case, this is even more complex since you have the H3/H5
split patches that would need to go through yet another branch.
Not using the defines for now, and sending a fix later fixes all these
issues.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists