[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180511102033.i6jtzljbvkg47wz3@flea>
Date: Fri, 11 May 2018 12:20:33 +0200
From: Maxime Ripard <maxime.ripard@...tlin.com>
To: Chen-Yu Tsai <wens@...e.org>
Cc: Paul Kocialkowski <paul.kocialkowski@...tlin.com>,
Linux Media Mailing List <linux-media@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"David S . Miller" <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Walleij <linus.walleij@...aro.org>,
Randy Dunlap <rdunlap@...radead.org>,
Hans Verkuil <hans.verkuil@...co.com>,
Arnd Bergmann <arnd@...db.de>,
Stanimir Varbanov <stanimir.varbanov@...aro.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Ramesh Shanmugasundaram <ramesh.shanmugasundaram@...renesas.com>,
Yannick Fertre <yannick.fertre@...com>,
Thomas Gleixner <tglx@...utronix.de>,
Hugues Fruchet <hugues.fruchet@...com>,
Alexandre Courbot <gnurou@...il.com>,
Florent Revest <florent.revest@...e-electrons.com>,
Tomasz Figa <tfiga@...omium.org>,
Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>,
Smitha T Murthy <smitha.t@...sung.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Randy Li <ayaka@...lik.info>
Subject: Re: [PATCH v3 02/14] drivers: soc: sunxi: Add dedicated compatibles
for the A13, A20 and A33
On Thu, May 10, 2018 at 10:05:33PM -0700, Chen-Yu Tsai wrote:
> On Mon, May 7, 2018 at 5:44 AM, Paul Kocialkowski
> <paul.kocialkowski@...tlin.com> wrote:
> > This introduces platform-specific compatibles for the A13, A20 and A33
> > SRAM driver. No particular adaptation for these platforms is required at
> > this point, although this might become the case in the future.
> >
> > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@...tlin.com>
> > ---
> > drivers/soc/sunxi/sunxi_sram.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
> > index 74cb81f37bd6..43ebc3bd33f2 100644
> > --- a/drivers/soc/sunxi/sunxi_sram.c
> > +++ b/drivers/soc/sunxi/sunxi_sram.c
> > @@ -315,6 +315,9 @@ static int sunxi_sram_probe(struct platform_device *pdev)
> >
> > static const struct of_device_id sunxi_sram_dt_match[] = {
> > { .compatible = "allwinner,sun4i-a10-sram-controller" },
> > + { .compatible = "allwinner,sun5i-a13-sram-controller" },
> > + { .compatible = "allwinner,sun7i-a20-sram-controller" },
> > + { .compatible = "allwinner,sun8i-a33-sram-controller" },
>
> We should probably name these "system-controller". Maxime?
This would make sense yes, but we don't really need to add the A20 one
to the driver, it's exactly the same than the A10.
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists