pn5xx_i2c driver does not probe when compiled as built-in

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

pn5xx_i2c driver does not probe when compiled as built-in

719 次查看
V_Palacio
Contributor V

Hi,

I can probe succesfully a PN7510 when loading pn5xx_i2c kernel module.

But, if I compile the same driver as a built-in, it does not probe for the chip.

I've followed this application note.

https://www.nxp.com/docs/en/application-note/AN11697.pdf

It does not mention any special step for triggering probing with a built-in driver.

Somebody know what I need to do for using built-in driver?

Regards,

 

PS: I'm declaring PN7510 in the dts, not as platform data.

 

0 项奖励
回复
2 回复数

711 次查看
IvanRuiz
NXP Employee
NXP Employee

Hello,

 

I do not see anything wrong in the steps you followed, only an observation to double-check when building the driver either if it is a 'built-in' or modularized; for this last option, it is necessary to install the generated module whilst the other will be included in the kernel as mentioned in chapter 3.1.2.4 of same doc.

 

Hope it helps!

 

BR,

Ivan.

0 项奖励
回复

659 次查看
V_Palacio
Contributor V

Hi @IvanRuiz ,

The last option you mention (pn5xx_i2c as a module) it's working (probes and find when insmod)

The built-in is not (not probing).

Regards,

0 项奖励
回复