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)
commit30e1f7bb96a918b6551ff5f97dd9f144aa04386d
tree808b79a5af9d35fcce3ddf0783cc0f1dc823bb7c
parent6a82ef85c4a4de42214e0c5a79242d54436541c3
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]