Skip to contentSkip to conversation

arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

PATCH In review Keerthy 2 participants 3 messages Sep 6, 2017 – Sep 19, 2017

Subsystems (4)
lore
Share & tools
lore

Keerthy

author
#0 lore raw

PATCH 1/1 arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

gpio1 soft reset fails in the kexec path as the optional clock is not enabled hence enable the HWMOD_CONTROL_OPT_CLKS_IN_RESET flag for gpio1 hwmod.

---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +1 -0
index 7cc3247..6ae729a 100644
@@ -1037,6 +1037,7 @@ struct omap_hwmod dra7xx_sha0_hwmod = {
 	.name		= "gpio1",
 	.class		= &dra7xx_gpio_hwmod_class,
 	.clkdm_name	= "wkupaon_clkdm",
+	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
 	.main_clk	= "wkupaon_iclk_mux",
 	.prcm = {
 		.omap4 = {
Signature · 1 line
1.9.1
author
#1 lore raw
Quoted 3 lines · Keerthy

gpio1 soft reset fails in the kexec path as the optional clock is not enabled hence enable the HWMOD_CONTROL_OPT_CLKS_IN_RESET flag for gpio1 hwmod.

A gentle ping on this as well.

Quoted 19 lines
---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +1 -0
index 7cc3247..6ae729a 100644
@@ -1037,6 +1037,7 @@ struct omap_hwmod dra7xx_sha0_hwmod = {
 	.name		= "gpio1",
 	.class		= &dra7xx_gpio_hwmod_class,
 	.clkdm_name	= "wkupaon_clkdm",
+	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
 	.main_clk	= "wkupaon_iclk_mux",
 	.prcm = {
 		.omap4 = {
maintainer
#2 lore raw
Quoted 8 lines · Keerthy
Quoted 3 lines · Keerthy

gpio1 soft reset fails in the kexec path as the optional clock is not enabled hence enable the HWMOD_CONTROL_OPT_CLKS_IN_RESET flag for gpio1 hwmod.

A gentle ping on this as well.

With v4.14-rc1 now out, applying into omap-for-v4.14/fixes. I usually don't start applying fixes during the merge window unless really needed.

Regards,

Tony

Quoted 18 lines
Quoted 18 lines
---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +1 -0
index 7cc3247..6ae729a 100644
@@ -1037,6 +1037,7 @@ struct omap_hwmod dra7xx_sha0_hwmod = {
 	.name		= "gpio1",
 	.class		= &dra7xx_gpio_hwmod_class,
 	.clkdm_name	= "wkupaon_clkdm",
+	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
 	.main_clk	= "wkupaon_iclk_mux",
 	.prcm = {
 		.omap4 = {