Fusion 7' touchscreen not initialized correctly on imx6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Fusion 7' touchscreen not initialized correctly on imx6q

1,172 次查看
nxpsri
Contributor II

I'm seeing the following fusion-ts driver error during 4.14.98 Linux kernel bootup on imx6 SoM :

OF: /soc/aips-bus@02100000/i2c@021a0000/touch@0x10: could not get #reset-cells for /soc/aips-bus@02000000/gpio@020b0000

with the following device tree following GPIO Reset controller 

 

/
{
	fusion_reset: reset-controller {
		compatible = "gpio-reset";
		reset-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
		reset-delay-us = <10000>;
		#reset-cells = <0>;
	};
};

&i2c1 {		
	status = "okay";
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c1_mercury
			&pinctrl_touch_mercury>;

    fusion_touch: touch@0x10{
		compatible = "fusion-ts";
		reg = <0x10>;
		interrupts-extended = <&gpio7 12 IRQ_TYPE_EDGE_RISING>; 
		resets = <&fusion_reset>;
		//status = "okay";
	};
}; 
&fusion_touch {
	status = "okay";
};

 

 

Any pointers on what's going on here?

标签 (2)
标记 (3)
0 项奖励
回复
1 回复

1,158 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello nxpsri,

 

You must be using the I2C in another instance since there's no error in your device tree, what error do you see in your console?

Regards

 

0 项奖励
回复