From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v4 2/8] mfd: max14577: Map charger device to its own of_node Date: Thu, 28 Aug 2014 12:50:41 +0100 Message-ID: <20140828115041.GP24579@lee--X1> References: <1409152814-17302-1-git-send-email-k.kozlowski@samsung.com> <1409152814-17302-3-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1409152814-17302-3-git-send-email-k.kozlowski@samsung.com> Sender: linux-kernel-owner@vger.kernel.org To: Krzysztof Kozlowski Cc: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Samuel Ortiz , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-pm@vger.kernel.org, Liam Girdwood , Mark Brown , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz List-Id: linux-api@vger.kernel.org On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: > Add a "maxim,max14577-charger" of_compatible to the mfd_cell so the > MFD child device (the charger) will have its own of_node set. This wi= ll > be used by the max14577 charger driver in next patches to obtain batt= ery > configuration from DTS. >=20 > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > --- > drivers/mfd/max14577.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Acked-by: Lee Jones > diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c > index 4a5e885383f8..6599407b5624 100644 > --- a/drivers/mfd/max14577.c > +++ b/drivers/mfd/max14577.c > @@ -35,7 +35,10 @@ static const struct mfd_cell max14577_devs[] =3D { > .name =3D "max14577-regulator", > .of_compatible =3D "maxim,max14577-regulator", > }, > - { .name =3D "max14577-charger", }, > + { > + .name =3D "max14577-charger", > + .of_compatible =3D "maxim,max14577-charger", > + }, > }; > =20 > static const struct mfd_cell max77836_devs[] =3D { --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog