Thread (2 messages) 2 messages, 2 authors, 2015-10-23

[PATCH 08/13] clk: add ARM syscon ICST device tree bindings

From: Linus Walleij <hidden>
Date: 2015-10-23 09:48:09
Also in: linux-clk, linux-devicetree

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help