Page 1 of 1

v4.14.11 /sys/class/spi_slave/ empty

Posted: Tue Jun 19, 2018 4:30 pm
by PowerPenguin
Hi *

device tree:

Code: Select all

	spi1: spi@fffcc000 {
				status = "okay";
				spi-slave;
				/*cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;*/
			};

Code: Select all

 grep SPI
CONFIG_MTD_SPI_NOR=y
CONFIG_LIBERTAS_SPI=m
CONFIG_SPI=y
CONFIG_SPI_ATMEL=y
CONFIG_SPI_SPIDEV=y
CONFIG_SPI_LOOPBACK_TEST=m
CONFIG_SPI_SLAVE=y
CONFIG_SPI_SLAVE_TIME=y
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=y
CONFIG_MMC_SPI=y

Code: Select all

grep SYSFS
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_GPIO_SYSFS=y
CONFIG_WATCHDOG_SYSFS=y
Why there is no /sys/class/spi_slave/ spi1.0 ?

Could find a how to setup for any eval board on the microchip websites ! Any one tested it ?

Re: v4.14.11 /sys/class/spi_slave/ empty

Posted: Tue Jun 19, 2018 5:11 pm
by PowerPenguin
No micro chip support like spi-sh-msiof.c from renesas