zephyr/drivers
Henrik Brix Andersen fba27b4bde drivers: can: change sample point for can_set_bitrate() at high bitrates
CAN in Automation (CiA) 301 v4.2.0 recommends a sample point location of
87.5% percent for all bitrates. However, some CAN controllers have
difficulties meeting this for higher bitrates.

Change can_set_bitrate() to use a sample point of 75.0% for bitrates
over 800 kbit/s, 80.0% for bitrates over 500 kbit/s, and 87.5% for all
other bitrates. This is in line with the sample point locations used by
the Linux kernel.

Regard a sample point error of more than +/- 5.0% as an error in setting
the bitrate. Previously, any sample rate error was accepted without
providing any feedback to the caller. This is in line with the CAN
sample point calculation criteria used by the Linux kernel.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-04-13 13:28:06 -07:00
..
adc soc: nrf: Use data from DTS to populate HAS_HW_NRF_* Kconfig options 2022-04-02 15:14:38 +02:00
audio soc: nrf: Use data from DTS to populate HAS_HW_NRF_* Kconfig options 2022-04-02 15:14:38 +02:00
bbram drivers: bbram: mec: fixed compilation error 2022-03-01 14:18:55 -06:00
bluetooth Bluetooth: Host: Add choice select whether BT RX 2022-04-11 10:58:09 +02:00
cache
can drivers: can: change sample point for can_set_bitrate() at high bitrates 2022-04-13 13:28:06 -07:00
clock_control divers: clock_control: refine multiple uart instance support 2022-04-08 10:31:04 -05:00
console console: semihosting: add RISC-V support 2022-04-08 09:30:11 +02:00
counter drivers: timer: Add sam0 tc32 support to pinctrl 2022-03-24 15:45:37 -07:00
crypto soc: nrf: Use data from DTS to populate HAS_HW_NRF_* Kconfig options 2022-04-02 15:14:38 +02:00
dac drivers: dac: Add sam0 support to pinctrl 2022-03-24 15:45:37 -07:00
debug kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
disk drivers/disk: sdmmc: stm32: DMA header requested on F4 serie 2022-04-05 11:17:08 +02:00
display drivers: display: stm32_ltdc temporary patch for LTDC clock 2022-04-08 15:49:42 -07:00
dma dma/cavs_hda: Support channel filtering 2022-04-06 14:08:01 -04:00
ec_host_cmd_periph everywhere: fix typos 2022-03-14 20:22:24 -04:00
edac kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
eeprom drivers: remove redundant DEV_NAME helpers 2022-03-15 17:31:51 -04:00
entropy Bluetooth: host: Introduce a new bt_hci_le_rand() call 2022-04-01 11:21:51 +02:00
espi espi: mec172x kbc: Enable custom configs 2022-04-13 08:52:57 -05:00
ethernet drivers: ethernet: eth_mcux: add support for resetting phy 2022-03-25 15:47:54 -05:00
flash drivers/flash/flash_shell: Check for read error before verification 2022-04-12 10:05:40 -05:00
fpga drivers: fpga: connect dts node with fpga driver 2022-04-08 15:54:33 -07:00
gpio drivers: gpio: gpio_mcux_lpc: Add pinmuxing control to gpio driver 2022-04-06 20:57:22 -07:00
hwinfo hwinfo: Add dependency handling for HWINFO_NRF in nonsecure 2022-04-07 11:02:52 -04:00
i2c drivers: i2c: Microchip MEC172x support device tree clock frequency 2022-04-12 13:27:14 -05:00
i2s drivers: i2s: i2s_mcux_flexcomm: add pinctrl support to lpc i2s driver 2022-04-06 20:57:22 -07:00
ieee802154 drivers: ieee802154_nrf5: fix rx failure error propagation for CSL 2022-04-08 09:31:17 +02:00
interrupt_controller it8xxx2: intc: ensure IER disabling to become effective 2022-04-12 09:55:12 +02:00
ipm everywhere: fix typos 2022-03-18 13:24:08 -04:00
kscan ITE drivers/kscan: use wakeup interface for WUC pins 2022-03-21 16:35:03 -07:00
led everywhere: fix typos 2022-03-14 20:22:24 -04:00
led_strip drivers: led_strip: add tlc5971 driver 2022-03-23 12:50:11 +01:00
lora drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
mbox mbox: Fix function syscall check 2022-03-02 07:55:32 -08:00
mdio drivers: eth: Update sam/sam0 eth drivers to use pinctrl 2022-03-24 15:45:37 -07:00
memc drivers: memc: stm32: add support for st,mem-swap 2022-04-09 12:58:57 +02:00
misc kconfig: tweak Kconfig prompts 2022-03-09 15:35:54 +01:00
mm everywhere: fix typos 2022-03-18 13:24:08 -04:00
modem modem: quectel-bg9x: implement 'is_supported' socket offload cb 2022-04-08 15:51:24 -07:00
net drivers: net: loopback: Add interface to simulate packet drop 2022-04-01 12:36:14 -05:00
neural_net drivers: remove redundant DEV_NAME helpers 2022-03-15 17:31:51 -04:00
pcie pcie: ecam: implement MSI/MSI-X interrupts setup 2022-03-25 12:56:25 +01:00
peci drivers: peci: Microchip XEC PECI driver add PINCTRL support 2022-04-05 11:16:41 +02:00
pinctrl drivers: pinctrl: Add LPC IOCON pinctrl driver 2022-04-06 20:57:22 -07:00
pinmux drivers: pinmux: Drop sam0 pinmux in favor of pinctrl 2022-03-24 15:45:37 -07:00
pm_cpu_ops
power_domain pm: device: move pm_device_runtime_init_* funcs 2022-03-25 10:39:55 +01:00
ps2 everywhere: fix typos 2022-03-14 20:22:24 -04:00
ptp_clock
pwm dts: mec172xevb_assy6906: Add pwm-0 alias to mec172xevb dts file 2022-04-13 12:02:46 -05:00
regulator
reset drivers: reset: added Reset Controller for Raspberry Pi Pico 2022-03-23 12:51:39 +01:00
sensor drivers: sensor: bmi160: fix waiting time before reading CHIP_ID 2022-04-13 12:57:31 -07:00
serial drivers/serial: Extend Altera Jtag Uart driver support 2022-04-07 06:58:16 -04:00
spi drivers: spi: spi_mcux_flexcomm: add pinctrl support to lpc spi driver 2022-04-06 20:57:22 -07:00
syscon
timer ITE drivers/timer: clean up sys_clock_set_timeout() 2022-04-05 11:16:51 +02:00
usb drivers: usb: Add sam0 support to pinctrl 2022-03-24 15:45:37 -07:00
usbc everywhere: fix typos 2022-03-18 13:24:08 -04:00
video drivers: video: video_mcux_csi: enable pinctrl 2022-03-25 15:47:54 -05:00
virtualization everywhere: fix typos 2022-03-18 13:24:08 -04:00
watchdog drivers: watchdog: iwdg_stm32: fix wdg install timeout 2022-04-08 09:59:34 -04:00
wifi wifi: simplelink: implement 'is_supported' socket offload cb 2022-04-08 15:51:24 -07:00
xen
CMakeLists.txt drivers: added file structure for Reset Controller Driver 2022-03-23 12:51:39 +01:00
Kconfig drivers: added file structure for Reset Controller Driver 2022-03-23 12:51:39 +01:00