[PATCH v3 11/30] iio: adc: add new compatibles

From: Philipp Rossak
Date: Thu Aug 30 2018 - 11:47:26 EST


We are now adding the new compatibles.

Signed-off-by: Philipp Rossak <embed3d@xxxxxxxxx>
---
drivers/iio/adc/sun4i-gpadc-iio.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/drivers/iio/adc/sun4i-gpadc-iio.c b/drivers/iio/adc/sun4i-gpadc-iio.c
index a2027614ee0c..79b8efdab803 100644
--- a/drivers/iio/adc/sun4i-gpadc-iio.c
+++ b/drivers/iio/adc/sun4i-gpadc-iio.c
@@ -435,6 +435,18 @@ static const struct of_device_id sun4i_gpadc_of_id[] = {
.compatible = "allwinner,sun8i-a33-ths",
.data = &sun8i_a33_gpadc_data,
},
+ {
+ .compatible = "allwinner,sun4i-a10-gpadc",
+ .data = &sun4i_gpadc_data
+ },
+ {
+ .compatible = "allwinner,sun5i-a13-gpadc",
+ .data = &sun5i_gpadc_data
+ },
+ {
+ .compatible = "allwinner,sun6i-a31-gpadc",
+ .data = &sun6i_gpadc_data
+ },
{ /* sentinel */ }
};

--
2.11.0