package/linux-firmware: add option for V4L cx231xx devices
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 12 Jul 2021 10:57:18 +0000 (10:57 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 19 Jul 2021 21:28:23 +0000 (23:28 +0200)
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>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index 01d43f21ddd59941003f3c4a86782dce82fe5639..4376d44bdab22b8bc14201931079f912b33d4ed0 100644 (file)
@@ -518,4 +518,14 @@ config BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI
 
 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
index 9adab67bf1b092169ba4ec7b558fd2d2920556fe..90a38196fb9b05fda2fdc920f4a1adf7f9e9b5b7 100644 (file)
@@ -672,6 +672,12 @@ LINUX_FIRMWARE_FILES += ti_3410.fw ti_5052.fw \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa
 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),)
 
 define LINUX_FIRMWARE_BUILD_CMDS