|
发表于 2022-2-11 16:43:33
7#
嗯,重新将:
kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-aioj-ipc-mipi_JD9365DA_H3.dts中i2c的地址改成了0x14:
&i2c1 {
status = "okay";
clock-frequency = <100000>;
gt9271: gt9271@5d {
compatible = "goodix,gt9271";
reg = <0x14>;
screen_max_x = <800>;
screen_max_y = <1280>;
touch-gpio = <&gpio3 RK_PA3 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>;
flip-x = <1>;
flip-y = <0>;
swap-xy = <0>;
gsl,fw = <1>;
};
};
开机起来打印如下:
[ 1.409306] Goodix-TS 1-0014: ID 9271, version: 1020
[ 1.426632] Goodix-TS 1-0014: Invalid config, using defaults
[ 1.426859] input: Goodix Capacitive TouchScreen as /devices/platform/fe5a0000.i2c/i2c-1/1-0014/input/input2
[ 1.427090] Goodix-TS 1-0014: request IRQ failed: -22
[ 1.427705] Goodix-TS: probe of 1-0014 failed with error -22
设备是识别到了,但IRQ中断报错,是中断脚没配对? |
|