mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-28 13:45:28 +00:00
Add platform_data for the driver which allows to specify whether an external reference voltage is used or not. It is not possible to use the return value of regulator_get() for this since the regulator framework is able to return a dummy regulator in case no regulator has been specified. In this case the driver will always get a valid regulator, no matter if it has been specified or not. Also make the regulator non-optional if platform_data states that an external reference voltage should be used. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
History
|
|
|---|---|---|
| .. | ||
| accel | ||
| adc | ||
| addac | ||
| cdc | ||
| Documentation | ||
| frequency | ||
| gyro | ||
| impedance-analyzer | ||
| light | ||
| magnetometer | ||
| meter | ||
| resolver | ||
| trigger | ||
| iio_dummy_evgen.c | ||
| iio_dummy_evgen.h | ||
| iio_simple_dummy.c | ||
| iio_simple_dummy.h | ||
| iio_simple_dummy_buffer.c | ||
| iio_simple_dummy_events.c | ||
| Kconfig | ||
| Makefile | ||
| ring_hw.h | ||
| TODO | ||