pn5xx_i2c driver does not probe when compiled as built-in

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

pn5xx_i2c driver does not probe when compiled as built-in

718件の閲覧回数
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 返答(返信)

710件の閲覧回数
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 件の賞賛
返信

658件の閲覧回数
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 件の賞賛
返信