mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 18:10:13 +00:00
a466ecec48
This patch adds support for STMicroelectronics STM32 ADC (analog to digital converter). It's originally based on Linux kernel v4.18-rcs drivers/iio/adc/stm32-adc*. It's composed of: - core driver (UCLASS_SIMPLE_BUS) manages common resources (clk, regu). - child drivers (UCLASS_ADC) declare each ADC, channels and handle conversions. This driver currently supports STM32H7 and STM32MP1 ADC. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
13 lines
399 B
Makefile
13 lines
399 B
Makefile
#
|
|
# Copyright (C) 2015 Samsung Electronics
|
|
# Przemyslaw Marczak <p.marczak@samsung.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_ADC) += adc-uclass.o
|
|
obj-$(CONFIG_ADC_EXYNOS) += exynos-adc.o
|
|
obj-$(CONFIG_ADC_SANDBOX) += sandbox.o
|
|
obj-$(CONFIG_SARADC_ROCKCHIP) += rockchip-saradc.o
|
|
obj-$(CONFIG_SARADC_MESON) += meson-saradc.o
|
|
obj-$(CONFIG_STM32_ADC) += stm32-adc.o stm32-adc-core.o
|