[PATCH v3 0/3] regulator: add the WL2868C camera PMIC and its users

From
Qianhui Xu <hidden>
Date
2026-10-31 03:43:02
Also in
linux-arm-msm, lkml
Reply to
Qianhui Xu, 2026-10-28
regulator: add the WL2868C camera PMIC and its users

Hi all,

this series adds a driver for the WL2868C camera PMIC found on the Lenovo
Legion Tab (TB322FC / "elden", SM8750).  The chip is an I2C regulator with
seven LDOs; on this board eight supplies are wired to the camera stack
(S5KJNS sensor, GC08A8 sensor, GT9764 VCM, and the CSIPHY rails).

Changes since v2:
 - Bind the board clocks the camera regulator nodes depend on.  The board
   DTS now defines xo_board, sleep_clk and the two CXO/2 fixed-factor
   clocks by reusing the existing definitions from sm8750-mtp.dts, so the
   DTB links cleanly instead of failing with 15 phandle errors.
 - Register the board compatible in arm/qcom.yaml.
 - Fix the reset description in the driver commit message: the GPIO is
   released (active-low) during probe and asserted on unbind, which is what
   GPIOD_OUT_LOW plus the devm action actually do.

The binding and driver are unchanged in behaviour since v2 apart from
the commit message correction.  The camera sensor and lens bindings the
board DTS also references are not part of this series; they are being
submitted separately.


Qianhui Xu (3):
  regulator: dt-bindings: willsemi,wl2868c: add the WL2868C camera PMIC
  regulator: willsemi,wl2868c: add the WL2868C camera PMIC driver
  arm64: dts: qcom: sm8750-lenovo-elden: describe the WL2868C regulators

 .../devicetree/bindings/arm/qcom.yaml         |   1 +
 .../bindings/regulator/willsemi,wl2868c.yaml  |  79 +++++++
 MAINTAINERS                                   |   7 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../boot/dts/qcom/sm8750-lenovo-elden.dts     | 202 ++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8750.dtsi          | 112 ++++++++++
 drivers/regulator/Kconfig                     |  11 +
 drivers/regulator/Makefile                    |   1 +
 drivers/regulator/wl2868c-regulator.c         | 155 ++++++++++++++
 9 files changed, 569 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/willsemi,wl2868c.yaml
 create mode 100644 arch/arm64/boot/dts/qcom/sm8750-lenovo-elden.dts
 create mode 100644 drivers/regulator/wl2868c-regulator.c

-- 
2.53.0
Thread (20 messages) 20 messages, 5 authors, last reply 5d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help