]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: phy: rockchip-inno-csi-dphy: make power-domains non-required
authorMichael Riesch <michael.riesch@collabora.com>
Wed, 3 Sep 2025 17:04:50 +0000 (19:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 10 Sep 2025 15:52:28 +0000 (21:22 +0530)
There are variants of the Rockchip Innosilicon CSI DPHY (e.g., the RK3568
variant) that are powered on by default as they are part of the ALIVE power
domain.
Remove 'power-domains' from the required properties in order to avoid false
positives.

Fixes: 22c8e0a69b7f ("dt-bindings: phy: add compatible for rk356x to rockchip-inno-csi-dphy")
Cc: stable@kernel.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Michael Riesch <michael.riesch@collabora.com>
Link: https://lore.kernel.org/r/20250616-rk3588-csi-dphy-v4-2-a4f340a7f0cf@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml

index 5ac994b3c0aa156bff9a49219f41a0dcc401855c..b304bc5a08c4027061f8dc64d9d2392148ecb67b 100644 (file)
@@ -57,11 +57,24 @@ required:
   - clocks
   - clock-names
   - '#phy-cells'
-  - power-domains
   - resets
   - reset-names
   - rockchip,grf
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - rockchip,px30-csi-dphy
+              - rockchip,rk1808-csi-dphy
+              - rockchip,rk3326-csi-dphy
+              - rockchip,rk3368-csi-dphy
+    then:
+      required:
+        - power-domains
+
 additionalProperties: false
 
 examples: