arch/arm/src/imxrt/imxrt_lpspi.c: Remove hack setting LPSPI1 daisy irrespective of pin config. I assume this hack pre dated the addition of the dasiy chain setting. It was forcing LPSPI1 pins to read from selection 1 irrespective of pin config. The correct input selection is done in imxrt_config_gpio.
This commit is contained in:
parent
3d4eb32e48
commit
587dcaa6e6
@ -1587,10 +1587,6 @@ FAR struct spi_dev_s *imxrt_lpspibus_initialize(int bus)
|
||||
(void)imxrt_config_gpio(GPIO_LPSPI1_MISO);
|
||||
(void)imxrt_config_gpio(GPIO_LPSPI1_MOSI);
|
||||
|
||||
putreg32(0x1, IMXRT_INPUT_LPSPI1_SCK);
|
||||
putreg32(0x1, IMXRT_INPUT_LPSPI1_SDI);
|
||||
putreg32(0x1, IMXRT_INPUT_LPSPI1_SDO);
|
||||
|
||||
/* Set up default configuration: Master, 8-bit, etc. */
|
||||
|
||||
imxrt_lpspi_bus_initialize(priv);
|
||||
|
Loading…
Reference in New Issue
Block a user