All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Qualcomm REFGEN regulator
@ 2023-07-03 18:15 ` Konrad Dybcio
  0 siblings, 0 replies; 24+ messages in thread
From: Konrad Dybcio @ 2023-07-03 18:15 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Liam Girdwood, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rob Clark,
	Abhinav Kumar, Dmitry Baryshkov, Sean Paul, David Airlie,
	Daniel Vetter, Krishna Manikandan
  Cc: Marijn Suijten, Konrad Dybcio, linux-arm-msm, linux-kernel,
	devicetree, dri-devel, freedreno, Konrad Dybcio, Rob Herring

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.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v3:
- depend on HAS_IOMEM (s390 build failure, meh)
- constify regulator_ops
- Link to v2: https://lore.kernel.org/r/20230628-topic-refgen-v2-0-6136487c78c5@linaro.org

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/20230628-topic-refgen-v1-0-126e59573eeb@linaro.org

---
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,
-- 
Konrad Dybcio <konrad.dybcio@linaro.org>


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-07-12 10:36 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-03 18:15 [PATCH v3 0/4] Qualcomm REFGEN regulator Konrad Dybcio
2023-07-03 18:15 ` Konrad Dybcio
2023-07-03 18:15 ` [PATCH v3 1/4] dt-bindings: regulator: Describe " Konrad Dybcio
2023-07-03 18:15   ` Konrad Dybcio
2023-07-03 18:17   ` Konrad Dybcio
2023-07-03 18:17     ` Konrad Dybcio
2023-07-03 18:15 ` [PATCH v3 2/4] regulator: Introduce Qualcomm REFGEN regulator driver Konrad Dybcio
2023-07-03 18:15   ` Konrad Dybcio
2023-07-03 18:15 ` [PATCH v3 3/4] dt-bindings: display/msm: dsi-controller-main: Allow refgen-supply Konrad Dybcio
2023-07-03 18:15   ` Konrad Dybcio
2023-07-03 18:15 ` [PATCH v3 4/4] drm/msm/dsi: Hook up refgen regulator Konrad Dybcio
2023-07-03 18:15   ` Konrad Dybcio
2023-07-03 22:54   ` Dmitry Baryshkov
2023-07-03 22:54     ` Dmitry Baryshkov
2023-07-03 22:59 ` [PATCH v3 0/4] Qualcomm REFGEN regulator Mark Brown
2023-07-03 22:59   ` Mark Brown
2023-07-03 23:01   ` Konrad Dybcio
2023-07-03 23:01     ` Konrad Dybcio
2023-07-04  0:23   ` Dmitry Baryshkov
2023-07-04  0:23     ` Dmitry Baryshkov
2023-07-11 14:21 ` Dmitry Baryshkov
2023-07-11 14:21   ` Dmitry Baryshkov
2023-07-12 10:35 ` (subset) " Mark Brown
2023-07-12 10:35   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.