On 13/05/2019 22:15, Sedat Dilek wrote: > On Wed, Dec 5, 2018 at 8:38 AM Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote: >> >> >> Hi, >> >> the discussion reference is on github [1]. >> >> I acquired a Lenovo x280 with a NFC chip. It is unclear what chip is it >> really, it is called NXP NPC300 which could be a PN7xxx chip range. >> >> A hacked version of an old deprecated out-of-tree module made the PN5xxx >> to work with my laptop but I suspect it brought some subtle instability >> on my system. >> >> Now it would be nice to have this correctly supported upstream. >> >> I dumped the ACPI DSDT table and got the id NXP1001. This one is not >> listed in the match table of the nxp-nci driver. >> >> - is the driver missing for the so called NXP NPC300 ? >> - should the NXP1001 matching string to be added to nxp-nci? >> - is my firmware sending me garbage ? >> >> Thanks in advance for any input >> > > [ CC Andy ] > > Hi Daniel, > > I was able to get a NXP NPC300 NFC device run on Lenovo ThinkPad T470. > > Look at the patchset "[PATCH v2 00/12] NFC: nxp-nci: clean up and > support new ID". > I have tested on top of Linux v5.1.1. Hi Sedat, yes, I have them see. Thanks for letting me know. > Here I have set... > > scripts/config -m NFC_NCI -m NFC_NXP_NCI -m NFC_NXP_NCI_I2C -e > PINCTRL_SUNRISEPOINT > > Please give this a try and report. My laptop is the first one I have with a NFC reader, so I'm not used to test this as it was not working yet. I booted the machine with a 5.1.1, the series applied on top, and the config options set as mentioned above. The nxp-nci kernel module is loaded and neard is installed. I used the sniffing tool with the command libnfc -d nfc0 -n but when passing my NFC devices on the laptop's NFC mark, nothing happens. Is that correct? -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog