From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796517098; b=UXHlCxC2UfiKqttdk2npCNCq15yf1ihRYfLCesiDruLI6sKTkZWeekuqRPM9AvPhrJOI wcQJFEkwupxxeb+UnEuAFTtrIwCCNrf/AIjGKck8XMwbFAhvRfRCF9IssTiJIHZ87rDkM gZkemtuGc1pjvFArZ5oDbKO9bGUrm+PWWH3iEvagtWMX/IZ7K/H6gg9a8YZeC9Lw+i5aN tEgif1EGii/OCLMm8XDhEt/bsv5d0Vd7m8MURaMZ9ks4i78IPPSMP4QmFTtrIIX62+whN zgCKCkFn7rWvkaqRWmx+YTe0+f8j6rqpo1D3NfWNyyiAtcY0ksjp+H5bhf26xauS1Gg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796517098; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=Ic1MTSHOSCPlaxA5KzBMYcHDVo1Rc0rjZR/tA8+ECsw=; b=PxvCBRtdjIdedMidYZilCTr/W2hwczR0pAVKZihO57RttrSnTUuaWtjwX0qomXGJ6BMV Y/60pZQ/XLvBWXdgl8guoXadwTbHP7GYJ3hHiNwJm8gdVisKqEO+dDq6ExhZ2DIBxHndj IsCexv/9/+PTlESpaEu57bXzYrjgPqVARsw+dChiseCGenu7X8MTc5sGk/SpAK6hysYHy zHyxbYwzXFZW4X1bI1JidoNMCmkfis1UAcnsrx9WFBHUbMOOvhQr5e9/PcamDL3YPYPN2 190OF/e14fNrXLL1syMZAaYriup4wDxQZAxNFf/qndAy0oDPfI801DRi2jYpXmTqNSA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=FhHDMXX1; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0D81606A31F; Sun, 6 Dec 2026 00:31:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=FhHDMXX1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 524CE1F0092B; Sun, 6 Dec 2026 00:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796517097; bh=Ic1MTSHOSCPlaxA5KzBMYcHDVo1Rc0rjZR/tA8+ECsw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=FhHDMXX1SEy98C3WWtMAmfPCQ2yzIZJq7wovCCv+KpQpMhba/968h6Qov24qzjxRp fPvrbYFOYgGzG43gjDwH9GSO55yTFql/X7to975B2TwI9oQ5WC7M0ABqd5gUMvsJkN 9fgwEh+gycwWnqtW3k0y+y972pQin7eR5afC1HXJVy8ZPYsN9B3gLUo7pA3TRfXNMV Qh/hz90BE/vyvLFErdaLZMJ5Dbx70husJjDFOXFDE/OVbzGZkS95mKQu/TPQbmAeSH 87QqT5NrJD6eUAtlgpGB198hmjQckDAv/CXK9JzQdRkVk6tw2jTh5c9jhwm4Mvt6zg CjSKTTKm0lEJg== Date: Sun, 6 Dec 2026 00:31:34 +0000 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux@analog.com, Michael Hennerich , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Arnd Bergmann Subject: Re: [PATCH v2 11/11] iio: adc: ad7793: add firmware support Message-ID: <20261206003134.10525eef@jic23-hlaptop> In-Reply-To: <20261202-iio-adi-legacy-platdata-v2-11-0fd64abe73f4@analog.com> References: <20261202-iio-adi-legacy-platdata-v2-0-0fd64abe73f4@analog.com> <20261202-iio-adi-legacy-platdata-v2-11-0fd64abe73f4@analog.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 02 Dec 2026 17:05:43 +0000 Nuno S=C3=A1 wrote: > The driver refuses to probe without platform data, which no one can > provide anymore. That means the driver can not be used at all on a > modern system. >=20 > Get the configuration from firmware properties instead, following the > binding: >=20 > - The reference is REFIN (REFIN1) if refin-supply is present, REFIN2 if > refin2-supply is present, and the internal 1.17 V reference otherwise. > Parts without an internal reference need refin-supply. > - An external clock on the CLK pin is used if given. A 128 kHz clock > is divided by 2 internally. > - The input buffer stays enabled (as it is at power-up) unless > adi,low-source-impedance is set, and unipolar coding is used unless > bipolar is set. > - The bias voltage generator and the excitation current sources get > their own properties. >=20 > Also add an OF match table. >=20 > Acked-by: Arnd Bergmann > Signed-off-by: Nuno S=C3=A1 I had nothing to add to Andy's review. Probably wait on the DT binding getting reviewed before sending v3. Looked fine to me, but I still miss things in those! Jonathan