[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <213f4510-0af3-4e17-8473-3929227bcfcf@baylibre.com>
Date: Mon, 25 Nov 2024 08:57:48 -0600
From: David Lechner <dlechner@...libre.com>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Cc: Jonathan Cameron <jic23@...nel.org>,
Dumitru Ceclan <mitrutzceclan@...il.com>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Nuno Sa <nuno.sa@...log.com>, Michael Walle <michael@...le.cc>,
Andy Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, Guillaume Ranquet <granquet@...libre.com>
Subject: Re: [PATCH 1/2] iio: adc: ad7313: fix irq number stored in static
info struct
On 11/25/24 2:59 AM, Uwe Kleine-König wrote:
> Hello,
>
> first of all thanks for picking up my report.
>
> $Subject ~= s/ad7313/ad7173/
>
> I wonder if it would make sense to update the ad7173 binding to also
> allow specifying the irq as the other ADCs do it and just
> unconditionally fall back to rdy-interrupt (or the other way round)?
> There is no good reason for ad7173 being special, is there?
>
> Best regards
> Uwe
That is a a good point. We actually don't have to change the DT
bindings, the "rdy" interrupt is already specified to be the first
interrupt, so spi->irq should already be the "rdy" interrupt
because is is always getting the interrupt at index 0. So we should
be able to just drop the special handling altogether.
Powered by blists - more mailing lists