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 X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08071ECE58D for ; Thu, 17 Oct 2019 18:35:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D062821925 for ; Thu, 17 Oct 2019 18:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571337351; bh=6l3fi7Q82QLESy+YjYbTO8gfD17TXcmgRvWle/Mcw38=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=eCWiZfWq4LOsxedCoZkLlAnuT/nndhfboyVcTpS89lEPL17UISti/e15xiXTqAYKo A5cOdzpmLsRjTDFFlr7OEKpyU1jRuu1IRGH/y8CQcMiKIYEZ+fKliH92+e4gPJF2yE PiFMiMqbKu0wnZaK8iuCb3u677n3GPdglmrr0lvo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438883AbfJQSfr (ORCPT ); Thu, 17 Oct 2019 14:35:47 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34632 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438870AbfJQSfq (ORCPT ); Thu, 17 Oct 2019 14:35:46 -0400 Received: by mail-ot1-f68.google.com with SMTP id m19so2801629otp.1; Thu, 17 Oct 2019 11:35:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rLXeE5tDWR528aYmAdtQR/tQKMyidpkE7QGnDFQ38Io=; b=IcFJY0gnT0UBrPh6/Cy32lwDFrIAMwNa2l/ci9KluKFFRFA6SWoGKaKhUDcoVsX9Ou Ai/ss2cbSHiuri++vruETpVOrxtXd34lBUyk/bhjf7M8dVceYrLlzviSRe7wal9h47mT oMAjhr0S0kZIcABStm9kT9QElbGVIe9rip74s6nfNRxq095rQK0FB7t2b4su1jyUvltJ NBkCO2jCqUHXmvi+/Y+suodU74/3txTHzObDKByvOuZzQ3TJJEzUjnhedqD2fIkbo/q6 3ogRz3EouCAELh+ViJOTbvjdetnTIp3exaizxpAU1fSUp5Lnb8ZtXvV6Pbpo6PilLezO NSTg== X-Gm-Message-State: APjAAAUiKQgCWMhuQp2Aumq5JkLmHLapAeAhxJ8I3vJgPsfPVrlfHf3J 1GjYuH0nqGQR13b4Tc+f+g== X-Google-Smtp-Source: APXvYqx1QhuF+1Hdzlmm+RA+5TKr7r6oHJCWnwtex4XEqDWWEc7Ao9vjGEquEZQuo0+tlgF0u4VyvA== X-Received: by 2002:a9d:6a0c:: with SMTP id g12mr4020150otn.141.1571337345362; Thu, 17 Oct 2019 11:35:45 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id q14sm790999otc.50.2019.10.17.11.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 11:35:44 -0700 (PDT) Date: Thu, 17 Oct 2019 13:35:43 -0500 From: Rob Herring To: Bartosz Golaszewski Cc: Mark Rutland , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Dan Murphy , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v3 3/6] dt-bindings: regulator: max77650: convert the binding document to yaml Message-ID: <20191017183543.GA28403@bogus> References: <20191017071234.8719-1-brgl@bgdev.pl> <20191017071234.8719-4-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191017071234.8719-4-brgl@bgdev.pl> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Thu, Oct 17, 2019 at 09:12:31AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Convert the binding document for MAX77650 regulator module to YAML. > > Signed-off-by: Bartosz Golaszewski > --- > .../bindings/regulator/max77650-regulator.txt | 41 ------------------- > .../regulator/max77650-regulator.yaml | 31 ++++++++++++++ > 2 files changed, 31 insertions(+), 41 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/regulator/max77650-regulator.txt > create mode 100644 Documentation/devicetree/bindings/regulator/max77650-regulator.yaml > > diff --git a/Documentation/devicetree/bindings/regulator/max77650-regulator.txt b/Documentation/devicetree/bindings/regulator/max77650-regulator.txt > deleted file mode 100644 > index f1cbe813c30f..000000000000 > --- a/Documentation/devicetree/bindings/regulator/max77650-regulator.txt > +++ /dev/null > @@ -1,41 +0,0 @@ > -Regulator driver for MAX77650 PMIC from Maxim Integrated. > - > -This module is part of the MAX77650 MFD device. For more details > -see Documentation/devicetree/bindings/mfd/max77650.txt. > - > -The regulator controller is represented as a sub-node of the PMIC node > -on the device tree. > - > -The device has a single LDO regulator and a SIMO buck-boost regulator with > -three independent power rails. > - > -Required properties: > --------------------- > -- compatible: Must be "maxim,max77650-regulator" > - > -Each rail must be instantiated under the regulators subnode of the top PMIC > -node. Up to four regulators can be defined. For standard regulator properties > -refer to Documentation/devicetree/bindings/regulator/regulator.txt. > - > -Available regulator compatible strings are: "ldo", "sbb0", "sbb1", "sbb2". > - > -Example: > --------- > - > - regulators { > - compatible = "maxim,max77650-regulator"; > - > - max77650_ldo: regulator@0 { > - regulator-compatible = "ldo"; > - regulator-name = "max77650-ldo"; > - regulator-min-microvolt = <1350000>; > - regulator-max-microvolt = <2937500>; > - }; > - > - max77650_sbb0: regulator@1 { > - regulator-compatible = "sbb0"; > - regulator-name = "max77650-sbb0"; > - regulator-min-microvolt = <800000>; > - regulator-max-microvolt = <1587500>; > - }; > - }; > diff --git a/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml b/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml > new file mode 100644 > index 000000000000..a8770742836d > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml > @@ -0,0 +1,31 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/regulator/max77650-regulator.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Regulator driver for MAX77650 PMIC from Maxim Integrated. > + > +maintainers: > + - Bartosz Golaszewski > + > +description: | > + This module is part of the MAX77650 MFD device. For more details > + see Documentation/devicetree/bindings/mfd/max77650.txt. .yaml? > + > + The regulator controller is represented as a sub-node of the PMIC node > + on the device tree. > + > + The device has a single LDO regulator and a SIMO buck-boost regulator with > + three independent power rails. > + > +properties: > + compatible: > + const: maxim,max77650-regulator > + > +patternProperties: > + "^regulator@[0-3]$": > + $ref: "regulator.yaml#" > + > +required: > + - compatible > -- > 2.23.0 >