All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/linux-firmware: add option for V4L cx231xx devices
@ 2021-07-12 10:57 Corentin Labbe
  2021-07-19 21:29 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2021-07-12 10:57 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 package/linux-firmware/Config.in         | 9 +++++++++
 package/linux-firmware/linux-firmware.mk | 5 +++++
 2 files changed, 14 insertions(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index 01d43f21dd..3720be7e63 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -518,4 +518,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI
 
 endmenu
 
+menu "V4L Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_V4L_CX231XX
+	bool "V4L CX231XX Firmware for 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
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 9adab67bf1..5ff8204571 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -672,6 +672,11 @@ LINUX_FIRMWARE_FILES += ti_3410.fw ti_5052.fw \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_V4L_CX231XX),y)
+LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw
+# linux-firmware WHENCE specify no specific licence file
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
 
 define LINUX_FIRMWARE_BUILD_CMDS
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/linux-firmware: add option for V4L cx231xx devices
  2021-07-12 10:57 [Buildroot] [PATCH 1/1] package/linux-firmware: add option for V4L cx231xx devices Corentin Labbe
@ 2021-07-19 21:29 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-07-19 21:29 UTC (permalink / raw)
  To: buildroot

Hello Corentin,

On Mon, 12 Jul 2021 10:57:18 +0000
Corentin Labbe <clabbe@baylibre.com> wrote:

> V4L cx231xx devices need a firmware to be usefull.
> So this patch adds a submenu for V4L firmwares and an option for
> cx231xx devices.
> 
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>

Thanks for your patch.

> +menu "V4L Firmware"
> +
> +config BR2_PACKAGE_LINUX_FIRMWARE_V4L_CX231XX

We usually don't have the subsystem name in the option.

> +	bool "V4L CX231XX Firmware for Conexant Cx23100/101/102 USB broadcast A/V decoder"

This was a bit too long, and we normally only have the name of the
hardware, so I reduced a bit to:

	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.

This line was too long, this is reported by "make check-package", so I
wrapped the line.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-19 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 10:57 [Buildroot] [PATCH 1/1] package/linux-firmware: add option for V4L cx231xx devices Corentin Labbe
2021-07-19 21:29 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.