Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/3] qcom: PMK8850 LPG backlight on Mahua T14s
@ 2026-11-25 19:52 Srinivas Kandagatla
  2026-11-25 19:52 ` [PATCH v2 1/3] dt-bindings: leds: qcom-lpg: add qcom,pmk8850-pwm compatible Srinivas Kandagatla
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Srinivas Kandagatla @ 2026-11-25 19:52 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Abel Vesa, Griffin Kroah-Hartman, Luke Macken,
	Srinivas Kandagatla, linux-leds, devicetree, linux-arm-msm,
	linux-kernel, Srinivas Kandagatla

Wire the eDP backlight on the Lenovo ThinkPad T14s Gen 7 (Mahua) through
the LPG/PWM channel on the PMK8850 sleep-clock PMIC. The PMK8850 PWM
block is register-compatible with PMK8550, so list qcom,pmk8550-pwm as
a fallback compatible; no new driver match entry is needed.

Changes in v2:
- 1/3 binding: use qcom,pmk8550-pwm as a fallback compatible for
      qcom,pmk8850-pwm instead of listing it as a standalone compatible
      (Lee). Krzysztof's v1 Acked-by dropped since the compatible
      structure changed; re-requesting ack. Tested-by not applied
      here (bindings have nothing runtime to test).
- Drop the driver patch; the fallback compatible matches the existing
  qcom,pmk8550-pwm entry in lpg_of_table[] (Lee).
- 2/3 pmk8850 dtsi: use the two-string fallback form "qcom,pmk8850-pwm",
      "qcom,pmk8550-pwm"; pick up Reviewed-by from Konrad and Tested-by
      from Luke.
- 3/3 mahua-t14s: pick up Reviewed-by from Konrad and Tested-by from
      Luke.

v1: https://lore.kernel.org/all/20261015194732.64428-1-srinivas.kandagatla@oss.qualcomm.com

Srinivas Kandagatla (3):
  dt-bindings: leds: qcom-lpg: add qcom,pmk8850-pwm compatible
  arm64: dts: qcom: pmk8850: add PWM node
  arm64: dts: qcom: mahua-t14s: wire backlight through pmk8850 pwm

 .../bindings/leds/leds-qcom-lpg.yaml          |  4 +++
 .../mahua-lenovo-thinkpad-t14s-gen7-lcd.dts   | 26 ++++++++++++++++---
 arch/arm64/boot/dts/qcom/pmk8850.dtsi         |  7 +++++
 3 files changed, 33 insertions(+), 4 deletions(-)


base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
-- 
2.53.0


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

end of thread, other threads:[~2026-11-25 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 19:52 [PATCH v2 0/3] qcom: PMK8850 LPG backlight on Mahua T14s Srinivas Kandagatla
2026-11-25 19:52 ` [PATCH v2 1/3] dt-bindings: leds: qcom-lpg: add qcom,pmk8850-pwm compatible Srinivas Kandagatla
2026-11-25 19:52 ` [PATCH v2 2/3] arm64: dts: qcom: pmk8850: add PWM node Srinivas Kandagatla
2026-11-25 19:52 ` [PATCH v2 3/3] arm64: dts: qcom: mahua-t14s: wire backlight through pmk8850 pwm Srinivas Kandagatla
2026-11-25 20:01   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox