Skip to contentSkip to conversation

ARM: OMAP5+: pdata quirks for pinctrl

PATCH In review Nishanth Menon 1 participant 5 messages Aug 22, 2014 – Sep 8, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ARM: OMAP5+: pdata quirks for pinctrl

The following series are various fixes and improvements for daisychain support in OMAP5+ using pinctrl framework similar to that done for OMAP3+

This is part 3/6 series which eventually enables framework for suspend-to-ram and cpuidle for OMAP5 and DRA7

Each of series is based on v3.17-rc1 and this specific series is available:
weblink: https://github.com/nmenon/linux-2.6-playground/commits/push/v3.17/prm-pdata-quirks

git repo: https://github.com/nmenon/linux-2.6-playground.git push/v3.17/prm-pdata-quirks

An complete integrated branch is available here: https://github.com/nmenon/linux-2.6-playground/commits/testing/v3.17/cpu-idle-suspend-dra7-omap5-framework

Minor note: thanks to existing style in pdata-quirks, new entries continue to possess 'over 80 character' checkpatch warnings

Keerthy (1):
ARM: AM437x: use pdata quirks for pinctrl information

Nishanth Menon (2):
ARM: OMAP5: use pdata quirks for pinctrl information
ARM: DRA7: use pdata quirks for pinctrl information

 arch/arm/mach-omap2/pdata-quirks.c |   10 ++++++++++
 1 file changed, 10 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/3 ARM: OMAP5: use pdata quirks for pinctrl information

Provide pdata-quirks for OMAP5 processor family.

---
 arch/arm/mach-omap2/pdata-quirks.c |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/mach-omap2/pdata-quirks.c +4 -0
index 90c88d4..edacfed 100644
@@ -352,6 +352,10 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
 	OF_DEV_AUXDATA("ti,omap4-padconf", 0x4a100040, "4a100040.pinmux", &pcs_pdata),
 	OF_DEV_AUXDATA("ti,omap4-padconf", 0x4a31e040, "4a31e040.pinmux", &pcs_pdata),
 #endif
+#ifdef CONFIG_SOC_OMAP5
+	OF_DEV_AUXDATA("ti,omap5-padconf", 0x4a002840, "4a002840.pinmux", &pcs_pdata),
+	OF_DEV_AUXDATA("ti,omap5-padconf", 0x4ae0c840, "4ae0c840.pinmux", &pcs_pdata),
+#endif
 #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5)
 	OF_DEV_AUXDATA("ti,omap4-iommu", 0x4a066000, "4a066000.mmu",
 		       &omap4_iommu_pdata),
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/3 ARM: DRA7: use pdata quirks for pinctrl information

In reply to Nishanth Menon

Provide pdata-quirks for DRA7 processor family.

---
 arch/arm/mach-omap2/pdata-quirks.c |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/pdata-quirks.c +3 -0
index edacfed..827e106 100644
@@ -356,6 +356,9 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
 	OF_DEV_AUXDATA("ti,omap5-padconf", 0x4a002840, "4a002840.pinmux", &pcs_pdata),
 	OF_DEV_AUXDATA("ti,omap5-padconf", 0x4ae0c840, "4ae0c840.pinmux", &pcs_pdata),
 #endif
+#ifdef CONFIG_SOC_DRA7XX
+	OF_DEV_AUXDATA("ti,dra7-padconf", 0x4a003400, "4a003400.pinmux", &pcs_pdata),
+#endif
 #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5)
 	OF_DEV_AUXDATA("ti,omap4-iommu", 0x4a066000, "4a066000.mmu",
 		       &omap4_iommu_pdata),
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/3 ARM: AM437x: use pdata quirks for pinctrl information

In reply to Nishanth Menon

From: Keerthy <[email protected]>

Provide pdata-quirks for Am437x processor family.

---
 arch/arm/mach-omap2/pdata-quirks.c |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/pdata-quirks.c +3 -0
index 827e106..5fea34e 100644
@@ -359,6 +359,9 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
 #ifdef CONFIG_SOC_DRA7XX
 	OF_DEV_AUXDATA("ti,dra7-padconf", 0x4a003400, "4a003400.pinmux", &pcs_pdata),
 #endif
+#ifdef CONFIG_SOC_AM43XX
+	OF_DEV_AUXDATA("ti,am437-padconf", 0x44e10800, "44e10800.pinmux", &pcs_pdata),
+#endif
 #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5)
 	OF_DEV_AUXDATA("ti,omap4-iommu", 0x4a066000, "4a066000.mmu",
 		       &omap4_iommu_pdata),
Signature · 1 line
1.7.9.5
#4 lore raw
In reply to Nishanth Menon
Quoted 20 lines · Nishanth Menon

The following series are various fixes and improvements for daisychain support in OMAP5+ using pinctrl framework similar to that done for OMAP3+

This is part 3/6 series which eventually enables framework for suspend-to-ram and cpuidle for OMAP5 and DRA7

Each of series is based on v3.17-rc1 and this specific series is available:
weblink: https://github.com/nmenon/linux-2.6-playground/commits/push/v3.17/prm-pdata-quirks

git repo: https://github.com/nmenon/linux-2.6-playground.git push/v3.17/prm-pdata-quirks

An complete integrated branch is available here: https://github.com/nmenon/linux-2.6-playground/commits/testing/v3.17/cpu-idle-suspend-dra7-omap5-framework

Minor note: thanks to existing style in pdata-quirks, new entries continue to possess 'over 80 character' checkpatch warnings

Keerthy (1):
ARM: AM437x: use pdata quirks for pinctrl information

Quoted 7 lines

Nishanth Menon (2):
ARM: OMAP5: use pdata quirks for pinctrl information
ARM: DRA7: use pdata quirks for pinctrl information

 arch/arm/mach-omap2/pdata-quirks.c |   10 ++++++++++
 1 file changed, 10 insertions(+)

Since there are no further comments (and the pinctrl side of the fixes were accepted by Linus W[1], will send this for merge to Tony.

[1] http://marc.info/?l=linux-kernel&m=140871666506706&w=2 (acked by Tony, picked by Linus)

Signature · 2 lines
Regards,
Nishanth Menon