zephyr/drivers/can
Thomas Stranger a5cc6c2e16 drivers/can: stm32_fd: convert domain clk src sel. from kconfig to dts
Use domain clocks if they are defined in dts.

Until now domain clock sources could be selected via kconfig.
STM32 platform now can configure domain clock sources via
clock control driver, therefore this commit makes use of it.

The configuration is shared between canfd instances, so a domain clock
has to be defined for only one instance. Otherwise, only the
configuration from the latest initialized instance will remain.

The dependency on clock source PCLK1 for CAN_STM32FD_CLOCK_DIVISOR
was removed, because the divider also divides other clocks.
Note that setting that divider does not work at all at the moment,
because the write protection is not disabled.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2022-09-05 14:44:45 +00:00
..
transceiver drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
can_common.c drivers: can: expand return values reported by the CAN timing functions 2022-08-18 21:39:16 +00:00
can_esp32_twai.c drivers: can: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
can_handlers.c drivers: can: remove z prefix from public CAN API types 2022-08-18 10:19:29 +02:00
can_loopback.c drivers: can: rename can_state enumerations 2022-08-18 21:41:11 +00:00
can_mcan.c drivers: can: return -ENETUNREACH from can_send() if in bus off state 2022-08-22 14:33:17 +00:00
can_mcan.h drivers: can: remove z prefix from public CAN API types 2022-08-18 10:19:29 +02:00
can_mcan_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
can_mcp2515.c drivers: can: rename can_state enumerations 2022-08-18 21:41:11 +00:00
can_mcp2515.h drivers: can: remove z prefix from public CAN API types 2022-08-18 10:19:29 +02:00
can_mcux_flexcan.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
can_mcux_mcan.c drivers: can: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
can_rcar.c drivers: can: rename can_state enumerations 2022-08-18 21:41:11 +00:00
can_sam.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_shell.c drivers: can: shell: add command for showing CAN controller information 2022-08-31 10:45:35 +02:00
can_sja1000.c drivers: can: return -ENETUNREACH from can_send() if in bus off state 2022-08-22 14:33:17 +00:00
can_sja1000.h drivers: can: remove z prefix from public CAN API types 2022-08-18 10:19:29 +02:00
can_sja1000_priv.h drivers: can: add NXP SJA1000 common driver backend 2022-07-30 17:32:04 +01:00
can_stm32.c drivers: can: return -ENETUNREACH from can_send() if in bus off state 2022-08-22 14:33:17 +00:00
can_stm32.h drivers: can: stm32: rework filter handling 2022-08-03 05:02:09 +01:00
can_stm32fd.c drivers/can: stm32_fd: convert domain clk src sel. from kconfig to dts 2022-09-05 14:44:45 +00:00
can_stm32h7.c devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
can_utils.h drivers: can: remove z prefix from public CAN API types 2022-08-18 10:19:29 +02:00
CMakeLists.txt drivers: can: add ESP32 TWAI CAN controller driver 2022-07-30 17:32:04 +01:00
Kconfig drivers: can: rewrite the CAN shell module 2022-08-31 10:45:35 +02:00
Kconfig.esp32 drivers: can: add ESP32 TWAI CAN controller driver 2022-07-30 17:32:04 +01:00
Kconfig.loopback drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.mcan kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.mcp2515 drivers: can: Move to using select in Kconfig for SPI bus 2022-08-12 11:34:31 +02:00
Kconfig.mcux drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.rcar drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.sam drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.sja1000 drivers: can: add NXP SJA1000 common driver backend 2022-07-30 17:32:04 +01:00
Kconfig.stm32 drivers: can: stm32: rework filter handling 2022-08-03 05:02:09 +01:00
Kconfig.stm32fd drivers/can: stm32_fd: convert domain clk src sel. from kconfig to dts 2022-09-05 14:44:45 +00:00
Kconfig.stm32h7 drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00