Skip to content

Commit c254815

Browse files
Michael Rieschvinodkoul
authored andcommitted
dt-bindings: phy: rockchip-inno-csi-dphy: make power-domains non-required
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: 22c8e0a ("dt-bindings: phy: add compatible for rk356x to rockchip-inno-csi-dphy") Cc: [email protected] Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Michael Riesch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 43bd2c4 commit c254815

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,24 @@ required:
5757
- clocks
5858
- clock-names
5959
- '#phy-cells'
60-
- power-domains
6160
- resets
6261
- reset-names
6362
- rockchip,grf
6463

64+
allOf:
65+
- if:
66+
properties:
67+
compatible:
68+
contains:
69+
enum:
70+
- rockchip,px30-csi-dphy
71+
- rockchip,rk1808-csi-dphy
72+
- rockchip,rk3326-csi-dphy
73+
- rockchip,rk3368-csi-dphy
74+
then:
75+
required:
76+
- power-domains
77+
6578
additionalProperties: false
6679

6780
examples:

0 commit comments

Comments
 (0)