Android11.0 添加 pca9555 驱动,驱动注册成功了,但无法注册 GPIO

固件类型:自行编译的固件
SDK包名称:Firefly-RK356X_Android11.0_git_20210824
SDK修改内容:在 I2C3M1 和 I2C1M0 添加 PCA9555 驱动。
Log日志:rk3568.log

  1. 查看 PCA9555 内核打印信息,如下所示
    [ 0.793534] rk808-rtc rk808-rtc: device is disabled
    [ 0.793558] rk808-rtc: probe of rk808-rtc failed with error -22
    [ 0.794717] pca953x 1-0021: 1-0021 supply vcc not found, using dummy regulator
    [ 0.794803] pca953x 1-0021: Linked as a consumer to regulator.0
    [ 0.795453] pca9555 init success!
    [ 0.795603] pca953x 1-0022: 1-0022 supply vcc not found, using dummy regulator
    [ 0.795656] pca953x 1-0022: Linked as a consumer to regulator.0
    [ 0.796284] pca9555 init success!
    [ 0.796894] pca953x 3-0021: 3-0021 supply vcc not found, using dummy regulator
    [ 0.796952] pca953x 3-0021: Linked as a consumer to regulator.0
    [ 0.797589] pca9555 init success!
    [ 0.797732] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [ 0.797778] pca953x 3-0022: Linked as a consumer to regulator.0
    [ 0.798407] pca9555 init success!
    [ 0.798544] pca953x 3-0024: 3-0024 supply vcc not found, using dummy regulator
    [ 0.798601] pca953x 3-0024: Linked as a consumer to regulator.0
    [ 0.799223] pca9555 init success!
  2. 查看内核 GPIO 口,如下图
    [i]3. 使用I2CTool 能够正常控制PCA9555 IO 口。
    4. 发现注册在 I2C3 的 PCA9555 驱动。无法正常申请GPIO
    :/sys/class/gpio # echo 600 > export
    1

该问题如何解决,谢谢。
[/i]

tchip_askquestions


rk3568.log (94.2 KB)