Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1893890imm; Thu, 11 Oct 2018 01:21:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV63VqmUob1I24MyXbUjZ8PmA+DFXk/FNCIrSKBnBX4QbERDgQFivOVlVYyAdEylYd8MFKkjK X-Received: by 2002:a17:902:509:: with SMTP id 9-v6mr586209plf.155.1539246077318; Thu, 11 Oct 2018 01:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539246077; cv=none; d=google.com; s=arc-20160816; b=bjbtjpHc2uYPNEpcCiqF8AcylDtibA//dhS55RwJQRpo/yKBvXLpMRKNF8tNqySBsU tauHSWaGWtgipJVEPzZGlS+xNJ+YHIrdjOWW7qUkh/bIoN+r7LD7jXREFLn8/wQVPLX8 9TVKxjdtqgGiOjuzWSNwWbuI/NxGqO7TrrFX59pk9zvlgeIHkG0hfegOKeZCvRicBf5Y I+ZUh/2j86a3nV6TYCxVlHehO64x17YOZ+msZrBZlJNtiCQ2tOK3daLalJ8adfY/LQ9v LD++DmhBVmwNH0bftkv+xrQ2ix8jJNEYvf9dqknco946sfSHAP1oI9U9U4Qr7532S6C7 5pRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=pF5PfaZAt9DgH2rjFHJoIxF4m7/+Sxp53PdzsV2Tt0U=; b=Ydnv2PgrWV5L8G8YMBpM16PCMhOeHs8jxFMzOGAEJz9HPGi0EHDdgYJ4XzL+UVEE4W qibZgHs2KDFtUVBKpLV2SG1Xfzz7+SM3cQj0xd1dBIbu/RtIkBKpiirsO/ECLMuIdAKJ v8lluVH0n4ECe4WBGTfIrj05EzLgwa5iNTpF0JsLPyv7jGQH+L8cR0l4L2qqL8PRxfEd 8unk7ctKSILrc4YxwLepUb4YfU25/y2dpod4OLAi2nv3Z2Nkoy6sM+dV6NM7wV+z/Dql 8HJQ2T/xg+JybSYNd5/4zmyjy+QC40N+xqMshWwqUiE6cT4uUw7bjtK6hNWSQzY+4MVM gWjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k33-v6si29010608pld.151.2018.10.11.01.21.02; Thu, 11 Oct 2018 01:21:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726886AbeJKPgh (ORCPT + 99 others); Thu, 11 Oct 2018 11:36:37 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35568 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbeJKPgg (ORCPT ); Thu, 11 Oct 2018 11:36:36 -0400 Received: by mail-ed1-f65.google.com with SMTP id y19-v6so7398231edd.2; Thu, 11 Oct 2018 01:10:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pF5PfaZAt9DgH2rjFHJoIxF4m7/+Sxp53PdzsV2Tt0U=; b=ZmL7/NoIKxVatoiecUZHj6D7nWw3+vFV6blXIFmk5I1iPo+9n+YZYW3R0TAiOAHFpF uY8UPQOwtyqNSrAklySDb0oTro3BH/76xwNbdJBbuBv4/BTI5rqR7y+0TMe+HaEtgw1l sBETSKmaNM+opiEY+gROcO4ulTDccYqe4d/qmE/kpCmNgTfRKhHhpZmwl2D1JGPsVysn 8Y4QPcgz3AmmcQ3gvkmFV1xs5uW6XHktqjVG4p/wywWp3H5gMNCVVkc7N8AHFEQc8a52 HJY9Kd8/71OHzCsErHa++1LrtZKr/6Nbzx5M89ZB/z+Sj4HIdfP0C+qqTMTUmKjfsDjd aU5w== X-Gm-Message-State: ABuFfogY/axstDPAJt6P9NuqamPUwu67V8dpYSfMc2/Nus4CtEhWTeis BcG8ieF8jqOIYuVTIyee3udlUtMqvbk= X-Received: by 2002:a17:906:234f:: with SMTP id m15-v6mr1056718eja.78.1539245426170; Thu, 11 Oct 2018 01:10:26 -0700 (PDT) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com. [209.85.128.48]) by smtp.gmail.com with ESMTPSA id br14-v6sm1149702ejb.17.2018.10.11.01.10.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 01:10:25 -0700 (PDT) Received: by mail-wm1-f48.google.com with SMTP id z25-v6so15163556wmf.1; Thu, 11 Oct 2018 01:10:25 -0700 (PDT) X-Received: by 2002:a1c:a8c2:: with SMTP id r185-v6mr740704wme.8.1539245425087; Thu, 11 Oct 2018 01:10:25 -0700 (PDT) MIME-Version: 1.0 References: <20181008181908.9456-1-oskari@lemmela.net> <20181008181908.9456-8-oskari@lemmela.net> In-Reply-To: <20181008181908.9456-8-oskari@lemmela.net> From: Chen-Yu Tsai Date: Thu, 11 Oct 2018 16:10:12 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 7/7] mfd: axp20x: Add supported cells for AXP803 To: oskari@lemmela.net Cc: Sebastian Reichel , Rob Herring , Mark Rutland , Maxime Ripard , Lee Jones , Quentin Schulz , "open list:THERMAL" , devicetree , linux-kernel , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 9, 2018 at 2:20 AM Oskari Lemmela wrote: > > AXP803 is compatible with AXP813. > Adding cells for GPIO, ADC, AC and battery power supplies. > > Signed-off-by: Oskari Lemmela > --- > drivers/mfd/axp20x.c | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > index 1508d9113126..4befe474b165 100644 > --- a/drivers/mfd/axp20x.c > +++ b/drivers/mfd/axp20x.c > @@ -731,8 +731,23 @@ static const struct mfd_cell axp803_cells[] = { > .name = "axp221-pek", > .num_resources = ARRAY_SIZE(axp803_pek_resources), > .resources = axp803_pek_resources, > + }, { > + .name = "axp20x-regulator", Please keep this as one line as before. This was requested by the MFD maintainer. > + }, { > + .name = "axp20x-gpio", > + .of_compatible = "x-powers,axp813-gpio", You might want to put the GPIO cell near the top of the list, so any other users, such as the ADC and regulator cells, will probe after it. > + }, { > + .name = "axp813-adc", > + .of_compatible = "x-powers,axp813-adc", > + }, { > + .name = "axp20x-battery-power-supply", > + .of_compatible = "x-powers,axp813-battery-power-supply", > + }, { > + .name = "axp20x-ac-power-supply", > + .of_compatible = "x-powers,axp813-ac-power-supply", > + .num_resources = ARRAY_SIZE(axp20x_ac_power_supply_resources), > + .resources = axp20x_ac_power_supply_resources, Please use the same indentation. Regards ChenYu > }, > - { .name = "axp20x-regulator" }, > }; > > static const struct mfd_cell axp806_self_working_cells[] = { > -- > 2.17.1 >