zephyr/drivers
Roman Vaughan 127e82e3b8 drivers: can: Wait for MCP2515 to reset
The device may be prematurely configured before it is ready during
reset without first checking. After the driver writes to the registers
and normal mode gets selected, CANSTAT is read back to ensure the
device is now configured in normal mode (0x00). However, an
unresponsive device will be read as 0x00, the driver then assumes it is
configured correctly.

The MCP2515 will reset into configuration mode (0x04) to allow bit
timings to be configured. Adding a check for this mode prevents the
device from being misconfigured.

Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
2020-08-21 14:47:01 -05:00
..
adc drivers: adc: mcp320x: fix compilation when using spi cs-gpios 2020-08-21 14:31:40 -05:00
audio device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bluetooth
can drivers: can: Wait for MCP2515 to reset 2020-08-21 14:47:01 -05:00
clock_control drivers: clock_control: Add support for MCUX CCM IUART clock 2020-08-14 14:51:50 -05:00
console drivers: console: uart_mux: consume ringbuf until it is empty 2020-08-21 13:51:45 -04:00
counter counter: add pit counter driver 2020-08-21 14:27:59 -05:00
crypto device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dac device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
debug
display device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eeprom device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
entropy device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
espi device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ethernet driver: eth: native_posix: Minimum RX sleep with gPTP 2020-08-19 12:47:09 -04:00
flash drivers: flash: spi_nor: support serial flash API 2020-08-17 13:38:14 -04:00
gpio RT600: Fix IOCON setting 2020-08-19 13:06:30 -05:00
hwinfo
i2c drivers: use node IDs for DEVICE_MMIO.*_INIT 2020-08-14 13:35:02 +02:00
i2s device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
interrupt_controller drivers: use node IDs for DEVICE_MMIO.*_INIT 2020-08-14 13:35:02 +02:00
ipm device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
kscan drivers: kscan: generalize and improve FT5336 driver 2020-08-12 12:35:04 +02:00
led device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
led_strip device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lora
modem drivers: fix socket close() implementations for socket offloading 2020-08-18 10:41:01 +03:00
net device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
neural_net device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pcie device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
peci
pinmux drivers: pinmux: stm32: add SPI pinmux for F4 series 2020-08-18 14:50:34 +02:00
ps2 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ptp_clock
pwm device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
sensor sensor: fxos8700: implement magnetic vector magnitude function 2020-08-21 12:30:50 -05:00
serial drivers: serial: gecko: Replace custom macros with _CONCAT 2020-08-19 11:33:39 -05:00
spi device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
timer drivers: use node IDs for DEVICE_MMIO.*_INIT 2020-08-14 13:35:02 +02:00
usb usb: nrf: Fix for remote wake up request. 2020-08-17 13:41:35 -04:00
video device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
watchdog device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
wifi drivers: eswifi: Remove unused variable in ioctl routine 2020-08-19 14:35:10 +03:00
CMakeLists.txt
Kconfig