* [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros
@ 2015-11-13 4:53 Javier Martinez Canillas
2015-11-13 4:53 ` [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files Javier Martinez Canillas
2015-11-13 14:47 ` [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Tony Lindgren
0 siblings, 2 replies; 11+ messages in thread
From: Javier Martinez Canillas @ 2015-11-13 4:53 UTC (permalink / raw)
To: linux-kernel
Cc: linux-omap, Tony Lindgren, Javier Martinez Canillas, linux-gpio,
Linus Walleij, Andrew F. Davis
Hello Tony,
This series converts all the remaining OMAP boards that didn't use the
IOPAD macros to specify the padconf register addresses. The only board
that I left was arch/arm/boot/dts/am335x-boneblack.dts because Andrew
already posted a patch for that DTS [0].
I built tested all the DTBs that are build by omap2plus_defconfig and
the md5 checksum was the same before and after the patches so there's
no functional change and is only to make the DTS more readable.
Patch #1 should be acked by the pinctrl maintainer and picked through
the linux-omap tree to maintain bisectability.
[0]: https://lkml.org/lkml/2015/10/24/114
Best regards,
Javier
Javier Martinez Canillas (39):
pinctrl: Move am4372 and dra7 macros to the the SoC header files
ARM: dts: am335x-baltos-ir5221: Remove leftover pinctrl lines
ARM: dts: am335x-baltos-ir5221: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-bone-common: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-bonegreen: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-chiliboard: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-chilisom: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-evm: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-evmsk: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-lxm: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-nano: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-pepper: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-phycore-som: Use AM33XX_IOPAD pinmux macro
ARM: dts: am335x-wega: Use AM33XX_IOPAD pinmux macro
ARM: dts: am3517-craneboard: Use OMAP3_CORE1_IOPAD pinmux macro
ARM: dts: am437x-gp-evm: Use AM4372_IOPAD pinmux macro
ARM: dts: am437x-idk-evm: Use AM4372_IOPAD pinmux macro
ARM: dts: am437x-sk-evm: Use AM4372_IOPAD pinmux macro
ARM: dts: am43x-epos-evm: Use AM4372_IOPAD pinmux macro
ARM: dts: am57xx-beagle-x15: Use DRA7XX_CORE_IOPAD pinmux macro
ARM: dts: dra7-evm: Use DRA7XX_CORE_IOPAD pinmux macro
ARM: dts: dra72-evm: Use DRA7XX_CORE_IOPAD pinmux macro
ARM: dts: omap3-beagle: Use OMAP3_*_IOPAD pinmux macros
ARM: dts: omap3-beagle-xm: Use OMAP3_*_IOPAD pinmux macros
ARM: dts: omap3-evm-37xx: Use OMAP3_*_IOPAD pinmux macros
ARM: dts: omap3-ldp: Use OMAP3_CORE1_IOPAD pinmux macro
ARM: dts: omap3-n900: Use OMAP3_CORE1_IOPAD pinmux macro
ARM: dts: omap3-n9: Use OMAP3_CORE1_IOPAD pinmux macro
ARM: dts: omap3-zoom3: Use OMAP3_*_IOPAD pinmux macros
ARM: dts: twl4030: Use OMAP3_CORE1_IOPAD pinmux macro
ARM: dts: omap4-panda-a4: Use OMAP4_IOPAD pinmux macro
ARM: dts: omap4-panda-common: Use OMAP4_IOPAD pinmux macro
ARM: dts: omap4-panda-es: Use OMAP4_IOPAD pinmux macro
ARM: dts: omap4-sdp: Use OMAP4_IOPAD pinmux macro
ARM: dts: omap4-sdp-es23plus: Use OMAP4_IOPAD pinmux macro
ARM: dts: twl6030: Use OMAP4_IOPAD pinmux macro
ARM: dts: omap5-board-common: Use OMAP5_IOPAD pinmux macro
ARM: dts: omap5-cm-t54: Use OMAP5_IOPAD pinmux macro
ARM: dts: omap5-uevm.dts: Use OMAP5_IOPAD pinmux macro
arch/arm/boot/dts/am335x-baltos-ir5221.dts | 186 +++++++-------
arch/arm/boot/dts/am335x-bone-common.dtsi | 104 ++++----
arch/arm/boot/dts/am335x-bonegreen.dts | 4 +-
arch/arm/boot/dts/am335x-chiliboard.dts | 20 +-
arch/arm/boot/dts/am335x-chilisom.dtsi | 80 +++---
arch/arm/boot/dts/am335x-evm.dts | 220 ++++++++---------
arch/arm/boot/dts/am335x-evmsk.dts | 278 ++++++++++-----------
arch/arm/boot/dts/am335x-lxm.dts | 120 ++++-----
arch/arm/boot/dts/am335x-nano.dts | 140 +++++------
arch/arm/boot/dts/am335x-pepper.dts | 200 +++++++--------
arch/arm/boot/dts/am335x-phycore-som.dtsi | 60 ++---
arch/arm/boot/dts/am335x-wega.dtsi | 58 ++---
arch/arm/boot/dts/am3517-craneboard.dts | 2 +-
arch/arm/boot/dts/am437x-gp-evm.dts | 380 ++++++++++++++---------------
arch/arm/boot/dts/am437x-idk-evm.dts | 128 +++++-----
arch/arm/boot/dts/am437x-sk-evm.dts | 298 +++++++++++-----------
arch/arm/boot/dts/am43x-epos-evm.dts | 246 +++++++++----------
arch/arm/boot/dts/am57xx-beagle-x15.dts | 198 +++++++--------
arch/arm/boot/dts/dra7-evm.dts | 254 +++++++++----------
arch/arm/boot/dts/dra72-evm.dts | 200 +++++++--------
arch/arm/boot/dts/omap3-beagle-xm.dts | 18 +-
arch/arm/boot/dts/omap3-beagle.dts | 64 ++---
arch/arm/boot/dts/omap3-evm-37xx.dts | 54 ++--
arch/arm/boot/dts/omap3-ldp.dts | 42 ++--
arch/arm/boot/dts/omap3-n900.dts | 106 ++++----
arch/arm/boot/dts/omap3-n950-n9.dtsi | 12 +-
arch/arm/boot/dts/omap3-zoom3.dts | 60 ++---
arch/arm/boot/dts/omap4-panda-a4.dts | 6 +-
arch/arm/boot/dts/omap4-panda-common.dtsi | 164 ++++++-------
arch/arm/boot/dts/omap4-panda-es.dts | 10 +-
arch/arm/boot/dts/omap4-sdp-es23plus.dts | 6 +-
arch/arm/boot/dts/omap4-sdp.dts | 110 ++++-----
arch/arm/boot/dts/omap5-board-common.dtsi | 94 +++----
arch/arm/boot/dts/omap5-cm-t54.dts | 2 +-
arch/arm/boot/dts/omap5-uevm.dts | 4 +-
arch/arm/boot/dts/twl4030_omap3.dtsi | 2 +-
arch/arm/boot/dts/twl6030_omap4.dtsi | 4 +-
include/dt-bindings/pinctrl/am43xx.h | 6 +
include/dt-bindings/pinctrl/dra.h | 6 +
include/dt-bindings/pinctrl/omap.h | 2 -
40 files changed, 1977 insertions(+), 1971 deletions(-)
--
2.4.3
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-13 4:53 [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Javier Martinez Canillas
@ 2015-11-13 4:53 ` Javier Martinez Canillas
2015-11-17 13:47 ` Linus Walleij
2015-11-13 14:47 ` [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Tony Lindgren
1 sibling, 1 reply; 11+ messages in thread
From: Javier Martinez Canillas @ 2015-11-13 4:53 UTC (permalink / raw)
To: linux-kernel
Cc: linux-omap, Tony Lindgren, Javier Martinez Canillas, linux-gpio,
Linus Walleij
The <dt-bindings/pinctrl/omap.h> header file defines a set of macros
for different SoCs families that falls under the OMAP sub-arch, that
allow to define the padconf register physical address instead of the
register offset from the padconf base.
But the am43xx and dra7xx SoCs families have their own pinctrl header
file so the DTS using these SoCs aren't able to use the AM4372_IOPAD()
and DRA7XX_CORE_IOPAD() macros since <dt-bindings/pinctrl/omap.h> is
not included.
Move the macros to the correct header files so can be used by the DTS.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
include/dt-bindings/pinctrl/am43xx.h | 6 ++++++
include/dt-bindings/pinctrl/dra.h | 6 ++++++
include/dt-bindings/pinctrl/omap.h | 2 --
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/include/dt-bindings/pinctrl/am43xx.h b/include/dt-bindings/pinctrl/am43xx.h
index 774dc1e843c5..344bd1eb3386 100644
--- a/include/dt-bindings/pinctrl/am43xx.h
+++ b/include/dt-bindings/pinctrl/am43xx.h
@@ -31,5 +31,11 @@
#define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP)
#define PIN_INPUT_PULLDOWN (INPUT_EN)
+/*
+ * Macro to allow using the absolute physical address instead of the
+ * padconf registers instead of the offset from padconf base.
+ */
+#define AM4372_IOPAD(pa, val) (((pa) & 0xffff) - 0x0800) (val)
+
#endif
diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/dra.h
index 4379e29f0460..5c75e80915fc 100644
--- a/include/dt-bindings/pinctrl/dra.h
+++ b/include/dt-bindings/pinctrl/dra.h
@@ -67,5 +67,11 @@
#define PIN_INPUT_PULLUP (PULL_ENA | INPUT_EN | PULL_UP)
#define PIN_INPUT_PULLDOWN (PULL_ENA | INPUT_EN)
+/*
+ * Macro to allow using the absolute physical address instead of the
+ * padconf registers instead of the offset from padconf base.
+ */
+#define DRA7XX_CORE_IOPAD(pa, val) (((pa) & 0xffff) - 0x3400) (val)
+
#endif
diff --git a/include/dt-bindings/pinctrl/omap.h b/include/dt-bindings/pinctrl/omap.h
index 13949259705a..8100de13851c 100644
--- a/include/dt-bindings/pinctrl/omap.h
+++ b/include/dt-bindings/pinctrl/omap.h
@@ -63,8 +63,6 @@
#define OMAP3_WKUP_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2a00) (val)
#define DM816X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define AM33XX_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
-#define AM4372_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
-#define DRA7XX_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x3400) (val)
/*
* Macros to allow using the offset from the padconf physical address
--
2.4.3
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros
2015-11-13 4:53 [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Javier Martinez Canillas
2015-11-13 4:53 ` [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files Javier Martinez Canillas
@ 2015-11-13 14:47 ` Tony Lindgren
2015-11-16 16:38 ` Andrew F. Davis
1 sibling, 1 reply; 11+ messages in thread
From: Tony Lindgren @ 2015-11-13 14:47 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, linux-omap, linux-gpio, Linus Walleij,
Andrew F. Davis
* Javier Martinez Canillas <javier@osg.samsung.com> [151112 20:55]:
> Hello Tony,
>
> This series converts all the remaining OMAP boards that didn't use the
> IOPAD macros to specify the padconf register addresses. The only board
> that I left was arch/arm/boot/dts/am335x-boneblack.dts because Andrew
> already posted a patch for that DTS [0].
>
> I built tested all the DTBs that are build by omap2plus_defconfig and
> the md5 checksum was the same before and after the patches so there's
> no functional change and is only to make the DTS more readable.
Yes great. Being able to compare the register against the documentation
helps quite a bit. I plan on applying this series before anything else
after -rc1 as it may require other patches to be rebased.
> Patch #1 should be acked by the pinctrl maintainer and picked through
> the linux-omap tree to maintain bisectability.
>
> [0]: https://lkml.org/lkml/2015/10/24/114
OK let's wait for Linus to take a look at it.
Tony
> Javier Martinez Canillas (39):
> pinctrl: Move am4372 and dra7 macros to the the SoC header files
> ARM: dts: am335x-baltos-ir5221: Remove leftover pinctrl lines
> ARM: dts: am335x-baltos-ir5221: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-bone-common: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-bonegreen: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-chiliboard: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-chilisom: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-evm: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-evmsk: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-lxm: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-nano: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-pepper: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-phycore-som: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am335x-wega: Use AM33XX_IOPAD pinmux macro
> ARM: dts: am3517-craneboard: Use OMAP3_CORE1_IOPAD pinmux macro
> ARM: dts: am437x-gp-evm: Use AM4372_IOPAD pinmux macro
> ARM: dts: am437x-idk-evm: Use AM4372_IOPAD pinmux macro
> ARM: dts: am437x-sk-evm: Use AM4372_IOPAD pinmux macro
> ARM: dts: am43x-epos-evm: Use AM4372_IOPAD pinmux macro
> ARM: dts: am57xx-beagle-x15: Use DRA7XX_CORE_IOPAD pinmux macro
> ARM: dts: dra7-evm: Use DRA7XX_CORE_IOPAD pinmux macro
> ARM: dts: dra72-evm: Use DRA7XX_CORE_IOPAD pinmux macro
> ARM: dts: omap3-beagle: Use OMAP3_*_IOPAD pinmux macros
> ARM: dts: omap3-beagle-xm: Use OMAP3_*_IOPAD pinmux macros
> ARM: dts: omap3-evm-37xx: Use OMAP3_*_IOPAD pinmux macros
> ARM: dts: omap3-ldp: Use OMAP3_CORE1_IOPAD pinmux macro
> ARM: dts: omap3-n900: Use OMAP3_CORE1_IOPAD pinmux macro
> ARM: dts: omap3-n9: Use OMAP3_CORE1_IOPAD pinmux macro
> ARM: dts: omap3-zoom3: Use OMAP3_*_IOPAD pinmux macros
> ARM: dts: twl4030: Use OMAP3_CORE1_IOPAD pinmux macro
> ARM: dts: omap4-panda-a4: Use OMAP4_IOPAD pinmux macro
> ARM: dts: omap4-panda-common: Use OMAP4_IOPAD pinmux macro
> ARM: dts: omap4-panda-es: Use OMAP4_IOPAD pinmux macro
> ARM: dts: omap4-sdp: Use OMAP4_IOPAD pinmux macro
> ARM: dts: omap4-sdp-es23plus: Use OMAP4_IOPAD pinmux macro
> ARM: dts: twl6030: Use OMAP4_IOPAD pinmux macro
> ARM: dts: omap5-board-common: Use OMAP5_IOPAD pinmux macro
> ARM: dts: omap5-cm-t54: Use OMAP5_IOPAD pinmux macro
> ARM: dts: omap5-uevm.dts: Use OMAP5_IOPAD pinmux macro
>
> arch/arm/boot/dts/am335x-baltos-ir5221.dts | 186 +++++++-------
> arch/arm/boot/dts/am335x-bone-common.dtsi | 104 ++++----
> arch/arm/boot/dts/am335x-bonegreen.dts | 4 +-
> arch/arm/boot/dts/am335x-chiliboard.dts | 20 +-
> arch/arm/boot/dts/am335x-chilisom.dtsi | 80 +++---
> arch/arm/boot/dts/am335x-evm.dts | 220 ++++++++---------
> arch/arm/boot/dts/am335x-evmsk.dts | 278 ++++++++++-----------
> arch/arm/boot/dts/am335x-lxm.dts | 120 ++++-----
> arch/arm/boot/dts/am335x-nano.dts | 140 +++++------
> arch/arm/boot/dts/am335x-pepper.dts | 200 +++++++--------
> arch/arm/boot/dts/am335x-phycore-som.dtsi | 60 ++---
> arch/arm/boot/dts/am335x-wega.dtsi | 58 ++---
> arch/arm/boot/dts/am3517-craneboard.dts | 2 +-
> arch/arm/boot/dts/am437x-gp-evm.dts | 380 ++++++++++++++---------------
> arch/arm/boot/dts/am437x-idk-evm.dts | 128 +++++-----
> arch/arm/boot/dts/am437x-sk-evm.dts | 298 +++++++++++-----------
> arch/arm/boot/dts/am43x-epos-evm.dts | 246 +++++++++----------
> arch/arm/boot/dts/am57xx-beagle-x15.dts | 198 +++++++--------
> arch/arm/boot/dts/dra7-evm.dts | 254 +++++++++----------
> arch/arm/boot/dts/dra72-evm.dts | 200 +++++++--------
> arch/arm/boot/dts/omap3-beagle-xm.dts | 18 +-
> arch/arm/boot/dts/omap3-beagle.dts | 64 ++---
> arch/arm/boot/dts/omap3-evm-37xx.dts | 54 ++--
> arch/arm/boot/dts/omap3-ldp.dts | 42 ++--
> arch/arm/boot/dts/omap3-n900.dts | 106 ++++----
> arch/arm/boot/dts/omap3-n950-n9.dtsi | 12 +-
> arch/arm/boot/dts/omap3-zoom3.dts | 60 ++---
> arch/arm/boot/dts/omap4-panda-a4.dts | 6 +-
> arch/arm/boot/dts/omap4-panda-common.dtsi | 164 ++++++-------
> arch/arm/boot/dts/omap4-panda-es.dts | 10 +-
> arch/arm/boot/dts/omap4-sdp-es23plus.dts | 6 +-
> arch/arm/boot/dts/omap4-sdp.dts | 110 ++++-----
> arch/arm/boot/dts/omap5-board-common.dtsi | 94 +++----
> arch/arm/boot/dts/omap5-cm-t54.dts | 2 +-
> arch/arm/boot/dts/omap5-uevm.dts | 4 +-
> arch/arm/boot/dts/twl4030_omap3.dtsi | 2 +-
> arch/arm/boot/dts/twl6030_omap4.dtsi | 4 +-
> include/dt-bindings/pinctrl/am43xx.h | 6 +
> include/dt-bindings/pinctrl/dra.h | 6 +
> include/dt-bindings/pinctrl/omap.h | 2 -
> 40 files changed, 1977 insertions(+), 1971 deletions(-)
>
> --
> 2.4.3
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros
2015-11-13 14:47 ` [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Tony Lindgren
@ 2015-11-16 16:38 ` Andrew F. Davis
2015-11-30 16:49 ` Tony Lindgren
0 siblings, 1 reply; 11+ messages in thread
From: Andrew F. Davis @ 2015-11-16 16:38 UTC (permalink / raw)
To: Tony Lindgren, Javier Martinez Canillas
Cc: linux-kernel, linux-omap, linux-gpio, Linus Walleij
On 11/13/2015 08:47 AM, Tony Lindgren wrote:
> * Javier Martinez Canillas <javier@osg.samsung.com> [151112 20:55]:
>> Hello Tony,
>>
>> This series converts all the remaining OMAP boards that didn't use the
>> IOPAD macros to specify the padconf register addresses. The only board
>> that I left was arch/arm/boot/dts/am335x-boneblack.dts because Andrew
>> already posted a patch for that DTS [0].
>>
>> I built tested all the DTBs that are build by omap2plus_defconfig and
>> the md5 checksum was the same before and after the patches so there's
>> no functional change and is only to make the DTS more readable.
>
> Yes great. Being able to compare the register against the documentation
> helps quite a bit. I plan on applying this series before anything else
> after -rc1 as it may require other patches to be rebased.
>
>> Patch #1 should be acked by the pinctrl maintainer and picked through
>> the linux-omap tree to maintain bisectability.
>>
>> [0]: https://lkml.org/lkml/2015/10/24/114
>
v3 of my little contribution also out when you pull:
https://lkml.org/lkml/2015/11/13/480
> OK let's wait for Linus to take a look at it.
>
> Tony
>
>
>
>> Javier Martinez Canillas (39):
>> pinctrl: Move am4372 and dra7 macros to the the SoC header files
>> ARM: dts: am335x-baltos-ir5221: Remove leftover pinctrl lines
>> ARM: dts: am335x-baltos-ir5221: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-bone-common: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-bonegreen: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-chiliboard: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-chilisom: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-evm: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-evmsk: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-lxm: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-nano: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-pepper: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-phycore-som: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am335x-wega: Use AM33XX_IOPAD pinmux macro
>> ARM: dts: am3517-craneboard: Use OMAP3_CORE1_IOPAD pinmux macro
>> ARM: dts: am437x-gp-evm: Use AM4372_IOPAD pinmux macro
>> ARM: dts: am437x-idk-evm: Use AM4372_IOPAD pinmux macro
>> ARM: dts: am437x-sk-evm: Use AM4372_IOPAD pinmux macro
>> ARM: dts: am43x-epos-evm: Use AM4372_IOPAD pinmux macro
>> ARM: dts: am57xx-beagle-x15: Use DRA7XX_CORE_IOPAD pinmux macro
>> ARM: dts: dra7-evm: Use DRA7XX_CORE_IOPAD pinmux macro
>> ARM: dts: dra72-evm: Use DRA7XX_CORE_IOPAD pinmux macro
>> ARM: dts: omap3-beagle: Use OMAP3_*_IOPAD pinmux macros
>> ARM: dts: omap3-beagle-xm: Use OMAP3_*_IOPAD pinmux macros
>> ARM: dts: omap3-evm-37xx: Use OMAP3_*_IOPAD pinmux macros
>> ARM: dts: omap3-ldp: Use OMAP3_CORE1_IOPAD pinmux macro
>> ARM: dts: omap3-n900: Use OMAP3_CORE1_IOPAD pinmux macro
>> ARM: dts: omap3-n9: Use OMAP3_CORE1_IOPAD pinmux macro
>> ARM: dts: omap3-zoom3: Use OMAP3_*_IOPAD pinmux macros
>> ARM: dts: twl4030: Use OMAP3_CORE1_IOPAD pinmux macro
>> ARM: dts: omap4-panda-a4: Use OMAP4_IOPAD pinmux macro
>> ARM: dts: omap4-panda-common: Use OMAP4_IOPAD pinmux macro
>> ARM: dts: omap4-panda-es: Use OMAP4_IOPAD pinmux macro
>> ARM: dts: omap4-sdp: Use OMAP4_IOPAD pinmux macro
>> ARM: dts: omap4-sdp-es23plus: Use OMAP4_IOPAD pinmux macro
>> ARM: dts: twl6030: Use OMAP4_IOPAD pinmux macro
>> ARM: dts: omap5-board-common: Use OMAP5_IOPAD pinmux macro
>> ARM: dts: omap5-cm-t54: Use OMAP5_IOPAD pinmux macro
>> ARM: dts: omap5-uevm.dts: Use OMAP5_IOPAD pinmux macro
>>
>> arch/arm/boot/dts/am335x-baltos-ir5221.dts | 186 +++++++-------
>> arch/arm/boot/dts/am335x-bone-common.dtsi | 104 ++++----
>> arch/arm/boot/dts/am335x-bonegreen.dts | 4 +-
>> arch/arm/boot/dts/am335x-chiliboard.dts | 20 +-
>> arch/arm/boot/dts/am335x-chilisom.dtsi | 80 +++---
>> arch/arm/boot/dts/am335x-evm.dts | 220 ++++++++---------
>> arch/arm/boot/dts/am335x-evmsk.dts | 278 ++++++++++-----------
>> arch/arm/boot/dts/am335x-lxm.dts | 120 ++++-----
>> arch/arm/boot/dts/am335x-nano.dts | 140 +++++------
>> arch/arm/boot/dts/am335x-pepper.dts | 200 +++++++--------
>> arch/arm/boot/dts/am335x-phycore-som.dtsi | 60 ++---
>> arch/arm/boot/dts/am335x-wega.dtsi | 58 ++---
>> arch/arm/boot/dts/am3517-craneboard.dts | 2 +-
>> arch/arm/boot/dts/am437x-gp-evm.dts | 380 ++++++++++++++---------------
>> arch/arm/boot/dts/am437x-idk-evm.dts | 128 +++++-----
>> arch/arm/boot/dts/am437x-sk-evm.dts | 298 +++++++++++-----------
>> arch/arm/boot/dts/am43x-epos-evm.dts | 246 +++++++++----------
>> arch/arm/boot/dts/am57xx-beagle-x15.dts | 198 +++++++--------
>> arch/arm/boot/dts/dra7-evm.dts | 254 +++++++++----------
>> arch/arm/boot/dts/dra72-evm.dts | 200 +++++++--------
>> arch/arm/boot/dts/omap3-beagle-xm.dts | 18 +-
>> arch/arm/boot/dts/omap3-beagle.dts | 64 ++---
>> arch/arm/boot/dts/omap3-evm-37xx.dts | 54 ++--
>> arch/arm/boot/dts/omap3-ldp.dts | 42 ++--
>> arch/arm/boot/dts/omap3-n900.dts | 106 ++++----
>> arch/arm/boot/dts/omap3-n950-n9.dtsi | 12 +-
>> arch/arm/boot/dts/omap3-zoom3.dts | 60 ++---
>> arch/arm/boot/dts/omap4-panda-a4.dts | 6 +-
>> arch/arm/boot/dts/omap4-panda-common.dtsi | 164 ++++++-------
>> arch/arm/boot/dts/omap4-panda-es.dts | 10 +-
>> arch/arm/boot/dts/omap4-sdp-es23plus.dts | 6 +-
>> arch/arm/boot/dts/omap4-sdp.dts | 110 ++++-----
>> arch/arm/boot/dts/omap5-board-common.dtsi | 94 +++----
>> arch/arm/boot/dts/omap5-cm-t54.dts | 2 +-
>> arch/arm/boot/dts/omap5-uevm.dts | 4 +-
>> arch/arm/boot/dts/twl4030_omap3.dtsi | 2 +-
>> arch/arm/boot/dts/twl6030_omap4.dtsi | 4 +-
>> include/dt-bindings/pinctrl/am43xx.h | 6 +
>> include/dt-bindings/pinctrl/dra.h | 6 +
>> include/dt-bindings/pinctrl/omap.h | 2 -
>> 40 files changed, 1977 insertions(+), 1971 deletions(-)
>>
>> --
>> 2.4.3
>>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-13 4:53 ` [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files Javier Martinez Canillas
@ 2015-11-17 13:47 ` Linus Walleij
2015-11-17 13:50 ` Javier Martinez Canillas
0 siblings, 1 reply; 11+ messages in thread
From: Linus Walleij @ 2015-11-17 13:47 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel@vger.kernel.org, Linux-OMAP, Tony Lindgren,
linux-gpio@vger.kernel.org
On Fri, Nov 13, 2015 at 5:53 AM, Javier Martinez Canillas
<javier@osg.samsung.com> wrote:
> The <dt-bindings/pinctrl/omap.h> header file defines a set of macros
> for different SoCs families that falls under the OMAP sub-arch, that
> allow to define the padconf register physical address instead of the
> register offset from the padconf base.
>
> But the am43xx and dra7xx SoCs families have their own pinctrl header
> file so the DTS using these SoCs aren't able to use the AM4372_IOPAD()
> and DRA7XX_CORE_IOPAD() macros since <dt-bindings/pinctrl/omap.h> is
> not included.
>
> Move the macros to the correct header files so can be used by the DTS.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
I need Tony's ACK on this.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-17 13:47 ` Linus Walleij
@ 2015-11-17 13:50 ` Javier Martinez Canillas
2015-11-19 0:23 ` Tony Lindgren
0 siblings, 1 reply; 11+ messages in thread
From: Javier Martinez Canillas @ 2015-11-17 13:50 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-kernel@vger.kernel.org, Linux-OMAP, Tony Lindgren,
linux-gpio@vger.kernel.org
Hello Linus,
On 11/17/2015 10:47 AM, Linus Walleij wrote:
> On Fri, Nov 13, 2015 at 5:53 AM, Javier Martinez Canillas
> <javier@osg.samsung.com> wrote:
>
>> The <dt-bindings/pinctrl/omap.h> header file defines a set of macros
>> for different SoCs families that falls under the OMAP sub-arch, that
>> allow to define the padconf register physical address instead of the
>> register offset from the padconf base.
>>
>> But the am43xx and dra7xx SoCs families have their own pinctrl header
>> file so the DTS using these SoCs aren't able to use the AM4372_IOPAD()
>> and DRA7XX_CORE_IOPAD() macros since <dt-bindings/pinctrl/omap.h> is
>> not included.
>>
>> Move the macros to the correct header files so can be used by the DTS.
>>
>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>
> I need Tony's ACK on this.
>
OK, I believe he was waiting for yours to pick the series though ;)
> Yours,
> Linus Walleij
>
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-17 13:50 ` Javier Martinez Canillas
@ 2015-11-19 0:23 ` Tony Lindgren
2015-11-25 18:39 ` Tony Lindgren
0 siblings, 1 reply; 11+ messages in thread
From: Tony Lindgren @ 2015-11-19 0:23 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Linus Walleij, linux-kernel@vger.kernel.org, Linux-OMAP,
linux-gpio@vger.kernel.org
* Javier Martinez Canillas <javier@osg.samsung.com> [151117 05:51]:
> Hello Linus,
>
> On 11/17/2015 10:47 AM, Linus Walleij wrote:
> > On Fri, Nov 13, 2015 at 5:53 AM, Javier Martinez Canillas
> > <javier@osg.samsung.com> wrote:
> >
> >> The <dt-bindings/pinctrl/omap.h> header file defines a set of macros
> >> for different SoCs families that falls under the OMAP sub-arch, that
> >> allow to define the padconf register physical address instead of the
> >> register offset from the padconf base.
> >>
> >> But the am43xx and dra7xx SoCs families have their own pinctrl header
> >> file so the DTS using these SoCs aren't able to use the AM4372_IOPAD()
> >> and DRA7XX_CORE_IOPAD() macros since <dt-bindings/pinctrl/omap.h> is
> >> not included.
> >>
> >> Move the macros to the correct header files so can be used by the DTS.
> >>
> >> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> >
> > I need Tony's ACK on this.
> >
>
> OK, I believe he was waiting for yours to pick the series though ;)
Yeah probably best to keep this series together if you're OK with that.
Regards,
Tony
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-19 0:23 ` Tony Lindgren
@ 2015-11-25 18:39 ` Tony Lindgren
2015-11-30 16:46 ` Tony Lindgren
2015-12-10 16:48 ` Linus Walleij
0 siblings, 2 replies; 11+ messages in thread
From: Tony Lindgren @ 2015-11-25 18:39 UTC (permalink / raw)
To: Linus Walleij
Cc: Javier Martinez Canillas, linux-kernel@vger.kernel.org,
Linux-OMAP, linux-gpio@vger.kernel.org
Linus,
* Tony Lindgren <tony@atomide.com> [151118 16:25]:
> * Javier Martinez Canillas <javier@osg.samsung.com> [151117 05:51]:
> > Hello Linus,
> >
> > On 11/17/2015 10:47 AM, Linus Walleij wrote:
> > > On Fri, Nov 13, 2015 at 5:53 AM, Javier Martinez Canillas
> > > <javier@osg.samsung.com> wrote:
> > >
> > >> The <dt-bindings/pinctrl/omap.h> header file defines a set of macros
> > >> for different SoCs families that falls under the OMAP sub-arch, that
> > >> allow to define the padconf register physical address instead of the
> > >> register offset from the padconf base.
> > >>
> > >> But the am43xx and dra7xx SoCs families have their own pinctrl header
> > >> file so the DTS using these SoCs aren't able to use the AM4372_IOPAD()
> > >> and DRA7XX_CORE_IOPAD() macros since <dt-bindings/pinctrl/omap.h> is
> > >> not included.
> > >>
> > >> Move the macros to the correct header files so can be used by the DTS.
> > >>
> > >> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> > >
> > > I need Tony's ACK on this.
> > >
> >
> > OK, I believe he was waiting for yours to pick the series though ;)
>
> Yeah probably best to keep this series together if you're OK with that.
Care to ack this one? I'd like to apply this series for v4.5 within next
few days..
Regards,
Tony
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-25 18:39 ` Tony Lindgren
@ 2015-11-30 16:46 ` Tony Lindgren
2015-12-10 16:48 ` Linus Walleij
1 sibling, 0 replies; 11+ messages in thread
From: Tony Lindgren @ 2015-11-30 16:46 UTC (permalink / raw)
To: Linus Walleij
Cc: Javier Martinez Canillas, linux-kernel@vger.kernel.org,
Linux-OMAP, linux-gpio@vger.kernel.org
* Tony Lindgren <tony@atomide.com> [151125 10:40]:
> Linus,
>
> * Tony Lindgren <tony@atomide.com> [151118 16:25]:
> > * Javier Martinez Canillas <javier@osg.samsung.com> [151117 05:51]:
> > > Hello Linus,
> > >
> > > On 11/17/2015 10:47 AM, Linus Walleij wrote:
> > > > On Fri, Nov 13, 2015 at 5:53 AM, Javier Martinez Canillas
> > > > <javier@osg.samsung.com> wrote:
> > > >
> > > >> The <dt-bindings/pinctrl/omap.h> header file defines a set of macros
> > > >> for different SoCs families that falls under the OMAP sub-arch, that
> > > >> allow to define the padconf register physical address instead of the
> > > >> register offset from the padconf base.
> > > >>
> > > >> But the am43xx and dra7xx SoCs families have their own pinctrl header
> > > >> file so the DTS using these SoCs aren't able to use the AM4372_IOPAD()
> > > >> and DRA7XX_CORE_IOPAD() macros since <dt-bindings/pinctrl/omap.h> is
> > > >> not included.
> > > >>
> > > >> Move the macros to the correct header files so can be used by the DTS.
> > > >>
> > > >> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> > > >
> > > > I need Tony's ACK on this.
> > > >
> > >
> > > OK, I believe he was waiting for yours to pick the series though ;)
> >
> > Yeah probably best to keep this series together if you're OK with that.
>
> Care to ack this one? I'd like to apply this series for v4.5 within next
> few days..
Applying this series today into omap-for-v4.5/dt.
Regards,
Tony
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros
2015-11-16 16:38 ` Andrew F. Davis
@ 2015-11-30 16:49 ` Tony Lindgren
0 siblings, 0 replies; 11+ messages in thread
From: Tony Lindgren @ 2015-11-30 16:49 UTC (permalink / raw)
To: Andrew F. Davis
Cc: Javier Martinez Canillas, linux-kernel, linux-omap, linux-gpio,
Linus Walleij
* Andrew F. Davis <afd@ti.com> [151116 08:39]:
> On 11/13/2015 08:47 AM, Tony Lindgren wrote:
> >* Javier Martinez Canillas <javier@osg.samsung.com> [151112 20:55]:
> >>Hello Tony,
> >>
> >>This series converts all the remaining OMAP boards that didn't use the
> >>IOPAD macros to specify the padconf register addresses. The only board
> >>that I left was arch/arm/boot/dts/am335x-boneblack.dts because Andrew
> >>already posted a patch for that DTS [0].
> >>
> >>I built tested all the DTBs that are build by omap2plus_defconfig and
> >>the md5 checksum was the same before and after the patches so there's
> >>no functional change and is only to make the DTS more readable.
> >
> >Yes great. Being able to compare the register against the documentation
> >helps quite a bit. I plan on applying this series before anything else
> >after -rc1 as it may require other patches to be rebased.
> >
> >>Patch #1 should be acked by the pinctrl maintainer and picked through
> >>the linux-omap tree to maintain bisectability.
> >>
> >>[0]: https://lkml.org/lkml/2015/10/24/114
> >
>
> v3 of my little contribution also out when you pull:
> https://lkml.org/lkml/2015/11/13/480
Applying that one too into omap-for-v4.5/dt thanks.
Tony
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files
2015-11-25 18:39 ` Tony Lindgren
2015-11-30 16:46 ` Tony Lindgren
@ 2015-12-10 16:48 ` Linus Walleij
1 sibling, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2015-12-10 16:48 UTC (permalink / raw)
To: Tony Lindgren
Cc: Javier Martinez Canillas, linux-kernel@vger.kernel.org,
Linux-OMAP, linux-gpio@vger.kernel.org
On Wed, Nov 25, 2015 at 7:39 PM, Tony Lindgren <tony@atomide.com> wrote:
> Linus,
(...)
>> > OK, I believe he was waiting for yours to pick the series though ;)
>>
>> Yeah probably best to keep this series together if you're OK with that.
>
> Care to ack this one? I'd like to apply this series for v4.5 within next
> few days..
Sorry for the delay. ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-12-10 16:48 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-13 4:53 [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Javier Martinez Canillas
2015-11-13 4:53 ` [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files Javier Martinez Canillas
2015-11-17 13:47 ` Linus Walleij
2015-11-17 13:50 ` Javier Martinez Canillas
2015-11-19 0:23 ` Tony Lindgren
2015-11-25 18:39 ` Tony Lindgren
2015-11-30 16:46 ` Tony Lindgren
2015-12-10 16:48 ` Linus Walleij
2015-11-13 14:47 ` [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros Tony Lindgren
2015-11-16 16:38 ` Andrew F. Davis
2015-11-30 16:49 ` Tony Lindgren
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).