iio: adc: mcp3422: Add correct compatible strings
authorPhil Elwell <phil@raspberrypi.com>
Mon, 6 Mar 2023 20:04:34 +0000 (20:04 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:27 +0000 (11:33 +0000)
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/iio/adc/mcp3422.c

index 0778a8f..b80d2b5 100644 (file)
@@ -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);