From: Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> To: arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Subject: Re: [PATCH 08/14] ARM: SPEAr: DT: Update device nodes Date: Mon, 26 Nov 2012 16:55:08 +0530 [thread overview] Message-ID: <CAKohpomH84SfHjZ78Rp9UoXgUZkTjFVoWPK_8N3dL5pxYhOWfA@mail.gmail.com> (raw) In-Reply-To: <b3925b105ee2c6fe828ef3b54928aeee02a801ae.1352608333.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> On 11 November 2012 10:09, Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote: > From: Shiraz Hashim <shiraz.hashim-qxv4g6HH51o@public.gmane.org> > > This patch adds multiple device nodes for SPEAr machines and boards. > > Signed-off-by: Bhavna Yadav <bhavna.yadav-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Deepak Sikri <deepak.sikri-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Shiraz Hashim <shiraz.hashim-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Vijay Kumar Mishra <vijay.kumar-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Vipin Kumar <vipin.kumar-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Vipul Kumar Samar <vipulkumar.samar-qxv4g6HH51o@public.gmane.org> > Signed-off-by: Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Arnd/Olof, As discussed (With Arnd) over IRC, i would be sending a PULL request for this patchset. There are few updates/fixes in the bindings for few nodes (as the drivers for them just got pushed by their maintainers after some updates) and here is a diff for that. I will merge this diff with current patch in my PULL request. From: Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Date: Mon, 26 Nov 2012 16:44:53 +0530 Subject: [PATCH] fixup! ARM: SPEAr: DT: Update device nodes --- arch/arm/boot/dts/spear1310-evb.dts | 14 ++++---------- arch/arm/boot/dts/spear1340-evb.dts | 25 ++++++++----------------- arch/arm/boot/dts/spear13xx.dtsi | 14 +++++++------- 3 files changed, 19 insertions(+), 34 deletions(-) diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts index cd4e2f8..b56a801 100644 --- a/arch/arm/boot/dts/spear1310-evb.dts +++ b/arch/arm/boot/dts/spear1310-evb.dts @@ -348,7 +348,6 @@ cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>; stmpe610@0 { - status = "okay"; compatible = "st,stmpe610"; reg = <0>; #address-cells = <1>; @@ -364,15 +363,12 @@ pl022,ctrl-len = <0x7>; pl022,wait-state = <0>; pl022,duplex = <0>; - id = <0>; - blocks = <4>; - irq_over_gpio; - irq-gpios = <&gpio1 6 0x4>; + interrupts = <6 0x4>; + interrupt-parent = <&gpio1>; irq-trigger = <0x2>; - stmpe610-ts { - compatible = "stmpe,ts"; - reg = <0>; + stmpe_touchscreen { + compatible = "st,stmpe-ts"; ts,sample-time = <4>; ts,mod-12b = <1>; ts,ref-sel = <0>; @@ -386,7 +382,6 @@ }; m25p80@1 { - status = "okay"; compatible = "st,m25p80"; reg = <1>; spi-max-frequency = <12000000>; @@ -404,7 +399,6 @@ }; spidev@2 { - status = "okay"; compatible = "spidev"; reg = <2>; spi-max-frequency = <25000000>; diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts index c519fa1..d6c30ae 100644 --- a/arch/arm/boot/dts/spear1340-evb.dts +++ b/arch/arm/boot/dts/spear1340-evb.dts @@ -319,15 +319,12 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x41>; - irq-over-gpio; - irq-gpios = <&gpio0 4 0x4>; - id = <0>; - blocks = <1>; + interrupts = <4 0x4>; + interrupt-parent = <&gpio0>; irq-trigger = <0x2>; - stmpegpio: stmpe-gpio { - compatible = "stmpe,gpio"; - reg = <0>; + stmpegpio: stmpe_gpio { + compatible = "st,stmpe-gpio"; gpio-controller; #gpio-cells = <2>; }; @@ -445,7 +442,6 @@ <&gpiopinctrl 85 0>; m25p80@0 { - status = "okay"; compatible = "m25p80"; reg = <0>; spi-max-frequency = <12000000>; @@ -463,7 +459,6 @@ }; stmpe610@1 { - status = "okay"; compatible = "st,stmpe610"; spi-max-frequency = <1000000>; spi-cpha; @@ -477,17 +472,14 @@ pl022,ctrl-len = <0x7>; pl022,wait-state = <0>; pl022,duplex = <0>; - irq-over-gpio; - irq-gpios = <&gpiopinctrl 100 0>; - id = <0>; - blocks = <4>; + interrupts = <100 0>; + interrupt-parent = <&gpiopinctrl>; irq-trigger = <0x2>; #address-cells = <1>; #size-cells = <0>; - stmpe610-ts { - compatible = "stmpe,ts"; - reg = <0>; + stmpe_touchscreen { + compatible = "st,stmpe-ts"; ts,sample-time = <4>; ts,mod-12b = <1>; ts,ref-sel = <0>; @@ -501,7 +493,6 @@ }; spidev@2 { - status = "okay"; compatible = "spidev"; reg = <2>; spi-max-frequency = <25000000>; diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi index 2e650f9..009096d 100644 --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi @@ -65,14 +65,14 @@ }; cpufreq { - compatible = "st,cpufreq"; + compatible = "st,cpufreq-spear"; cpufreq_tbl = < 166000 - 200000 - 250000 - 300000 - 400000 - 500000 - 600000 >; + 200000 + 250000 + 300000 + 400000 + 500000 + 600000 >; status = "disable"; }; -- viresh
WARNING: multiple messages have this Message-ID (diff)
From: viresh.kumar@linaro.org (Viresh Kumar) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/14] ARM: SPEAr: DT: Update device nodes Date: Mon, 26 Nov 2012 16:55:08 +0530 [thread overview] Message-ID: <CAKohpomH84SfHjZ78Rp9UoXgUZkTjFVoWPK_8N3dL5pxYhOWfA@mail.gmail.com> (raw) In-Reply-To: <b3925b105ee2c6fe828ef3b54928aeee02a801ae.1352608333.git.viresh.kumar@linaro.org> On 11 November 2012 10:09, Viresh Kumar <viresh.kumar@linaro.org> wrote: > From: Shiraz Hashim <shiraz.hashim@st.com> > > This patch adds multiple device nodes for SPEAr machines and boards. > > Signed-off-by: Bhavna Yadav <bhavna.yadav@st.com> > Signed-off-by: Deepak Sikri <deepak.sikri@st.com> > Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com> > Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> > Signed-off-by: Vijay Kumar Mishra <vijay.kumar@st.com> > Signed-off-by: Vipin Kumar <vipin.kumar@st.com> > Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com> > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Arnd/Olof, As discussed (With Arnd) over IRC, i would be sending a PULL request for this patchset. There are few updates/fixes in the bindings for few nodes (as the drivers for them just got pushed by their maintainers after some updates) and here is a diff for that. I will merge this diff with current patch in my PULL request. From: Viresh Kumar <viresh.kumar@linaro.org> Date: Mon, 26 Nov 2012 16:44:53 +0530 Subject: [PATCH] fixup! ARM: SPEAr: DT: Update device nodes --- arch/arm/boot/dts/spear1310-evb.dts | 14 ++++---------- arch/arm/boot/dts/spear1340-evb.dts | 25 ++++++++----------------- arch/arm/boot/dts/spear13xx.dtsi | 14 +++++++------- 3 files changed, 19 insertions(+), 34 deletions(-) diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts index cd4e2f8..b56a801 100644 --- a/arch/arm/boot/dts/spear1310-evb.dts +++ b/arch/arm/boot/dts/spear1310-evb.dts @@ -348,7 +348,6 @@ cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>; stmpe610 at 0 { - status = "okay"; compatible = "st,stmpe610"; reg = <0>; #address-cells = <1>; @@ -364,15 +363,12 @@ pl022,ctrl-len = <0x7>; pl022,wait-state = <0>; pl022,duplex = <0>; - id = <0>; - blocks = <4>; - irq_over_gpio; - irq-gpios = <&gpio1 6 0x4>; + interrupts = <6 0x4>; + interrupt-parent = <&gpio1>; irq-trigger = <0x2>; - stmpe610-ts { - compatible = "stmpe,ts"; - reg = <0>; + stmpe_touchscreen { + compatible = "st,stmpe-ts"; ts,sample-time = <4>; ts,mod-12b = <1>; ts,ref-sel = <0>; @@ -386,7 +382,6 @@ }; m25p80 at 1 { - status = "okay"; compatible = "st,m25p80"; reg = <1>; spi-max-frequency = <12000000>; @@ -404,7 +399,6 @@ }; spidev at 2 { - status = "okay"; compatible = "spidev"; reg = <2>; spi-max-frequency = <25000000>; diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts index c519fa1..d6c30ae 100644 --- a/arch/arm/boot/dts/spear1340-evb.dts +++ b/arch/arm/boot/dts/spear1340-evb.dts @@ -319,15 +319,12 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x41>; - irq-over-gpio; - irq-gpios = <&gpio0 4 0x4>; - id = <0>; - blocks = <1>; + interrupts = <4 0x4>; + interrupt-parent = <&gpio0>; irq-trigger = <0x2>; - stmpegpio: stmpe-gpio { - compatible = "stmpe,gpio"; - reg = <0>; + stmpegpio: stmpe_gpio { + compatible = "st,stmpe-gpio"; gpio-controller; #gpio-cells = <2>; }; @@ -445,7 +442,6 @@ <&gpiopinctrl 85 0>; m25p80 at 0 { - status = "okay"; compatible = "m25p80"; reg = <0>; spi-max-frequency = <12000000>; @@ -463,7 +459,6 @@ }; stmpe610 at 1 { - status = "okay"; compatible = "st,stmpe610"; spi-max-frequency = <1000000>; spi-cpha; @@ -477,17 +472,14 @@ pl022,ctrl-len = <0x7>; pl022,wait-state = <0>; pl022,duplex = <0>; - irq-over-gpio; - irq-gpios = <&gpiopinctrl 100 0>; - id = <0>; - blocks = <4>; + interrupts = <100 0>; + interrupt-parent = <&gpiopinctrl>; irq-trigger = <0x2>; #address-cells = <1>; #size-cells = <0>; - stmpe610-ts { - compatible = "stmpe,ts"; - reg = <0>; + stmpe_touchscreen { + compatible = "st,stmpe-ts"; ts,sample-time = <4>; ts,mod-12b = <1>; ts,ref-sel = <0>; @@ -501,7 +493,6 @@ }; spidev at 2 { - status = "okay"; compatible = "spidev"; reg = <2>; spi-max-frequency = <25000000>; diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi index 2e650f9..009096d 100644 --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi @@ -65,14 +65,14 @@ }; cpufreq { - compatible = "st,cpufreq"; + compatible = "st,cpufreq-spear"; cpufreq_tbl = < 166000 - 200000 - 250000 - 300000 - 400000 - 500000 - 600000 >; + 200000 + 250000 + 300000 + 400000 + 500000 + 600000 >; status = "disable"; }; -- viresh
next prev parent reply other threads:[~2012-11-26 11:25 UTC|newest] Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-11 4:39 [PATCH 00/14] ARM: SPEAr: DT updates Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 01/14] pinctrl: SPEAr: add spi chipselect control driver Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar [not found] ` <4a92290e8a3b1a19c3a5e864edfa7badfc2af5d0.1352608333.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2012-11-12 15:03 ` Arnd Bergmann 2012-11-12 15:03 ` Arnd Bergmann 2012-11-15 14:17 ` Linus Walleij 2012-11-15 14:17 ` Linus Walleij [not found] ` <CACRpkdb9tSUUGQjWdHqRr5rUSyiPgWm2i3-QZq9VbWFY2EAQeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-15 14:19 ` Viresh Kumar 2012-11-15 14:19 ` Viresh Kumar [not found] ` <CAKohpomLRYAKJ=dNLVsjj1xf=G6xj4EcTpPmhSDvgBYUMXc1mA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-15 19:09 ` Linus Walleij 2012-11-15 19:09 ` Linus Walleij 2012-11-16 5:15 ` [PATCH 01/16] gpio: " Viresh Kumar 2012-11-16 5:15 ` Viresh Kumar [not found] ` <3702a1036f8e714e6d18e4726569bbb1eadd65bf.1353042873.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2012-11-16 8:19 ` Arnd Bergmann 2012-11-16 8:19 ` Arnd Bergmann [not found] ` <201211160819.04343.arnd-r2nGTMty4D4@public.gmane.org> 2012-11-16 8:19 ` Viresh Kumar 2012-11-16 8:19 ` Viresh Kumar 2012-11-17 23:02 ` Linus Walleij 2012-11-17 23:02 ` Linus Walleij 2012-11-11 4:39 ` [PATCH 02/14] ARM: SPEAr13xx: DT: Add spics gpio controller nodes Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar [not found] ` <58a7d91cab20b924784fb5a09e16ca08e6f13318.1352608333.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2012-11-13 14:08 ` Linus Walleij 2012-11-13 14:08 ` Linus Walleij 2012-11-13 14:34 ` Viresh Kumar 2012-11-13 14:34 ` Viresh Kumar [not found] ` <CAKohpon=AVGZmR_cwUZ4=buw0kr3JVtXh51BtXteWkJ7E-f_bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-15 14:06 ` Linus Walleij 2012-11-15 14:06 ` Linus Walleij [not found] ` <CACRpkdaJ2kCYfSP=xCRQAG2wDnkMKX9fey+ByhDDiOS==u+XwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-15 14:08 ` Viresh Kumar 2012-11-15 14:08 ` Viresh Kumar [not found] ` <CAKohpok7-iBCoYk+aAXZPsOODyh6tp2nutC+6wYOot-bK3=wkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-15 17:25 ` Linus Walleij 2012-11-15 17:25 ` Linus Walleij 2012-11-11 4:39 ` [PATCH 03/14] ARM: SPEAr: DT: Update pinctrl list Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 04/14] ARM: SPEAr: DT: Update partition info for MTD devices Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 05/14] ARM: SPEAr: DT: Fix existing DT support Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 06/14] ARM: SPEAr: DT: Modify DT bindings for STMMAC Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 07/14] ARM: SPEAr: DT: add uart state to fix warning Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 08/14] ARM: SPEAr: DT: Update device nodes Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar [not found] ` <b3925b105ee2c6fe828ef3b54928aeee02a801ae.1352608333.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2012-11-26 11:25 ` Viresh Kumar [this message] 2012-11-26 11:25 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 09/14] ARM: SPEAr1310: Move 1310 specific misc register into machine specific files Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 10/14] ARM: SPEAr13xx: Remove fields not required for ssp controller Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 11/14] ARM: SPEAr1310: Fix AUXDATA for compact flash controller Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 12/14] ARM: SPEAr3xx: shirq: simplify and move the shared irq multiplexor to DT Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-12 15:09 ` Arnd Bergmann 2012-11-12 15:09 ` Arnd Bergmann 2012-11-12 16:37 ` viresh kumar 2012-11-12 16:37 ` viresh kumar [not found] ` <CAOh2x=nJXVVjFmDFnTN_02PSG9hcDuXToRUzRMi5jwJqUFtgfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-12 17:00 ` Arnd Bergmann 2012-11-12 17:00 ` Arnd Bergmann 2012-11-12 17:16 ` [PATCH] fixup! " Viresh Kumar 2012-11-12 17:16 ` Viresh Kumar 2012-11-12 17:35 ` [PATCH] ARM: SPEAr3xx: Shirq: Move shirq controller out of plat/ Viresh Kumar 2012-11-12 17:35 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 13/14] ARM: SPEAr3xx: DT: add shirq node for interrupt multiplexor Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar 2012-11-11 4:39 ` [PATCH 14/14] ARM: SPEAr320: DT: Add SPEAr 320 HMI board support Viresh Kumar 2012-11-11 4:39 ` Viresh Kumar [not found] ` <cover.1352608333.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2012-11-12 15:21 ` [PATCH 00/14] ARM: SPEAr: DT updates Arnd Bergmann 2012-11-12 15:21 ` Arnd Bergmann 2012-11-12 16:39 ` viresh kumar 2012-11-12 16:39 ` viresh kumar 2012-11-12 17:18 ` Viresh Kumar 2012-11-12 17:18 ` Viresh Kumar [not found] ` <CAKohpom0kMjuHx5jO-LTPKQhy_-r4khKi7UBPB_O-50K42FOeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-21 20:24 ` Olof Johansson 2012-11-21 20:24 ` Olof Johansson [not found] ` <20121121202405.GA15549-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org> 2012-11-22 3:19 ` Viresh Kumar 2012-11-22 3:19 ` Viresh Kumar [not found] ` <CAKohpokMUTQja6tCz1RmKXFgu+X7MGFAi1+UWLgKhpViOuiMSA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-11-22 9:47 ` Linus Walleij 2012-11-22 9:47 ` Linus Walleij
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=CAKohpomH84SfHjZ78Rp9UoXgUZkTjFVoWPK_8N3dL5pxYhOWfA@mail.gmail.com \ --to=viresh.kumar-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \ --cc=arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=arnd-r2nGTMty4D4@public.gmane.org \ --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \ --cc=spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.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.