[RFC PATCH 2/4] dt-bindings: ufs: common: allow OPP table

From: Krzysztof Kozlowski
Date: Fri Apr 01 2022 - 11:45:04 EST


Except scaling UFS and bus clocks, it's necessary to scale also the
voltages of regulators or power domain performance state levels. Adding
Operating Performance Points table allows to adjust power domain
performance state, depending on the UFS clock speed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
Documentation/devicetree/bindings/ufs/ufs-common.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/ufs/ufs-common.yaml b/Documentation/devicetree/bindings/ufs/ufs-common.yaml
index 47a4e9e1a775..ce767bfbf05a 100644
--- a/Documentation/devicetree/bindings/ufs/ufs-common.yaml
+++ b/Documentation/devicetree/bindings/ufs/ufs-common.yaml
@@ -26,6 +26,9 @@ properties:
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: true
+ opp-table: true
+
interrupts:
maxItems: 1

@@ -75,6 +78,7 @@ properties:

dependencies:
freq-table-hz: [ 'clocks' ]
+ operating-points-v2: [ 'freq-table-hz' ]

required:
- interrupts
--
2.32.0