diff options
author | Patil, Rachna <rachna@ti.com> | 2013-01-24 03:45:11 +0000 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-06-12 18:36:31 +0200 |
commit | 6f39ac4e20c6211c98e8d9da2d8c51100a77d1df (patch) | |
tree | 1de9e31d9f45ffd7d76ea4ffaf364d44e755c306 /drivers/mfd | |
parent | b9194fdfa6e729b97ffc59ae00dc9d51c7ae314d (diff) | |
download | linux-stable-6f39ac4e20c6211c98e8d9da2d8c51100a77d1df.tar.gz linux-stable-6f39ac4e20c6211c98e8d9da2d8c51100a77d1df.tar.bz2 linux-stable-6f39ac4e20c6211c98e8d9da2d8c51100a77d1df.zip |
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')
-rw-r--r-- | drivers/mfd/ti_am335x_tscadc.c | 1 |
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); |