Message ID | 1465134666-13459-1-git-send-email-stefan.wahren@i2se.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Jun 5, 2016 at 10:51 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote: > This patch adds the missing reg properties for the regulator nodes > in order to fix the dtc warnings. > > Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> > --- > arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > index 8859474..581e85f 100644 > --- a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > +++ b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > @@ -84,6 +84,7 @@ > > reg_3p3v: regulator@0 { > compatible = "regulator-fixed"; > + reg = <0>; The proper fix here would be to remove "@0" instead.
Hi Fabio, > Fabio Estevam <festevam@gmail.com> hat am 5. Juni 2016 um 16:00 geschrieben: > > > On Sun, Jun 5, 2016 at 10:51 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote: > > This patch adds the missing reg properties for the regulator nodes > > in order to fix the dtc warnings. > > > > Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> > > --- > > arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > > b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > > index 8859474..581e85f 100644 > > --- a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > > +++ b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi > > @@ -84,6 +84,7 @@ > > > > reg_3p3v: regulator@0 { > > compatible = "regulator-fixed"; > > + reg = <0>; > > The proper fix here would be to remove "@0" instead. in this case many other mxs boards are wrong.
diff --git a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi index 8859474..581e85f 100644 --- a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi +++ b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi @@ -84,6 +84,7 @@ reg_3p3v: regulator@0 { compatible = "regulator-fixed"; + reg = <0>; regulator-name = "3P3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -92,6 +93,7 @@ reg_lcd_3v3: regulator@1 { compatible = "regulator-fixed"; + reg = <1>; pinctrl-names = "default"; pinctrl-0 = <®_lcd_3v3_pins_mbmx28lc>; regulator-name = "lcd-3v3"; @@ -103,6 +105,7 @@ reg_usb0_vbus: regulator@2 { compatible = "regulator-fixed"; + reg = <2>; pinctrl-names = "default"; pinctrl-0 = <®_usb0_vbus_pins_mbmx28lc>; regulator-name = "usb0_vbus"; @@ -114,6 +117,7 @@ reg_usb1_vbus: regulator@3 { compatible = "regulator-fixed"; + reg = <3>; pinctrl-names = "default"; pinctrl-0 = <®_usb1_vbus_pins_mbmx28lc>; regulator-name = "usb1_vbus";
This patch adds the missing reg properties for the regulator nodes in order to fix the dtc warnings. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> --- arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi | 4 ++++ 1 file changed, 4 insertions(+)