Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Linux/AM5728: GPIO softreset failed (out of time) in kernel on AM5728

$
0
0
in the beginning of kernel start, gpio1 will reset,it's ok After kernel has started, read gpio1 sysstatus[0] ,it's 0x1 then I reset gpio1 by set gpio1 syssysconfig by val 0x1f , GPIO1 SYSSATUS[0] turn to 0 ,and never turn to 1, softreset failed (waited 1000usec) I use board tmdsevm572x ,am572x gpio1's init code is : static struct omap_hwmod dra7xx_gpio1_hwmod = { .name = "gpio1", .class = &dra7xx_gpio_hwmod_class, .clkdm_name = "wkupaon_clkdm", // the clk source is different from other gpio(2-8) .main_clk = "wkupaon_iclk_mux", .prcm = { .omap4 = { .clkctrl_offs = DRA7XX_CM_WKUPAON_GPIO1_CLKCTRL_OFFSET, .context_offs = DRA7XX_RM_WKUPAON_GPIO1_CONTEXT_OFFSET, .modulemode = MODULEMODE_HWCTRL, }, }, .opt_clks = gpio1_opt_clks, .opt_clks_cnt = ARRAY_SIZE(gpio1_opt_clks), .dev_attr = &gpio_dev_attr, };

Viewing all articles
Browse latest Browse all 25965

Trending Articles