Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1296753
| From | Shawn Guo <shawnguo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] ARM: dts: ts-4800: Add LCD support |
| Date | 2015-12-22 13:30 +0100 |
| Message-ID | <qIueK-3Tt-9@gated-at.bofh.it> (permalink) |
| References | <qH6Hv-8tp-3@gated-at.bofh.it> <qI8QW-74r-3@gated-at.bofh.it> <qIdGW-1Gc-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Dec 21, 2015 at 01:40:59PM -0500, Damien Riegel wrote:
> > > @@ -30,6 +30,60 @@
> > > clock-frequency = <24576000>;
> > > };
> > > };
> > > +
> > > + regulators {
> > > + compatible = "simple-bus";
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > +
> > > + backlight_reg: regulator@0 {
> > > + compatible = "regulator-fixed";
> > > + reg = <0>;
> > > + pinctrl-names = "default";
> > > + pinctrl-0 = <&pinctrl_enable_lcd>;
> > > + regulator-name = "enable_lcd_reg";
> > > + regulator-min-microvolt = <3300000>;
> > > + regulator-max-microvolt = <3300000>;
> > > + gpio = <&gpio4 9 GPIO_ACTIVE_HIGH>;
> > > + enable-active-high;
> > > + };
> > > + };
> >
> > DT maintainers dislike this fake simple-bus container. Let's put the
> > regulator directly under root like below.
> >
> > backlight_reg: regulator-backlight {
> > compatible = "regulator-fixed";
> > pinctrl-names = "default";
> > pinctrl-0 = <&pinctrl_enable_lcd>;
> > regulator-name = "enable_lcd_reg";
> > regulator-min-microvolt = <3300000>;
> > regulator-max-microvolt = <3300000>;
> > gpio = <&gpio4 9 GPIO_ACTIVE_HIGH>;
> > enable-active-high;
> > };
> >
> > I fixed it up and applied both patches.
>
> Thank you. I am using the imx51-*.dts as examples, maybe they should be
> updated to be consistent with the newer device tree style? I'm willing
> to do that but I don't want to make changes on dts files that I can't
> test.
Leave them there for now.
>
> Sidenote: your Signed-off-by is missing on these two patches.
Oops. Thanks. Fixed now.
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] ARM: dts: ts-4800: Add LCD support Damien Riegel <damien.riegel@savoirfairelinux.com> - 2015-12-18 18:10 +0100
Re: [PATCH 1/2] ARM: dts: ts-4800: Add LCD support Shawn Guo <shawnguo@kernel.org> - 2015-12-21 14:40 +0100
Re: [PATCH 1/2] ARM: dts: ts-4800: Add LCD support Damien Riegel <damien.riegel@savoirfairelinux.com> - 2015-12-21 19:50 +0100
Re: [PATCH 1/2] ARM: dts: ts-4800: Add LCD support Shawn Guo <shawnguo@kernel.org> - 2015-12-22 13:30 +0100
csiph-web