Browse Source

package/linux-firmware: add option for V4L cx231xx devices

V4L cx231xx devices need a firmware to be useful. So this patch adds
a submenu for V4L firmwares and an option for cx231xx devices.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Corentin Labbe 4 years ago
parent
commit
54371c745c
2 changed files with 16 additions and 0 deletions
  1. 10 0
      package/linux-firmware/Config.in
  2. 6 0
      package/linux-firmware/linux-firmware.mk

+ 10 - 0
package/linux-firmware/Config.in

@@ -518,4 +518,14 @@ config BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI
 
 
 endmenu
 endmenu
 
 
+menu "V4L Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX
+	bool "Conexant Cx23100/101/102 USB broadcast A/V decoder"
+	help
+	  Firmware files for Conexant Cx23100/101/102 USB broadcast
+	  A/V decoder needed by the Linux CX231XX driver.
+
+endmenu
+
 endif
 endif

+ 6 - 0
package/linux-firmware/linux-firmware.mk

@@ -672,6 +672,12 @@ LINUX_FIRMWARE_FILES += ti_3410.fw ti_5052.fw \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa
 endif
 endif
 
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CX231XX),y)
+LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw
+# No license file; the license is in the file WHENCE
+# which is installed unconditionally
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
 ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
 
 
 define LINUX_FIRMWARE_BUILD_CMDS
 define LINUX_FIRMWARE_BUILD_CMDS