2018-08-25 10:06 GMT+02:00 Robert Jarzmik <robert.jarzmik@xxxxxxx>: > Nicolas Chauvet <kwizart@xxxxxxxxx> writes: > >> I will test the patch when possible. But I wonder if hw availability >> can be verified at probe also ? > Mmh unfortunately no. > > The hardware IP is simply memory mapped (with an interrupt source as well), and > doesn't have any discoverable ID so rely upon AFAIK. Hi Robert, I've just tested today. Unfortunately, the patch doesn't work for me. The error looks the same. I wondered about a check if using a device-tree, then if there is no pxa_gpio node, no registration is done. As I understand, the current driver mix device-tree and platform code, so if there is no device-tree node, then it falls back to platform code. But I may miss-understand things here. Thx for your help. -- - Nicolas (kwizart)