Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp448481rdf; Fri, 3 Nov 2023 05:44:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHa2eGI8CM7WyMZmjdezjbYlqdMVlhXAngKd27RkzOpJ06AsZBqaUDWLkWvu7BJr0njrKoy X-Received: by 2002:a05:6a00:b85:b0:6c3:4597:a936 with SMTP id g5-20020a056a000b8500b006c34597a936mr3561762pfj.30.1699015499370; Fri, 03 Nov 2023 05:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699015499; cv=none; d=google.com; s=arc-20160816; b=dWnnPVUvrvg8IE82PDw+hwd4gigPJ5r/+gfEBV38Rud4I0l6xTCM6XnOy7ndcj6/zx QB7tlyTrCnBOgVfWrGFkDZmRMSEIZKv0e+VY9FxYFRORuJNwb5RZSpnI5PhOznpJwbHP ozGMm9HbjUdsMwtNpWf0256nV2TjLyZeVe/AFGUW5t/ujZHmjgWDCDXDxlVkFPB/AK4g HHln3mixHzGKz+S7XAdNyJOAgfZQkYpMQ/E3dnc4/csU1BX93w+ZYnCYyVTIn9M6KnGb fhVrLxFR4SPzpGhJKcKbzCJdde6v5vgQCgUX846QyWN4EvotvSjqwLaBte35+4x2dZjk owGQ== 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:dkim-signature; bh=cyf+3Vu4cyQ6dGaoVESoY4tW2O3EMGwLnEtfeqcyjw8=; fh=aKiueFR+E+2Xh2EBOmu/hD2TToaXdu3YMkxX0rpULjk=; b=BjOoWLIb+gbxxGB07WfI9wkzNaA4vChftJticXlhrMVfiBSupvgqIkEmVGjiunT9Uv Q2fzYuRQChRfWba/DSsOtfQo3W1fy7StRBDOSZODuK6i6yT6iLCW7t+ZqOg7V2HmiJh/ NYR3Gq/oZJ7Tvy4bOTUq0g5csTWnLICIJtVDJfbtaweIgpoojpAn9WfmxU1e08YPK7gX H5/736RkGCiOYDLKt45/z8Wpv4BcrDhTy2fnuJlOP01oOhxrqtsVEr4N2JqGb22KcL/P Sr42r1H6dmAU6h9KsHR9GkJert+jqEuHG7cZNNH/gd6HJiYhmuxS0nsiNH+eYP4S6cwX Lzaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rjtpyVab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h14-20020a056a00170e00b0068fb8fa1e71si1515411pfc.207.2023.11.03.05.44.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rjtpyVab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6DCEE81C36D0; Fri, 3 Nov 2023 05:44:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjKCMoj (ORCPT + 99 others); Fri, 3 Nov 2023 08:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjKCMoi (ORCPT ); Fri, 3 Nov 2023 08:44:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72BE83; Fri, 3 Nov 2023 05:44:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CC9BC433C9; Fri, 3 Nov 2023 12:44:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699015472; bh=RE8ZWD1hJwBqAK06hY3k7w9DMZ3q4+OUED5Exb0EUG8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rjtpyVabIPSERbple6CiOhglGKnqCOMJ7l4i78/QDlkMX5ZkCqm74VZJ52poeyZzE rCeTax4Ssv2VAGYIUOLh4fR0TIP82CVlr1YqktEuAnam/3ACAqJpoH0RdECxBDAoAl Tgpq+My6oTfXyHfSvLtCIgp5rYQdupXN4AFrVmfWhqdOF7H1hg+Sb55DbhU61RBVjX IgOjEHt7Iy5AH4gUV3sBqz6CeGuNLX0TcsU1Kr8IwCXj9dpsqwiWW2PfRffwH3dm1c tXSRUf8smwiMHgraaVnr4EJXWJctROiYDV1z8swYSFd+ELyPoRRAu2w/uGG5Kvy87j y3izhzNr58ziw== Date: Fri, 3 Nov 2023 12:44:27 +0000 From: Conor Dooley To: Peter Yin Cc: patrick@stwcx.xyz, Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v1 1/2] dt-bindings: hwmon: Add mps mp5990 driver bindings Message-ID: <20231103-outthink-happiest-35c968eb6187@spud> References: <20231103080128.1204218-1-peteryin.openbmc@gmail.com> <20231103080128.1204218-2-peteryin.openbmc@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YP88GGzst4icFZC7" Content-Disposition: inline In-Reply-To: <20231103080128.1204218-2-peteryin.openbmc@gmail.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 03 Nov 2023 05:44:54 -0700 (PDT) --YP88GGzst4icFZC7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Fri, Nov 03, 2023 at 04:01:26PM +0800, Peter Yin wrote: > Add a device tree bindings for mp5990 device. >=20 > Signed-off-by: Peter Yin > --- > .../devicetree/bindings/hwmon/mps,mp5990.yaml | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/mps,mp5990.ya= ml >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/mps,mp5990.yaml b/Do= cumentation/devicetree/bindings/hwmon/mps,mp5990.yaml > new file mode 100644 > index 000000000000..7533d69f1922 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/mps,mp5990.yaml > @@ -0,0 +1,43 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/mps,mp5990.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices MP5990 HSC Controller Analog Devices? Also, could you write that out rather than using the "HSC" acronym? > + > +maintainers: > + - Peter Yin > + > +description: | > + Analog Devices MP5990 HSC Controller Ditto here, Analog Devices? > + > + Datasheets: > + https://www.monolithicpower.com/en/mp5990.html > + > +properties: > + compatible: > + enum: > + - mps,mp5990 Do you expect this list to grow? If not, just use const: instead of enum: > + > + reg: > + description: I2C address of slave device. Can drop this description. Cheers, Conor. > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + power-sensor@20 { > + reg =3D <0x20>; > + compatible =3D "mps,mp5990"; > + }; > + }; > --=20 > 2.25.1 >=20 --YP88GGzst4icFZC7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZUTrKwAKCRB4tDGHoIJi 0iMgAQDKhAd8C7bms72XIMlSxUwJKZNpsCRINEa3roWUPehWFAD/RGZMiHjxOKiq xvVwJUDMqpldLSIYLM2v9as2Sw6YKg4= =Sgyr -----END PGP SIGNATURE----- --YP88GGzst4icFZC7--