Skip to content

Commit 8dc3d1a

Browse files
Phil ElwellGadgetoid
Phil Elwell
authored andcommitted
overlays: Add mcp342x overlay
Support the MCP342x family of ADCs from Microchip. See: raspberrypi#2819 Signed-off-by: Phil Elwell <[email protected]>
1 parent 9aff741 commit 8dc3d1a

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
7979
mcp2515-can1.dtbo \
8080
mcp3008.dtbo \
8181
mcp3202.dtbo \
82+
mcp342x.dtbo \
8283
media-center.dtbo \
8384
midi-uart0.dtbo \
8485
midi-uart1.dtbo \

arch/arm/boot/dts/overlays/README

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,22 @@ Params: spi<n>-<m>-present boolean, configure device at spi<n>, cs<m>
12771277
spi<n>-<m>-speed integer, set the spi bus speed for this device
12781278

12791279

1280+
Name: mcp342x
1281+
Info: Overlay for activation of Microchip MCP3421-3428 ADCs over I2C
1282+
Load: dtoverlay=mcp342x,<param>=<val>
1283+
Params: addr I2C bus address of device, for devices with
1284+
addresses that are configurable, e.g. by
1285+
hardware links (default=0x68)
1286+
mcp3421 The device is an MCP3421
1287+
mcp3422 The device is an MCP3422
1288+
mcp3423 The device is an MCP3423
1289+
mcp3424 The device is an MCP3424
1290+
mcp3425 The device is an MCP3425
1291+
mcp3426 The device is an MCP3426
1292+
mcp3427 The device is an MCP3427
1293+
mcp3428 The device is an MCP3428
1294+
1295+
12801296
Name: media-center
12811297
Info: Media Center HAT - 2.83" Touch Display + extras by Pi Supply
12821298
Load: dtoverlay=media-center,<param>=<val>

0 commit comments

Comments
 (0)