Spidev not found on WP7607


#1

Hello,

I want to activate the spidev with modprobe command and than I got the message that
modprobe: module spidev not found in modules.dep
Moreover, when I execute the dmesg command it appears that the system cannot bound correctly with the device tree. hereafter what I got when I execute this command :
root@swi-mdm9x28:/# dmesg | grep spi
[ 0.963413] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-clk’ property of node ‘/soc/spi@78b6000[0]’
[ 0.963432] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-miso’ property of node ‘/soc/spi@78b6000[0]’
[ 0.963445] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-mosi’ property of node ‘/soc/spi@78b6000[0]’
[ 0.963457] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-cs0’ property of node ‘/soc/spi@78b6000[0]’
[ 0.963468] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-cs1’ property of node ‘/soc/spi@78b6000[0]’
[ 0.963480] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-cs2’ property of node ‘/soc/spi@78b6000[0]’
[ 0.963491] of_get_named_gpiod_flags: can’t parse ‘qcom,gpio-cs3’ property of node ‘/soc/spi@78b6000[0]’

Can you please help me with that. Thank you


#2

Any idea about this issue please ?


#3

Are you using the release 8 firmware for WP76?


#4

yes, I am using the last one 18.01.0_607d14ac5f0edd90fada704659a46736.


#5

this is what I got as logread when starting the spiService API :

Mar 14 15:50:04 swi-mdm9x28 user.warn Legato: -WRN- | supervisor[678]/supervisor T=main | proc.c GetWatchdogAction() 359 | spiService watchdogAction ‘’ in proc section
Mar 14 15:50:04 swi-mdm9x28 user.warn Legato: -WRN- | supervisor[678]/supervisor T=main | proc.c GetWatchdogAction() 359 | spiService watchdogAction ‘’ in proc section
Mar 14 15:50:04 swi-mdm9x28 user.err Legato: =ERR= | supervisor[678]/supervisor T=main | app.c GetDevID() 644 | Could not get file info for ‘/dev/spidev0.0’. No such file or directory.
Mar 14 15:50:04 swi-mdm9x28 user.err Legato: =ERR= | supervisor[678]/supervisor T=main | app.c SetCfgDevicePermissions() 754 | Failed to set permissions (rw) for app ‘spiService’ on device ‘/dev/spidev0.0’.

I think the spidev1.0 is the used one by the WP76 not the spidev0.0. Do you know how to change that ?