Firefly开源社区
标题:
行业版ITX-3588J SPI问题
[打印本页]
作者:
Bennett
时间:
2023-5-24 14:50
标题:
行业版ITX-3588J SPI问题
我遇到和下面这个一样的问题,想问一下怎么解决?
image.png
(79.61 KB, 下载次数: 487)
下载附件
2023-5-24 14:50 上传
作者:
Bennett
时间:
2023-5-24 14:53
我的log如下:
dmesg | grep spi
[ 1.338230] File:drivers/spi/spi.c Function:spi_init Line:4223
[ 3.059937] File:drivers/spi/spi-rockchip.c Function:rockchip_spi_probe Line:777
[ 3.060046] rockchip-spi feb10000.spi: no high_speed pinctrl state
[ 3.060337] File:drivers/mtd/spi-nor/core.c Function:spi_nor_probe Line:3412
[ 3.060347] File:drivers/mtd/spi-nor/core.c Function:spi_nor_read_id Line:2114
[ 3.060422] File:drivers/mtd/spi-nor/core.c Function:spi_nor_read_id Line:2143
[ 3.060430] spi-nor spi1.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 3.060442] spi-nor: probe of spi1.0 failed with error -2
[ 3.060662] File:drivers/spi/spi-rockchip.c Function:rockchip_spi_probe Line:777
[ 3.060754] rockchip-spi feb20000.spi: no high_speed pinctrl state
[ 3.062032] rk806 spi2.0: chip id: RK806,ver:0x2, 0x1
[ 3.062279] rk806 spi2.0: ON: 0x40 OFF:0x0
[ 3.078154] rk806 spi2.0: no sleep-setting state
[ 3.078162] rk806 spi2.0: no reset-setting pinctrl state
[ 3.078168] rk806 spi2.0: no dvs-setting pinctrl state
[ 3.080298] File:drivers/spi/spi-rockchip-sfc.c Function:rockchip_sfc_probe Line:713
[ 3.080793] register firefly_spi_init spi return v = :0
[ 3.080800] bgao spi-rockchip-test.c 401 line
[ 3.716149] input: rk805 pwrkey as /devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.2.auto/input/input0
[ 4.277469] register spi return v = :0
我能想到的办法都试了还是不行,添加的设备树也起作用,也能走到spi-nor/core.c的probe函数中。
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1