Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1333714yba; Thu, 18 Apr 2019 20:35:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyo18JI4f6SgkT0U57CPHvrdXscT4eajt2KUek5LeqEY9Av1yfeia/H6pXyjRiBWQZjqQKu X-Received: by 2002:a65:51c8:: with SMTP id i8mr1605977pgq.175.1555644955700; Thu, 18 Apr 2019 20:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555644955; cv=none; d=google.com; s=arc-20160816; b=BpKqueDuRLGk0IWXpuF8Jz36eL02gQv5W7F2hyYgY/v9yPuwB2EeUhRdEgaxYkqE/i RJnUhpcqJygQ0ralFAigUviETrDprqF2gze0CVUjP56QgQX+yy2l260Y8mwzuEUaRpri ta4/QX5en7R+XXrwk4etv170VmetNHoCas6K0hPfpmHx/Lg5uBxAbxjCo3GCs++bt/1A +1FqL3+7KA1zdHDNMI991PoLZIDqsE6qjK+iVGqsEjiUdUg5mDSjxsh8IGIbNIJkmdfF 8O3G68OcRLfjlhP5j3jeAN9e/XpQ4egaBArSQsO7ZVQMhLkgSziPBe3bSZjBumouIzjH LuqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pfq8yqRmaiWXI9drck1leBvQzLL3QOUMedCNCcpKElQ=; b=mLt0FNwujD71slGa9rWjCMAH6xbsvBvKaoGhcBSnFUnv45lXOBwfRTIggpnpUFrWng q/yHSeSMicotNzxx0YnrufYSuSn7P5tK75ju+Y1v5dD+R+eG3mofIz6rr/oAY9TWDy2S yUtfHScfO0F6A1jVou+SZoleAm4thN83365+JhqBK3QPc6PSeTqhHAQ40pRW/7jOFgp0 agWunMAdyRR+Llc60k7/P3v446kof7xc3OXXoQv55X+RYCSR+Zr15TX5yQOSxHxVZQKa zS794QfvAnLtBIlYhjBDlcj6W1UFOsfXCkeDzSmADg23u7lUZp4fDKAcR709Bdsdmsc8 5uLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ebwaTntv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g77si4303700pfd.221.2019.04.18.20.35.39; Thu, 18 Apr 2019 20:35:55 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ebwaTntv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727284AbfDSDev (ORCPT + 99 others); Thu, 18 Apr 2019 23:34:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:51384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfDSDet (ORCPT ); Thu, 18 Apr 2019 23:34:49 -0400 Received: from earth.universe (dyndsl-091-248-050-217.ewe-ip-backbone.de [91.248.50.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 645FA2171F; Fri, 19 Apr 2019 03:34:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555644888; bh=esYqxcyWBII7VicI57GYCPW0UZenWkjmNmm7xcQXqLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ebwaTntv9OHOFruI1Ejb2MyL6OEgeHvL+hC0us6Asa3dYV8tETd3eFS80BxiFByV1 1eYAW68K6GizlKZ5kw7dgx9Pm6deX5MzEu/lhpxVkRolb57xlJnHXZ7TVL9K1rwoL6 L1MEacrI2RfpWY5F7+hfwej/7hKABmrDNnFs+sZQ= Received: by earth.universe (Postfix, from userid 1000) id E255C3C08D8; Thu, 18 Apr 2019 21:47:03 +0200 (CEST) Date: Thu, 18 Apr 2019 21:47:03 +0200 From: Sebastian Reichel To: Jonathan Cameron Cc: Artur Rojek , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: Re: [PATCH v2 3/4] dt-bindings: power: supply: Add docs for Ingenic JZ47xx SoCs battery. Message-ID: <20190418194703.ft5rycsrzz3fyxxb@earth.universe> References: <20190323172809.14407-1-contact@artur-rojek.eu> <20190323172809.14407-3-contact@artur-rojek.eu> <20190324153018.2e4011c9@archlinux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jlupxtszm5xqgv3k" Content-Disposition: inline In-Reply-To: <20190324153018.2e4011c9@archlinux> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jlupxtszm5xqgv3k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Mar 24, 2019 at 03:30:18PM +0000, Jonathan Cameron wrote: > On Sat, 23 Mar 2019 18:28:08 +0100 > Artur Rojek wrote: >=20 > > Add documentation for the ingenic-battery driver, used on JZ47xx SoCs. > >=20 > > Signed-off-by: Artur Rojek > Looks fine to me. >=20 > Acked-by: Jonathan Cameron Thanks, queued. -- Sebastian >=20 > > --- > >=20 > > Changes: > >=20 > > v2: no change > >=20 > > .../bindings/power/supply/ingenic,battery.txt | 31 +++++++++++++++++++ > > 1 file changed, 31 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/power/supply/inge= nic,battery.txt > >=20 > > diff --git a/Documentation/devicetree/bindings/power/supply/ingenic,bat= tery.txt b/Documentation/devicetree/bindings/power/supply/ingenic,battery.t= xt > > new file mode 100644 > > index 000000000000..66430bf73815 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/power/supply/ingenic,battery.txt > > @@ -0,0 +1,31 @@ > > +* Ingenic JZ47xx battery bindings > > + > > +Required properties: > > + > > +- compatible: Must be "ingenic,jz4740-battery". > > +- io-channels: phandle and IIO specifier pair to the IIO device. > > + Format described in iio-bindings.txt. > > +- monitored-battery: phandle to a "simple-battery" compatible node. > > + > > +The "monitored-battery" property must be a phandle to a node using the= format > > +described in battery.txt, with the following properties being required: > > + > > +- voltage-min-design-microvolt: Drained battery voltage. > > +- voltage-max-design-microvolt: Fully charged battery voltage. > > + > > +Example: > > + > > +#include > > + > > +simple_battery: battery { > > + compatible =3D "simple-battery"; > > + voltage-min-design-microvolt =3D <3600000>; > > + voltage-max-design-microvolt =3D <4200000>; > > +}; > > + > > +ingenic_battery { > > + compatible =3D "ingenic,jz4740-battery"; > > + io-channels =3D <&adc INGENIC_ADC_BATTERY>; > > + io-channel-names =3D "battery"; > > + monitored-battery =3D <&simple_battery>; > > +}; >=20 --jlupxtszm5xqgv3k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAly41DcACgkQ2O7X88g7 +prxuQ//dogDbAB6g0ZRjyPjplt7z1BFvF8WcW561216oY8bwMlXn8kw/tzWFD7O 4g1iuFFbdVbySVuEccFdzzdGbjx71+nWvVVy5ucC5mr/W5NGMdnFGzWf74uEUbga p6UYg+lizs4SAVfJEiCreZQAS0qdbF2IPgs39Wnov6PXra87L/H+0USKIDwZZqUb cnmQl7TF19w7JDgNNp5j8nPELRtqrRhq00liIS155LBiUGUYjufiot0oCDe58Z/K MYtxl1suUcKRLLj8f3CjMFJKSkL9XbE0gGnVtwJBIiDAwqahYtmmbzHDjxroiHm2 jzbm05EtTXWBKxze4D9o9RTaTbyjY1wTzyvaM0x9S+PxocOaXGqiLaFGcHTONBDz SnuczqxylpVLmOYHWLb7ByB8muY++kuFFkOZvcp60aEl9+9nQyaNF48sOOh9+aPB MyjcjVBOxES5JYIYhFglW4WFRuy8XR3KuUaKLz/DWy+F8/tpQOvR60BSSiMuZ5tM CW/RqV9J9d6Lc6Ect4EnFtZuEOwdHzuUiDGj7hS3Q6YWwIjzma5RMQjDZdH5SGKW D6eJIgXJBC+9FXtl9EdCxxDI+yKf7Igsp0rOSxfXkD5w12zCYNEnGhLqnXCCf+x3 QKUOHIFWTwVkH8gKZ75Jg8nDy/jdIDrStMopvWTgHFB6suO1peA= =iubX -----END PGP SIGNATURE----- --jlupxtszm5xqgv3k--