Skip to content

Commit 4e06ec0

Browse files
committed
dt-bindings: ufs: samsung,exynos-ufs: Add size constraints on "samsung,sysreg"
The 'phandle-array' type is a bit ambiguous. It can be either just an array of phandles or an array of phandles plus args. "samsung,sysreg" is the latter and needs to be constrained to a single entry with a phandle and offset. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240124190733.1554314-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 8f1e0d7 commit 4e06ec0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,12 @@ properties:
5555

5656
samsung,sysreg:
5757
$ref: /schemas/types.yaml#/definitions/phandle-array
58-
description: Should be phandle/offset pair. The phandle to the syscon node
59-
which indicates the FSYSx sysreg interface and the offset of
60-
the control register for UFS io coherency setting.
58+
items:
59+
- items:
60+
- description: phandle to FSYSx sysreg node
61+
- description: offset of the control register for UFS io coherency setting
62+
description:
63+
Phandle and offset to the FSYSx sysreg for UFS io coherency setting.
6164

6265
dma-coherent: true
6366

0 commit comments

Comments
 (0)