Skip to content

Commit

Permalink
dt-bindings: ufs: samsung,exynos-ufs: Add size constraints on "samsun…
Browse files Browse the repository at this point in the history
…g,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>
  • Loading branch information
Rob Herring committed Feb 13, 2024
1 parent 8f1e0d7 commit 4e06ec0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ properties:

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

dma-coherent: true

Expand Down

0 comments on commit 4e06ec0

Please sign in to comment.