<p>It worked when I tested it?</p>
<p>Sent from my mobile Linux device.</p>
<div class="gmail_quote">On Jan 18, 2013 7:59 PM, "Linus Walleij" <<a href="mailto:linus.walleij@linaro.org">linus.walleij@linaro.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jan 11, 2013 at 4:45 PM, Lee Jones <<a href="mailto:lee.jones@linaro.org">lee.jones@linaro.org</a>> wrote:<br>
<br>
> The Nomadik Pinctrl driver requires access to some PRCMU registers<br>
> in order to run with full functionality. When Device Tree is<br>
> disabled the required PRCMU base address is passed in via platform<br>
> data, so in order for Device Tree booting to be as functional, we<br>
> need a similar mechanism to fetch it from Device Tree.<br>
><br>
> The new semantics goes like this: Parse the Device Tree and look<br>
> for the PRCMU node using a provided Phandle. Obtain the ioremaped<br>
> address from that node. If one was supplied via platform data<br>
> over-write it with anything found in Device Tree. Fail if either<br>
> the prcm_base can't be found if we're running on anything other<br>
> than an STN8815 ASIC.<br>
><br>
> Signed-off-by: Lee Jones <<a href="mailto:lee.jones@linaro.org">lee.jones@linaro.org</a>><br>
<br>
Applied as well, notice I had to add this hunk to the first<br>
patch to have things working:<br>
<br>
diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi<br>
index 05d97f6..96f518b 100644<br>
--- a/arch/arm/boot/dts/dbx5x0.dtsi<br>
+++ b/arch/arm/boot/dts/dbx5x0.dtsi<br>
@@ -192,6 +192,7 @@<br>
prcmu: prcmu@80157000 {<br>
compatible = "stericsson,db8500-prcmu";<br>
reg = <0x80157000 0x1000>;<br>
+ reg-names = "prcmu";<br>
interrupts = <0 47 0x4>;<br>
#address-cells = <1>;<br>
#size-cells = <1>;<br>
<br>
Lest the code won't find the prcmu registers.<br>
<br>
Yours,<br>
Linus Walleij<br>
</blockquote></div>