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=1796403417; b=ppfG5LV6wVMzbxjdvE6qGxpJaElGyAd0x1561R7Cfwdnyqc7c55C+28yT9wwmiF0SEMw 0vkOrm/E1thU8hg7dZDMHVTxoYwpH3hVCJMTGawlT5a/4djoH37z3Kemt7vYisNle8NN8 0cajkQSPfreBRevnQMBTNtPnaYvfLoj/sHNRCk2fPCNHYZSPWQrC7ey+jR+bYjdsyQKFk uuPsRu/Ca34754hbbGeFVLDN9leOhNvr+7VCJrPJ+SD2raPJ7SMfyB5ftWwzv1V48W1zG pb65AsDhDb2NwbR6O8UBv7ij6Mr+REyCq1ypk+Oz4qyM7w/4G0xQ3a2FRFoDBH1a+Cg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796403417; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=wbaXxj3Tw1C/9cKEspwV+IRB1iLILYAj/Ph8XkZXocY=; b=gP4+AnxregR0Nx4yUgZLq8r6U4gpujT/A+eT95F6H95iZSyeRr7WAfH6kU2BMk0hgG4O q+wuYlq6h/TJ33cNa/fF5EBfX8f49hCLaKk+f+pcseqSh5qW1MEbUq3zbS2PHo6YPvDAL Ih4sxRAbaJVNq9GdUVf0xxVjV98iqNkud1ZqwBfFA+bRGW6ytvLhOGgtxQAFu/dwZfrgH zvcwzCM8JCYDLygCzTKyX4OtPbPkZjg9tHuqra9kRwzif4WuKIDJZ84peeFjxK8U/SA/1 ZHGMN9Z7nEOjTyWT1JrXIoaJPOwHGvKfsgP5qTkR7WISGWPBsaluuf7CO9BvM0E7TQw== 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=CBy5Nrq8; 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 13EE6606A322; Fri, 4 Dec 2026 16:56:56 +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=CBy5Nrq8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A23951F00897; Fri, 4 Dec 2026 16:56:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796403416; bh=wbaXxj3Tw1C/9cKEspwV+IRB1iLILYAj/Ph8XkZXocY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=CBy5Nrq8diCdafb4iJePwajKHzayMd2UeXWVlxVv8O8FYv0X9rQkbULQ1GXIQr/g0 cyvABYO4Na/bBOO+gZKuT+y826SucgrZp/DvN5NMAJCSj4j1/qQyminWvylBPskdep z7JrHu9502glTl46Z8OiBt5sOS9Q00WuuPlFlZYcKCgm5HfC4MjuUnTToloQZmGMnh AeeRFMfbRFOJSZyqj3xibiEmvPvhMQ4THLMt9xgLQf8I/fDrZDkJoa8F2exnzZexkR 8zxFmI4A+AWokabkqdi4vgEnq5PEZU3fPdKoBmgSgRPnnQ/EROsKlWNfbs4aB40d8I ZHwDQ7XYGz9/w== Date: Fri, 4 Dec 2026 16:56:52 +0000 From: Conor Dooley To: Jakkapong Saksrisuwan Cc: linux-iio@vger.kernel.org, jic23@kernel.org, andy@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: microchip,mcp3201: add MCP3302 and MCP3304 Message-ID: <20261204-freeload-dish-f924feabc1d1@spud> References: <20261204110214.40106-1-me@jakkapong.dev> 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="edSIItJ0H2vKERIt" Content-Disposition: inline In-Reply-To: <20261204110214.40106-1-me@jakkapong.dev> --edSIItJ0H2vKERIt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 04, 2026 at 06:02:13PM +0700, Jakkapong Saksrisuwan wrote: > The MCP3302 and MCP3304 are 13-bit output (12 data bits plus sign) > pseudo-differential ADCs sharing the channel configuration of the > MCP3204 and MCP3208. Add their compatibles to the family binding. Please provide an explanation for why fallback compatibles cannot be used. pw-bot: changes-requested Thanks, Conor. >=20 > Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/21697F.pdf > Signed-off-by: Jakkapong Saksrisuwan > --- >=20 > Notes: > The MCP3302 and MCP3304 share the binding file's existing channel > configuration (DS21697F Tables 6-1/6-2), so only the compatible list > changes. > =20 > AI assistance: I used an AI assistant (Qwen) to extract text from > the datasheet, cross-check the channel tables against the MCP3204/08 > datasheet (DS21298E), and draft this note and the commit message. I > checked the two compatible strings against the datasheet part numbers > and the driver's mcp320x_dt_ids[] table myself. >=20 > .../devicetree/bindings/iio/adc/microchip,mcp3201.yaml | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.= yaml b/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml > index 18108f0f3731..7bc53ab0481d 100644 > --- a/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml > @@ -24,6 +24,8 @@ properties: > - microchip,mcp3204 > - microchip,mcp3208 > - microchip,mcp3301 > + - microchip,mcp3302 > + - microchip,mcp3304 > - microchip,mcp3550-50 > - microchip,mcp3550-60 > - microchip,mcp3551 >=20 > base-commit: fba506008a5b548ad2708bc2765a039cb00a47ab > --=20 > 2.47.3 >=20 --edSIItJ0H2vKERIt Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaxLw1AAKCRB4tDGHoIJi 0kXOAP4xhDRNdAar6OgO/0hH325oBkKIbDwMvaWBVsYOInHeagD/acQjXcHUgDz3 W9FA6AbKop+hx8rssARYTVhkTAQhsAY= =7jN5 -----END PGP SIGNATURE----- --edSIItJ0H2vKERIt--