dt-bindings: opp: Convert to DT schema
Subsystems (4)
Rob Herring
maintainerPATCH v2 1/1 dt-bindings: opp: Convert to DT schema
Convert the OPP v1 and v2 bindings to DT schema format. As the OPPv2 binding can be extended by vendors, we need to split the common part out from the "operating-points-v2" conforming compatible.
---
v2:
- move opp-peak-kBps next to opp-avg-kBps. Also add a dependency schema.
- Correct the opp-microamp schemas. It's always a single value for each regulator.
- Add missing type for '^opp-microamp-'
--- .../allwinner,sun50i-h6-operating-points.yaml | 4 + .../devicetree/bindings/opp/opp-v1.yaml | 51 ++ .../devicetree/bindings/opp/opp-v2-base.yaml | 214 ++++++ .../devicetree/bindings/opp/opp-v2.yaml | 475 +++++++++++++ Documentation/devicetree/bindings/opp/opp.txt | 622 ------------------ 5 files changed, 744 insertions(+), 622 deletions(-) create mode 100644 Documentation/devicetree/bindings/opp/opp-v1.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-base.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2.yaml delete mode 100644 Documentation/devicetree/bindings/opp/opp.txt
Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml +4 -0
@@ -18,6 +18,9 @@ description: | sun50i-cpufreq-nvmem driver reads the efuse value from the SoC to provide the OPP framework with required information. +allOf: + - $ref: opp-v2-base.yaml# + properties: compatible: const: allwinner,sun50i-h6-operating-points
@@ -43,6 +46,7 @@ patternProperties: properties: opp-hz: true + clock-latency-ns: true patternProperties: "opp-microvolt-.*": true
Documentation/devicetree/bindings/opp/opp-v1.yaml new file +51 -0
51 lines not on this page · raw message
Documentation/devicetree/bindings/opp/opp-v2-base.yaml new file +214 -0
214 lines not on this page · raw message
Documentation/devicetree/bindings/opp/opp-v2.yaml new file +475 -0
475 lines not on this page · raw message
Documentation/devicetree/bindings/opp/opp.txt deleted +0 -622
622 lines not on this page · raw message
Signature · 7 lines
2.27.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Viresh Kumar
AppliedQuoted 13 lines · Rob Herring
Convert the OPP v1 and v2 bindings to DT schema format. As the OPPv2 binding can be extended by vendors, we need to split the common part out from the "operating-points-v2" conforming compatible.
Cc Yangtao Li <[email protected]>Cc Nishanth Menon <[email protected]>Cc Stephen Boyd <[email protected]>Cc Maxime Ripard <[email protected]>Cc Chen-Yu Tsai <[email protected]>Acked-by Viresh Kumar <[email protected]>Signed-off-by Rob Herring <[email protected]>
Quoted 6 lines
---
v2:
- move opp-peak-kBps next to opp-avg-kBps. Also add a dependency schema.
- Correct the opp-microamp schemas. It's always a single value for each regulator.
- Add missing type for '^opp-microamp-'
Applied. Thanks.
Signature · 1 line
viresh
Rob Herring
maintainerQuoted 21 lines · Viresh Kumar
Quoted 13 lines · Rob Herring
Convert the OPP v1 and v2 bindings to DT schema format. As the OPPv2 binding can be extended by vendors, we need to split the common part out from the "operating-points-v2" conforming compatible.
Cc Yangtao Li <[email protected]>Cc Nishanth Menon <[email protected]>Cc Stephen Boyd <[email protected]>Cc Maxime Ripard <[email protected]>Cc Chen-Yu Tsai <[email protected]>Acked-by Viresh Kumar <[email protected]>Signed-off-by Rob Herring <[email protected]>Quoted 6 lines
---
v2:
- move opp-peak-kBps next to opp-avg-kBps. Also add a dependency schema.
- Correct the opp-microamp schemas. It's always a single value for each regulator.
- Add missing type for '^opp-microamp-'
Quoted 1 line
Applied. Thanks.
I found some issues with it, can you drop it?
Rob
Quoted 22 lines · Rob Herring
Quoted 21 lines · Viresh Kumar
Quoted 19 lines · Rob Herring
Convert the OPP v1 and v2 bindings to DT schema format. As the OPPv2 binding can be extended by vendors, we need to split the common part out from the "operating-points-v2" conforming compatible.
Cc Yangtao Li <[email protected]>Cc Nishanth Menon <[email protected]>Cc Stephen Boyd <[email protected]>Cc Maxime Ripard <[email protected]>Cc Chen-Yu Tsai <[email protected]>Acked-by Viresh Kumar <[email protected]>Signed-off-by Rob Herring <[email protected]>---
v2:
- move opp-peak-kBps next to opp-avg-kBps. Also add a dependency schema.
- Correct the opp-microamp schemas. It's always a single value for each regulator.
- Add missing type for '^opp-microamp-'
Quoted 3 lines
Quoted 1 line
Applied. Thanks.
I found some issues with it, can you drop it?
Sure.
Signature · 1 line
viresh