iio: adc: aspeed: Deassert reset in probe
authorJoel Stanley <joel@jms.id.au>
Tue, 31 Oct 2017 02:12:03 +0000 (12:42 +1030)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Dec 2017 10:41:15 +0000 (10:41 +0000)
commitedf7550a1f93a88be2bf743b5d352b278d1b789c
tree518f1a1e87a87244af5697d97a3666eb7f6bfe9b
parent02c5dff52b3e1eb38513699e17cdf973a5a40322
iio: adc: aspeed: Deassert reset in probe

The ASPEED SoC must deassert a reset in order to use the ADC peripheral.

The device tree bindings are updated to document the resets phandle, and
the example is updated to match what is expected for both the reset and
clock phandle. Note that the bindings should have always had the reset
controller, as the hardware is unusable without it.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/aspeed_adc.txt
drivers/iio/adc/aspeed_adc.c