Hi
LX2160A has 3 SPI controllers. In order to access to SPI slave devices, please let me know how to create spidev like "/dev/spidevB.C …" on LX2160A board with lsdk 20.04. Show me configuration example if possible.
Thanks.
Solved! Go to Solution.
To use spidev, please open CONFIG_SPI, CONFIG_SPI_FSL_DSPI and CONFIG_SPI_SPIDEV.
They are have been opened in arm64 defconfig.
Moreover, dts need modification, as below, under dspi node:
spidev0: spi@0
{ reg = <0>; compatible = "rohm,dh2228fv"; spi-max-frequency = <3000000>; }
To use spidev, please open CONFIG_SPI, CONFIG_SPI_FSL_DSPI and CONFIG_SPI_SPIDEV.
They are have been opened in arm64 defconfig.
Moreover, dts need modification, as below, under dspi node:
spidev0: spi@0
{ reg = <0>; compatible = "rohm,dh2228fv"; spi-max-frequency = <3000000>; }