Bennett 发表于 2023-5-24 14:50:52

行业版ITX-3588J SPI问题

我遇到和下面这个一样的问题,想问一下怎么解决?





Bennett 发表于 2023-5-24 14:53:58

我的log如下:
dmesg | grep spi
[    1.338230] File:drivers/spi/spi.cFunction:spi_initLine:4223
[    3.059937] File:drivers/spi/spi-rockchip.cFunction:rockchip_spi_probeLine:777
[    3.060046] rockchip-spi feb10000.spi: no high_speed pinctrl state
[    3.060337] File:drivers/mtd/spi-nor/core.cFunction:spi_nor_probeLine:3412
[    3.060347] File:drivers/mtd/spi-nor/core.cFunction:spi_nor_read_idLine:2114
[    3.060422] File:drivers/mtd/spi-nor/core.cFunction:spi_nor_read_idLine: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.cFunction:rockchip_spi_probeLine: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.cFunction:rockchip_sfc_probeLine: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函数中。
页: [1]
查看完整版本: 行业版ITX-3588J SPI问题