]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: ata: rockchip-dwc-ahci: add RK3576 compatible
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Thu, 24 Apr 2025 18:52:22 +0000 (20:52 +0200)
committerNiklas Cassel <cassel@kernel.org>
Mon, 28 Apr 2025 08:34:21 +0000 (10:34 +0200)
The Rockchip RK3576 has two SATA controllers. They work the same as the
RK3568 SATA controllers, having the same number of clocks and ports.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/r/20250424-rk3576-sata-v1-1-23ee89c939fe@collabora.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Documentation/devicetree/bindings/ata/rockchip,dwc-ahci.yaml

index 13eaa8d9a16e5a4bd43b3e184f9277494acf27a1..b5ecaabfe2e2537afe6093558fb0ab975dcf6058 100644 (file)
@@ -20,6 +20,7 @@ select:
       contains:
         enum:
           - rockchip,rk3568-dwc-ahci
+          - rockchip,rk3576-dwc-ahci
           - rockchip,rk3588-dwc-ahci
   required:
     - compatible
@@ -29,6 +30,7 @@ properties:
     items:
       - enum:
           - rockchip,rk3568-dwc-ahci
+          - rockchip,rk3576-dwc-ahci
           - rockchip,rk3588-dwc-ahci
       - const: snps,dwc-ahci
 
@@ -83,6 +85,7 @@ allOf:
           contains:
             enum:
               - rockchip,rk3568-dwc-ahci
+              - rockchip,rk3576-dwc-ahci
     then:
       properties:
         clocks: