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.
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.
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,