ARM: Keystone: Enable PINCTRL for Keystone ARCH
Subsystems (4)
PATCH 1/5 ARM: Keystone: Enable PINCTRL for Keystone ARCH
From: Franklin Cooper <[email protected]>
Unlike other Keystone 2 devices, newer Keystone 2 SOCs may utilize pinmuxing which requires PINCTRL to be enabled. Therefore, enable PINCTRL for all Keystone 2 devices.
--- arch/arm/mach-keystone/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-keystone/Kconfig +1 -0
@@ -11,6 +11,7 @@ config ARCH_KEYSTONE select ZONE_DMA if ARM_LPAE select MIGHT_HAVE_PCI select PCI_DOMAINS if PCI + select PINCTRL help Support for boards based on the Texas Instruments Keystone family of SoCs.
Signature · 1 line
2.6.1
PATCH 2/5 mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2
From: Lokesh Vutla <[email protected]>
Enable omap_hsmmc for Keystone 2 architecture which reuses the HSMMC IP found on OMAP platforms.
--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
@@ -366,7 +366,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" depends on HAS_DMA - depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface. If you have an omap2plus board with a Multimedia Card slot,
Signature · 1 line
2.6.1
PATCH 3/5 ARM: keystone: defconfig: Enable PINCTRL SINGLE for Keystone 2
In reply to Franklin S Cooper JrNewer Keystone 2 devices utilize pinmuxing. Enable PINCTRL SINGLE which is used to handle pinmuxing.
--- arch/arm/configs/keystone_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/keystone_defconfig +1 -0
@@ -208,3 +208,4 @@ CONFIG_GPIO_SYSCON=y CONFIG_TI_DAVINCI_MDIO=y CONFIG_MARVELL_PHY=y CONFIG_DEVTMPFS=y +CONFIG_PINCTRL_SINGLE=y
Signature · 1 line
2.6.1
PATCH 4/5 ARM: keystone: defconfig: Enable MMC support
In reply to Franklin S Cooper JrNewer Keystone 2 devices support MMC and can boot from MMC. Therefore, enable MMC support along with MMC OMAP HS whose driver is reused.
--- arch/arm/configs/keystone_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/keystone_defconfig +2 -0
@@ -137,6 +137,8 @@ CONFIG_I2C_DAVINCI=y CONFIG_SPI=y CONFIG_SPI_DAVINCI=y CONFIG_SPI_SPIDEV=y +CONFIG_MMC=y +CONFIG_MMC_OMAP_HS=y # CONFIG_HWMON is not set CONFIG_POWER_SUPPLY=y CONFIG_POWER_RESET=y
Signature · 1 line
2.6.1
PATCH 5/5 ARM: keystone: defconfig: Enable CAN support
In reply to Franklin S Cooper JrNewer Keystone 2 devices support CAN. Enable CAN support as modules.
--- arch/arm/configs/keystone_defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/configs/keystone_defconfig +3 -0
@@ -137,6 +137,9 @@ CONFIG_I2C_DAVINCI=y CONFIG_SPI=y CONFIG_SPI_DAVINCI=y CONFIG_SPI_SPIDEV=y +CONFIG_CAN=m +CONFIG_CAN_C_CAN=m +CONFIG_CAN_C_CAN_PLATFORM=m CONFIG_MMC=y CONFIG_MMC_OMAP_HS=y # CONFIG_HWMON is not set
Signature · 1 line
2.6.1
Re: [PATCH 2/5] mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2
In reply to Franklin S Cooper JrQuoted 16 lines · Franklin S Cooper Jr
From: Lokesh Vutla <[email protected]>
Enable
omap_hsmmcfor Keystone 2 architecture which reuses the HSMMC IP found on OMAP platforms.Signed-off-by Franklin S Cooper Jr <[email protected]>--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/Kconfig +0
-0
drivers/mmc/host/Kconfig config MMC_OMAP · line 372
Quoted 8 lines
drivers/mmc/host/Kconfig +1
-1@@ -366,7 +366,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" depends on HAS_DMA - depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface. If you have an omap2plus board with a Multimedia Card slot,
Please send this to MMC tree.
Regards,
Santosh
Quoted 11 lines · Franklin S Cooper Jr
From: Franklin Cooper <[email protected]>
Unlike other Keystone 2 devices, newer Keystone 2 SOCs may utilize pinmuxing which requires PINCTRL to be enabled. Therefore, enable PINCTRL for all Keystone 2 devices.
Signed-off-by Franklin S Cooper Jr <[email protected]>--- arch/arm/mach-keystone/Kconfig | 1 + 1 file changed, 1 insertion(+)
I would be happy to add this one when I see pin control data in DTS and its actually going to be used in upstream kernel. Till then I don't want to add this one.
Regards,
Santosh
Re: [PATCH 4/5] ARM: keystone: defconfig: Enable MMC support
In reply to Franklin S Cooper JrQuoted 5 lines · Franklin S Cooper Jr
Newer Keystone 2 devices support MMC and can boot from MMC. Therefore, enable MMC support along with MMC OMAP HS whose driver is reused.
Signed-off-by Franklin S Cooper Jr <[email protected]>---
Please notify once MMC patch is accepted and I will this one then.
Re: [PATCH 5/5] ARM: keystone: defconfig: Enable CAN support
In reply to Franklin S Cooper JrQuoted 4 lines · Franklin S Cooper Jr
Newer Keystone 2 devices support CAN. Enable CAN support as modules.
Signed-off-by Franklin S Cooper Jr <[email protected]>---
Again. Please shown me the usecases before adding config option. DTS nodes have to be there.
Quoted 18 lines
arch/arm/configs/keystone_defconfig | 3 +++ 1 file changed, 3 insertions(+)arch/arm/configs/keystone_defconfig +3
-0@@ -137,6 +137,9 @@ CONFIG_I2C_DAVINCI=y CONFIG_SPI=y CONFIG_SPI_DAVINCI=y CONFIG_SPI_SPIDEV=y +CONFIG_CAN=m +CONFIG_CAN_C_CAN=m +CONFIG_CAN_C_CAN_PLATFORM=m CONFIG_MMC=y CONFIG_MMC_OMAP_HS=y # CONFIG_HWMON is not set
Re: [PATCH 2/5] mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2
In reply to Franklin S Cooper JrQuoted 16 lines · Franklin S Cooper Jr
From: Lokesh Vutla <[email protected]>
Enable
omap_hsmmcfor Keystone 2 architecture which reuses the HSMMC IP found on OMAP platforms.Signed-off-by Franklin S Cooper Jr <[email protected]>--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/Kconfig +0
-0
drivers/mmc/host/Kconfig config MMC_OMAP · line 369
Quoted 5 lines
drivers/mmc/host/Kconfig +1
-1@@ -366,7 +366,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" depends on HAS_DMA - depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
How about:
"depends on ARM || COMPILE_TEST"
Quoted 7 lines
drivers/mmc/host/Kconfig +0
-1help This selects the TI OMAP High Speed Multimedia card Interface. If you have an omap2plus board with a Multimedia Card slot, --2.6.1
Kind regards
Uffe
Re: [PATCH 2/5] mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2
Quoted 12 lines · Ulf Hansson
Quoted 11 lines · Franklin S Cooper Jr
From: Lokesh Vutla <[email protected]>
Enable
omap_hsmmcfor Keystone 2 architecture which reuses the HSMMC IP found on OMAP platforms.Signed-off-by Franklin S Cooper Jr <[email protected]>--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
drivers/mmc/host/Kconfig config MMC_OMAP · line 369
Quoted 10 lines
drivers/mmc/host/Kconfig +1
-1@@ -366,7 +366,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" depends on HAS_DMA - depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TESTHow about:
"depends on ARM ||COMPILE_TEST"
I'd much prefer the former actually - it's already hard enough to use the config tools with the kernel due to the number of silly options being presented, there's no need to make it worse.
In fact, I'd like to see more of the former (provided done sensibly) to reduce the number of config options seen for configurations to cut down on the shere noise of useless options. For example, if I've decided I don't want to support TI OMAP platforms, then I shouldn't be offered the TI OMAP MMC driver.
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
Ulf Hansson
AppliedRe: [PATCH 2/5] mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2
Quoted 31 lines · Russell King - ARM Linux
Quoted 12 lines · Ulf Hansson
Quoted 11 lines · Franklin S Cooper Jr
From: Lokesh Vutla <[email protected]>
Enable
omap_hsmmcfor Keystone 2 architecture which reuses the HSMMC IP found on OMAP platforms.Signed-off-by Franklin S Cooper Jr <[email protected]>--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 13 lines
drivers/mmc/host/Kconfig config MMC_OMAP · line 369
Quoted 10 lines
drivers/mmc/host/Kconfig +1
-1@@ -366,7 +366,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" depends on HAS_DMA - depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TESTHow about:
"depends on ARM ||COMPILE_TEST"I'd much prefer the former actually - it's already hard enough to use the config tools with the kernel due to the number of silly options being presented, there's no need to make it worse.
Quoted 5 lines
In fact, I'd like to see more of the former (provided done sensibly) to reduce the number of config options seen for configurations to cut down on the shere noise of useless options. For example, if I've decided I don't want to support TI OMAP platforms, then I shouldn't be offered the TI OMAP MMC driver.
Okay, fair enough and I don't have any strong opinions around this.
I queued up the patch for next, thanks!
Kind regards
Uffe
Quoted 12 lines · santosh shilimkar
Quoted 11 lines · Franklin S Cooper Jr
From: Franklin Cooper <[email protected]>
Unlike other Keystone 2 devices, newer Keystone 2 SOCs may utilize pinmuxing which requires PINCTRL to be enabled. Therefore, enable PINCTRL for all Keystone 2 devices.
Signed-off-by Franklin S Cooper Jr <[email protected]>--- arch/arm/mach-keystone/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 5 lines
I would be happy to add this one when I see pin control data in DTS and its actually going to be used in upstream kernel. Till then I don't want to add this one.
Agree. It is too early to add the defconfig update and should be deferred to when the DTS update is made. What if the newer keystone 2 SoC never end up in the tree?
Murali
Quoted 3 lines
Regards,
Santosh
Signature · 2 lines
Murali Karicheri Linux Kernel, Keystone
Quoted 17 lines · Franklin S Cooper Jr
From: Franklin Cooper <[email protected]>
Unlike other Keystone 2 devices, newer Keystone 2 SOCs may utilize pinmuxing which requires PINCTRL to be enabled. Therefore, enable PINCTRL for all Keystone 2 devices.
Signed-off-by Franklin S Cooper Jr <[email protected]>--- arch/arm/mach-keystone/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-keystone/Kconfig +0
-0
arch/arm/mach-keystone/Kconfig config ARCH_KEYSTONE · line 17
Quoted 7 lines
arch/arm/mach-keystone/Kconfig +1
-0@@ -11,6 +11,7 @@ config ARCH_KEYSTONE select ZONE_DMA if ARM_LPAE select MIGHT_HAVE_PCI select PCI_DOMAINS if PCI + select PINCTRL help Support for boards based on the Texas Instruments Keystone family of SoCs.
Have the Newer SoC base port is sent to the list? Please add these along with that series, not now.
Signature · 2 lines
Murali Karicheri Linux Kernel, Keystone