Re: [PATCHv5 0/8] 2c: Relax mandatory I2C ID table passing

From: Kieran Bingham
Date: Fri Jun 10 2016 - 08:07:12 EST


Hi Wolfram,

On 10/06/16 12:00, Wolfram Sang wrote:
>
>> Is this what you were looking for?
>
> Mostly, thanks. This verifies that the old way still works. Good!
>
> The new way (no i2c_device_ids, just compatibles) will need Javier's
> patch to work with module auto loading, I know. But what about userspace
> instantiation with built-in driver? I didn't understand if this was
> tested using the new way. And do you need then the full-compatible or
> the vendor-stripped string?

When I reported :

> * new_device (built-in, and external module)
> echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-2/new_device
> cat /sys/class/rtc/rtc0/date
>
> - Both of those worked fine.

That was *without* Javier's patch, but hopefully obviously *with* Lee's
patchset.

Do you need this testing *with* Javiers patch as well?
I have not tested this combination.

I've already switched my dev board environment back to the Salvator-X
for $DAYJOB and switching back now will have to wait to the weekend.


> Thanks,
>
> Wolfram
>

--
Regards

Kieran Bingham