summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/ufs
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-11-16 08:18:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-11-16 09:02:47 +0100
commitcd728905be82ab66456212a9fcc311c553e39422 (patch)
treea16b16f7942512bd35323afc3b569b03da94de51 /dts/Bindings/ufs
parenta0f127402a23845a330a13a38078ec0668600ddd (diff)
downloadbarebox-cd728905be82ab66456212a9fcc311c553e39422.tar.gz
barebox-cd728905be82ab66456212a9fcc311c553e39422.tar.xz
dts: update to v6.7-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/ufs')
-rw-r--r--dts/Bindings/ufs/ufs-common.yaml35
1 files changed, 32 insertions, 3 deletions
diff --git a/dts/Bindings/ufs/ufs-common.yaml b/dts/Bindings/ufs/ufs-common.yaml
index bbaee4f5f7..985ea8f64d 100644
--- a/dts/Bindings/ufs/ufs-common.yaml
+++ b/dts/Bindings/ufs/ufs-common.yaml
@@ -20,11 +20,25 @@ properties:
items:
- description: Minimum frequency for given clock in Hz
- description: Maximum frequency for given clock in Hz
+ deprecated: true
description: |
+ Preferred is operating-points-v2.
+
Array of <min max> operating frequencies in Hz stored in the same order
- as the clocks property. If this property is not defined or a value in the
- array is "0" then it is assumed that the frequency is set by the parent
- clock or a fixed rate clock source.
+ as the clocks property. If either this property or operating-points-v2 is
+ not defined or a value in the array is "0" then it is assumed that the
+ frequency is set by the parent clock or a fixed rate clock source.
+
+ operating-points-v2:
+ description:
+ Preferred over freq-table-hz.
+ If present, each OPP must contain array of frequencies stored in the same
+ order for each clock. If clock frequency in the array is "0" then it is
+ assumed that the frequency is set by the parent clock or a fixed rate
+ clock source.
+
+ opp-table:
+ type: object
interrupts:
maxItems: 1
@@ -75,8 +89,23 @@ properties:
dependencies:
freq-table-hz: [ clocks ]
+ operating-points-v2: [ clocks, clock-names ]
required:
- interrupts
+allOf:
+ - if:
+ required:
+ - freq-table-hz
+ then:
+ properties:
+ operating-points-v2: false
+ - if:
+ required:
+ - operating-points-v2
+ then:
+ properties:
+ freq-table-hz: false
+
additionalProperties: true