* Tony Lindgren <tony@xxxxxxxxxxx> [181210 16:21]: > * Peter Ujfalusi <peter.ujfalusi@xxxxxx> [181210 16:13]: > > am335x-evmsk is still not booting with this patch on top of next-20181210. > > Oh interesting. OK so to prevent the hwmod code from resetting gpios very early, this now might become necessary. Care to try with this also applied? Regards, Tony 8< ------------------------ diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c --- a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c @@ -516,24 +516,8 @@ struct omap_hwmod am33xx_epwmss2_hwmod = { }, }; -/* - * 'gpio' class: for gpio 0,1,2,3 - */ -static struct omap_hwmod_class_sysconfig am33xx_gpio_sysc = { - .rev_offs = 0x0000, - .sysc_offs = 0x0010, - .syss_offs = 0x0114, - .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_ENAWAKEUP | - SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | - SYSS_HAS_RESET_STATUS), - .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | - SIDLE_SMART_WKUP), - .sysc_fields = &omap_hwmod_sysc_type1, -}; - struct omap_hwmod_class am33xx_gpio_hwmod_class = { .name = "gpio", - .sysc = &am33xx_gpio_sysc, .rev = 2, };