zephyr/drivers
Andrzej Głąbek 460a97d378 drivers: usb_dc_nrfx: Enable and properly initialize nrfx POWER driver
This is a follow-up to commit 701e9befe4.

The NRFX_POWER Kconfig option should be enabled together with USB_NRFX,
not with CLOCK_CONTROL_NRF, as the USB driver is the actual user of
the nrfx POWER driver.

This patch adds also missing initialization of the nrfx POWER driver
and refactors a bit the usb_init() function introduced in the commit
mentioned above, so that it does not redefine the DT_DRV_COMPAT macro
and uses for conditional compilation the same Kconfig option that is
the dependency of NRFX_USBREG.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-09-03 21:52:52 +02:00
..
adc drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth drivers/bluetooth: ipm_stm32wb.c: Increase RX thread stack size 2020-09-03 14:22:33 -04:00
can isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
clock_control drivers: usb_dc_nrfx: Enable and properly initialize nrfx POWER driver 2020-09-03 21:52:52 +02:00
console drivers: console: fix Kconfig DTS inference for mcumgr uart 2020-09-02 14:56:19 -05:00
counter drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
dac device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
display isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
dma drivers: dma: stm32: only set mem pool size when using DMAMUX 2020-09-03 21:50:58 +02:00
eeprom drivers: eeprom: reduce priority of at2x initialization 2020-09-02 15:27:57 -04:00
entropy drivers: STM32: Rework CLK48 HSEM protection 2020-09-02 14:13:49 +02:00
espi isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
ethernet drivers: ethernet: stm32h7 reduce count of tx_buffer_def 2020-09-03 21:48:53 +02:00
flash drivers: flash: stm32wb: rework dualcore flash operation 2020-09-02 14:13:49 +02:00
gpio drivers: gpio: sx1509b: fix interrupt handler argument 2020-09-03 14:05:56 -04:00
hwinfo device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c drivers: i2c: Fix mcux driver transfer status after NACK 2020-09-03 21:50:18 +02:00
i2s drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
ieee802154 isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
interrupt_controller driver: interrupt_controller: miwu: fix build errors from device const 2020-09-02 19:01:28 +02:00
ipm drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
kscan drivers: kscan: sdl: Corrected device data access 2020-09-03 14:07:15 -04:00
led drivers: led: Fix device instance const qualifier loss in HT16K33 2020-09-02 13:48:13 +02:00
led_strip drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
lora device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
modem device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
neural_net device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pcie isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
peci isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
pinmux drivers: dac: Enable for STM32F0 series 2020-09-03 14:46:03 -05:00
ps2 drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
ptp_clock device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sensor drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
serial drivers: serial: uart_rtt async support 2020-09-03 21:51:28 +02:00
spi drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
timer isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
usb drivers: usb_dc_nrfx: Enable and properly initialize nrfx POWER driver 2020-09-03 21:52:52 +02:00
video isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
watchdog drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
wifi drivers: wifi: Fix device instance const qualifier loss in ESP 2020-09-02 13:48:13 +02:00
CMakeLists.txt cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
Kconfig drivers: dac: Add API for DAC peripherals 2020-04-20 17:41:48 +02:00