From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 53ADFC433EF for ; Thu, 16 Jun 2022 17:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DDb1lQa5FxtqFfTYQZwbim2XECsUMm9BjtPwZvF5xHs=; b=qwXbHvnaYJZF2W /Y1XsTecC3wioP0toe5kVlLU8sCQEn5ua/DwW91yVvvUSV9pgO0HCoqEEr8333KaMI8i3WncLL+oT Uuh4FcyXnKAEvstf9SktIMx7cQRg6cb/w34kMnZgAjEsGyhH64jNiS3CVSoaAe7nVVwTpIEHjnPPF c6FoXv44LM0DTn+zq6axavYyPaOj2tnca0nOSHiIB1manc3kXaU5cEz57BgYgDna0j6zMynV+ywyq xw8xPV1vrHsa3V1CXx2Ar/N/1uZT7vE4hkpd46HcUnCw+4StQkG5ALaSGGK7oewuuXdXSdeAtcFgb 6+DVSo88IpWUOKAhAe5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1tfT-003kjZ-Mb; Thu, 16 Jun 2022 17:52:31 +0000 Received: from mail-il1-f169.google.com ([209.85.166.169]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1tfQ-003kiU-UN for linux-arm-kernel@lists.infradead.org; Thu, 16 Jun 2022 17:52:30 +0000 Received: by mail-il1-f169.google.com with SMTP id h18so1428112ilj.7 for ; Thu, 16 Jun 2022 10:52:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sBvF2E09m1QcSC3OQvT6mnQfC15V6nMkozxCgxyedFA=; b=A7CXpUoQfMFZz/grow9IT9UPwbzfOeFDSPMngDlgyaNHNpLlElvRPwjZIdiIOZ9nCE H6J3mVnguLr2pWntgCzdXepYiKVluu3hcqBPBe7R1+hUiu8+Op0b0FZltXy3QTLFlKSJ I/l2RRXF9uQDyjZgjI73dtidSGki5c6gzPb3VrectDFtzKuFCbYi8qSrb9bgq5+6+FFS S1TgAmF5xmuM8mNhhKMwhh0u2SNyu/R2QSl0G8zVcOcgesAr6eb2SCgm/9BZ5c/Sks5z FL4qGPfbA4b/ER/+B7je4f8zMX2Ad4Btfh6huVNswVC+7gD28F4Vpj0oUdsVnifgRz34 hlNA== X-Gm-Message-State: AJIora/dYVk37+varr0r71UyUgc8eEJ8adCNbpKpsQTJGPNZgBP8m2yp h0nqgA85Fv3DLspIMDhtNQ== X-Google-Smtp-Source: AGRyM1sOLMfJXgeRbGQX+lZa94eN2BeFibMAozGWne9OQbCTVv/Yy2c184mFjW6lz0pdLJPoX6hIiA== X-Received: by 2002:a05:6e02:1aa8:b0:2d3:d69a:6d88 with SMTP id l8-20020a056e021aa800b002d3d69a6d88mr3569568ilv.243.1655401947642; Thu, 16 Jun 2022 10:52:27 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id o14-20020a056e0214ce00b002cc20b48163sm1277215ilk.3.2022.06.16.10.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 10:52:27 -0700 (PDT) Received: (nullmailer pid 3716762 invoked by uid 1000); Thu, 16 Jun 2022 17:52:25 -0000 Date: Thu, 16 Jun 2022 11:52:25 -0600 From: Rob Herring To: Jerome NEANNE Cc: lgirdwood@gmail.com, broonie@kernel.org, nm@ti.com, kristo@kernel.org, will@kernel.org, lee.jones@linaro.org, khilman@baylibre.com, narmstrong@baylibre.com, msp@baylibre.com, j-keerthy@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 1/5] regulator: dt-bindings: Add TI TPS65219 PMIC bindings Message-ID: <20220616175225.GA3712594-robh@kernel.org> References: <20220613090604.9975-1-jneanne@baylibre.com> <20220613090604.9975-2-jneanne@baylibre.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220613090604.9975-2-jneanne@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220616_105229_018229_0C5F91A7 X-CRM114-Status: GOOD ( 17.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 13, 2022 at 11:06:00AM +0200, Jerome NEANNE wrote: > Add TPS65219 PMIC bindings using json-schema. > > Describe required properties and regname-supply. > regname-supply is required when bypass mode is used for a regulator. > Describes regulator topology. > > Signed-off-by: Jerome NEANNE > --- > .../bindings/regulator/ti,tps65219.yaml | 146 ++++++++++++++++++ > 1 file changed, 146 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps65219.yaml > > diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml > new file mode 100644 > index 000000000000..a4717ff4e95b > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml > @@ -0,0 +1,146 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/regulator/ti,tps65219.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TI tps65219 Power Management Integrated Circuit regulators > + > +maintainers: > + - Jerome Neanne > + > +description: | > + Regulator nodes should be named to buck and ldo. > + > +properties: > + compatible: > + enum: > + - ti,tps65219 > + > + reg: > + maxItems: 1 > + > +patternProperties: > + "^buck[1-3]-supply$": > + description: Input supply phandle of one regulator. > + > + "^ldo[1-4]-supply$": > + description: Input supply phandle of one regulator. > + > + regulators: > + type: object > + description: | > + list of regulators provided by this controller > + > + patternProperties: > + "^ldo[1-4]$": > + type: object > + $ref: regulator.yaml# > + description: > + Properties for single LDO regulator. > + > + properties: > + regulator-name: > + pattern: "^VDD[A-Z0-9_]+$" > + description: > + should be "VDDNAME_LDO1", ..., "VDDNAMELDO4" > + > + unevaluatedProperties: false For the indented cases of this it's more readable when 'properties' gets long to put these next to 'type' or '$ref'. Either way, Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel