e678a6247d
RaspberryPi Pico's UART can be operated with the pl011 driver. Replace it with this. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
24 lines
1.1 KiB
C
24 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2024 TOKITA Hiroshi <tokita.hiroshi@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_DRIVERS_SERIAL_UART_PL011_RASPBERRYPI_PICO_H_
|
|
#define ZEPHYR_DRIVERS_SERIAL_UART_PL011_RASPBERRYPI_PICO_H_
|
|
|
|
#define RASPBERRYPI_PICO_UART_CLOCK_CTLR_SUBSYS_CELL clk_id
|
|
|
|
#define RASPBERRYPI_PICO_UART_DEFINE(n) \
|
|
static inline int pwr_on_raspberrypi_pico_uart_##n(void) \
|
|
{ \
|
|
return 0; \
|
|
} \
|
|
static inline int clk_enable_raspberrypi_pico_uart_##n(const struct device *dev, \
|
|
uint32_t clk) \
|
|
{ \
|
|
return 0; \
|
|
}
|
|
|
|
#endif /* ZEPHYR_DRIVERS_SERIAL_UART_PL011_RASPBERRYPI_PICO_H_ */
|