Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss

TRM says PWMSS_SYSCONFIG bit for SOFTRESET changes to zero when
reset is completed. Let's configure it as otherwise we get warnings
on boot when we check the data against dts provided data. Eventually
the legacy platform data will be just dropped, but let's fix the
warning first.

Reviewed-by: Suman Anna <s-anna@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

+2 -1
+2 -1
arch/arm/mach-omap2/omap_hwmod_7xx_data.c
··· 379 379 static struct omap_hwmod_class_sysconfig dra7xx_epwmss_sysc = { 380 380 .rev_offs = 0x0, 381 381 .sysc_offs = 0x4, 382 - .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET, 382 + .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | 383 + SYSC_HAS_RESET_STATUS, 383 384 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 384 385 .sysc_fields = &omap_hwmod_sysc_type2, 385 386 };