pn5xx_i2c driver does not probe when compiled as built-in

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pn5xx_i2c driver does not probe when compiled as built-in

562 Views
V_Palacio
Contributor IV

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 Kudos
2 Replies

554 Views
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 Kudos

502 Views
V_Palacio
Contributor IV

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 Kudos