All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChiYuan Huang <u0084500@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: Lee Jones <lee.jones@linaro.org>, cy_huang <cy_huang@richtek.com>,
	lkml <linux-kernel@vger.kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 
	<devicetree@vger.kernel.org>
Subject: Re: [PATCH v3 3/4] regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator
Date: Fri, 11 Dec 2020 18:42:20 +0800	[thread overview]
Message-ID: <CADiBU3_Z7jPxGPxYpdq=fJyS1kwxx32F8FjjSw5L3_LK0VG28g@mail.gmail.com> (raw)
In-Reply-To: <20201210151742.GB2518014@robh.at.kernel.org>

Rob Herring <robh@kernel.org> 於 2020年12月10日 週四 下午11:17寫道:
>
> On Tue, Dec 08, 2020 at 11:54:45PM +0800, cy_huang wrote:
> > From: ChiYuan Huang <cy_huang@richtek.com>
> >
> > Adds DT binding document for Richtek RT4831 DSV regulator.
> >
> > Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
> > ---
> > since v3
> > - Add dual license tag in regulator binding document.
> > - Left regulator dt-binding example only.
> > ---
> >  .../regulator/richtek,rt4831-regulator.yaml        | 57 ++++++++++++++++++++++
> >  1 file changed, 57 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt4831-regulator.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/regulator/richtek,rt4831-regulator.yaml b/Documentation/devicetree/bindings/regulator/richtek,rt4831-regulator.yaml
> > new file mode 100644
> > index 00000000..c6741f2
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/regulator/richtek,rt4831-regulator.yaml
> > @@ -0,0 +1,57 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/regulator/richtek,rt4831-regulator.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Richtek RT4831 Display Bias Voltage Regulator
> > +
> > +maintainers:
> > +  - ChiYuan Huang <cy_huang@richtek.com>
> > +
> > +description: |
> > +  RT4831 is a multifunctional device that can provide power to the LCD display
> > +  and LCD backlight.
> > +
> > +  For Display Bias Voltage DSVP and DSVN, the output range is about 4V to 6.5V.
> > +  It is sufficient to meet the current LCD power requirement.
> > +
> > +  DSVLCM is a boost regulator in IC internal as DSVP and DSVN input power.
> > +  Its voltage should be configured above 0.15V to 0.2V gap larger than the
> > +  voltage needed for DSVP and DSVN. Too much voltage gap could improve the
> > +  voltage drop from the heavy loading scenario. But it also make the power
> > +  efficiency worse. It's a trade-off.
> > +
> > +  Datasheet is available at
> > +  https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
> > +
> > +patternProperties:
> > +  "^DSV(LCM|P|N)$":
> > +    type: object
> > +    $ref: regulator.yaml#
> > +    description:
> > +      Properties for single Display Bias Voltage regulator.
>
> Just put this into the MFD schema directly if you don't have any custom
> properties to add.
>
OK, I'll directly remove rt4831 regulator dt-binding and put the
descriptions into mfd binding.
Ack in next series of patch.
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    regulators {
> > +      DSVLCM {
> > +        regulator-min-microvolt = <4000000>;
> > +        regulator-max-microvolt = <7150000>;
> > +        regulator-allow-bypass;
> > +      };
> > +      DSVP {
> > +        regulator-name = "rt4831-dsvp";
> > +        regulator-min-microvolt = <4000000>;
> > +        regulator-max-microvolt = <6500000>;
> > +        regulator-boot-on;
> > +      };
> > +      DSVN {
> > +        regulator-name = "rt4831-dsvn";
> > +        regulator-min-microvolt = <4000000>;
> > +        regulator-max-microvolt = <6500000>;
> > +        regulator-boot-on;
> > +      };
> > +    };
> > --
> > 2.7.4
> >

  reply	other threads:[~2020-12-11 10:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 15:54 [PATCH v3 1/4] mfd: rt4831: Adds support for Richtek RT4831 MFD core cy_huang
2020-12-08 15:54 ` [PATCH v3 2/4] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight cy_huang
2020-12-10 15:14   ` Rob Herring
2020-12-10 15:16   ` Rob Herring
2020-12-08 15:54 ` [PATCH v3 3/4] regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator cy_huang
2020-12-10 15:17   ` Rob Herring
2020-12-11 10:42     ` ChiYuan Huang [this message]
2020-12-08 15:54 ` [PATCH v3 4/4] mfd: rt4831: Adds DT binding document for Richtek RT4831 MFD core cy_huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADiBU3_Z7jPxGPxYpdq=fJyS1kwxx32F8FjjSw5L3_LK0VG28g@mail.gmail.com' \
    --to=u0084500@gmail.com \
    --cc=cy_huang@richtek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.