Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840.dts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@
reg = <0x18>;
irq-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};

lp5521: lp5521@32 {
compatible = "ti,lp5521";
status = "okay";
reg = <0x32>;
enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
};
};

zephyr_udc0: &usbd {
Expand Down
2 changes: 1 addition & 1 deletion drivers/led/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ zephyr_library_sources_ifdef(CONFIG_LED_PWM led_pwm.c)
zephyr_library_sources_ifdef(CONFIG_LED_XEC led_mchp_xec.c)
zephyr_library_sources_ifdef(CONFIG_LP3943 lp3943.c)
zephyr_library_sources_ifdef(CONFIG_LP50XX lp50xx.c)
zephyr_library_sources_ifdef(CONFIG_LP5562 lp5562.c)
zephyr_library_sources_ifdef(CONFIG_LP55XX lp55xx.c)
zephyr_library_sources_ifdef(CONFIG_LP5569 lp5569.c)
zephyr_library_sources_ifdef(CONFIG_NCP5623 ncp5623.c)
zephyr_library_sources_ifdef(CONFIG_PCA9633 pca9633.c)
Expand Down
2 changes: 1 addition & 1 deletion drivers/led/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ source "drivers/led/Kconfig.ht16k33"
source "drivers/led/Kconfig.is31fl3216a"
source "drivers/led/Kconfig.lp3943"
source "drivers/led/Kconfig.lp50xx"
source "drivers/led/Kconfig.lp5562"
source "drivers/led/Kconfig.lp55xx"
source "drivers/led/Kconfig.lp5569"
source "drivers/led/Kconfig.ncp5623"
source "drivers/led/Kconfig.npm1300"
Expand Down
13 changes: 0 additions & 13 deletions drivers/led/Kconfig.lp5562

This file was deleted.

16 changes: 16 additions & 0 deletions drivers/led/Kconfig.lp55xx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (c) 2018 Workaround GmbH
# Copyright (c) 2024 Croxel Inc.
# SPDX-License-Identifier: Apache-2.0

config LP55XX
bool "LP55XX LED driver"
default y
depends on DT_HAS_TI_LP5562_ENABLED || DT_HAS_TI_LP5521_ENABLED
select I2C
help
Enable LED driver for LP5562/LP5521.

LP5562 LED driver has 4 channels (RGBW). Each channel can drive up to
25.5 mA per LED.
LP5521 LED driver has 3 channels (RGB). Each channel can drive up to
25.5 mA per LED.
Loading
Loading