ARM: OMAP4+: hwmod: Add hwmod flag for HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET
authorDave Gerlach <d-gerlach@ti.com>
Tue, 12 Jul 2016 17:50:31 +0000 (12:50 -0500)
committerTony Lindgren <tony@atomide.com>
Sat, 23 Jul 2016 06:08:58 +0000 (23:08 -0700)
commit60a5b875047e827d0f5a1a3166df714be2ef13df
treea58e657084579acf3a5df1899dfe6a7365884de3
parentb46211d6dcfb81a8af66b8684a42d629183670d4
ARM: OMAP4+: hwmod: Add hwmod flag for HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET

Nearly all modules on OMAP4 and newer platforms have clkctrl offsets
that are non-zero except for the RTC on am335x. Because we rely on a
clkctrl_offset of zero to indicate no clkctrl_offset being present,
lets add a HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET flag to use to indicate
hwmods that have a valid clkctrl_offset of 0.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.h