dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] drm/msm/dsi regulator improvements
@ 2022-07-26 17:38 Douglas Anderson
  2022-07-26 17:38 ` [PATCH v2 1/7] drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg Douglas Anderson
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Douglas Anderson @ 2022-07-26 17:38 UTC (permalink / raw)
  To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Mark Brown
  Cc: Sean Paul, Vinod Koul, Archit Taneja, Loic Poulain,
	Jonathan Marek, Liam Girdwood, David Airlie, linux-arm-msm,
	Vladimir Lypak, Konrad Dybcio, Douglas Anderson, dri-devel,
	Bjorn Andersson, Rajeev Nandan, Marijn Suijten,
	AngeloGioacchino Del Regno, José Expósito,
	Stephen Boyd, freedreno, linux-kernel

The main goal of this series is to make a small dent in cleaning up
the way we deal with regulator loads. The idea is to add some extra
functionality to the regulator "bulk" API so that consumers can
specify the load using that. Though I didn't convert everyone over, I
include patches in this series that show how the Qualcomm DSI driver
is improved by this.

I'd expect:
* The first two patches are bugfixes found while converting the DSI
  driver over. Those could land any time.
* The third patch ("drm/msm/dsi: Don't set a load before disabling a
  regulator") is a patch a sent the other day verbatim, included in
  this series because it's highly related. It could land any
  time. That's why I called this series "v2".
* After that I have patches that add to the regulator API and then
  show a usage of those in the DSI driver. I'd expect that the two
  regulator patches could land in the regulator tree. The DSI patches
  would need to wait until the new regulator changes are available.

Changes in v2:
- ("Fix number of regulators for msm8996_dsi_cfg") new for v2.
- ("Fix number of regulators for SDM660") new for v2.
- ("Allow specifying an initial load w/ the bulk API") new for v2.
- ("Use the new regulator bulk feature to specify the load") new for v2.
- ("Allow drivers to define their init data as const") new for v2.
- ("Take advantage of devm_regulator_bulk_get_const") new for v2.

Douglas Anderson (7):
  drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg
  drm/msm/dsi: Fix number of regulators for SDM660
  drm/msm/dsi: Don't set a load before disabling a regulator
  regulator: core: Allow specifying an initial load w/ the bulk API
  drm/msm/dsi: Use the new regulator bulk feature to specify the load
  regulator: core: Allow drivers to define their init data as const
  drm/msm/dsi: Take advantage of devm_regulator_bulk_get_const()

 drivers/gpu/drm/msm/dsi/dsi.h                 |   1 -
 drivers/gpu/drm/msm/dsi/dsi_cfg.c             | 172 +++++++++---------
 drivers/gpu/drm/msm/dsi/dsi_cfg.h             |   3 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c            |  61 +------
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c         |  41 +----
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c    |   4 +-
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c    |   6 +-
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c    |   4 +-
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c    |   6 +-
 .../gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c   |   2 +-
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c     |   6 +-
 drivers/regulator/core.c                      |  20 +-
 drivers/regulator/devres.c                    |  28 +++
 include/linux/regulator/consumer.h            |  16 +-
 14 files changed, 165 insertions(+), 205 deletions(-)

-- 
2.37.1.359.gd136c6c3e2-goog


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

end of thread, other threads:[~2022-08-23 18:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 17:38 [PATCH v2 0/7] drm/msm/dsi regulator improvements Douglas Anderson
2022-07-26 17:38 ` [PATCH v2 1/7] drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg Douglas Anderson
2022-07-26 17:38 ` [PATCH v2 2/7] drm/msm/dsi: Fix number of regulators for SDM660 Douglas Anderson
2022-07-26 17:38 ` [PATCH v2 3/7] drm/msm/dsi: Don't set a load before disabling a regulator Douglas Anderson
2022-07-26 17:38 ` [PATCH v2 4/7] regulator: core: Allow specifying an initial load w/ the bulk API Douglas Anderson
2022-08-16 12:58   ` Yongqin Liu
2022-08-17 14:25     ` Doug Anderson
2022-08-17 16:52       ` Yongqin Liu
2022-08-23  6:22         ` Yongqin Liu
2022-08-23 14:50           ` Doug Anderson
2022-08-23 18:24             ` Yongqin Liu
2022-07-26 17:38 ` [PATCH v2 5/7] drm/msm/dsi: Use the new regulator bulk feature to specify the load Douglas Anderson
2022-07-26 17:38 ` [PATCH v2 6/7] regulator: core: Allow drivers to define their init data as const Douglas Anderson
2022-07-26 17:38 ` [PATCH v2 7/7] drm/msm/dsi: Take advantage of devm_regulator_bulk_get_const() Douglas Anderson
2022-07-27 23:02 ` (subset) [PATCH v2 0/7] drm/msm/dsi regulator improvements Mark Brown
2022-07-28  0:20 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).