From 599edea7397249995d7bf1ac66d8812a6687b644 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Thu, 22 Feb 2024 04:28:10 +0000 Subject: [PATCH] sof-dev-config: add CONFIG_USB_SERIAL_CP210X=m As no one ever wanted to boot from a microphone, it's very rare that we have to use the serial console to debug very early boot issues. But it can happen, see for instance https://github.com/thesofproject/linux/pull/4799 In such case it's very convenient to use another test device to collect logs on the serial console. Signed-off-by: Marc Herbert --- sof-dev-defconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sof-dev-defconfig b/sof-dev-defconfig index 027288a..f494414 100644 --- a/sof-dev-defconfig +++ b/sof-dev-defconfig @@ -30,3 +30,15 @@ CONFIG_SND_SOC_SOF_SKYLAKE_SUPPORT=y # generic ACPI audio compositor CONFIG_SND_ACPI_AUDIO_COMPOSITOR=m + +# This USB-serial converter is embedded on current Intel development +# boards. Note the converter chip is on the USB gadget / Type-B / test +# device side, whereas this cp210x.ko driver runs on the USB host / +# Type-A / "workstation" side. So why include this driver on test +# devices = on the "wrong" side? Because it's much easier to connect +# two test devices which are already next to each other rather trying to +# sneak a new USB host on a crowded lab shelf or trying to use a laptop +# help up in the air. Also, these are modules so not loaded unless +# actually in use. +CONFIG_USB_SERIAL=m +CONFIG_USB_SERIAL_CP210X=m