Thread (20 messages) 20 messages, 5 authors, 2022-03-29

Re: [PATCH v1.1 2/2] iio: dac: dac5571: Fix chip id detection for OF devices

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2021-08-17 21:20:12
Also in: linux-i2c, linux-iio

On Tue, Aug 17, 2021 at 10:58:19PM +0200, Wolfram Sang wrote:
quoted
quoted
Couldn't you use the "new" probe_new() callback instead which will drop
the i2c_device_id? Kieran was interested in such conversions IIRC.
It's a bit unrelated to this patch, but I can add another patch to the
series.

While I have your attention, there's a question for you in the cover
letter :-) Could you please have a look ?
? This was the answer to that question. Unless I misunderstood.
My point is that this patch shouldn't be needed. I'd like if the I2C
core could get the driver data from the i2c_device_id table instead of
duplicating it in the of_device_id. This isn't possible today as
i2c_match_id() doesn't have the fallback mechanism that OF matching has.

-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help