]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: samsung: document preferred compatible naming
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 5 Jul 2022 16:13:40 +0000 (18:13 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 6 Jul 2022 16:04:18 +0000 (18:04 +0200)
commitfbab5fc9e20105cea62eb38a5e918c40e5e9f2c9
tree808b79a5af9d35fcce3ddf0783cc0f1dc823bb7c
parent87349156703e10899a2b8765bd8540d80cd4f4d4
dt-bindings: samsung: document preferred compatible naming

Compatibles can come in two formats.  Either "vendor,ip-soc" or
"vendor,soc-ip".  Add a DT schema documenting preferred policy and
enforcing it for all new compatibles, except few existing patterns.  The
schema also disallows wild-cards used in SoC compatibles.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220705161340.493474-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/arm/samsung/samsung-soc.yaml [new file with mode: 0644]