[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190408093824.yzpd7mve6df7lpka@earth.universe>
Date: Mon, 8 Apr 2019 11:38:24 +0200
From: Sebastian Reichel <sre@...nel.org>
To: Paul Cercueil <paul@...pouillou.net>
Cc: Jonathan Cameron <jic23@...nel.org>,
Artur Rojek <contact@...ur-rojek.eu>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>, linux-pm@...r.kernel.org,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/4] power: supply: add Ingenic JZ47xx battery driver.
Hi Paul,
On Sun, Apr 07, 2019 at 09:07:57PM +0200, Paul Cercueil wrote:
> Hi Sebastian,
>
> Le dim. 7 avril 2019 à 18:52, Sebastian Reichel <sre@...nel.org> a écrit :
> > Hi,
> >
> > On Sun, Mar 24, 2019 at 03:31:37PM +0000, Jonathan Cameron wrote:
> > > On Sat, 23 Mar 2019 18:28:09 +0100
> > > Artur Rojek <contact@...ur-rojek.eu> wrote:
> > >
> > > > Add a driver for battery present on Ingenic JZ47xx SoCs.
> > > >
> > > > Signed-off-by: Artur Rojek <contact@...ur-rojek.eu>
> > > The IIO parts look fine to me.
> > > Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
> > >
> > > Sebastian, assuming you are happy with this version,
> >
> > The driver itself looks ok. I'm a bit unhappy, that we already have
> > jz4740-battery. This driver is much cleaner, but does not yet seem
> > to be ready to replace it. Artur Rojek what are your plans regarding
> > to the existing driver? Is there currently work going on migrating
> > JZ47xx to DT?
>
> Why do you think it's not ready? Feature-wise, it has everything we
> need to replace jz4740-battery, which will be trashed as soon as the
> LB60 board code is updated to use the new driver.
jz4740-battery has a few features not provided by your driver.
For example the gpio providing the charging status. Assuming
you plan to trash the old driver soon:
Acked-by: Sebastian Reichel <sebastian.reichel@...labora.com>
> We are working on porting the JZ47xx code to devicetree, yes. The
> ultimate goal is to completely get rid of
> arch/mips/jz4740/board-qi_lb60.c and arch/mips/jz4740/platform.c.
Ok, sounds good.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists