artik053: register ADC driver at boot
authorHeesub Shin <heesub.shin@samsung.com>
Thu, 6 Apr 2017 12:02:34 +0000 (21:02 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:12 +0000 (12:02 +0900)
commit3ad53f931888a2822b2055834ba424815de8cfb8
tree2a1291477e4beab4d64586423e168fa44f8fe733
parent9891c27f02059829a11155edeca902233a31d1c2
artik053: register ADC driver at boot

S5J supports 4 ADC channels and they are exported through GPIO pins of
ARTIK-053 starter kit. This commit initializes the ADC driver and
registers a device ndoe at boot stage, so that users may open it and get
conversion samples from ADC.

Change-Id: I0f01ca1bccdd39f10d704894fa1293936451b0fa
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/artik053/src/artik053_tash.c