[PATCH] ARM: OMAP4: clock/hwmod data: remove MODULEMODE entries in mux + gate combos

Mike Turquette mturquette at linaro.org
Fri Jan 11 21:53:19 EST 2013


Quoting Paul Walmsley (2012-12-17 14:41:13)
> Convert all DEFINE_OMAP_MUX_GATE() combinations that list MODULEMODE
> registers in their gate arguments to DEFINE_OMAP_MUX(), dropping the
> MODULEMODE data.  This is possible because the MODULEMODE bits control
> IP blocks, not clocks; and the hwmod code takes care of IP block
> control.  Rename these clocks to reflect the original multiplexer name
> as specified in the comments.  And convert the hwmod data to use the
> multiplexer clock name.
> 
> Signed-off-by: Paul Walmsley <paul at pwsan.com>
> Cc: Benoît Cousson <b-cousson at ti.com>
> Cc: Mike Turquette <mturquette at linaro.org>
> ---
> 
> Seems to boot with omap2plus_defconfig, anyway.
> 

It looks good to me, and I am happy to see fewer clocks in favor of
using the hwmods.  However I did not test it.

Regards,
Mike



More information about the linux-arm-kernel mailing list