Lines Matching +full:firmware +full:- +full:gpio

1 .. SPDX-License-Identifier: GPL-2.0-only
14 The high-level summary of this document is:
17 working, DO NOT ATTEMPT TO USE FIRMWARE AND SETTINGS FROM ANOTHER LAPTOP,
30 ---------------------------------
44 Firmware chapter
47 The amplifier is controlled and managed by firmware running on the internal
48 DSP. Firmware files are essential to enable the full capabilities of the
51 Firmware is distributed in the linux-firmware repository:
52 https://gitlab.com/kernel-firmware/linux-firmware.git
65 the firmware is *mandatory* to enable receiving the audio from the CS42L43.
67 On HDA systems the firmware is *mandatory* to enable HDA bridge mode. There
68 will not be any audio from the amplifiers without firmware.
70 Cirrus Logic firmware files
71 ---------------------------
73 Each amplifier requires two firmware files. One file has a .wmfw suffix, the
76 The firmware is customized by the OEM to match the hardware of each laptop,
77 and the firmware is specific to that laptop. Because of this, there are many
78 firmware files in linux-firmware for these amplifiers. Firmware files are
81 Cirrus Logic submits files for known laptops to the upstream linux-firmware
83 permission from the manufacturer to publish the firmware, it will be pushed
84 to linux-firmware. You may need to upgrade to a newer release of
85 linux-firmware to obtain the firmware for your laptop.
87 **Important:** the Makefile for linux-firmware creates symlinks that are listed
89 able to load the firmware.
91 How do I know which firmware file I should have?
93 All firmware file names are qualified with a unique "system ID". On normal
99 lspci -v -nn | grep -A2 -i audio
100 0000:00:1f.3 Audio device [0403]: Intel Corporation Meteor Lake-P HD Audio Controller [8086:7e28]
101 Subsystem: Dell Meteor Lake-P HD Audio Controller [1028:0c63]
105 The format of the firmware file names is:
107 cs35lxx-b0-dsp1-misc-SSID[-spkidX]-ampN
111 * cs35lxx-b0 is the amplifier model and silicon revision. This information
113 * SSID is the 8-digit hexadecimal SSID value.
115 the prefix on the ALSA control names except that it is always lower-case
117 * spkidX is an optional part, used for laptops that have firmware
120 Sound Open Firmware and ALSA topology files
121 -------------------------------------------
123 All SoundWire systems will require a Sound Open Firmware (SOF) for the
126 The SOF firmware will usually be provided by the manufacturer of the host
127 CPU (i.e. Intel or AMD). The .tplg file is normally part of the SOF firmware
130 SOF binary builds are available from: https://github.com/thesofproject/sof-bin/releases
134 ALSA-ucm configurations
135 -----------------------
136 Typically an appropriate ALSA-ucm configuration file is needed for
137 use-case managers and audio servers such as PipeWire.
139 Configuration files are available from the alsa-ucm-conf repository:
140 https://git.alsa-project.org/?p=alsa-ucm-conf.git
146 ---------
157 …[ 9.242164] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.wmfw: forma…
158 …[ 9.242173] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.wmfw: Tue 0…
159 …[ 9.991709] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.23, 41 algori…
160 …[10.039098] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx-amp1.bin: v…
165 ---
169 …[ 6.306475] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (p…
170 …[ 6.613892] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP system name: 'xxxxxxxx', amp name: 'AMP1'
171 …[ 8.266660] snd_hda_codec_cs8409 ehdaudio0D0: bound i2c-CSC3556:00-cs35l56-hda.0 (ops cs35l56_hda_…
172 …[ 8.287525] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.w…
173 …[ 8.287528] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.w…
174 …[ 9.984335] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.23,…
175 …[10.085797] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx-a…
176 [10.655237] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: Calibration applied
187 reset and is running default ROM firmware.
188 * (patched=1) means that something has previously downloaded firmware
190 signal to be able to replace this preloaded firmware. This is normal
191 for systems where the BIOS downloads firmware to the amplifiers
198 DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.wmfw
199 Shows that a .wmfw firmware file was found and downloaded.
201 DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx-amp1.bin
202 Shows that a .bin firmware file was found and downloaded.
212 The version of the .bin file content does not match the loaded firmware.
217 The version of the .bin file content does not match the loaded firmware.
224 Calibration disabled due to missing firmware controls
225 Driver was not able to write EFI calibration data to firmware registers.
229 * The amplifier has already been patched with firmware by something
231 to be able to reset the amplifier and download the firmware files it
236 Same meaning and cause as "Calibration disabled due to missing firmware
256 * The HDA codec driver was built-in to the kernel but the I2C/SPI
269 Failed to get spk-id-gpios
270 ACPI says that the driver should request a GPIO but the driver was not
271 able to get that GPIO. The most likely cause is that the kernel does not
272 include the correct GPIO or PINCTRL driver for this system.
274 Failed to read spk-id
275 ACPI says that the driver should request a GPIO but the driver was not
276 able to read that GPIO.
278 Unexpected spk-id element count
279 AF01 contains more speaker ID GPIO entries than the driver supports
286 Amplifier detected a short-circuit on the speaker output pins and shut
290 The driver tried to wake the amplifier from its power-saving state but
292 by using firmware that does not match the hardware.