]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: modify NPCM reset support
authorTomer Maimon <tmaimon77@gmail.com>
Mon, 3 Feb 2020 15:09:17 +0000 (17:09 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 14 Feb 2020 15:06:24 +0000 (15:06 +0000)
commita78241022690c16171b69e762b639dccd58550eb
tree9eb4ac8a9b5d5c4c47e862bfea82a67ea9e928da
parenta851d6a6dc56b0d8a8a7b9868acb41a9d4180457
iio: adc: modify NPCM reset support

Modify NPCM ADC reset support from
direct register access to reset controller support.

please make sure to modify NPCM adc device tree
parameters as described at nuvoton,npcm-adc.txt
document for using this change.

Note for anyone noting that this is a breaking change, this is on
a BMC and effectively in a close ecosystem so it is fine to rely
on DT and kernel being updated together.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/npcm_adc.c