Skip to content

leds: privacy-led support for devicetree

Aleksandrs Vinarskis dri-devel linux-arm-msm linux-devicetree linux-leds linux-media lkml 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250902-leds-c61c877add80

Versions newest first

  1. v5 Latest4 patches 15 repliesApplied
  2. v44 patches 2 repliesSuperseded
  3. v34 patches 16 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches9 repliesSuperseded
v10 of 2 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Fix last occurance of privacy-led to privacy
- Link to v4: https://lore.kernel.org/r/[email protected]

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: leds: add generic LED consumer documentationDocumentation/devicetree/bindings/leds/leds-consumer.yaml+67 -01 reply
2/4dt-bindings: leds: commonize leds propertyDocumentation/devicetree/bindings/leds/backlight/led-backlight.yaml Documentation/devicetree/bindings/leds/leds-group-multicolor.yaml Documentation/devicetree/bindings/media/video-interface-devices.yaml+10 -91 reply
3/4leds: led-class: Add devicetree support to led_get()drivers/leds/led-class.c+15 -28 replies
4/4arm64: dts: qcom: sc8280xp-x13s: enable camera privacy indicatorarch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts+4 -43 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoLee JonesLinus WalleijKonrad DybcioSteev KlimaszewskiRob Herring (Arm)
1/4R-b
2/4R-b
3/4R-b R-b R-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/4] leds: privacy-led support for devicetree

Re-spin of RFC patch from ~2.5 years ago [1]. v4l2 controls for privacy LEDs has landed, but the DT part was left out. Introduce missing dt-bindings, and commonize 'leds' parameter. Finally, add a patch to enable privacy-led on Lenovo Thinkpad x13s.

With recent inflow of arm64-power laptops (Snapdragon X1E/X1P) which mostly use MIPI cameras, this feature becomes more desired. Original rebased patch is still working as expected (with respective DT changes) on Dell XPS 9345.

Changelog to original series:
- Pick RFC patch, pick R-by, drop RFC-related commit message part
- Add new DT binding to describe generic LED consumer properties
- Rebase and test on X1E laptop

[1] https://lore.kernel.org/all/[email protected]/

---
Changes in v5:
- Fix last occurance of privacy-led to privacy
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Rename privacy-led to privacy, depend on x86/ACPI change
- Simplify example in dt-binding for led-consumer.yaml
- This series now depends on: https://lore.kernel.org/all/[email protected]/
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Drop unnecessary 'dev->of_node' check by Andy
- Keep 'panic-indicator;' in DT by Konrad
- Fix property/property-name order by Konrad
- Add missing 'led-names' enum definition for video devices by Rob
- Add oneOf to 'leds' to avoid conflict with nodes of same name by Rob
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Fixed mailing issue
- Fixed wrong R-by, add my missing sign-off
- Elaborated cover letter/commits descriptions to better describe why
this is needed, and why trigger-source could not be used instead
- dt-bindings: expanded schema description, fixed s/phandle/phandle-array/,
expanded the example
- dt-bindings: added patch to commonize 'leds' from other schemas
- leds: dropped wrapper, dropped exporting of private functions
- dts: added patch to utilize privacy-led on Lenovo Thinkpad x13s
- Link to v1: https://lore.kernel.org/all/010201990a1f5ad8-fc97fc84-9ef9-4a03-bf1c-2d54423c6497-000000@eu-west-1.amazonses.com/

---
Aleksandrs Vinarskis (3):
dt-bindings: leds: add generic LED consumer documentation
dt-bindings: leds: commonize leds property
arm64: dts: qcom: sc8280xp-x13s: enable camera privacy indicator

Hans de Goede (1):
leds: led-class: Add devicetree support to led_get()

 .../bindings/leds/backlight/led-backlight.yaml     |  6 +-
 .../devicetree/bindings/leds/leds-consumer.yaml    | 67 ++++++++++++++++++++++
 .../bindings/leds/leds-group-multicolor.yaml       |  5 +-
 .../bindings/media/video-interface-devices.yaml    |  8 +++
 .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts     |  8 +--
 drivers/leds/led-class.c                           | 17 +++++-
 6 files changed, 96 insertions(+), 15 deletions(-)

---
base-commit: 3db46a82d467bd23d9ebc473d872a865785299d8
change-id: 20250902-leds-c61c877add80
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: 429eb224c966424b458a7179e10e1f3172408eb8

Best regards,

Signature · 1 line
Aleksandrs Vinarskis <[email protected]>