Thread (20 messages) read the whole thread 20 messages, 6 authors, 2021-11-23

Re: [PATCH 2/5] dt-bindings: pinctrl: brcm,ns-pinmux: extend example

From: Tony Lindgren <tony@atomide.com>
Date: 2021-11-23 09:15:45
Also in: linux-arm-kernel, linux-devicetree

* Rafał Miłecki [off-list ref] [211123 07:56]:
Does it mean above "reg" usages are all incorrect and binding "reg" in
such way is deprecated? This is something totally new to me, can you
confirm that, please?
Here you have a device with multiple control register instances at
various register offsets. Using index here makes as much sense as
the old interrupt number defines we used to have but got rid of.

Please don't use an index to address them. Index makes sense when
there is no real offset to use, like a SPI chip select, or a bit
offset inside the register like a GPIO instance bit.

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help