mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Fabrice Gasnier](/assets/img/avatar_default.png)
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>
14 lines
399 B
Makefile
14 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
|