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)
commitdb6bcb8c25884a29f57660857c788afca20a32e1
tree9eb4ac8a9b5d5c4c47e862bfea82a67ea9e928da
parent816abe42b8bde912c58d862d540a2f57ba967477
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