On Thu, Oct 15, 2015 at 9:23 PM, Stephen Boyd [off-list ref] wrote:
On 10/15, Linus Walleij wrote:
quoted
+Required properties:
+- lock-offset: the offset address into the system controller where the
+ unlocking register is located
+- vco-offset: the offset address into the system controller where the
+ ICST control register is located (even 32 bit address)
Is there any reason why we don't use a reg property for this?
Usually reg = <> is used with two (or more) tokens:
reg = <phys_addr size>;
The exception being things like I2C addresses which
are just one token.
Since in this case, there is a "mother" reg property in the
syscon-compatible node, which we are indexing into,
it is confusing to use the same name for subnodes.
Also there is a bunch of precedents doing it like this
for sybdevices to system controllers, just
git grep offset Documentation/devicetree/bindings
will give you a bunch of them.
(Fixing the spelling comments.)
Yours,
Linus Walleij