Hello,
I am working on am3352 board with kernel ti-linux-kernel 5.10. I want add support for SPI Slave for SPI1 Interface
So, I changed the device tree with below configuration.
&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&am335x_spi1_pins>;
ti,pindir-d0-out-d1-in;
status = "okay";
#address-cells = <0>;
spi-slave;
spislave {
compatible = "spi-slave-system-control";
};
};
After sucessfully build i got this path /sys/class/spi_slave/spi2/ as result but as device refresh of spidev for master as /dev/spidev for the slave did not get anything in /dev/.
the kernel log for this one is:
[ 2.387087] spi_slave spi2: /ocp/interconnect@48000000/segment@100000/target-module@a0000/spi@0/spislave is not called 'slave'
[ 2.398724] spi_slave spi2: Failed to create SPI device for /ocp/interconnect@48000000/segment@100000/target-module@a0000/spi@0/spislave
is anyone help me regarding this.
Thank You So Much in Advance