Browse Source

brcm2708: Fix kmod-regmap split

There are more regmap dependencies missing in the brcm2708 target.

Fixes: fd5c16870169 ("kernel: Build: Split kmod-regmap")
Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 6 years ago
parent
commit
50b3044eeb
1 changed files with 34 additions and 17 deletions
  1. 34 17
      target/linux/brcm2708/modules.mk

+ 34 - 17
target/linux/brcm2708/modules.mk

@@ -75,7 +75,7 @@ define KernelPackage/sound-soc-bcm2835-i2s
   FILES:= \
   FILES:= \
 	$(LINUX_DIR)/sound/soc/bcm/snd-soc-bcm2835-i2s.ko
 	$(LINUX_DIR)/sound/soc/bcm/snd-soc-bcm2835-i2s.ko
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-bcm2835-i2s)
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-bcm2835-i2s)
-  DEPENDS:=@TARGET_brcm2708 +kmod-regmap-mmio +kmod-sound-soc-core
+  DEPENDS:=@TARGET_brcm2708 +kmod-sound-soc-core
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -119,7 +119,8 @@ define KernelPackage/sound-soc-adau1977-adc
 	snd-soc-adau1977-adc)
 	snd-soc-adau1977-adc)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -145,7 +146,8 @@ define KernelPackage/sound-soc-allo-boss-dac
   DEPENDS:= \
   DEPENDS:= \
 	@LINUX_4_14 \
 	@LINUX_4_14 \
 	+kmod-i2c-bcm2708 \
 	+kmod-i2c-bcm2708 \
-	kmod-sound-soc-bcm2835-i2s
+	kmod-sound-soc-bcm2835-i2s \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -171,7 +173,8 @@ define KernelPackage/sound-soc-allo-digione
   DEPENDS:= \
   DEPENDS:= \
 	@LINUX_4_14 \
 	@LINUX_4_14 \
 	+kmod-i2c-bcm2708 \
 	+kmod-i2c-bcm2708 \
-	kmod-sound-soc-bcm2835-i2s
+	kmod-sound-soc-bcm2835-i2s \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -196,7 +199,8 @@ define KernelPackage/sound-soc-allo-piano-dac
 	snd-soc-allo-piano-dac)
 	snd-soc-allo-piano-dac)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -222,7 +226,8 @@ define KernelPackage/sound-soc-allo-piano-dac-plus
   DEPENDS:= \
   DEPENDS:= \
 	@LINUX_4_14 \
 	@LINUX_4_14 \
 	+kmod-i2c-bcm2708 \
 	+kmod-i2c-bcm2708 \
-	kmod-sound-soc-bcm2835-i2s
+	kmod-sound-soc-bcm2835-i2s \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -250,8 +255,8 @@ define KernelPackage/sound-soc-allo-katana-codec
   DEPENDS:= \
   DEPENDS:= \
 	@LINUX_4_14 \
 	@LINUX_4_14 \
 	+kmod-i2c-bcm2708 \
 	+kmod-i2c-bcm2708 \
-	+kmod-regmap-core \
-	kmod-sound-soc-bcm2835-i2s
+	kmod-sound-soc-bcm2835-i2s \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -277,7 +282,8 @@ define KernelPackage/sound-soc-audioinjector-octo-soundcard
   DEPENDS:= \
   DEPENDS:= \
 	@LINUX_4_14 \
 	@LINUX_4_14 \
 	+kmod-i2c-bcm2708 \
 	+kmod-i2c-bcm2708 \
-	kmod-sound-soc-bcm2835-i2s
+	kmod-sound-soc-bcm2835-i2s \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -300,7 +306,9 @@ define KernelPackage/sound-soc-audioinjector-pi-soundcard
 	snd-soc-audioinjector-pi-soundcard)
 	snd-soc-audioinjector-pi-soundcard)
   DEPENDS:= \
   DEPENDS:= \
         kmod-sound-soc-bcm2835-i2s \
         kmod-sound-soc-bcm2835-i2s \
-        +kmod-i2c-bcm2708
+        +kmod-i2c-bcm2708 \
+        +kmod-regmap-i2c \
+        +kmod-regmap-spi
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -327,7 +335,9 @@ define KernelPackage/sound-soc-digidac1-soundcard
 	snd-soc-digidac1-soundcard)
 	snd-soc-digidac1-soundcard)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c \
+	+kmod-regmap-spi
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -371,7 +381,8 @@ define KernelPackage/sound-soc-dionaudio-loco-v2
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
         snd-soc-dionaudio-loco)
         snd-soc-dionaudio-loco)
   DEPENDS:= \
   DEPENDS:= \
-        kmod-sound-soc-bcm2835-i2s
+        kmod-sound-soc-bcm2835-i2s \
+        +kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -392,7 +403,8 @@ define KernelPackage/sound-soc-fe-pi
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-sgtl5000 \
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-sgtl5000 \
 	snd-soc-fe-pi-audio)
 	snd-soc-fe-pi-audio)
   DEPENDS:= \
   DEPENDS:= \
-	kmod-sound-soc-bcm2835-i2s
+	kmod-sound-soc-bcm2835-i2s \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -502,7 +514,8 @@ define KernelPackage/sound-soc-hifiberry-amp
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713 snd-soc-hifiberry-amp)
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713 snd-soc-hifiberry-amp)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -526,7 +539,8 @@ define KernelPackage/sound-soc-iqaudio-dac
 	snd-soc-iqaudio-dac)
 	snd-soc-iqaudio-dac)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -550,7 +564,8 @@ define KernelPackage/sound-soc-iqaudio-digi
 	snd-soc-iqaudio-digi)
 	snd-soc-iqaudio-digi)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef
 
 
@@ -723,7 +738,9 @@ define KernelPackage/sound-soc-rpi-proto
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto)
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto)
   DEPENDS:= \
   DEPENDS:= \
 	kmod-sound-soc-bcm2835-i2s \
 	kmod-sound-soc-bcm2835-i2s \
-	+kmod-i2c-bcm2708
+	+kmod-i2c-bcm2708 \
+	+kmod-regmap-i2c \
+	+kmod-regmap-spi
   $(call AddDepends/sound)
   $(call AddDepends/sound)
 endef
 endef