OPP: Allow power/current values without voltage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 of 5 patches 0 repliesNew
4 of 5 patches are in this archive. The cover letter announces 5.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: opp: Fix usage of current in microwatt propertyDocumentation/ | +1 | 0 replies | |
| 2/5 | dt-bindings: opp: Fix named microwatt propertyDocumentation/ | +2 | 0 replies | |
| 3/5 | OPP: Parse named opp-microwatt property toodrivers/ | +13 | 0 replies | |
| 4/5 | OPP: Simplify opp_parse_supplies() by restructuring itdrivers/ | +81 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | James Calligeros |
|---|---|
| Series | T-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] OPP: Allow power/current values without voltage
Hello,
Some platforms, such as Apple Silicon, do not describe their device's voltage regulators in the DT as they cannot be controlled by the kernel and/or rely on opaque firmware algorithms to control their voltage and current characteristics at runtime. They can, however, experimentally determine the power consumption of a given device at a given OPP, taking advantage of opp-microwatt to provide EAS on such devices as was initially intended.
But the OPP core currently doesn't parse the opp-microwatt property if opp-microvolt isn't present. This patch series targets to change this approach.
This first fixes few mistakes in the DT bindings, followed by code reorganization. And the last commit, from James, fixes the problem at hand.
I have tested all combinations on my Hikey board, hope it doesn't break anything.
James Calligeros (1):
OPP: decouple dt properties in opp_parse_supplies()
Viresh Kumar (4):
dt-bindings: opp: Fix usage of current in microwatt property
dt-bindings: opp: Fix named microwatt property
OPP: Parse named opp-microwatt property too
OPP: Simplify opp_parse_supplies() by restructuring it
.../devicetree/bindings/opp/opp-v2-base.yaml | 6 +- drivers/opp/of.c | 228 ++++++++---------- 2 files changed, 102 insertions(+), 132 deletions(-)
Signature · 1 line
2.31.1.272.g89b43f80a514