Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4313717pxf; Tue, 16 Mar 2021 10:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbosBrwuSLIQpnENaEKhJKNQyAKVoA9lXpfMwA0bkw5b/3d74vq+YJzx1xggRkCUbNVvwW X-Received: by 2002:a05:6402:4386:: with SMTP id o6mr18971089edc.307.1615915275547; Tue, 16 Mar 2021 10:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615915275; cv=none; d=google.com; s=arc-20160816; b=EIrHIBCT7DOSm9ue0SqhZIF031BSL6hLC6VEPkH+NRugQrovrmLi4j0DGj3ZBNSTBR vEN2j9CgTyI9R+LIxpRhF0shM93gBBRYMr95tmty7pK6RBCDeo0V4s3Ii8n/4+XUunxL +R8XlAac3HJzNn7ER5j842YLduQSffAZDfMVdRf6MPq81wI9xNVmKfnd9LThssOF4yth +zSiNC6LWOzmy9N8W51kxHokZhkcE4xNZ6bxkjVRMM3FjSPlZbAwfwuhmiNMuaDcsm4X ijreliS1EC7MKQg7pVzKT/38TSYtKQW0oTjhaaYpoSfegj3Dswn9vfaBvBT14CgClRw+ oPFA== 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=o5xkcx6O/U73VPZ1Lj+FT22ThU2niGkB10ZXqeWrkLk=; b=onM1xfADmGkgqFCPCoqWG+qnU772+HuiaRyT3pHU59D5s0xdHsEsuMCDU3yGJkgiLV oOGeuYJJWcPdlJ8T04TArqnR74Za3ewku5aex4hUKZs0+ckJXIDo8ex2b+/k6IvMynUe 2mD5B4a9ia6SGQvq8XSFDkZ634nvC4Zfem5S6O2MJLmqwtsKFXaQCNT+Ipl203JGo7oy 1EVQWspoQdrvbw79JJm4ae/3etvkSHAoq0cIfAsyArKktLRchb+xmD86Y6Q3RtE+IYac PlI7jMXhzuCGH3Q853vFoC4e3l1orZ96f56mP/+GwERzdfNl5iKomLJnGEE2osQ6gkb7 VNJA== 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 d4si15086951edr.434.2021.03.16.10.20.51; Tue, 16 Mar 2021 10:21:15 -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 S237049AbhCPQqt (ORCPT + 99 others); Tue, 16 Mar 2021 12:46:49 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43164 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236800AbhCPQqF (ORCPT ); Tue, 16 Mar 2021 12:46:05 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 42FA01F44B4A Received: by earth.universe (Postfix, from userid 1000) id 07E9C3C0C96; Tue, 16 Mar 2021 17:46:02 +0100 (CET) Date: Tue, 16 Mar 2021 17:46:02 +0100 From: Sebastian Reichel To: Rob Herring Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Collabora Kernel ML Subject: Re: [PATCH 04/38] dt-bindings: power: supply: bq25890: Convert to DT schema format Message-ID: <20210316164602.hupmcy2hjflf4za2@earth.universe> References: <20210312154357.1561730-1-sebastian.reichel@collabora.com> <20210312154357.1561730-5-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="flvvchtw4vhvmjx2" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --flvvchtw4vhvmjx2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Mar 15, 2021 at 12:21:34PM -0600, Rob Herring wrote: > On Fri, Mar 12, 2021 at 8:44 AM Sebastian Reichel > wrote: > > + ti,ibatcomp-clamp-microvolt: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: max. charging voltage adjustment due to expected volt= age drop on in-series resistor >=20 > You don't need a type $ref on properties with a standard unit suffix. > Though it looks like there's some non-standard ones (-microvolts) in > the series. Ok. Unfortunately most properties in this series use non-standard ones :(. Newer bindings using common properties have already been written in YAML and/or make use of simple-battery. Can we have a warning for this in the dt_binding_check? Maybe something like superfluous $ref for property with standard suffix -- Sebastian --flvvchtw4vhvmjx2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmBQ4L8ACgkQ2O7X88g7 +pomkQ//SV1SH4IZrBUvhr1PWPaxWITOE2xaWZpk+hDYHvGxB3p4aBSAzZbVt0Fz ZgBHByvmNpHNBOdk9C9g288A+p4XfiR9yWpL4V9IHLvEr0Nh2U3k5Nwv5xokqpzh xP62HCQNbMBMys+E0rrEHRC5395mX/c9A4vbVRoVHHbl3MUpili7Y4PxpYjAPj6D CW+AqP76rZ6YKRMAg6/S6VEf/Mo0v8+GkA9alKpso6VFicUig7tFwnz+uap3Uzen iVDmbhcv2wYZyszgKQlGrJdgeERTPoJF+1O0Ww2ZaLpEE6pJLo3ITXMIva9wkqQX JIrEBaZmAgLbwM/lOwUbHzBBJTNyOKr/4ZAP2k94+xHdEJlhsYsktP6Jh3/cRHp8 Su26iiol/YYtKyA2DkTgW9UQORNgh9nbAZiNvAfs0FnT6deDnrXq+PwqcUqe7Bxm 7R7TszYXYnBuuEUN3m26rRrFU613wnS3M6aZBAwnfwf8JRGiNGwiAslMUTypu2Pb LIVakKLLl3NSz8p8u21LIVo6g7E0cpY4714fUm3EMIRjuoRiuEQo3hXHOnMv+QC/ FxgBdmZGU62OAjvKJbTJpKaZ8YL3/L1jYDYPPha3CnVs4MNAKQzwBsYYDFwIgUY6 BpbU5wM23j3PI6qYzLIkjSgBxznsox7r0y8EtookMzJ0jDxZ/ls= =B+Am -----END PGP SIGNATURE----- --flvvchtw4vhvmjx2--