Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5231571ybp; Mon, 14 Oct 2019 18:07:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWVdA9dJeox+Sh8T1bNTz4PtUEseUsdN7WKY/yfhMa/e8cJevHLWBUl8sVepkaDNuBuVPA X-Received: by 2002:a17:907:4182:: with SMTP id mz2mr31357833ejb.326.1571101646445; Mon, 14 Oct 2019 18:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571101646; cv=none; d=google.com; s=arc-20160816; b=qogHGg7pKQwSTWGam5LMzvmDMwMZAjWv0sPvPWgGBWl1uWIlWF3D5lms3B2+zmX3f/ ofFEumJmEmdmNVEcbLJi3rw08jlfLuNXzxeHyQB66NgFMBvm539QvW4WdNXYCHvI6NR0 ukpaRDU65ICwCpsuugquQjU6gZKSk5NyBOz0E/lh+ZJZstT8dk2HbrfXVD2oTb9jnqlC PaIiUcUgUCZMWTBJZGA7j9puDpPKAIrIU0Go+hHbI9FGOOiacOizgoht914yVa0w6DXf GyQfqj3RG6qoS9vJpwwfVmWTSaIYj171GCn+2wcb2TF7k7yFMWM5An3HYDzwm3NePQSJ 4msw== 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=mLDfX3vBJImVOL/1wkv1oFIeRVkT0AKFDNRPuwQpZAo=; b=kWl5dD0qIVx8NqoITA9rzGizfVrG7864wtw7cnShdZVZfF8dLOnXV9swvxU7lC1bSK m3oGCXeTtdkzrE2/RXvArta4D4x2egTWmzl1tcJItw1pPjSbJyIzX26fBXZKhATI7+A4 MNGlGQlfkYcC/IImiUZDYMuHPG6eafEKVvxXqsfIYk1ed8rOHRGa6PxaCpHzFyKwjCoE Syv+dGWY3zds+cpdgc1ILOwsm+tW1lpM3tc21ew28KKmJqgb/nGHXdRBk96BOS8hjcPd f/Dt9RQB/Fur2SP3P/315eIYzWc0vME8W+AEAIQAQwInK/gEGK9P6Uo96fJn2f0EKdQf A4ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aGW8350a; 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 w12si11995724edx.223.2019.10.14.18.07.02; Mon, 14 Oct 2019 18:07:26 -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=aGW8350a; 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 S2388985AbfJNV1F (ORCPT + 99 others); Mon, 14 Oct 2019 17:27:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:33668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731967AbfJNV0s (ORCPT ); Mon, 14 Oct 2019 17:26:48 -0400 Received: from earth.universe (eth-west-pareq2-46-193-2-41.wb.wifirst.net [46.193.2.41]) (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 B3DD220650; Mon, 14 Oct 2019 21:26:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571088406; bh=+lFIzC8nwcFgT0bS6CLGv5ajlQHk5Qi8YrW2qfw1KQU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aGW8350aqDpJ9vKAVgGscRQHllSKdI8koknozbpeArVMJJ8jASoXjaKidiRcPhlzt FuXg0gpDqYU/RKfMta7y7JZq+j9OtrD+Oe+qZGeI+x3zCDmmUdHOu3cUhyr64QC1Eb hQa9Ss1VV7XwCwTXdGLoFUXad893Ei+Ciu7iYJi4= Received: by earth.universe (Postfix, from userid 1000) id 7579A3C0CA5; Mon, 14 Oct 2019 06:32:25 +0200 (CEST) Date: Mon, 14 Oct 2019 06:32:25 +0200 From: Sebastian Reichel To: Bartosz Golaszewski Cc: Rob Herring , Mark Rutland , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Dan Murphy , Lee Jones , Liam Girdwood , Mark Brown , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 4/6] dt-bindings: power: max77650: convert the binding document to yaml Message-ID: <20191014043225.ejpyccvo3jpkvz2r@earth.universe> References: <20190930130246.4860-1-brgl@bgdev.pl> <20190930130246.4860-5-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lvytl443p4a5vq52" Content-Disposition: inline In-Reply-To: <20190930130246.4860-5-brgl@bgdev.pl> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lvytl443p4a5vq52 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Sep 30, 2019 at 03:02:44PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski >=20 > Convert the binding document for max77650 charger module to yaml. >=20 > Signed-off-by: Bartosz Golaszewski > --- Assuming, that Rob will merge the series: Acked-by: Sebastian Reichel -- Sebastian > .../power/supply/max77650-charger.txt | 29 +------------ > .../power/supply/max77650-charger.yaml | 42 +++++++++++++++++++ > 2 files changed, 43 insertions(+), 28 deletions(-) > create mode 100644 Documentation/devicetree/bindings/power/supply/max776= 50-charger.yaml >=20 > diff --git a/Documentation/devicetree/bindings/power/supply/max77650-char= ger.txt b/Documentation/devicetree/bindings/power/supply/max77650-charger.t= xt > index e6d0fb6ff94e..fbab7d3ac8e3 100644 > --- a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt > +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt > @@ -1,28 +1 @@ > -Battery charger driver for MAX77650 PMIC from Maxim Integrated. > - > -This module is part of the MAX77650 MFD device. For more details > -see Documentation/devicetree/bindings/mfd/max77650.txt. > - > -The charger is represented as a sub-node of the PMIC node on the device = tree. > - > -Required properties: > --------------------- > -- compatible: Must be "maxim,max77650-charger" > - > -Optional properties: > --------------------- > -- input-voltage-min-microvolt: Minimum CHGIN regulation voltage. Must be= one > - of: 4000000, 4100000, 4200000, 4300000, > - 4400000, 4500000, 4600000, 4700000. > -- input-current-limit-microamp: CHGIN input current limit (in microamps)= =2E Must > - be one of: 95000, 190000, 285000, 380000, > - 475000. > - > -Example: > --------- > - > - charger { > - compatible =3D "maxim,max77650-charger"; > - input-voltage-min-microvolt =3D <4200000>; > - input-current-limit-microamp =3D <285000>; > - }; > +This file was moved to max77650-charger.yaml. > diff --git a/Documentation/devicetree/bindings/power/supply/max77650-char= ger.yaml b/Documentation/devicetree/bindings/power/supply/max77650-charger.= yaml > new file mode 100644 > index 000000000000..9dd0dad0f948 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Battery charger driver for MAX77650 PMIC from Maxim Integrated. > + > +maintainers: > + - Bartosz Golaszewski > + > +description: | > + This module is part of the MAX77650 MFD device. For more details > + see Documentation/devicetree/bindings/mfd/max77650.txt. > + > + The charger is represented as a sub-node of the PMIC node on the devic= e tree. > + > +properties: > + compatible: > + const: maxim,max77650-charger > + > + input-voltage-min-microvolt: > + description: > + Minimum CHGIN regulation voltage. > + enum: [ 4000000, 4100000, 4200000, 4300000, > + 4400000, 4500000, 4600000, 4700000 ] > + > + input-current-limit-microamp: > + description: > + CHGIN input current limit (in microamps). > + enum: [ 95000, 190000, 285000, 380000, 475000 ] > + > +required: > + - compatible > + > +examples: > + - | > + charger { > + compatible =3D "maxim,max77650-charger"; > + input-voltage-min-microvolt =3D <4200000>; > + input-current-limit-microamp =3D <285000>; > + }; > --=20 > 2.23.0 >=20 --lvytl443p4a5vq52 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl2j+lkACgkQ2O7X88g7 +pomCA/7BKT68Dw2GbwGBoG4yadDJGw3mu+fWzAQF5R76k+9J5ic2r+Q/Gr1M3rZ zbwH0Isgl1RCAa/usmx1lDMG/CWPivdz4ofnr2sX1SLYNNz/fmtcrt3TtlyXwhxs 3DR5eQQz9lOjcF5EVMptxaYNaoQtRV6Ptu7KFf5+graYuJ9U8Zvcb7P/gfzEKMTW tImGYv3ZqvQye1u5OaqgZrYgnULyB1Pibjz9FFTM6EjPomJP++9+T8MSLHV3wZEA bhy+e6cqIrEVfCy9f9t6a9y5PyvhuAVb59AKo3e6atYa4WwKObr47iCdI2GTcg+G 5hLD80c3tS28T0LbKgtrHrOsA3V/0qY14tlWZvnrFpoDwKy5+hGTDVsXSXAE5whj hpyqYEQNWy8zYsZ+F73xGGqzGPWv/MoA4mBpvTLe9fuf+TN0M35p2nbycKReW4+a k0pnlPDfzwmfNiEmdl3UYJkMfLZk488ljkJe1tww0d4+LKQqtVb9w9bKVxxARVtg F3KXegzxNjnNNl584ucPZLZwGhJzNSJ9zwMbE6GDRJFCmH4MEkrWLnaTqesk9xLn 3+M1A3PL9Cehdt0aAqU5bzFKYbPBLgk2b4UCxl1UL6nTLgM9KS8bd05zMMDYJJfs +GS5YKf1vPTceX6j0kDzV/kmJTQhESPw00rZ3b4jwNpETP7GMkw= =MbIN -----END PGP SIGNATURE----- --lvytl443p4a5vq52--