History

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.

Rob Herring committed 2 years ago

Commit 4e06ec01 parent 8f1e0d71 file · +6 −3Browse files

Unified · Split

Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml+6−3
@@ -55,9 +55,12 @@ properties: · 54 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t