From: Mark Rutland <mark.rutland@arm.com> To: Laxman Dewangan <ldewangan@nvidia.com> Cc: "broonie@kernel.org" <broonie@kernel.org>, "lgirdwood@gmail.com" <lgirdwood@gmail.com>, "robh+dt@kernel.org" <robh+dt@kernel.org>, Pawel Moll <Pawel.Moll@arm.com>, "ijc+devicetree@hellion.org.uk" <ijc+devicetree@hellion.org.uk>, "galak@codeaurora.org" <galak@codeaurora.org>, "grant.likely@linaro.org" <grant.likely@linaro.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 1/2] regulator: userspace-consumer: add DT binding details Date: Wed, 30 Jul 2014 16:53:03 +0100 [thread overview] Message-ID: <20140730155302.GE20162@leverpostej> (raw) In-Reply-To: <1406728440-17837-2-git-send-email-ldewangan@nvidia.com> On Wed, Jul 30, 2014 at 02:54:00PM +0100, Laxman Dewangan wrote: > Add DT binding document and details DT binding for the driver > regulator/userspace-consumer. > > Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> > --- > .../bindings/regulator/userspace-consumer.txt | 26 ++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/userspace-consumer.txt > > diff --git a/Documentation/devicetree/bindings/regulator/userspace-consumer.txt b/Documentation/devicetree/bindings/regulator/userspace-consumer.txt > new file mode 100644 > index 0000000..73c651c > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/userspace-consumer.txt > @@ -0,0 +1,26 @@ > +Userspace consumer regulators > + > +Required properties: > +- compatible : Must be "reg-userspace-consumer". I would never expect to see "userspace" in a DT beinding string; this is entirely a software abstraction description and has nothing to do with the interaction of HW components. Why do you think we need this in the DT? Thanks, Mark. > +- regulator-supplies: Supply names for this regulator. This can be > + multiple strings. > + > +Optional properties: > +- regulator-name: Name of the consumer line. > +- regulator-boot-on: Enable regulator on booting. > + > +With all supply names, there should be <supply-name>-supply to pass regulators > +handle as defined in regulator.txt. > + > +Example: > + > + userspace-consumer { > + compatible = "reg-userspace-consumer"; > + > + regulator-name = "gps-consumer"; > + regulator-boot-on; > + regulator-supplies = "vdd", "vcc", "vdd-3v3"; > + vdd-supply = <®1>; > + vcc-supply = <®2>; > + vdd-3v3-supply = <®3>; > + }; > -- > 1.8.1.5 > >
WARNING: multiple messages have this Message-ID (diff)
From: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org> To: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Cc: "broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, "lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, "robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Pawel Moll <Pawel.Moll-5wv7dgnIgG8@public.gmane.org>, "ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org" <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>, "galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org" <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>, "grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" <grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>, "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>, "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Subject: Re: [PATCH 1/2] regulator: userspace-consumer: add DT binding details Date: Wed, 30 Jul 2014 16:53:03 +0100 [thread overview] Message-ID: <20140730155302.GE20162@leverpostej> (raw) In-Reply-To: <1406728440-17837-2-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> On Wed, Jul 30, 2014 at 02:54:00PM +0100, Laxman Dewangan wrote: > Add DT binding document and details DT binding for the driver > regulator/userspace-consumer. > > Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > --- > .../bindings/regulator/userspace-consumer.txt | 26 ++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/userspace-consumer.txt > > diff --git a/Documentation/devicetree/bindings/regulator/userspace-consumer.txt b/Documentation/devicetree/bindings/regulator/userspace-consumer.txt > new file mode 100644 > index 0000000..73c651c > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/userspace-consumer.txt > @@ -0,0 +1,26 @@ > +Userspace consumer regulators > + > +Required properties: > +- compatible : Must be "reg-userspace-consumer". I would never expect to see "userspace" in a DT beinding string; this is entirely a software abstraction description and has nothing to do with the interaction of HW components. Why do you think we need this in the DT? Thanks, Mark. > +- regulator-supplies: Supply names for this regulator. This can be > + multiple strings. > + > +Optional properties: > +- regulator-name: Name of the consumer line. > +- regulator-boot-on: Enable regulator on booting. > + > +With all supply names, there should be <supply-name>-supply to pass regulators > +handle as defined in regulator.txt. > + > +Example: > + > + userspace-consumer { > + compatible = "reg-userspace-consumer"; > + > + regulator-name = "gps-consumer"; > + regulator-boot-on; > + regulator-supplies = "vdd", "vcc", "vdd-3v3"; > + vdd-supply = <®1>; > + vcc-supply = <®2>; > + vdd-3v3-supply = <®3>; > + }; > -- > 1.8.1.5 > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-07-30 15:53 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-07-30 13:53 [PATCH 2/2] regulator: userspace-consumer: add DT support Laxman Dewangan 2014-07-30 13:53 ` Laxman Dewangan 2014-07-30 13:54 ` [PATCH 1/2] regulator: userspace-consumer: add DT binding details Laxman Dewangan 2014-07-30 13:54 ` Laxman Dewangan 2014-07-30 15:53 ` Mark Rutland [this message] 2014-07-30 15:53 ` Mark Rutland 2014-07-30 16:40 ` Mark Brown 2014-07-30 16:40 ` Mark Brown 2014-08-06 7:33 ` Laxman Dewangan 2014-08-06 10:59 ` Mark Brown
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=20140730155302.GE20162@leverpostej \ --to=mark.rutland@arm.com \ --cc=Pawel.Moll@arm.com \ --cc=broonie@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=galak@codeaurora.org \ --cc=grant.likely@linaro.org \ --cc=ijc+devicetree@hellion.org.uk \ --cc=ldewangan@nvidia.com \ --cc=lgirdwood@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@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: linkBe 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.