From: Jakkapong Saksrisuwan <me@jakkapong.dev>
To: linux-iio@vger.kernel.org
Cc: 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,
Jakkapong Saksrisuwan <me@jakkapong.dev>
Subject: [PATCH 1/2] dt-bindings: iio: adc: microchip,mcp3201: add MCP3302 and MCP3304
Date: Fri, 4 Dec 2026 18:02:13 +0700 [thread overview]
Message-ID: <20261204110214.40106-1-me@jakkapong.dev> (raw)
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.
Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/21697F.pdf
Signed-off-by: Jakkapong Saksrisuwan <me@jakkapong.dev>
---
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.
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.
.../devicetree/bindings/iio/adc/microchip,mcp3201.yaml | 2 ++
1 file changed, 2 insertions(+)
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
base-commit: fba506008a5b548ad2708bc2765a039cb00a47ab
--
2.47.3
next reply other threads:[~2026-12-04 11:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 11:02 Jakkapong Saksrisuwan [this message]
2026-12-04 11:02 ` [PATCH 2/2] iio: adc: mcp320x: Add support for MCP3302 and MCP3304 Jakkapong Saksrisuwan
2026-12-04 12:21 ` Andy Shevchenko
2026-12-04 13:26 ` Joshua Crofts
2026-12-04 14:59 ` Andy Shevchenko
2026-12-04 14:56 ` Jakkapong Saksrisuwan
2026-12-04 16:56 ` [PATCH 1/2] dt-bindings: iio: adc: microchip,mcp3201: add " Conor Dooley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204110214.40106-1-me@jakkapong.dev \
--to=me@jakkapong.dev \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox