stm32: sort kernel module packages in alphabetical order
In modules.mk, sort packages in alphabetical order. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/18119 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
ef38ea7e34
commit
7ad335e56e
1 changed files with 157 additions and 157 deletions
|
@ -2,6 +2,29 @@
|
|||
#
|
||||
# Copyright (C) 2024 Bootlin
|
||||
|
||||
define KernelPackage/bxcan
|
||||
TITLE:=STM32 Basic Extended CAN (bxCAN) devices
|
||||
KCONFIG:=CONFIG_CAN_BXCAN
|
||||
FILES=$(LINUX_DIR)/drivers/net/can/bxcan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bxcan)
|
||||
$(call AddDepends/can,@TARGET_stm32)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,bxcan))
|
||||
|
||||
|
||||
define KernelPackage/nvmem-stm32-romem
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=STM32 factory-programmed memory support
|
||||
DEPENDS:=@TARGET_stm32
|
||||
KCONFIG:=CONFIG_NVMEM_STM32_ROMEM
|
||||
FILES:=$(LINUX_DIR)/drivers/nvmem/nvmem_stm32_romem.ko
|
||||
AUTOLOAD:=$(call AutoProbe,nvmem-stm32-romem)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nvmem-stm32-romem))
|
||||
|
||||
|
||||
define KernelPackage/phy-stm32-usbphyc
|
||||
TITLE:=STM32 USB HS PHY Controller driver
|
||||
DEPENDS:=@TARGET_stm32
|
||||
|
@ -18,15 +41,71 @@ endef
|
|||
$(eval $(call KernelPackage,phy-stm32-usbphyc))
|
||||
|
||||
|
||||
define KernelPackage/bxcan
|
||||
TITLE:=STM32 Basic Extended CAN (bxCAN) devices
|
||||
KCONFIG:=CONFIG_CAN_BXCAN
|
||||
FILES=$(LINUX_DIR)/drivers/net/can/bxcan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bxcan)
|
||||
$(call AddDepends/can,@TARGET_stm32)
|
||||
define KernelPackage/scmi-hwmon
|
||||
TITLE:=ARM SCMI Sensors
|
||||
KCONFIG:=CONFIG_SENSORS_ARM_SCMI
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/scmi-hwmon.ko
|
||||
AUTOLOAD:=$(call AutoProbe,scmi-hwmon)
|
||||
$(call AddDepends/hwmon,@TARGET_stm32 +kmod-thermal)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,bxcan))
|
||||
$(eval $(call KernelPackage,scmi-hwmon))
|
||||
|
||||
|
||||
define KernelPackage/scmi-iio
|
||||
TITLE:=IIO SCMI
|
||||
KCONFIG=CONFIG_IIO_SCMI
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/common/scmi_sensors/scmi_iio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,scmi_iio)
|
||||
$(call AddDepends/iio,@TARGET_stm32 +kmod-iio-kfifo-buf)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scmi-iio))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-dfsdm
|
||||
TITLE:=SoC Audio support for STM32 DFSDM
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_DFSDM
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/stm32_adfsdm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32_adfsdm)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core +kmod-stm32-dfsdm-adc +kmod-industrialio-buffer-cb)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-dfsdm))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-i2s
|
||||
TITLE:=STM32 I2S interface (SPI/I2S block) support
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_I2S
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-i2s.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-soc-stm32-i2s)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-i2s))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-sai
|
||||
TITLE:=STM32 SAI interface (Serial Audio Interface) support
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_SAI
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-sai-sub.ko \
|
||||
$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-sai.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-soc-stm32-sai-sub snd-soc-stm32-sai)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-sai))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-spdifrx
|
||||
TITLE:=STM32 S/PDIF receiver (SPDIFRX) support
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_SPDIFRX
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-spdifrx.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-soc-stm32-spdifrx)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-spdifrx))
|
||||
|
||||
|
||||
define KernelPackage/spi-stm32
|
||||
|
@ -49,15 +128,55 @@ endef
|
|||
$(eval $(call KernelPackage,spi-stm32))
|
||||
|
||||
|
||||
define KernelPackage/scmi-hwmon
|
||||
TITLE:=ARM SCMI Sensors
|
||||
KCONFIG:=CONFIG_SENSORS_ARM_SCMI
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/scmi-hwmon.ko
|
||||
AUTOLOAD:=$(call AutoProbe,scmi-hwmon)
|
||||
$(call AddDepends/hwmon,@TARGET_stm32 +kmod-thermal)
|
||||
define KernelPackage/stm32-adc
|
||||
TITLE:=STM32 ADC
|
||||
KCONFIG:=CONFIG_STM32_ADC_CORE \
|
||||
CONFIG_STM32_ADC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-adc-core.ko \
|
||||
$(LINUX_DIR)/drivers/iio/adc/stm32-adc.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-adc-core stm32-adc)
|
||||
$(call AddDepends/iio,@TARGET_stm32 +kmod-stm32-timer-trigger +kmod-industrialio-triggered-buffer)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scmi-hwmon))
|
||||
$(eval $(call KernelPackage,stm32-adc))
|
||||
|
||||
|
||||
define KernelPackage/stm32-crc32
|
||||
TITLE:=Support for STM32 crc accelerators
|
||||
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_CRC \
|
||||
CONFIG_CRYPTO_HW=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-crc32.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-crc32)
|
||||
$(call AddDepends/crypto,@TARGET_stm32 +kmod-crypto-crc32)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-crc32))
|
||||
|
||||
|
||||
define KernelPackage/stm32-cryp
|
||||
TITLE:=Support for STM32 cryp accelerators
|
||||
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_CRYP \
|
||||
CONFIG_CRYPTO_LIB_DES=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-cryp.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-cryp)
|
||||
$(call AddDepends/crypto,@TARGET_stm32 +kmod-crypto-hash +kmod-crypto-des +kmod-crypto-engine)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-cryp))
|
||||
|
||||
|
||||
define KernelPackage/stm32-dac
|
||||
TITLE:=STM32 DAC
|
||||
DEPENDS:=@TARGET_stm32
|
||||
KCONFIG:=CONFIG_STM32_DAC_CORE \
|
||||
CONFIG_STM32_DAC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/dac/stm32-dac-core.ko \
|
||||
$(LINUX_DIR)/drivers/iio/dac/stm32-dac.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-dac-core stm32-dac)
|
||||
$(call AddDepends/iio,@TARGET_stm32)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-dac))
|
||||
|
||||
|
||||
define KernelPackage/stm32-dcmi
|
||||
|
@ -71,49 +190,36 @@ endef
|
|||
$(eval $(call KernelPackage,stm32-dcmi))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-sai
|
||||
TITLE:=STM32 SAI interface (Serial Audio Interface) support
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_SAI
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-sai-sub.ko \
|
||||
$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-sai.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-soc-stm32-sai-sub snd-soc-stm32-sai)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core)
|
||||
define KernelPackage/stm32-dfsdm-adc
|
||||
TITLE:=STM32 DFSDM ADC
|
||||
KCONFIG:=CONFIG_STM32_DFSDM_CORE \
|
||||
CONFIG_STM32_DFSDM_ADC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-core.ko \
|
||||
$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-adc.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-dfsdm-core stm32-dfsdm-adc)
|
||||
$(call AddDepends/iio,@TARGET_stm32 +kmod-stm32-timer-trigger +kmod-industrialio-triggered-buffer +kmod-industrialio-hw-consumer)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-sai))
|
||||
$(eval $(call KernelPackage,stm32-dfsdm-adc))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-i2s
|
||||
TITLE:=STM32 I2S interface (SPI/I2S block) support
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_I2S
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-i2s.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-soc-stm32-i2s)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core)
|
||||
define KernelPackage/stm32-hash
|
||||
SUBMENU:=$(CRYPTO_MENU)
|
||||
TITLE:=Support for STM32 hash accelerators
|
||||
DEPENDS:=@TARGET_stm32 \
|
||||
+kmod-crypto-engine \
|
||||
+kmod-crypto-md5 \
|
||||
+kmod-crypto-sha1 \
|
||||
+kmod-crypto-sha256 \
|
||||
+kmod-crypto-sha3 \
|
||||
+kmod-crypto-rsa
|
||||
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_HASH \
|
||||
CONFIG_CRYPTO_ENGINE=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-hash.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-hash)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-i2s))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-spdifrx
|
||||
TITLE:=STM32 S/PDIF receiver (SPDIFRX) support
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_SPDIFRX
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/snd-soc-stm32-spdifrx.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-soc-stm32-spdifrx)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-spdifrx))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-stm32-dfsdm
|
||||
TITLE:=SoC Audio support for STM32 DFSDM
|
||||
KCONFIG:=CONFIG_SND_SOC_STM32_DFSDM
|
||||
FILES:=$(LINUX_DIR)/sound/soc/stm/stm32_adfsdm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32_adfsdm)
|
||||
$(call AddDepends/sound,@TARGET_stm32 +kmod-sound-soc-core +kmod-stm32-dfsdm-adc +kmod-industrialio-buffer-cb)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-stm32-dfsdm))
|
||||
$(eval $(call KernelPackage,stm32-hash))
|
||||
|
||||
|
||||
define KernelPackage/stm32-timers
|
||||
|
@ -139,112 +245,6 @@ endef
|
|||
$(eval $(call KernelPackage,stm32-timer-trigger))
|
||||
|
||||
|
||||
define KernelPackage/stm32-adc
|
||||
TITLE:=STM32 ADC
|
||||
KCONFIG:=CONFIG_STM32_ADC_CORE \
|
||||
CONFIG_STM32_ADC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-adc-core.ko \
|
||||
$(LINUX_DIR)/drivers/iio/adc/stm32-adc.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-adc-core stm32-adc)
|
||||
$(call AddDepends/iio,@TARGET_stm32 +kmod-stm32-timer-trigger +kmod-industrialio-triggered-buffer)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-adc))
|
||||
|
||||
|
||||
define KernelPackage/stm32-dfsdm-adc
|
||||
TITLE:=STM32 DFSDM ADC
|
||||
KCONFIG:=CONFIG_STM32_DFSDM_CORE \
|
||||
CONFIG_STM32_DFSDM_ADC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-core.ko \
|
||||
$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-adc.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-dfsdm-core stm32-dfsdm-adc)
|
||||
$(call AddDepends/iio,@TARGET_stm32 +kmod-stm32-timer-trigger +kmod-industrialio-triggered-buffer +kmod-industrialio-hw-consumer)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-dfsdm-adc))
|
||||
|
||||
|
||||
define KernelPackage/scmi-iio
|
||||
TITLE:=IIO SCMI
|
||||
KCONFIG=CONFIG_IIO_SCMI
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/common/scmi_sensors/scmi_iio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,scmi_iio)
|
||||
$(call AddDepends/iio,@TARGET_stm32 +kmod-iio-kfifo-buf)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scmi-iio))
|
||||
|
||||
|
||||
define KernelPackage/stm32-dac
|
||||
TITLE:=STM32 DAC
|
||||
DEPENDS:=@TARGET_stm32
|
||||
KCONFIG:=CONFIG_STM32_DAC_CORE \
|
||||
CONFIG_STM32_DAC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/dac/stm32-dac-core.ko \
|
||||
$(LINUX_DIR)/drivers/iio/dac/stm32-dac.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-dac-core stm32-dac)
|
||||
$(call AddDepends/iio,@TARGET_stm32)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-dac))
|
||||
|
||||
|
||||
define KernelPackage/nvmem-stm32-romem
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=STM32 factory-programmed memory support
|
||||
DEPENDS:=@TARGET_stm32
|
||||
KCONFIG:=CONFIG_NVMEM_STM32_ROMEM
|
||||
FILES:=$(LINUX_DIR)/drivers/nvmem/nvmem_stm32_romem.ko
|
||||
AUTOLOAD:=$(call AutoProbe,nvmem-stm32-romem)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nvmem-stm32-romem))
|
||||
|
||||
|
||||
define KernelPackage/stm32-crc32
|
||||
TITLE:=Support for STM32 crc accelerators
|
||||
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_CRC \
|
||||
CONFIG_CRYPTO_HW=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-crc32.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-crc32)
|
||||
$(call AddDepends/crypto,@TARGET_stm32 +kmod-crypto-crc32)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-crc32))
|
||||
|
||||
|
||||
define KernelPackage/stm32-hash
|
||||
SUBMENU:=$(CRYPTO_MENU)
|
||||
TITLE:=Support for STM32 hash accelerators
|
||||
DEPENDS:=@TARGET_stm32 \
|
||||
+kmod-crypto-engine \
|
||||
+kmod-crypto-md5 \
|
||||
+kmod-crypto-sha1 \
|
||||
+kmod-crypto-sha256 \
|
||||
+kmod-crypto-sha3 \
|
||||
+kmod-crypto-rsa
|
||||
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_HASH \
|
||||
CONFIG_CRYPTO_ENGINE=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-hash.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-hash)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-hash))
|
||||
|
||||
|
||||
define KernelPackage/stm32-cryp
|
||||
TITLE:=Support for STM32 cryp accelerators
|
||||
KCONFIG:=CONFIG_CRYPTO_DEV_STM32_CRYP \
|
||||
CONFIG_CRYPTO_LIB_DES=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/stm32/stm32-cryp.ko
|
||||
AUTOLOAD:=$(call AutoProbe,stm32-cryp)
|
||||
$(call AddDepends/crypto,@TARGET_stm32 +kmod-crypto-hash +kmod-crypto-des +kmod-crypto-engine)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stm32-cryp))
|
||||
|
||||
|
||||
define KernelPackage/st-thermal
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Thermal sensors on STMicroelectronics STi series of SoCs
|
||||
|
|
Loading…
Reference in a new issue