Re: [PATCH 2/3] mfd: db8500-prcmu: Fetch the PRCMU TCDM base address from Device Tree

From: Arnd Bergmann
Date: Tue Mar 26 2013 - 06:00:49 EST


On Tuesday 26 March 2013, Lee Jones wrote:
> Bit for information for you.
>
> I have confirmed that the address locations are the same for
> all SoCs are the same. However, the size of the TCDM changes from 4k
> on the db8500 to 12k on the db8540.
>
> Is there a way we can increase the size for the db8540 without
> creating an entire new DTS file? Seems overkill.

You can always override a property by setting it again, like

soc {
prcmu: db8500-prcmu@abcd0000 {
reg = <0xabcd0000 0x1000>;
};
};

...


&prcmu {
reg = <0xabcd0000 0x3000>;
}



Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/