* [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs @ 2012-09-10 19:45 Matt Porter 2012-09-10 19:45 ` [PATCH v2 2/2] ARM: dts: AM33XX: adjust leds to use the corrected gpio label Matt Porter [not found] ` <1347306312-31533-1-git-send-email-mporter-l0cyMroinI0@public.gmane.org> 0 siblings, 2 replies; 4+ messages in thread From: Matt Porter @ 2012-09-10 19:45 UTC (permalink / raw) To: Linux OMAP List Cc: Devicetree Discuss, Linux Kernel Mailing List, Linux ARM Kernel List Changes since v1: - Series now applies on top of Anil's AM33XX DTS series This series applies on top of the for_3.7/dts/ branch and Anil's "[v7,2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone" patch that is part of the overall series adding led and pinctrl DTS data for AM33xx. It is intended to correct the current labeling of gpios in the DTS before too many more drivers are submitted for AM33xx that have gpios not matching the docs. Matt Porter (2): ARM: dts: AM33XX: fix gpio node numbering to match hardware ARM: dts: AM33XX: adjust leds to use the corrected gpio label arch/arm/boot/dts/am335x-bone.dts | 8 ++++---- arch/arm/boot/dts/am33xx.dtsi | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] ARM: dts: AM33XX: adjust leds to use the corrected gpio label 2012-09-10 19:45 [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs Matt Porter @ 2012-09-10 19:45 ` Matt Porter [not found] ` <1347306312-31533-1-git-send-email-mporter-l0cyMroinI0@public.gmane.org> 1 sibling, 0 replies; 4+ messages in thread From: Matt Porter @ 2012-09-10 19:45 UTC (permalink / raw) To: Linux OMAP List Cc: Linux ARM Kernel List, Devicetree Discuss, Linux Kernel Mailing List, Benoit Cousson, Tony Lindgren, Vaibhav Hiremath, AnilKumar With the am33xx.dtsi now using gpio labels that match the AM33xx documentation, we need to refer to GPIO1 by the "gpio1" label. Signed-off-by: Matt Porter <mporter@ti.com> --- arch/arm/boot/dts/am335x-bone.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index b0a7409..fa0c9d5 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts @@ -41,27 +41,27 @@ heartbeat { label = "beaglebone:green:usr0"; - gpios = <&gpio2 21 0>; + gpios = <&gpio1 21 0>; linux,default-trigger = "heartbeat"; default-state = "off"; }; mmc { label = "beaglebone:green:usr1"; - gpios = <&gpio2 22 0>; + gpios = <&gpio1 22 0>; linux,default-trigger = "mmc0"; default-state = "off"; }; led2 { label = "beaglebone:green:usr2"; - gpios = <&gpio2 23 0>; + gpios = <&gpio1 23 0>; default-state = "off"; }; led3 { label = "beaglebone:green:usr3"; - gpios = <&gpio2 24 0>; + gpios = <&gpio1 24 0>; default-state = "off"; }; }; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1347306312-31533-1-git-send-email-mporter-l0cyMroinI0@public.gmane.org>]
* [PATCH v2 1/2] ARM: dts: AM33XX: fix gpio node numbering to match hardware [not found] ` <1347306312-31533-1-git-send-email-mporter-l0cyMroinI0@public.gmane.org> @ 2012-09-10 19:45 ` Matt Porter 2012-09-11 6:38 ` [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs Hiremath, Vaibhav 1 sibling, 0 replies; 4+ messages in thread From: Matt Porter @ 2012-09-10 19:45 UTC (permalink / raw) To: Linux OMAP List Cc: Devicetree Discuss, Linux Kernel Mailing List, Linux ARM Kernel List On AM33xx, the datasheet and TRM refer to four GPIO instances that are 0-based, GPIO0-3. Signed-off-by: Matt Porter <mporter-l0cyMroinI0@public.gmane.org> --- arch/arm/boot/dts/am33xx.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index bb31bff..1369bfc 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -62,7 +62,7 @@ reg = <0x48200000 0x1000>; }; - gpio1: gpio@44e07000 { + gpio0: gpio@44e07000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio1"; gpio-controller; @@ -74,7 +74,7 @@ interrupts = <96>; }; - gpio2: gpio@4804c000 { + gpio1: gpio@4804c000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio2"; gpio-controller; @@ -86,7 +86,7 @@ interrupts = <98>; }; - gpio3: gpio@481ac000 { + gpio2: gpio@481ac000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio3"; gpio-controller; @@ -98,7 +98,7 @@ interrupts = <32>; }; - gpio4: gpio@481ae000 { + gpio3: gpio@481ae000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio4"; gpio-controller; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs [not found] ` <1347306312-31533-1-git-send-email-mporter-l0cyMroinI0@public.gmane.org> 2012-09-10 19:45 ` [PATCH v2 1/2] ARM: dts: AM33XX: fix gpio node numbering to match hardware Matt Porter @ 2012-09-11 6:38 ` Hiremath, Vaibhav 1 sibling, 0 replies; 4+ messages in thread From: Hiremath, Vaibhav @ 2012-09-11 6:38 UTC (permalink / raw) To: Porter, Matt, Linux OMAP List Cc: Devicetree Discuss, Linux Kernel Mailing List, Linux ARM Kernel List On Tue, Sep 11, 2012 at 01:15:10, Porter, Matt wrote: > Changes since v1: > - Series now applies on top of Anil's AM33XX DTS series > > This series applies on top of the for_3.7/dts/ branch and Anil's > "[v7,2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone" > patch that is part of the overall series adding led and pinctrl DTS data > for AM33xx. > > It is intended to correct the current labeling of gpios in the DTS before > too many more drivers are submitted for AM33xx that have gpios not matching > the docs. > > Matt Porter (2): > ARM: dts: AM33XX: fix gpio node numbering to match hardware > ARM: dts: AM33XX: adjust leds to use the corrected gpio label > I have tested this series on BeagleBone, also validated LED functionality. Tested-Acked-By: Vaibhav Hiremath <hvaibhav-l0cyMroinI0@public.gmane.org> Thanks, Vaibhav > arch/arm/boot/dts/am335x-bone.dts | 8 ++++---- > arch/arm/boot/dts/am33xx.dtsi | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > > -- > 1.7.9.5 > > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-11 6:38 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-09-10 19:45 [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs Matt Porter 2012-09-10 19:45 ` [PATCH v2 2/2] ARM: dts: AM33XX: adjust leds to use the corrected gpio label Matt Porter [not found] ` <1347306312-31533-1-git-send-email-mporter-l0cyMroinI0@public.gmane.org> 2012-09-10 19:45 ` [PATCH v2 1/2] ARM: dts: AM33XX: fix gpio node numbering to match hardware Matt Porter 2012-09-11 6:38 ` [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs Hiremath, Vaibhav
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).