Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1796017imu; Thu, 24 Jan 2019 01:59:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN4tkz5h9vmbCKZT4yYlgXFxNbGQ1KvzdSjyfGuvBdhjB/M9lyI6O4xGuj8uWww8ficeKPaR X-Received: by 2002:a17:902:4464:: with SMTP id k91mr5976807pld.13.1548323947983; Thu, 24 Jan 2019 01:59:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548323947; cv=none; d=google.com; s=arc-20160816; b=e9dW/xKIfHGwolMuZ8Ad+m+OhrUBGDCS/zx6QTtdi5sROmo9KHD073zNQXe9stXxtP wnKyuGiafuccRDy790G5E2KdJsarBNeIrs93I4rNGQx2goVRvjUvIiZJHm7r5XuaEf65 XdPz9TQfQz+6u1czngSVWPgDVLl0Z1wc0I2BrsMUFSeitcBA1wPDsqUkhsRurZ2HobT1 ANwyw5dNX45pnLHTcZjHaLjuxyGtxGuy8+spp8W4Zl7kcxYSq58i6m6PCUTUMQw3n2Je M9nX/6XcKW3lpYdxDIMMX3M5MoD1xkB3o0lbyhHuSzJvauCL4qoRHCuoRPi8hOK0HEbB MWFQ== 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=mdcWgE316o1VuwOPKtGLhz+vhi3r7OT1gfFf2AZgF1E=; b=NdczkvRz6h48iYb5ZhDt5ROL63UIjKqXY7JOvpjiL++jRibbK54+bWeDZLg+M33gAD gER5NjO0A7tt5HPirQxrrGD4pAFCQw0akteuKsGXD3tc4mhlseHeADVvk5EzuiFwvZLR b8KJmM3csM+s+syswlCgENYwVRfe2Ug27qrfbwiBeyBMUztqjQ1uZGecgQxVxr6SFTH0 DosN7QFJnSvw/tNNzE81+rA9CNqG7bbUwFhiHdrRlKo/nGrQlpXUc2vLxqTJsh0GRbj6 YbfqKI8owL2yaa+X+cmBARHKisSM27fXvPRSflhj66Y/OCPN+s8mM8dt+Gb915vuLahl VTuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Gd9H9yTr; 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 m30si22172544pff.158.2019.01.24.01.58.53; Thu, 24 Jan 2019 01:59:07 -0800 (PST) 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=Gd9H9yTr; 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 S1727684AbfAXJ6U (ORCPT + 99 others); Thu, 24 Jan 2019 04:58:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:49662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727507AbfAXJ6N (ORCPT ); Thu, 24 Jan 2019 04:58:13 -0500 Received: from earth.universe (dyndsl-037-138-185-084.ewe-ip-backbone.de [37.138.185.84]) (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 49554218D2; Thu, 24 Jan 2019 09:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548323892; bh=OVSZxSUWkIRwgNDsl3AduaYKVHTJnA+3QX53cccp5mY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gd9H9yTrdPdaj98sijV/fVBFgS64ffigxVj346XrZnexEWJmgPL8uYZKVbKGQeEQ3 /rWUJ7d15lIycQ9TwJ76ST+pE9WDRBVI2s/iOURbViDH1AKrgCFxlFi2mHsezb4Pqo aUijYM/dxN2cD6bxIcUFdsdm3I/z3d4VI8m9ktYI= Received: by earth.universe (Postfix, from userid 1000) id 587003C08E4; Wed, 23 Jan 2019 21:27:38 +0100 (CET) Date: Wed, 23 Jan 2019 21:27:38 +0100 From: Sebastian Reichel To: Baolin Wang Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, yuanjiang.yu@unisoc.com, broonie@kernel.org, zhang.lyra@gmail.com, orsonzhai@gmail.com Subject: Re: [PATCH 1/4] dt-bindings: power: sc27xx: Add one IIO channel to read charge voltage Message-ID: <20190123202738.m6btovysy73i6i3o@earth.universe> References: <76a12fe5d0cc670266100b0587b047714c9a8a83.1547544142.git.baolin.wang@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ppg2kqqkzwzvt4n3" Content-Disposition: inline In-Reply-To: <76a12fe5d0cc670266100b0587b047714c9a8a83.1547544142.git.baolin.wang@linaro.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ppg2kqqkzwzvt4n3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jan 15, 2019 at 06:32:34PM +0800, Baolin Wang wrote: > Add one IIO channel named "charge_vol" to read the charge voltage for > the SC27XX fuel gauge controller. >=20 > Signed-off-by: Baolin Wang > --- Thanks, patchset is queued to power-supply-next. -- Sebastian > .../devicetree/bindings/power/supply/sc27xx-fg.txt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt= b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt > index fc35ac5..0a5705b 100644 > --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt > +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt > @@ -9,8 +9,8 @@ Required properties: > "sprd,sc2731-fgu". > - reg: The address offset of fuel gauge unit. > - battery-detect-gpios: GPIO for battery detection. > -- io-channels: Specify the IIO ADC channel to get temperature. > -- io-channel-names: Should be "bat-temp". > +- io-channels: Specify the IIO ADC channels to get temperature and charg= e voltage. > +- io-channel-names: Should be "bat-temp" or "charge-vol". > - nvmem-cells: A phandle to the calibration cells provided by eFuse devi= ce. > - nvmem-cell-names: Should be "fgu_calib". > - monitored-battery: Phandle of battery characteristics devicetree node. > @@ -47,8 +47,8 @@ Example: > compatible =3D "sprd,sc2731-fgu"; > reg =3D <0xa00>; > battery-detect-gpios =3D <&pmic_eic 9 GPIO_ACTIVE_HIGH>; > - io-channels =3D <&pmic_adc 5>; > - io-channel-names =3D "bat-temp"; > + io-channels =3D <&pmic_adc 5>, <&pmic_adc 14>; > + io-channel-names =3D "bat-temp", "charge-vol"; > nvmem-cells =3D <&fgu_calib>; > nvmem-cell-names =3D "fgu_calib"; > monitored-battery =3D <&bat>; > --=20 > 1.7.9.5 >=20 --ppg2kqqkzwzvt4n3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlxIzjcACgkQ2O7X88g7 +poiSQ//eTUsDovorLNfFNZcdVJl45prcoKfrhJhyu4db1FoCB5UjB3X3mErrTmq ut2vwv4fY7C/LgLqj+rZA2MyqfWtmHGbRqGP+1TJzRoLgMywCBmCSgwaVM4ZZiKC woqyp1dRPof9fWCED/SPHs6SQmNF7tkob2qxaE4QioXVq/hhufwGjPrH/Bd7Z7YW +LCgjnEMVr/fpEAI8hzzuAb1M4JMzFvrOCm6ZP82jdyqxhnGWESRF195Z2tARFab 4xMTHZMH34mGIINsWnvxZXqNsYUMe6/JIIIDKDswK7PE9J+tW4KH1nJth5FCxCEs dZgMw6nXVY99D3lFqKwdv6/4+/QAV+OB/+Wwko/0zRvWHPagb+Ve2VwRknnHni+b 7ZzXRH2WcJ3Zuu5tXVQIScoXaURB3PDwnKS+9t+MoaTEeEJpCKimfIBU2qxiBhUs i0Y8Q2Muy8FWa6e8CKw3CpuTHgLx3TMQEJcw0auhIPHH1B5jTMrbnLuHHHqPomC2 PN58Eb3KZm6V+paI/21Lds0O1VVs7nHQbVwR2bgAE3zjFKT6eGc4bqDa/53caW1Z DE5ClrcPYfqXkVU/uU6r2ugQIxT6wx3l72Bk4kTwiKpKo3xLk4UXQzVnXfyQ7+Gu FKmstQ4INfKxVopgcxqltjdVqPEQvASQWZdIde/gbYCAtNzKgu8= =jsuy -----END PGP SIGNATURE----- --ppg2kqqkzwzvt4n3--