Skip to content
Open
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
5 changes: 5 additions & 0 deletions boards/nordic/nrf54lm20dk/nrf54lm20_a_b_cpuapp_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
zephyr,flash-controller = &rram_controller;
zephyr,flash = &cpuapp_rram;
zephyr,ieee802154 = &ieee802154;
zephyr,usb-bc12 = &usbhs_bc12;
};

aliases {
Expand Down Expand Up @@ -114,6 +115,10 @@ zephyr_udc0: &usbhs {
status = "okay";
};

&usbhs_bc12 {
status = "okay";
};

&spi00 {
status = "okay";
cs-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/bc12/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ zephyr_library()
zephyr_library_sources_ifdef(CONFIG_USB_BC12_PI3USB9201 bc12_pi3usb9201.c)
zephyr_library_sources_ifdef(CONFIG_EMUL_BC12_PI3USB9201 emul_bc12_pi3usb9201.c)
zephyr_include_directories_ifdef(CONFIG_EMUL_BC12_PI3USB9201 .)
zephyr_library_sources_ifdef(CONFIG_USB_BC12_NRF_USBHS bc12_nrf_usbhs.c)
1 change: 1 addition & 0 deletions drivers/usb/bc12/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ module-str = usb_bc12
source "subsys/logging/Kconfig.template.log_config"

source "drivers/usb/bc12/Kconfig.pi3usb9201"
source "drivers/usb/bc12/Kconfig.nrf54l"

endif # USB_BC12
11 changes: 11 additions & 0 deletions drivers/usb/bc12/Kconfig.nrf54l
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

config USB_BC12_NRF_USBHS
bool "Nordic USBHS PD Charging-Type Detector"
default y
depends on DT_HAS_NORDIC_NRF_USBHS_BC12_ENABLED
select NRF_USBHS_WRAPPER
select REGULATOR
help
Nordic portable device mode USB Charging-Type Detector.
Loading
Loading