summaryrefslogtreecommitdiff
path: root/drivers/mfd/ti_am335x_tscadc.c
diff options
context:
space:
mode:
authorPatil, Rachna <rachna@ti.com>2013-01-24 07:45:11 +0400
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2013-06-12 20:36:31 +0400
commit6f39ac4e20c6211c98e8d9da2d8c51100a77d1df (patch)
tree1de9e31d9f45ffd7d76ea4ffaf364d44e755c306 /drivers/mfd/ti_am335x_tscadc.c
parentb9194fdfa6e729b97ffc59ae00dc9d51c7ae314d (diff)
downloadlinux-6f39ac4e20c6211c98e8d9da2d8c51100a77d1df.tar.xz
iio: ti_am335x_adc: Add DT support
Add DT support for client ADC driver. Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers/mfd/ti_am335x_tscadc.c')
-rw-r--r--drivers/mfd/ti_am335x_tscadc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c
index f50976623a01..1d6c74049590 100644
--- a/drivers/mfd/ti_am335x_tscadc.c
+++ b/drivers/mfd/ti_am335x_tscadc.c
@@ -210,6 +210,7 @@ static int ti_tscadc_probe(struct platform_device *pdev)
/* ADC Cell */
cell = &tscadc->cells[ADC_CELL];
cell->name = "tiadc";
+ cell->of_compatible = "ti,am3359-adc";
cell->platform_data = &tscadc;
cell->pdata_size = sizeof(tscadc);