Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1124414pxb; Wed, 15 Sep 2021 23:36:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyszxmj/4e7Tm5XC4Tgth9RK+cC14g9NWuH+bG2dr8GkV6V+VtVJM4t7n9tGNk6buAFmxy7 X-Received: by 2002:a05:6e02:eb0:: with SMTP id u16mr2903341ilj.178.1631774185053; Wed, 15 Sep 2021 23:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631774185; cv=none; d=google.com; s=arc-20160816; b=NFhKd6Yd/rDA3jtOrDg+yPPEGTY40gJQa5HhRX1M8H+hs77wMalCyhPa3HCHoSS1U3 BqFi/RWGEMb3C4zt4qMh3ANC0qz1d+l22Vp1gq1jjsg9++4ZAZBVOpBmWiqYe7cGWjNi rNJoZ75Gu/pZAqF1FqVIBlElRBbufs/Q/mm9EcummqsaeDCuU6vwVeWLfQpWMJxy4YIQ b8f8CHzmCrvtUnM4YGlVMA9lvDh3chAYJOC4KAE0O1YSGjP0BQxV1ClRPoeTQdks8sVn OzXxX+/m/fXjp6V00h1qdWMquErm2xEswYXVS3yysopW1Eo2596Ghu0wucf4rj69jSkj jsxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=5ufQKAz6TkeaaXRuN+J6DP1tCLLuwEwO4m7kYP4z4hg=; b=l8hnZ3ludmBuzJlzyN8wNrOkDqsMC2x1Swr8kSwfm2jK46CXJIRjoUxfN5RkFq3MEa ufzQ8LrEN+LYid1UKYZhIwNz5gwzwbbikAI8V24mnRucjINatk9Dsah1FquTd8q16rTf XSMt8vIocu71+h5LzYuymWm8O6gveXbFlb5lsVYiQlzfkIX3LCHGloq6db8biWoSSLxw ARUeBJnl1lMXL2DWPN2JpsvkAAFdLldy3cLj6ImcwZFUzbRAbIJR9NeLBH4hjiC5eFBq Q+DPsTh50BwzW5DhBB2Rt43waqWh5D5WmcNUvCRHCD24jkrZW0vmmEoobIHo9YpGqm9k /4bQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si2403678ilu.84.2021.09.15.23.36.13; Wed, 15 Sep 2021 23:36:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234516AbhIPGgx (ORCPT + 99 others); Thu, 16 Sep 2021 02:36:53 -0400 Received: from mail-ua1-f41.google.com ([209.85.222.41]:43961 "EHLO mail-ua1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234452AbhIPGgx (ORCPT ); Thu, 16 Sep 2021 02:36:53 -0400 Received: by mail-ua1-f41.google.com with SMTP id 88so2296646uae.10; Wed, 15 Sep 2021 23:35:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5ufQKAz6TkeaaXRuN+J6DP1tCLLuwEwO4m7kYP4z4hg=; b=qZo580KVjR9qphIbe3LMhxss/PkRY+NMy9yBphXST3qObZLBHP677SvYuWgC7A1v1g zsyC37rb935IwBJejLH5fxs3NNNP9gH11FXrBopFBCpInx+Owlbr2EjSFy0bp7SVI2DM 79aDAnp01pYqEgelA4Hh5xGL8clrQNRe28N1qGwvptKCObhbYCJylHSdaV97svwcAhgD 5isBvmcubnwpzRUt07NoevBIH0IAt9gJjMXx0N+W0iX2hbai+Kw7HB2Zebz37zfwpA1/ R2Ux8x3HHKsRfFCdkw9VKjeCO6pUyMp5eK5nSWLewPztahK/vUHuniMURrs4BXXd/IFp jRQg== X-Gm-Message-State: AOAM530J6uLXe8hfUMNrQAIzb0bMvi+FqrKZvtr58PChsbpgQcRgBbXr SrvYxwvszl24qGnqx3epnc7py94KoclFvGwq5AXgaonR X-Received: by 2002:ab0:6dc7:: with SMTP id r7mr2973997uaf.14.1631774131988; Wed, 15 Sep 2021 23:35:31 -0700 (PDT) MIME-Version: 1.0 References: <29de13c075b839ed62cee189b6eb262e540c6553.1631707026.git.geert+renesas@glider.be> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 16 Sep 2021 08:35:20 +0200 Message-ID: Subject: Re: [PATCH v2] dt-bindings: mfd: bd9571mwv: Convert to json-schema To: "Vaittinen, Matti" Cc: Rob Herring , Marek Vasut , Lee Jones , Liam Girdwood , Mark Brown , "devicetree@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Matti, On Thu, Sep 16, 2021 at 8:31 AM Vaittinen, Matti wrote: > On 9/15/21 15:14, Geert Uytterhoeven wrote: > > Convert the ROHM BD9571MWV/BD9574MWF Power Management Integrated Circuit > > (PMIC) Device Tree binding documentation to json-schema. > > > > Make the "regulators" subnode optional, as not all users describe the > > regulators. > > > > Signed-off-by: Geert Uytterhoeven > > Reviewed-by: Rob Herring > > --- > > I have listed Marek as the maintainer, as he wrote the original > > bindings. Marek: Please scream if this is inappropriate ;-) > > > > v2: > > - Add Reviewed-by. > > --- > > .../devicetree/bindings/mfd/bd9571mwv.txt | 69 ---------- > > .../bindings/mfd/rohm,bd9571mwv.yaml | 127 ++++++++++++++++++ > > 2 files changed, 127 insertions(+), 69 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/mfd/bd9571mwv.txt > > create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd9571mwv.yaml > > + regulators { > > + dvfs: dvfs { > > + regulator-name = "dvfs"; > > + regulator-min-microvolt = <750000>; > > + regulator-max-microvolt = <1030000>; > > + regulator-boot-on; > > + regulator-always-on; > Out of the curiosity (and in order to learn) - what is the exact idea of > the 'regulator-boot-on' and when it should be used? I _think_ the > 'regulator-boot-on' is in many cases used to make the regulator > framework to enable the regulator at start-up. What I _think_ the > 'regulator-boot-on' is intended for is to advertise the regulator > boot-up state for regulators which do not provide a way to get the > state. I am unsure if there is any property which is intended to be used > for enabling the regulator at start-up. DISCLAIMER: Source of these > thoughts is unknown. I may be wrong here. If someone knows this for sure > I'd be grateful for any education :) If I am not mistaken the dvfs > regulator does provide a way of reading the enable state after boot. > > Finally, I have seen this quite many times before but I am unsure I > understand it - why setting both the 'regulator-boot-on' and > 'regulator-always-on'? Wouldn't the 'regulator-always-on' suffice? > > + }; > > + }; > > + }; > > + }; > > > > Anyways - as I mentioned, I am not 100% sure of pretty much anything :) > Hence my questions are just questions - and the binding looks good to me. I have to defer to the regulator experts to answer those questions... > FWIW: > acked-by: Matti Vaittinen s/a/A/ Thank you! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds