Searched hist:"7 dd94246fe542e45915ad27817317a41d796d13a" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/potentiometer/ |
H A D | ad5272.c | diff 7dd94246fe542e45915ad27817317a41d796d13a Tue Nov 24 06:00:14 CET 2020 Phil Reid <preid@electromag.com.au> iio: potentiometer: ad5272: Correct polarity of reset
The driver should assert reset by setting the gpio high, and then release it by setting it the gpio low. This allows the device tree (or other hardware definition) to specify how the gpio is configured.
For example as open drain or push-pull depending on the connected hardware.
Signed-off-by: Phil Reid <preid@electromag.com.au> Link: https://lore.kernel.org/r/20201124050014.4453-1-preid@electromag.com.au Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|