[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250708-leds-is31fl3236a-v3-0-d68979b042dd@thegoodpenguin.co.uk>
Date: Tue, 08 Jul 2025 15:59:44 +0100
From: Pawel Zalewski <pzalewski@...goodpenguin.co.uk>
To: Lee Jones <lee@...nel.org>, Pavel Machek <pavel@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
Pavel Machek <pavel@....cz>, devicetree@...r.kernel.org,
Pawel Zalewski <pzalewski@...goodpenguin.co.uk>,
Lucca Fachinetti <luccafachinetti@...il.com>
Subject: [PATCH v3 0/3] Add support for is31fl3236a LED controller
This series of patches adds support for the is31fl3236a led
controller. The main difference between this IC and the
is31fl3236 is that there is a new parameter/register that
moves the operating frequency of the PWM outputs out of
the audible range.
To support the new register a property was added in the dt-bindings,
as this property is at the board layout level ie. not all
boards will have analog audio and have to worry about it.
To add the new property the old .txt binding documentation was
ported to .yaml format. There was a previous attempt to do this
in 2024 but the original author has never acted on the feedback
given [1]. So I have implemented changes requested in that
review and added his Signed-off-by.
The new functionality was tested by scoping the PWM signal. Out of
reset the IC is in 3kHz mode, thus action is taken only if the new
boolean value is set to true in the device tree.
[1] https://lore.kernel.org/linux-leds/20240701-overview-video-34f025ede104@spud/
Changes in v2:
- Added cover letter
- Ported dt-binding to yaml
- Refactored driver module
- Link to v1: https://lore.kernel.org/linux-leds/CAA6zWZ+TbcHrZaZ0ottm0s1mhCLa8TXASii47WKSLn2_zV95bw@mail.gmail.com/T/#t
Changes in v3:
- Aligned/refactored code properly in C module
- Refactored dt-bindings yml file
- Link to v2: https://lore.kernel.org/r/20250627-leds-is31fl3236a-v2-0-f6ef7495ce65@thegoodpenguin.co.uk
Signed-off-by: Pawel Zalewski <pzalewski@...goodpenguin.co.uk>
---
Lucca Fachinetti (1):
dt-bindings: leds: is31fl32xx: convert the binding to yaml
Pawel Zalewski (2):
leds/leds-is31fl32xx: add support for is31fl3236a
dt-bindings: leds: issi,is31fl3236: add issi,22kHz-pwm property
.../devicetree/bindings/leds/issi,is31fl3236.yaml | 104 +++++++++++++++++++++
.../devicetree/bindings/leds/leds-is31fl32xx.txt | 52 -----------
drivers/leds/leds-is31fl32xx.c | 35 +++++++
3 files changed, 139 insertions(+), 52 deletions(-)
---
base-commit: 52da431bf03b5506203bca27fe14a97895c80faf
change-id: 20250625-leds-is31fl3236a-39cf52f969c7
Best regards,
--
Pawel Zalewski <pzalewski@...goodpenguin.co.uk>
Powered by blists - more mailing lists