Skip to content

Commit d885ec2

Browse files
marc-hbplbossart
authored andcommitted
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 thesofproject/linux#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 <marc.herbert@intel.com>
1 parent 135c26e commit d885ec2

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

sof-dev-defconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,15 @@ CONFIG_SND_SOC_SOF_SKYLAKE_SUPPORT=y
3030

3131
# generic ACPI audio compositor
3232
CONFIG_SND_ACPI_AUDIO_COMPOSITOR=m
33+
34+
# This USB-serial converter is embedded on current Intel development
35+
# boards. Note the converter chip is on the USB gadget / Type-B / test
36+
# device side, whereas this cp210x.ko driver runs on the USB host /
37+
# Type-A / "workstation" side. So why include this driver on test
38+
# devices = on the "wrong" side? Because it's much easier to connect
39+
# two test devices which are already next to each other rather trying to
40+
# sneak a new USB host on a crowded lab shelf or trying to use a laptop
41+
# help up in the air. Also, these are modules so not loaded unless
42+
# actually in use.
43+
CONFIG_USB_SERIAL=m
44+
CONFIG_USB_SERIAL_CP210X=m

0 commit comments

Comments
 (0)