]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: dt: writing-bindings: Document discouraged instance IDs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 13 Jul 2025 12:46:38 +0000 (14:46 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 14 Jul 2025 21:23:52 +0000 (16:23 -0500)
commit6a57cf210711c068a650bd86acae4a88303dfd5d
tree854f719bc090b342a7db83da1030428db8f39836
parenta1d87a3586152f52856b449c4787f21cb35d430f
docs: dt: writing-bindings: Document discouraged instance IDs

Document established Devicetree bindings maintainers review practice:
instance indexes, either as properties or as custom new OF alias, are
not accepted.  Recommended way is to use, depending on the
situation/hardware: different compatible, cell arguments or syscon
phandle arguments.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250713-dt-bindings-docs-v2-3-672c898054ae@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/writing-bindings.rst