Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp711811rdb; Fri, 26 Jan 2024 08:24:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtO5oJzHi8QswGFvVKHYN4Lcej4xVM1EzTXU4myMCNkAGIcfiwmbDv/ooHocvyL9w3/LZ3 X-Received: by 2002:a7b:cbc6:0:b0:40e:c180:89fc with SMTP id n6-20020a7bcbc6000000b0040ec18089fcmr36315wmi.87.1706286294450; Fri, 26 Jan 2024 08:24:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706286294; cv=pass; d=google.com; s=arc-20160816; b=m1hXtcmyU7IhPbgrrA14RGjPRPkZdKTzwhHpcPLPADOf5xduUyWi3jrftl0AX/nZSe MqHmKsEVp9Tr13dp1nJvS/nEeipoP39A1vNJLWidGyFm+2oRYK14UIm8Q6ULD8DWZeRj WXtsMrxFFbKpy68wd78IsM/jbh5cEzyM+GqZljpq1F/mRR5JQvO5+rp/dRucHjF4nD1v b7jQT1SghycmFtLqHwTC6Q8xw1vUi9H3kT+KRMCfldGcf/3T9Xay8OohIh9rR4W6xHU0 RhaI79nqdwynPANPPyIU0k02u4mzmHHdn40u6Lp8szrqkHoBhZf4giUPXIm8BzYNOuBv y/Zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4O0cnYh1ltYGTFD4cqX/EFV4cy3ZXHuVKoLoeBOIhTc=; fh=jiAHt4rhCs39h8+2cV3ppVWsPozFfL7iPp/s5u0ob+k=; b=IS2qanZ8/5jeAWFZGkmZzkv9+q/UnZ7g3SZdNGz6uB90bLOjym2UjQlMKDIrDVeqjt c89n3l782oBuTSrlIsg3JGaJC29RseMhK0cdhVae43HKLraPYre1kXqyA7FDYW+BiY7P sXbMPDaCHa35QlKgAqbrJUFR1IuuEArz88FoYh567y4WAyQ/FTp093DOnsoFH/rG75Dm bhTmrYeED8Ltp+sAn6LRXvIXXTB91jdslG9IHzGRXHqlPs9AW8V8ta9DKj3Alqcgv6l4 xZ08qOCb0B/p8E2nkhW9JnIzqwv0zlCxDG0eTO+JQK1x5W35uP0Wg93oDrtaqsSJyMNO VnBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CnWEJMii; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l6-20020a170906a40600b00a30b487166csi736044ejz.393.2024.01.26.08.24.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 08:24:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CnWEJMii; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 39D4C1F256F6 for ; Fri, 26 Jan 2024 16:24:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 345461DA4F; Fri, 26 Jan 2024 16:24:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CnWEJMii" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4ECEE1D551; Fri, 26 Jan 2024 16:24:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706286285; cv=none; b=oPIzWE3gZWhzVqwedFWKj+xgHDEy010cq3PJdzgZ0VvJfzxc8vs5nWd3K/bL7fjdVfCM9FC5A1w98g8AOIhZnRTvyv1xxBtLjcD7phjLlC/6ZINJu7QWkVOAj4m3N3ejrBkoeYhJral45EQJdtfJvgRTFHmaeiUAk9ZRduQ7AzY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706286285; c=relaxed/simple; bh=DoqAbsfp/jXuEtftuZQHNgaz372UxSZm/KUcTkXFdmc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=s9rWleizyDgtMP3y/mnmUU74y0Ap4eXymsdikAKPg5u84YFVTHRKRq+dWjPOusJ+LzEkn65HSwe1SQvLOIQVjAvXeHuJg2TlaYLH0NjLsz6kSqCwreb+NJf5bqDflJ+ZvajEUA9tW/eVNSNcAI+5G41ULpAEKUOHpss5iNIK420= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CnWEJMii; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3A1EC433C7; Fri, 26 Jan 2024 16:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706286284; bh=DoqAbsfp/jXuEtftuZQHNgaz372UxSZm/KUcTkXFdmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CnWEJMiilY1kj327erSSMTX/4WCpqilT3s9TKiE/MAD1m+mXQCvvMqEXWriQ3zA6K clSMRsn8kMZWChKRCG9XamxXpY4TnBJ3MgFQ4NKPv9InPA+q5sWY90FTzrDxEq2EPt 9b7yshKkveUpJvF1ty3suSApmznkUd/uXXDvIlR2pQHTI8KgJyoaxBZGet693aW1V5 mhb79CqUe6IegisfRzBmg8vU/BNr6Y8C9cpIcPt/Fr3ulW22lL7Hz028b8vGmrWkOf msifvxpbvKbRkgdDtxp2nLRTOKmwWHmGjUjFc0b/wU8BrxxHu5EGs/0vg3l9xhgNe2 pX7VWbflp4WCQ== Date: Fri, 26 Jan 2024 16:24:40 +0000 From: Conor Dooley To: Naresh Solanki Cc: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , mazziesaccount@gmail.com, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: hwmon: tda38640: Add interrupt & regulator properties Message-ID: <20240126-fleshed-subdued-36bae813e2ba@spud> References: <20240126112945.1389573-1-naresh.solanki@9elements.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qKb9f2iDT7+wsvKn" Content-Disposition: inline In-Reply-To: <20240126112945.1389573-1-naresh.solanki@9elements.com> --qKb9f2iDT7+wsvKn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2024 at 04:59:44PM +0530, Naresh Solanki wrote: > Add properties for interrupt & regulator. > Also update example. Feeling like a broken record, given I am leaving the same comments on multiple patches. The commit message needs to explain why you're doing something. I can read the diff and see what you did! >=20 > TEST=3DRun below command & make sure there is no error. > make DT_CHECKER_FLAGS=3D-m dt_binding_check Same comment here as elsewhere. >=20 > Signed-off-by: Naresh Solanki > --- > .../hwmon/pmbus/infineon,tda38640.yaml | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38= 640.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.= yaml > index ded1c115764b..2df625a8b514 100644 > --- a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml > +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml > @@ -30,6 +30,15 @@ properties: > unconnected(has internal pull-down). > type: boolean > =20 > + interrupts: > + maxItems: 1 > + > + regulators: > + $ref: /schemas/regulator/regulator.yaml# > + type: object > + description: | The | here is not needed, there's no formatting to preserve. =46rom a quick check, most bindings with regulator subnodes restrict the subnode names with patternproperties. Is there a reason you have not? > + list of regulators provided by this controller. > + > required: > - compatible > - reg > @@ -38,6 +47,7 @@ additionalProperties: false > =20 > examples: > - | > + #include > i2c { > #address-cells =3D <1>; > #size-cells =3D <0>; > @@ -45,5 +55,15 @@ examples: > tda38640@40 { > compatible =3D "infineon,tda38640"; > reg =3D <0x40>; > + > + //interrupt-parent =3D <&smb_pex_cpu0_event>; Why is this commented out? Please either restore it or remove it (with justification). Thanks Conor. > + interrupts =3D <10 IRQ_TYPE_LEVEL_LOW>; Blank line here please. > + regulators { > + pvnn_main_cpu0: vout0 { > + regulator-compatible =3D "vout0"; > + regulator-name =3D "pvnn_main_cpu0"; > + regulator-enable-ramp-delay =3D <200>; > + }; > + }; > }; > }; >=20 > base-commit: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7 > --=20 > 2.42.0 >=20 --qKb9f2iDT7+wsvKn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbPcyAAKCRB4tDGHoIJi 0teEAQD64Q0ot/0ME0q/yFIeuCDvMzxK6MoqCM3r57v7LnmEuAEAiHZuOa/sLQC2 SpoFQjl7IHHanVwZYyRTpwKNruahDAU= =ZOVp -----END PGP SIGNATURE----- --qKb9f2iDT7+wsvKn--