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

Simon Glass sjg at chromium.org
Fri Nov 6 01:15:42 CET 2015


Hi Przemyslaw,

On 27 October 2015 at 06:08, Przemyslaw Marczak <p.marczak at 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 at samsung.com>
> Cc: Simon Glass <sjg at 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 at chromium.org>

(could fix the include order though)


More information about the U-Boot mailing list