sandbox: add ADC driver
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Oct 2015 12:08:06 +0000 (13:08 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 2 Nov 2015 01:38:00 +0000 (10:38 +0900)
commit08d6300a35bf2eb7915f0fa2fea9fa60b5075b71
tree21aac272797217701e4e74f0600ea0578595c9d7
parent1611c8cbcfe2ee50cc5e96f3a5c666c99d235107
sandbox: add ADC driver

This commit adds implementation of Sandbox ADC device emulation.
The device provides:
- single and multi-channel conversion
- 4 channels with predefined conversion output data
- 16-bit resolution

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/sandbox/dts/sandbox_pmic.dtsi
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
drivers/adc/Kconfig
drivers/adc/Makefile
drivers/adc/sandbox.c [new file with mode: 0644]