[PATCH] ARM: OMAP: hwmod: Use sysc_fields->srst_shift and get rid of hardcoded SYSC_TYPE2_SOFTRESET_MASK

Paul Walmsley paul at pwsan.com
Thu Mar 1 20:08:37 EST 2012

On Thu, 1 Mar 2012, Rajendra Nayak wrote:

> This is useful when we have broken type2 compliant IPs' where
> the softreset shift is not the same as SYSC_TYPE2_SOFTRESET_SHIFT
> and hence is overridden using sysc_fields->srst_shift.
> We have atleast one such instance now with onchip keypad on OMAP5
> which has a different softreset shift as compared to other type2
> IPs'.
> Signed-off-by: Rajendra Nayak <rnayak at ti.com>
> Cc: Paul Walmsley <paul at pwsan.com>
> Cc: Benoit Cousson <b-cousson at ti.com>
> Cc: Balaji TK  <balajitk at ti.com>
> Tested-by: Sourav Poddar <sourav.poddar at ti.com>
> ---
> Paul,
> I based the patch on top of your reset/data cleanup series
> for hwmod. So its based on 'hwmod_data_cleanup_3.4' branch.

Thanks, Benoît's ack added and queued.

- Paul

More information about the linux-arm-kernel mailing list