mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 5d5763a369405a00d94b11f33c4ba47c422a879a Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 6 Mar 2023 20:04:34 +0000
|
|
Subject: [PATCH 600/726] iio: adc: mcp3422: Add correct compatible strings
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/iio/adc/mcp3422.c | 9 ++++++++-
|
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
|
|
index da353dcb1e9d..533994ecb9a0 100644
|
|
--- a/drivers/iio/adc/mcp3422.c
|
|
+++ b/drivers/iio/adc/mcp3422.c
|
|
@@ -407,7 +407,14 @@ static const struct i2c_device_id mcp3422_id[] = {
|
|
MODULE_DEVICE_TABLE(i2c, mcp3422_id);
|
|
|
|
static const struct of_device_id mcp3422_of_match[] = {
|
|
- { .compatible = "mcp3422" },
|
|
+ { .compatible = "microchip,mcp3421" },
|
|
+ { .compatible = "microchip,mcp3422" },
|
|
+ { .compatible = "microchip,mcp3423" },
|
|
+ { .compatible = "microchip,mcp3424" },
|
|
+ { .compatible = "microchip,mcp3425" },
|
|
+ { .compatible = "microchip,mcp3426" },
|
|
+ { .compatible = "microchip,mcp3427" },
|
|
+ { .compatible = "microchip,mcp3428" },
|
|
{ }
|
|
};
|
|
MODULE_DEVICE_TABLE(of, mcp3422_of_match);
|
|
--
|
|
2.33.1
|
|
|