From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932306AbaJUKSK (ORCPT ); Tue, 21 Oct 2014 06:18:10 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:62462 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932256AbaJUKSG (ORCPT ); Tue, 21 Oct 2014 06:18:06 -0400 Date: Tue, 21 Oct 2014 11:17:59 +0100 From: Lee Jones To: Krzysztof Kozlowski Cc: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Samuel Ortiz , linux-api@vger.kernel.org, devicetree@vger.kernel.org, Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz Subject: Re: [PATCH v2 2/5] mfd: max77693: Map charger device to its own of_node Message-ID: <20141021101759.GG26842@x1> References: <1413808489-3524-1-git-send-email-k.kozlowski@samsung.com> <1413808489-3524-3-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1413808489-3524-3-git-send-email-k.kozlowski@samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Oct 2014, Krzysztof Kozlowski wrote: > Add a "maxim,max77693-charger" of_compatible to the mfd_cell so the MFD > child device (the charger) will have its own of_node set. This will be > used by the max77693 charger driver in next patches to obtain battery > configuration from DTS. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/max77693.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Applied, thanks. > diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c > index cf008f45968c..2277a11b6629 100644 > --- a/drivers/mfd/max77693.c > +++ b/drivers/mfd/max77693.c > @@ -43,7 +43,10 @@ > > static const struct mfd_cell max77693_devs[] = { > { .name = "max77693-pmic", }, > - { .name = "max77693-charger", }, > + { > + .name = "max77693-charger", > + .of_compatible = "maxim,max77693-charger", > + }, > { .name = "max77693-muic", }, > { .name = "max77693-haptic", }, > { -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog