iio: adc: ti_am335x_adc: Add the am437x compatible
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 15 Oct 2021 08:15:03 +0000 (10:15 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 21 Oct 2021 09:02:48 +0000 (10:02 +0100)
This driver supports both the legacy controller (am33xx) and the
extended one (am437x), so let's add a new compatible.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211015081506.933180-46-miquel.raynal@bootlin.com
drivers/iio/adc/ti_am335x_adc.c

index 867690b6c2dd056171b50d1e8c3467d6aa0eab7e..dbdc1ef485668c8e739d2ffcb6cc253af321c753 100644 (file)
@@ -738,6 +738,7 @@ static SIMPLE_DEV_PM_OPS(tiadc_pm_ops, tiadc_suspend, tiadc_resume);
 
 static const struct of_device_id ti_adc_dt_ids[] = {
        { .compatible = "ti,am3359-adc", },
+       { .compatible = "ti,am4372-adc", },
        { }
 };
 MODULE_DEVICE_TABLE(of, ti_adc_dt_ids);