Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1364155pxf; Fri, 9 Apr 2021 06:44:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmGsP+scSI8Xilo+kd20Sk6Xl7nk1xvwwRql7SjaMMtYdtXpwqdxD1kPTEnq4rdYuxu/E0 X-Received: by 2002:a17:902:ce83:b029:e9:8918:397a with SMTP id f3-20020a170902ce83b02900e98918397amr9179472plg.42.1617975850267; Fri, 09 Apr 2021 06:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617975850; cv=none; d=google.com; s=arc-20160816; b=cAeT4wqXMGqTubJoV/Mwv5NKwGHBS+kknmZwlTzNUrvQnkpAHomoLObvtLc0707+8T LRcIv1l0q2sJ57GXcWIFHWFWsnQQLKx/xnvDcw/zcAM9ITxM6DpGIhz7t70fXLfbVrUD OWI6rSiC+hAtM4+9RWMDQCM8KAA1++36Gz2h9ME2Cc3GVqZ0zy1hWwqcci8GwC0MVGfc FktItsqg1r6F7rHOAJjSXpBtYhQPJi9do3/EmnSQqMhE/zaNDPQyM1BVuvtC22vVvgcU i1kralvSVKpT6MD88fR7leY+UFgsEIF9oXuDtEoFlxHdX1BPSIMXa3Kb+pXXxLWmccGE RP6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=N7Ayd2S35BSF7/D8wefqQ3I8cHLazcLr340rLKE9ag4=; b=mnvRS+s6cFGZb4CPz4dbcniGoRWwqx2uodD/P3pFBW6QP+6pm9sdqBEQF4qyicR5eb lTtBeeqCKwtDTuZgvQVjyiI7b2nx+5HJRmBAlfgGLS0lYrJr/j89qN6rnsunFS+WcooS mBF4Y7ednxEvSEKmjs2govxa6ZEWTrwr5oXLXLJqg9zCpipETOI4GpmR4v0OzwsA+72v D9b9jIFDRyaZZ0S04g11YOMlytO9/6F24zaPGrc0km4Fvv1DlyYl5ybxOiPYbYR/EHz7 tCo2hb8uZ5utwyWnBB4cGCmB/WKkolCOh3zRWZ7UVoclkjHIaxLo52HjR/euG1FFJ8rp 1wzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x188si3240929pgx.47.2021.04.09.06.43.58; Fri, 09 Apr 2021 06:44:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233604AbhDINnc (ORCPT + 99 others); Fri, 9 Apr 2021 09:43:32 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:37086 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233051AbhDINnb (ORCPT ); Fri, 9 Apr 2021 09:43:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 86B221F467A1 Received: by earth.universe (Postfix, from userid 1000) id 613083C0C96; Fri, 9 Apr 2021 15:43:15 +0200 (CEST) Date: Fri, 9 Apr 2021 15:43:15 +0200 From: Sebastian Reichel To: Linus Walleij Cc: Rob Herring , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , Collabora Kernel ML Subject: Re: [PATCHv2 35/38] dt-bindings: power: supply: ab8500: Convert to DT schema format Message-ID: <20210409134315.tjgd7nvpo4tru2oo@earth.universe> References: <20210317134904.80737-1-sebastian.reichel@collabora.com> <20210317134904.80737-36-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6ohqhuaygyq2szeg" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6ohqhuaygyq2szeg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Linus, On Fri, Apr 09, 2021 at 01:28:05AM +0200, Linus Walleij wrote: > On Wed, Mar 17, 2021 at 2:51 PM Sebastian Reichel > wrote: >=20 > > Convert the binding to DT schema format. > > > > Note: The battery node does not have a compatible value and needs > > to be described from the binding file for the PMIC. That has not > > yet been converted, so I kept the information in plaintext for now. > > > > Signed-off-by: Sebastian Reichel >=20 > Thanks for doing this Sebastian: > Reviewed-by: Linus Walleij Thanks (I already merged this, though). > Long term I want to get rid of the "charging algorithm" device node, > as can be easily seen that is not a real hardware device but just > some mockery to get a platform device up and probed. It is actually > a library. But for now we need to keep it around. Yes, the ab8500 charging algorithm obviously does not describe hardware and should go away, just as charger-manager driver. Optimally power-supply would provide a framework for this. The battery node on the other hand does describe hardware (the raw battery cells) and we have a common binding for this nowadays: Documentation/devicetree/bindings/power/supply/battery.yaml (At the moment it has neither properties for the chemistry nor for temperature sensor position) -- Sebastian --6ohqhuaygyq2szeg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmBwWeoACgkQ2O7X88g7 +pryfBAAlLZTxzPZTIprclehAIr7GtqVvIw4jYjbGiwvJHAUaNLHhI47YFtEajlh 7ArUmph2VE3VtQcCUgDti/xcJLKWQQX8WsB11K4DjnAFgX5uZwcXmTmHxUhB2WS0 4Eloa35jMNdQZEsMM8vNroVTy71XQtxmPJZqBTjSsfpP6SPNoEZwhusF7j9E+Y51 eYLnDnXrs9Pof+WW9bkVR0Ub5WB9CU6rDYq1DzfZ46rtZu29Fj63bhj+A1OXJonO fNtuSMMzM/aBkZeXA1n5Gp4B4c61IHNfjSiJYJD/QdQK0CaaGQOyLMb1bn6BfYG/ HZJx8/n7VbnrIa+W8Meb1lgXqVZ1p3cLcHn2apWTdo5XfzVrJEKHogBFINFRZhFu UIsNHMUP4mLJUj8R0SM5SBCKKjV/+hvyO9tMQ1cpktJkdBD4vIohcEh8B9JWtVqv hK4iVugySBaaNENIu9KQMMK4Y+2tTBUsO2qrkenq8CvzLbARWKTJJ/bj8WFZys+K KNmaQIPIEnC16QIQukTY0RtwWFtZf9s2C5ukAskm0t91AAwlqNfeF6i5YM+RrIEg 3gBiJHK87nwRXu5JvxFAiVKu39+etfahVxLP30xzcazxtweB/5c4vxjwo8xyacgN iVeM+YEseTkGipuiLGVBRQmA7jyuCng0zltG/C2eIgGs1cxNCKo= =6v6Y -----END PGP SIGNATURE----- --6ohqhuaygyq2szeg--