Skip to content

Qualcomm REFGEN regulator

Konrad Dybcio dri-devel linux-arm-msm linux-devicetree lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20230628-topic-refgen-14fb0b762115

Versions newest first

  1. v3 Latest4 patches 7 repliesApplied
  2. v24 patches 3 repliesSuperseded
  3. v14 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- depend on HAS_IOMEM (s390 build failure, meh)
- constify regulator_ops
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: regulator: Describe Qualcomm REFGEN regulatorDocumentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml+57 -01 reply
2/4regulator: Introduce Qualcomm REFGEN regulator driverdrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/qcom-refgen-regulator.c+166 -00 replies
3/4dt-bindings: display/msm: dsi-controller-main: Allow refgen-supplyDocumentation/devicetree/bindings/display/msm/dsi-controller-main.yaml+4 -00 replies
4/4drm/msm/dsi: Hook up refgen regulatordrivers/gpu/drm/msm/dsi/dsi_cfg.c+2 -01 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchRob HerringDmitry Baryshkov
1/4R-b
2/4
3/4A-b
4/4Reviewed--by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Qualcomm REFGEN regulator

Recent Qualcomm SoCs have a REFGEN (reference voltage generator) regulator responsible for providing a reference voltage to some on-SoC IPs (like DSI or PHYs). It can be turned off when unused to save power.

This series introduces the driver for it and lets the DSI driver consume it.

---
Changes in v3:
- depend on HAS_IOMEM (s390 build failure, meh)
- constify regulator_ops
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Remove "|" from bindings description
- fix 'renegator' typo
- define number of 'reg'
- adjust reg= to size/address-cells = 1
- fix regmap usage
- use C++ comments for the header
- remove now-unused struct qcom_refgen
- use common helpers for sm8250 refgen (simple bit ops)
- add missing FIELD_PREPs (small brain forgot regmap_update_bits
doesn't do shifting)
- pick up tags
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Konrad Dybcio (4):
dt-bindings: regulator: Describe Qualcomm REFGEN regulator
regulator: Introduce Qualcomm REFGEN regulator driver
dt-bindings: display/msm: dsi-controller-main: Allow refgen-supply drm/msm/dsi: Hook up refgen regulator

 .../bindings/display/msm/dsi-controller-main.yaml  |   4 +
 .../regulator/qcom,sdm845-refgen-regulator.yaml    |  57 ++++++++
 drivers/gpu/drm/msm/dsi/dsi_cfg.c                  |   2 +
 drivers/regulator/Kconfig                          |  11 ++
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/qcom-refgen-regulator.c          | 154 +++++++++++++++++++++
 6 files changed, 229 insertions(+)

---
base-commit: 296d53d8f84ce50ffaee7d575487058c8d437335
change-id: 20230628-topic-refgen-14fb0b762115

Best regards,

Signature · 1 line
Konrad Dybcio <[email protected]>