what exactly is of_node_reused fiel for ?

From: Enrico Weigelt, metux IT consult <hidden>
Date: 2021-02-19 10:47:59

Hello folks,


I wonder what's the of_node_reused field is actually for.
I've seen that some devices seem to use the same device_node than
another one (eg. some devices seem to reuse the node of their
parent), and in that case the flag is set.

The only place (I've found so far) where it's used is in
pinctrl_bind_pins() - it breaks out when this flag is set.

Still wondering what's the actual meaning behind this - is that for
preventing doing the pinctrl setup twice ?


--mtx

-- 
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help