[U-Boot] [PATCH V3 13/14] sandbox: add ADC driver

Simon Glass
2015-11-06T00:15:42Z

Hi Przemyslaw,

On 27 October 2015 at 06:08, Przemyslaw Marczak <p.marczak@samsung.com> wrote:
> 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>
> ---
> Changes V3:
> - new commit
> ---
> arch/sandbox/dts/sandbox_pmic.dtsi | 2 +-
> arch/sandbox/dts/test.dts | 6 ++
> configs/sandbox_defconfig | 2 +
> drivers/adc/Kconfig | 9 ++
> drivers/adc/Makefile | 1 +
> drivers/adc/sandbox.c | 174 +++++++++++++++++++++++++++++++++++++
> 6 files changed, 193 insertions(+), 1 deletion(-)
> create mode 100644 drivers/adc/sandbox.c
>

Reviewed-by: Simon Glass <sjg@chromium.org>

(could fix the include order though)