Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1332725rda; Mon, 23 Oct 2023 09:19:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXpwx0ri3WqV3XZnvjZe0jOgi87Bm+JAheSapFRUxNFtpMGwXtwcmyAPYQgBME8jangMVw X-Received: by 2002:a05:6359:227:b0:168:d2b1:6f58 with SMTP id ej39-20020a056359022700b00168d2b16f58mr5068913rwb.22.1698077989837; Mon, 23 Oct 2023 09:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698077989; cv=none; d=google.com; s=arc-20160816; b=HLPO3VFdYoayQtDeakmjqqdfLnWoKhI5jQrXy1jcdk2iAsi/pji0S3vLP152V9OQSW DNpFfSFT6fXKNxIazOc0LaVPQdefuvZN0pF/vRBauRFx99bCQrkJEBNctkJYa7QKRNve JyibXFH5h0nn+CrTeLPCzN2nijcoSiqCYP+jhAm35AoPzGw7cJRk0R1DeBX2eQhsWytG dA2r23Y/5ZcQ+KZbUdI9Gr6Z8OLeOeTrUWN7Od6uNNm45bJSQQmxjtexNVfEhGaLokDY NbkeSMubrBURtunrqjbPpQ+nB4MLeu+nZSzwohhHmXWGaqvJGvE+Nlw0s8sZdKyN+Y8q HyzA== 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=t0o1ex3V1rkU9t9dlET4vIqveunziFTM4ctrCx/EPik=; fh=pCtOVTlGAN+qfuqDetyHnkqI3rLZfbl1ApxbRyu2YW8=; b=nfdcJ0brnro4HWlTBm9uWGoAPROGZ8LRIKNH1gYtYKZ5cVYf+b+s4qQVJeqa7gxPVs Auf2cksnfDkUgx+4yo/0QOqQb+3bD3527emQtvNs7zfRgRxZpzJFNcymiiZp1tyLj6hE HdeiotTnA1h8J90Qva273xAcGBTOGXQFhVyoDKne2Y4t9KRBIS8Ic9FVcbUEae3f98Cv PACdnhr1F6sLiqkid5n7ZZtYb/waYsZTrIi3w3OiHnuvf1Gm8zIlAoj+XjTeOoS83dA+ oLi0c+Nj/pINV9e9uIIEOlpQLiJDbYfDHXY9dN8MENkD4yf8UIXRVOYorin4vwM71/zw Fszg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jqFnzvMf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id c22-20020a637256000000b005b8a641b442si3510699pgn.461.2023.10.23.09.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 09:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jqFnzvMf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 578208089E4F; Mon, 23 Oct 2023 09:19:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233813AbjJWQTb (ORCPT + 99 others); Mon, 23 Oct 2023 12:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233658AbjJWQTS (ORCPT ); Mon, 23 Oct 2023 12:19:18 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65593212D; Mon, 23 Oct 2023 09:18:50 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD263C433C7; Mon, 23 Oct 2023 16:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698077929; bh=xZL+GdU+uaN5JA/L6aMscuhuEXIWBnMgAfLl+k2KDkY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jqFnzvMfzxrCI+mV9NuUEAYRHazKEaROllqG9hjaFJttEiMjalYLmhQjWp3W7h6pw fQ8u8Pf6tyLaPrRw7a4XGKsvQvRrQzZKQ4P1k0wEYoUOMRTducRoYkbm7ik6KMPqot W75sPJUaOcRGx3obFpaUoeDGGKJeftbjZP5F5ied4ZIZsWKxV7oABTRVRuO8WxQScd rBzC/ICI7hCabr6wABfI2LQElt5ZCb469HwXPN1Y0VPWRidNjLkgwOMUn3YqR6ywpY AMSmtUSn6Vc2Umh6DXJ0ZoiHgxo1i2WkG6HmhaYwwok2biGtwGp0gvuRRHgCXwbWsX SFut6dXwXFDhQ== Date: Mon, 23 Oct 2023 17:18:45 +0100 From: Conor Dooley To: Geert Uytterhoeven Cc: Support Opensource , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: regulator: dlg,da9210: Convert to json-schema Message-ID: <20231023-sulfate-babble-695b239f52b5@spud> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PLCivFZlEfnhRSba" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Mon, 23 Oct 2023 09:19:42 -0700 (PDT) --PLCivFZlEfnhRSba Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 23, 2023 at 11:04:45AM +0200, Geert Uytterhoeven wrote: > Convert the Dialog Semiconductor DA9210 Multi-Phase 12A DC-DC Buck > Converter Device Tree binding documentation to json-schema. >=20 > Signed-off-by: Geert Uytterhoeven > --- > .../devicetree/bindings/regulator/da9210.txt | 29 ----------- > .../bindings/regulator/dlg,da9210.yaml | 52 +++++++++++++++++++ > 2 files changed, 52 insertions(+), 29 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/regulator/da9210.txt > create mode 100644 Documentation/devicetree/bindings/regulator/dlg,da921= 0.yaml >=20 > diff --git a/Documentation/devicetree/bindings/regulator/da9210.txt b/Doc= umentation/devicetree/bindings/regulator/da9210.txt > deleted file mode 100644 > index 58065ca9e3b46892..0000000000000000 > --- a/Documentation/devicetree/bindings/regulator/da9210.txt > +++ /dev/null > @@ -1,29 +0,0 @@ > -* Dialog Semiconductor DA9210 Multi-phase 12A DCDC BUCK Converter > - > -Required properties: > - > -- compatible: must be "dlg,da9210" > -- reg: the i2c slave address of the regulator. It should be 0x68. > - > -Optional properties: > - > -- interrupts: a reference to the DA9210 interrupt, if available. > - > -Any standard regulator properties can be used to configure the single da= 9210 > -DCDC. > - > -Example: > - > - da9210@68 { > - compatible =3D "dlg,da9210"; > - reg =3D <0x68>; > - > - interrupt-parent =3D <...>; > - interrupts =3D <...>; > - > - regulator-min-microvolt =3D <300000>; > - regulator-max-microvolt =3D <1570000>; > - regulator-min-microamp =3D <1600000>; > - regulator-max-microamp =3D <4600000>; > - regulator-boot-on; > - }; > diff --git a/Documentation/devicetree/bindings/regulator/dlg,da9210.yaml = b/Documentation/devicetree/bindings/regulator/dlg,da9210.yaml > new file mode 100644 > index 0000000000000000..81f23de36de4c2f1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/dlg,da9210.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/regulator/dlg,da9210.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Dialog Semiconductor DA9210 Multi-Phase 12A DC-DC Buck Converter > + > +maintainers: > + - Support Opensource This should really be a person... Does your work with Renesas cover you for dialog stuff too? Otherwise, Reviewed-by: Conor Dooley Thanks, Conor. > + > +allOf: > + - $ref: regulator.yaml# > + > +properties: > + compatible: > + const: dlg,da9210 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + regulator@68 { > + compatible =3D "dlg,da9210"; > + reg =3D <0x68>; > + > + interrupt-parent =3D <&irqc0>; > + interrupts =3D <2 IRQ_TYPE_LEVEL_LOW>; > + > + regulator-min-microvolt =3D <300000>; > + regulator-max-microvolt =3D <1570000>; > + regulator-min-microamp =3D <1600000>; > + regulator-max-microamp =3D <4600000>; > + regulator-boot-on; > + }; > + }; > --=20 > 2.34.1 >=20 --PLCivFZlEfnhRSba Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTac5QAKCRB4tDGHoIJi 0mggAP99OF8hN1NxoKZp2FHHDD2UzC+aGJa4R1g920IEToyvXQD8CrAebkC5Hgfz xN6hapjJqayUgWcpFDOnuM1h9RhDBgA= =yxpp -----END PGP SIGNATURE----- --PLCivFZlEfnhRSba--