Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727325 > unrolled thread

[PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

Started byKeerthy <j-keerthy@ti.com>
First post2017-09-06 12:40 +0200
Last post2017-09-06 12:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1 Keerthy <j-keerthy@ti.com> - 2017-09-06 12:40 +0200

#1727325 — [PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

FromKeerthy <j-keerthy@ti.com>
Date2017-09-06 12:40 +0200
Subject[PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1
Message-ID<umFUt-oN-5@gated-at.bofh.it>
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.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index 7cc3247..6ae729a 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -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 = {
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web