From: lisovy@gmail.com (Rostislav Lisovy)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module
Date: Thu, 24 Oct 2013 21:12:06 +0200 [thread overview]
Message-ID: <1382641926.16515.2.camel@lolumad> (raw)
In-Reply-To: <20131023072738.GI2839@S2101-09.ap.freescale.net>
Dear Shawn;
Thank you for your comments.
Should I also add Voipac to
Documentation/devicetree/bindings/vendor-prefixes.txt?
Best regards;
Rostislav Lisovy
On Wed, 2013-10-23 at 15:27 +0800, Shawn Guo wrote:
> On Tue, Oct 22, 2013 at 07:07:22PM +0200, Rostislav Lisovy wrote:
> > Enable UART1 and FEC
>
> You have more than these two enabled.
>
> >
> > Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
> >
> > create mode 100644 arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
> >
> > diff --git a/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
> > new file mode 100644
> > index 0000000..04695c9
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
> > @@ -0,0 +1,195 @@
> > +/*
> > + * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o.
> > + *
> > + * The code contained herein is licensed under the GNU General Public
> > + * License. You may obtain a copy of the GNU General Public License
> > + * Version 2 or later at the following locations:
> > + *
> > + * http://www.opensource.org/licenses/gpl-license.html
> > + * http://www.gnu.org/copyleft/gpl.html
> > + */
> > +
> > +#include "imx53.dtsi"
> > +
> > +/ {
> > + model = "Voipac i.MX53 X53-DMM-668";
> > + compatible = "vp,imx53-dmm-668", "fsl,imx53";
> > +
> > + memory at 0 {
> > + device_type = "memory";
> > + reg = <0x70000000 0x20000000>;
> > + };
> > +
> > + memory at 1 {
> > + device_type = "memory";
> > + reg = <0xb0000000 0x20000000>;
> > + };
>
> The 'num' in memory at num should match the first number in 'reg' property,
> so they should looks like:
>
> memory at 70000000 {
> device_type = "memory";
> reg = <0x70000000 0x20000000>;
> }
>
> memory at b0000000 {
> device_type = "memory";
> reg = <0xb0000000 0x20000000>;
> }
>
> > +
> > + regulators {
> > + compatible = "simple-bus";
> > +
> > + reg_3p3v: 3p3v {
> > + compatible = "regulator-fixed";
> > + regulator-name = "3P3V";
> > + regulator-min-microvolt = <3300000>;
> > + regulator-max-microvolt = <3300000>;
> > + regulator-always-on;
> > + };
> > + };
> > +};
> > +
> > +&iomuxc {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_hog>;
> > +
> > + hog {
> > + pinctrl_hog: hoggrp {
> > + fsl,pins = <
> > + /* Make DA9053 regulator functional */
> > + MX53_PAD_GPIO_16__GPIO7_11 0x80000000
> > +
>
> Drop these blank lines. We generally only have blank lines between
> nodes.
>
> > + /* FEC Power enable */
> > + MX53_PAD_GPIO_11__GPIO4_1 0x80000000
> > +
> > + /* FEC RST */
> > + MX53_PAD_GPIO_12__GPIO4_2 0x80000000
> > + >;
> > + };
> > + };
> > +};
> > +
> > +&uart1 {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_uart1_2>;
> > + status = "okay";
> > +};
> > +
> > +&i2c1 {
>
> Please sort these nodes alphabetically in label name, so that new node
> can find they slots easily.
>
> Shawn
>
WARNING: multiple messages have this Message-ID (diff)
From: Rostislav Lisovy <lisovy@gmail.com>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Sascha Hauer <kernel@pengutronix.de>,
pisa@cmp.felk.cvut.cz
Subject: Re: [PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module
Date: Thu, 24 Oct 2013 21:12:06 +0200 [thread overview]
Message-ID: <1382641926.16515.2.camel@lolumad> (raw)
In-Reply-To: <20131023072738.GI2839@S2101-09.ap.freescale.net>
Dear Shawn;
Thank you for your comments.
Should I also add Voipac to
Documentation/devicetree/bindings/vendor-prefixes.txt?
Best regards;
Rostislav Lisovy
On Wed, 2013-10-23 at 15:27 +0800, Shawn Guo wrote:
> On Tue, Oct 22, 2013 at 07:07:22PM +0200, Rostislav Lisovy wrote:
> > Enable UART1 and FEC
>
> You have more than these two enabled.
>
> >
> > Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
> >
> > create mode 100644 arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
> >
> > diff --git a/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
> > new file mode 100644
> > index 0000000..04695c9
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
> > @@ -0,0 +1,195 @@
> > +/*
> > + * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o.
> > + *
> > + * The code contained herein is licensed under the GNU General Public
> > + * License. You may obtain a copy of the GNU General Public License
> > + * Version 2 or later at the following locations:
> > + *
> > + * http://www.opensource.org/licenses/gpl-license.html
> > + * http://www.gnu.org/copyleft/gpl.html
> > + */
> > +
> > +#include "imx53.dtsi"
> > +
> > +/ {
> > + model = "Voipac i.MX53 X53-DMM-668";
> > + compatible = "vp,imx53-dmm-668", "fsl,imx53";
> > +
> > + memory@0 {
> > + device_type = "memory";
> > + reg = <0x70000000 0x20000000>;
> > + };
> > +
> > + memory@1 {
> > + device_type = "memory";
> > + reg = <0xb0000000 0x20000000>;
> > + };
>
> The 'num' in memory@num should match the first number in 'reg' property,
> so they should looks like:
>
> memory@70000000 {
> device_type = "memory";
> reg = <0x70000000 0x20000000>;
> }
>
> memory@b0000000 {
> device_type = "memory";
> reg = <0xb0000000 0x20000000>;
> }
>
> > +
> > + regulators {
> > + compatible = "simple-bus";
> > +
> > + reg_3p3v: 3p3v {
> > + compatible = "regulator-fixed";
> > + regulator-name = "3P3V";
> > + regulator-min-microvolt = <3300000>;
> > + regulator-max-microvolt = <3300000>;
> > + regulator-always-on;
> > + };
> > + };
> > +};
> > +
> > +&iomuxc {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_hog>;
> > +
> > + hog {
> > + pinctrl_hog: hoggrp {
> > + fsl,pins = <
> > + /* Make DA9053 regulator functional */
> > + MX53_PAD_GPIO_16__GPIO7_11 0x80000000
> > +
>
> Drop these blank lines. We generally only have blank lines between
> nodes.
>
> > + /* FEC Power enable */
> > + MX53_PAD_GPIO_11__GPIO4_1 0x80000000
> > +
> > + /* FEC RST */
> > + MX53_PAD_GPIO_12__GPIO4_2 0x80000000
> > + >;
> > + };
> > + };
> > +};
> > +
> > +&uart1 {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_uart1_2>;
> > + status = "okay";
> > +};
> > +
> > +&i2c1 {
>
> Please sort these nodes alphabetically in label name, so that new node
> can find they slots easily.
>
> Shawn
>
next prev parent reply other threads:[~2013-10-24 19:12 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 17:07 [PATCH 0/4] Devicetree description for Voipac i.MX53 module Rostislav Lisovy
2013-10-22 17:07 ` Rostislav Lisovy
2013-10-22 17:07 ` Rostislav Lisovy
2013-10-22 17:07 ` [PATCH 1/4] ARM: dts: i.MX53: Add alternate pinmux option for i2c_3 Rostislav Lisovy
2013-10-22 17:07 ` Rostislav Lisovy
2013-10-23 7:39 ` Shawn Guo
2013-10-23 7:39 ` Shawn Guo
2013-10-23 7:39 ` Shawn Guo
2013-10-22 17:07 ` [PATCH 2/4] ARM: dts: i.MX53: Internal keyboard controller Rostislav Lisovy
2013-10-22 17:07 ` Rostislav Lisovy
2013-10-22 17:07 ` [PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module Rostislav Lisovy
2013-10-22 17:07 ` Rostislav Lisovy
2013-10-23 7:27 ` Shawn Guo
2013-10-23 7:27 ` Shawn Guo
2013-10-23 7:27 ` Shawn Guo
2013-10-24 19:12 ` Rostislav Lisovy [this message]
2013-10-24 19:12 ` Rostislav Lisovy
2013-10-24 19:49 ` Matt Sealey
2013-10-24 19:49 ` Matt Sealey
2013-10-24 19:49 ` Matt Sealey
2013-10-24 19:58 ` Rostislav Lisovy
2013-10-24 19:58 ` Rostislav Lisovy
2013-10-24 19:58 ` Rostislav Lisovy
2013-10-25 1:27 ` Shawn Guo
2013-10-25 1:27 ` Shawn Guo
2013-10-25 1:27 ` Shawn Guo
2013-10-22 17:07 ` [PATCH 4/4] ARM: dts: i.MX53: Devicetree for Voipac Baseboard using " Rostislav Lisovy
2013-10-22 17:07 ` Rostislav Lisovy
2013-10-23 7:33 ` Shawn Guo
2013-10-23 7:33 ` Shawn Guo
2013-10-23 7:33 ` Shawn Guo
-- strict thread matches above, loose matches on Subject: below --
2013-10-15 22:03 [PATCH 0/4] Devicetree support for Voipac i.MX53 module Rostislav Lisovy
[not found] ` <1381874609-14464-1-git-send-email-lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-15 22:03 ` [PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module Rostislav Lisovy
[not found] ` <1381874609-14464-4-git-send-email-lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-01 22:58 ` Mark Rutland
2013-11-03 15:38 ` Rostislav Lisovy
2013-11-03 15:49 ` Tomasz Figa
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=1382641926.16515.2.camel@lolumad \
--to=lisovy@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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.