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
9 changes: 8 additions & 1 deletion boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
pinctrl-names = "default", "sleep";
};

arduino_i2c: &i2c0 {
&i2c0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs rebasing. This has been updated already: #74893

compatible = "nordic,nrf-twi";
status = "okay";
pinctrl-0 = <&i2c0_default>;
Expand Down Expand Up @@ -114,6 +114,13 @@ arduino_i2c: &i2c0 {
reg = <0x18>;
irq-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};

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

zephyr_udc0: &usbd {
Expand Down
2 changes: 0 additions & 2 deletions boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ toolchain:
- gnuarmemb
- xtools
supported:
- arduino_gpio
- arduino_i2c
- ble
- counter
- gpio
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,8 +12,8 @@ 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_LP5569 lp5569.c)
zephyr_library_sources_ifdef(CONFIG_LP55XX lp55xx.c)
zephyr_library_sources_ifdef(CONFIG_NCP5623 ncp5623.c)
zephyr_library_sources_ifdef(CONFIG_PCA9633 pca9633.c)
zephyr_library_sources_ifdef(CONFIG_TLC59108 tlc59108.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,6 @@ 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.lp5569"
source "drivers/led/Kconfig.ncp5623"
source "drivers/led/Kconfig.npm1300"
Expand All @@ -41,5 +40,6 @@ source "drivers/led/Kconfig.tlc59108"
source "drivers/led/Kconfig.xec"
source "drivers/led/Kconfig.is31fl3733"
source "drivers/led/Kconfig.is31fl3194"
source "drivers/led/Kconfig.lp55xx"

endif # LED
13 changes: 0 additions & 13 deletions drivers/led/Kconfig.lp5562

This file was deleted.

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

config LP55XX
bool "LP55XX LED controller"
default y
depends on DT_HAS_TI_LP5562_ENABLED || DT_HAS_TI_LP5521_ENABLED
select I2C
help
Enable driver for the Texas Instruments LP55XX I2C LED
controllers. It supports: LP5562 and LP5529.
Loading