kmod-saradc-rockchip: add new package

This driver support for the SARADC found in SoCs
from Rockchip.

Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org>
(cherry picked from commit 1df20c4d7d)
This commit is contained in:
AmadeusGhost 2021-10-17 23:02:15 +08:00 committed by Tianling Shen
parent 7bbb142a75
commit 13f77f6098
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -43,3 +43,21 @@ define KernelPackage/drm-rockchip/description
endef
$(eval $(call KernelPackage,drm-rockchip))
define KernelPackage/saradc-rockchip
SUBMENU:=$(IIO_MENU)
TITLE:=Rockchip SARADC support
DEPENDS:=@TARGET_rockchip +kmod-iio-core
KCONFIG:= \
CONFIG_RESET_CONTROLLER=y \
CONFIG_ROCKCHIP_SARADC
FILES:= \
$(LINUX_DIR)/drivers/iio/adc/rockchip_saradc.ko
AUTOLOAD:=$(call AutoProbe,rockchip_saradc)
endef
define KernelPackage/saradc-rockchip/description
Support for the SARADC found in SoCs from Rockchip
endef
$(eval $(call KernelPackage,saradc-rockchip))