Skip to content

Commit a259e78

Browse files
committed
drivers: led: Implemented PCA9533 driver with PM support
• Supports led_on/off, led_set_brightness (0–100 %, 152 Hz default), and led_blink (7 ms – 1.685 s) with automatic sharing of the two on-chip PWM engines; returns –EBUSY when a third distinct pair is requested. • Includes basic runtime-PM boilerplate to honour power-domain control; the device itself has no dedicated low-power states. Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
1 parent b409375 commit a259e78

File tree

2 files changed

+413
-2
lines changed

2 files changed

+413
-2
lines changed

drivers/led/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ zephyr_library_sources_ifdef(CONFIG_LP5562 lp5562.c)
2121
zephyr_library_sources_ifdef(CONFIG_LP5569 lp5569.c)
2222
zephyr_library_sources_ifdef(CONFIG_MODULINO_BUTTONS_LEDS modulino_buttons_leds.c)
2323
zephyr_library_sources_ifdef(CONFIG_NCP5623 ncp5623.c)
24+
zephyr_library_sources_ifdef(CONFIG_PCA9533 pca9533.c)
2425
zephyr_library_sources_ifdef(CONFIG_PCA9633 pca9633.c)
2526
zephyr_library_sources_ifdef(CONFIG_TLC59108 tlc59108.c)
2627
# zephyr-keep-sorted-stop
2728

28-
zephyr_library_sources_ifdef(CONFIG_LED_SHELL led_shell.c)
29+
zephyr_library_sources_ifdef(CONFIG_LED_SHELL led_shell.c)
2930

30-
zephyr_library_sources_ifdef(CONFIG_USERSPACE led_handlers.c)
31+
zephyr_library_sources_ifdef(CONFIG_USERSPACE led_handlers.c)

0 commit comments

Comments
 (0)