]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: arm: amlogic: introduce specific compatibles for S4 family
authorNick Xie <nick@khadas.com>
Thu, 15 Jan 2026 03:00:13 +0000 (11:00 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 15 Jan 2026 13:00:43 +0000 (14:00 +0100)
The Amlogic S4 SoC family includes multiple variants, such as the S805X2
and S905Y4. Currently, the bindings only define the generic "amlogic,s4"
compatible.

This patch introduces specific compatibles "amlogic,s805x2" and
"amlogic,s905y4" to properly differentiate these SoCs while keeping
"amlogic,s4" as the family fallback.

This allows for more precise hardware description and future-proofing
if SoC-specific quirks arise.

Signed-off-by: Nick Xie <nick@khadas.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260115030015.1334517-2-nick@khadas.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Documentation/devicetree/bindings/arm/amlogic.yaml

index 08d9963fe92598ec122a3613f0a67289e49277ac..a885278bc4e2e4c344d4a5c4efddc251de5e2f4e 100644 (file)
@@ -245,6 +245,14 @@ properties:
         items:
           - enum:
               - amlogic,aq222
+          - const: amlogic,s805x2
+          - const: amlogic,s4
+
+      - description: Boards with the Amlogic Meson S4 S905Y4 SoC
+        items:
+          - enum:
+              - khadas,vim1s
+          - const: amlogic,s905y4
           - const: amlogic,s4
 
       - description: Boards with the Amlogic S6 S905X5 SoC