• Przemyslaw Marczak's avatar
    dm: adc: add Exynos54xx compatible ADC driver · 3b3ad901
    Przemyslaw Marczak authored
    This commit adds driver for Exynos54xx ADC subsystem.
    The driver is implemented using driver model, amd provides
    ADC uclass's methods for ADC single channel operations:
    - adc_start_channel()
    - adc_channel_data()
    - adc_stop()
    The basic parameters of ADC conversion, are:
    - sample rate: 600KSPS
    - output the data as average of 8 time conversion
    ADC features:
    - sample rate: 600KSPS
    - resolution: 12-bit
    - channels: 10 (analog multiplexer)
    Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
    Cc: Minkyu Kang <mk7.kang@samsung.com>
    Cc: Simon Glass <sjg@chromium.org>
    Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
exynos-adc.c 3.38 KB