From: Chanho Park Date: Tue, 7 Jun 2022 07:29:03 +0000 (+0900) Subject: dt-bindings: phy: samsung,ufs-phy: make pmu-syscon as phandle-array X-Git-Tag: v6.6.17~6911^2~5^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0610f939e52c94c22d1a801fe939f283b9400a36;p=platform%2Fkernel%2Flinux-rpi.git dt-bindings: phy: samsung,ufs-phy: make pmu-syscon as phandle-array To support secondary ufs phy devices, we need to get an offset value from pmu-syscon. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Chanho Park Link: https://lore.kernel.org/r/20220607072907.127000-2-chanho61.park@samsung.com Signed-off-by: Vinod Koul --- diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml index f6ed1a0..17897a3 100644 --- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml @@ -40,9 +40,17 @@ properties: - const: tx0_symbol_clk samsung,pmu-syscon: - $ref: '/schemas/types.yaml#/definitions/phandle' - description: phandle for PMU system controller interface, used to - control pmu registers bits for ufs m-phy + $ref: '/schemas/types.yaml#/definitions/phandle-array' + maxItems: 1 + items: + minItems: 1 + items: + - description: phandle for PMU system controller interface, used to + control pmu registers bits for ufs m-phy + - description: offset of the pmu control register + description: + It can be phandle/offset pair. The second cell which can represent an + offset is optional. required: - "#phy-cells"