mbox series

[v3,0/2] mfd: lm3533: convert to use OF

Message ID 20250224114815.146053-1-clamor95@gmail.com (mailing list archive)
Headers show
Series mfd: lm3533: convert to use OF | expand

Message

Svyatoslav Ryhel Feb. 24, 2025, 11:48 a.m. UTC
Add schema and add support for lm3533 mfd to use device tree bindings.

---
Changes on switching from v2 to v3:
- wrapped lines in schema and commit messages arround 80 chars
- removed |
- switched to MFD binding style
- completed binding example
- restored MFD

Changes on switching from v1 to v2:
- added unit seffix where it is suitable
- added vendor prefixes where it is suitable
- light sensor mover out of pattern properties
- added references to common schemas
- added detailed descriptions of properties
- removed platform data use
- devices bind and configure themself entirely
  using device tree
---

Svyatoslav Ryhel (2):
  dt-bindings: mfd: Document TI LM3533 MFD
  mfd: lm3533: convert to use OF

 .../devicetree/bindings/mfd/ti,lm3533.yaml    | 231 ++++++++++++++++++
 drivers/iio/light/lm3533-als.c                |  40 ++-
 drivers/leds/leds-lm3533.c                    |  46 ++--
 drivers/mfd/lm3533-core.c                     | 159 ++++--------
 drivers/video/backlight/lm3533_bl.c           |  71 ++++--
 include/linux/mfd/lm3533.h                    |  35 +--
 6 files changed, 395 insertions(+), 187 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/ti,lm3533.yaml