Commit Graph

76 Commits (18def50cddbda142a53c1104920d4c40c92c96ab)

Author SHA1 Message Date
Jeffrey Hugo 335a6a3769 qcom: Add AIC100 firmware files
Add firmware files for the Qualcomm Cloud AI 100 product (AIC100). These
are consumed by the qaic driver in the accel subsystem. This revision of
the firmware comes from the 1.15.4.0 proprietary release.

Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
2024-06-20 09:48:59 -06:00
Dmitry Baryshkov 650e88378e ath10k: WCN3990: hw1.0: move firmware back from qcom/ location
We are implementing board-specific fallbacks for the wlanmdsp firmware.
In order to do this in a clear way, move all wlanmdsp firmware back to
ath10k subdir and install symlinks to remain compatible with existing
kernels.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-04-09 12:13:29 +00:00
Nathan Hebert 52ac76144a qcom: update venus firmware file for v5.4
Update firmware file to VIDEO.VE.5.4-00058-PROD-4. This includes a fix
for VP9 decoding compliance.

The WHENCE version string has been changed match the version string in
the firmware file, rather than extracting the middle-most numbers.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2024-02-07 11:15:07 -08:00
Neil Armstrong 3be2e165e5 qcom: Add Audio firmware for SM8550 HDK
Add ASoC topology firmware for SM8550 HDK

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2024-01-30 17:36:03 +01:00
Neil Armstrong 85d372744a qcom: Add Audio firmware for SM8650 MTP
Add ASoC topology firmware for SM8650 MTP

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2024-01-26 14:31:24 +01:00
Akhil P Oommen 75f16899bd qcom: Update the firmware for Adreno a630 family of GPUs
Update qcom/a630_sqe.fw to version v2.07.

Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
2024-01-11 06:10:46 -06:00
Neil Armstrong b80907ec3a qcom: Add Audio firmware for SM8650 QRD
Add ASoC topology firmware for SM8650 QRD.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-12-14 13:22:35 +01:00
Neil Armstrong 3cbbf7872a qcom: Add Audio firmware for SM8550 QRD
Add ASoC topology firmware for SM8550 QRD.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-12-14 13:21:54 +01:00
Dmitry Baryshkov 6cfedcbb3e qcom: update qrb4210 firmware
Follow vendor release and update qrb4210 firmware.

- CDSP.VT.2.4.1-00269-KAMORTA-1
- MPSS.HA.1.1-00435-KD_ALL_PACK-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-25 04:52:34 +02:00
Dmitry Baryshkov 0bba2c9998 qcom: update qcm2290 firmware
Follow vendor release and update qcm2290 firmware.

- MPSS.HA.1.1-00435-KD_ALL_PACK-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-25 04:51:46 +02:00
Dmitry Baryshkov 18f56bf3ec qcom: update qcm2290/qrb4210 WiFi firmware file
Follow the vendor release and update WiFi firmware.

- WLAN.HL.3.3.7.c2-00931-QCAHLSWMTPLZ-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-25 04:50:34 +02:00
Dmitry Baryshkov ea682fbad4 qcom: update Venus firmware file for v6.0
Follow the vendor release and update venus v6.0 firmware file.

 - VIDEO.VE.6.0-00052-PROD-6

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-25 04:48:12 +02:00
Josh Boyer 28935de4c2
Merge branch 'rb5-update' of https://github.com/lumag/linux-firmware into rb5-update
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2023-09-06 16:47:33 -04:00
Dmitry Baryshkov bb3d5bc99f qcom: sm8250: add RB5 sensors DSP firmware
Add the firmware for the sensors DSP found on Qualcomm SM8250 platform.
Unlike the rest of DSP firmware, this particular firmware is
device-specific. This firmware was published for the Thundercomm RB5
kit aka Qualcomm Robotics RB5 platform.

- SLPI.HY.3.1-00032-SM8250AZL-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:35:32 +03:00
Dmitry Baryshkov adeabfda61 qcom: Update vpu-1.0 firmware
Update VPU-1.0 firmware (used by the Venus v4l2 m2m driver on the
Qualcomm Robotics RB5 platform):

- VIDEO.VPU.1.0-00097-PROD-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:33:15 +03:00
Dmitry Baryshkov 1346f922c7 qcom: sm8250: update DSP firmware
Update ADSP and CDSP firmware from the new Qualcomm Robotics RB5
firmware release.

- ADSP.HT.5.3.c2-00082-SM8250-1
- CDSP.HT.2.3.c1-00076-SM8250-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:33:15 +03:00
Dmitry Baryshkov 74cc8ca821 qcom: add firmware for the onboard WiFi on qcm2290 / qrb4210
Platforms using qcm2290 and qrb4210 SoCs require the wlanmdsp.mbn file
to boot the WiFi core (similar to the sdm845 platforms). However these
platforms reject existing wlanmdsp.mbn. Provide a separate wlanmdsp.mbn
file to be used by these two platforms only.

- WLAN.HL.3.3.7.c2-00855-QCAHLSWMTPLZ-1

Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:30:16 +03:00
Dmitry Baryshkov 106ff9f9b9 qcom: add venus firmware files for v6.0
To be used on Qualcomm Snapdragon QCM2290 / QRB2210 and SM6115 /
QRB4210, such as on the Qualcomm Robotics RB1 and RB2 platforms.

- VIDEO.VE.6.0-00049-PROD-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:29:48 +03:00
Dmitry Baryshkov 89659cb98d qcom: add firmware for QRB4210 platforms
Add Adreno zap shader, ADSP, CDSP and modem firmare for QRB4210 SoC. It
is used e.g. on Qualcomm Robotics RB2 platform.

- ADSP.VT.5.4.1.c4-00013-KAMORTA-2
- CDSP.VT.2.4.1-00265-KAMORTA-1
- MPSS.HA.1.1-00409-KD_ALL_PACK-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:29:46 +03:00
Dmitry Baryshkov a32c856835 qcom: add firmware for QCM2290 platforms
Add Adreno zap shader, ADSP and modem firmare for QCM2290 / QRB2210 SoC.
It is used e.g. on Qualcomm Robotics RB1 platform.

- ADSP.VT.5.4.1.c4-00013-KAMORTA-1
- MPSS.HA.1.1-00409-KD_ALL_PACK-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:29:24 +03:00
Dmitry Baryshkov 9f3ec3a802 qcom: add GPU firmware for QCM2290 / QRB2210
Adds and a702_sqe.fw (v0.47) firmware blob required for QRB2210 SoC
(used e.g. on Qualcomm Robotics RB1 platform).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-06 14:25:12 +03:00
Dmitry Baryshkov a0142c5704
ath10k/WCN3990: move wlanmdsp to qcom/sdm845
The firmware file ath10k/WCN3990/hw1.0/wlanmdsp.mbn is platform-specific
(rather than being specific to the WiFi chip itself) and can be used
only on the Qualcomm SDM845 platform and close relatives. Other
platforms (e.g. Qualcomm QCM2290, QRB4210) are going to provie their own
copies of the wlanmdsp.mbn firmware.

As discussed with Kalle, move this file to the platform-specific folder,
providing the backwards-compatibility symlink.

Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2023-09-06 07:08:10 -04:00
Josh Boyer 7be2766de1
Merge branch 'rb3-update' of https://github.com/lumag/linux-firmware
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2023-08-04 06:33:54 -04:00
Dmitry Baryshkov 742bf577e1 qcom: sdm845: add RB3 sensors DSP firmware
Add the firmware for the sensors DSP found on Qualcomm SDM845/SDA845.
Unlike the rest of DSP firmware, this particular firmware is
device-specific. This firmware was published for the Thundercomm RB3
board aka db845c.

Firmware version:
- SLPI.HY.1.0-00365-SDM845AZL-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-08-02 03:42:15 +03:00
Peter Robinson e0bad5e7f3
qcom: sc8280xp: LENOVO: Remove execute bits
Remove the execute bits of the Lenovo x13s mbn firmware.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2023-07-25 06:50:58 -04:00
Srinivas Kandagatla f9a35b3f07 qcom: Add Audio firmware for SC8280XP X13s
Add ASoC topology firmware for SC8280XP X13s.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
2023-06-28 11:52:02 +01:00
Dmitry Baryshkov 01a7a844cd qcom: Update the microcode files for Adreno a630 GPUs.
Update qcom/a630_sqe.fw to version 1.89.01.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-06-14 11:54:16 +03:00
Dmitry Baryshkov 9412046724 qcom: sdm845: rename the modem firmware
The Qualcomm SDM845 platform has a modem-less version, called SDA845.
It still has the modem DSP, which is used for WiFi, GNSS, etc. The
firmware in the qcom/sdm845 dir comes from the Thundercomm RB3 board,
which internally has the SDA845 SoC rather than the full SDM845.

The SC8180X platform (not yet added to linux-firmware) started using
modem.mbn and modem_nm.mbn, the latter being used for no-modem
platforms.

Follow this example and rename qcom/sdm845/modem.mbn firmware
file to modem_nm.mbn. This commit adds a compatibility link for now, to
let the device trees to be adapted to this change. It should be removed
when the proper qcom/sdm845/modem.mbn is submitted.

Cc: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-06-14 11:40:48 +03:00
Dmitry Baryshkov 1c59948891 qcom: sdm845: update remoteproc firmware
Update remoteproc firmware to the following versions:

- ADSP.HT.4.0-00593-SDM845-1
- CDSP.HT.1.0-00559-SDM845-1
- MPSS.AT.4.0.c2-01365-SDM845_GEN_PACK-1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-06-13 05:42:31 +03:00
Dmitry Baryshkov 9d4c9a52c2 qcom: apq8016: add Dragonboard 410c WiFi and modem firmware
Add the modem DSP firmware for the Qualcomm APQ8016 boards. The files
come from the redistributable linux-board-support-package-r1036.1.zip
for the Dragonboard 410c. The file modem.mbn and wcnss.mbn files wer
generated from segment files using the pil-squasher tool.

Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-05-31 06:30:31 +03:00
Dmitry Baryshkov 7f626ef529
qcom: add firmware files for Adreno A200
Add firmware files for Adreno A20x (codenamed yamato), found in
Freescale i.MX51/i.MX53 and in some prehistoric Qualcomm Snapdragon
SoCs.

The firmware were generated from the header files from EfikaMX kernel
sources ([1]), which bear copyright by QUALCOMM Incorporated and have
BSD-3-Clause licence.

[1] https://github.com/genesi/linux-legacy/tree/master/drivers/mxc/amd-gpu

Cc: Rob Clark <robdclark@gmail.com>
Cc: Jonathan Marek <jonathan@marek.ca>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
[Fixed WHENCE license entry to avoid check_whence errors]
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2023-01-17 07:54:11 -05:00
Josh Boyer bd99c835c4
Merge branch 'venus' of https://github.com/lumag/linux-firmware
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2022-11-09 12:40:53 -05:00
Dmitry Baryshkov 7d2bb50ced qcom: drop split a530_zap firmware file
Drop the split a530_zap.mdt + ap530_zap.bNN files. The
qcom/apq8096/a530_zap.mbn is provided instead. Also provide the
symlink qcom/a530_zap.mdt -> qcom/apq8096/a530_zap.mbn for backwards
compatibility with existing kernels and DT files.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-10-31 21:33:47 +03:00
Dmitry Baryshkov 7d5671369d qcom/vpu-1.0: drop split firmware in favour of the mbn file
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
drop the split firmare files (mdt + bNN) in favour of using the squashed
mbn file.  For backwards compatibility generate the mdt -> mbn symlink.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-10-31 21:32:05 +03:00
Dmitry Baryshkov 1431496620 qcom/venus-4.2: drop split firmware in favour of the mbn file
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
drop the split firmare files (mdt + bNN) in favour of using the squashed
mbn file.  For backwards compatibility generate the mdt -> mbn symlink.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-10-31 21:32:05 +03:00
Dmitry Baryshkov cf95783e29 qcom/venus-4.2: replace split firmware with the mbn file
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
replace the split firmare files (mdt + bNN) with the squashed mbn file.
For backwards compatibility generate the mdt -> mbn symlink.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-10-31 21:32:05 +03:00
Dmitry Baryshkov 1fe6f49dc1 qcom/venus-1.8: replace split firmware with the mbn file
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
replace the split firmare files (mdt + bNN) with the squashed mbn file.
For backwards compatibility generate the mdt -> mbn symlink.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-10-31 21:32:05 +03:00
Nathan Hebert 05df8e6518 qcom: update venus firmware files for VPU-2.0
Update firmware files to VIDEO.VPU.2.0-00049-PROD-1. The upgrade
contains a few bug fixes.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2022-10-25 14:16:59 -07:00
Nathan Hebert cd6fcdb120 qcom: remove split SC7280 venus firmware images
Qualcomm drivers have supported non-split firmware since since 2019 in
linux kernel commit 498b98e93900 ("soc: qcom: mdt_loader: Support
loading non-split images"). There are no released devices using the
SC7280 chipset, so there is no need to support legacy split images.

I verified that the non-split image is loadable and that the venus
media capabilities are intact without the split images with a ChromeOS
5.15 kernel.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2022-10-25 14:16:59 -07:00
Nathan Hebert 1612706787 qcom: update venus firmware file for v5.4
Update firmware file to VIDEO.VE.5.4-00053-PROD-1. There are a few
fixes including a fix for dynamic resolution change handling.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2022-10-25 14:16:59 -07:00
Nathan Hebert ad9fdba01f qcom: replace split SC7180 venus firmware images with symlink
Qualcomm drivers have supported non-split firmware since since 2019 in
linux kernel commit 498b98e93900 ("soc: qcom: mdt_loader: Support
loading non-split images").  The firmware loader works with either the
split or non-split firmware types. The venus driver for SC7180 currently
loads venus.mdt, not the unified venus.mbn.

This commit removes the non-split images. It adds a link from venus.mdt
to venus.mbn. This retains existing driver compatibility, while gaining
the benefit of reducing size of the deployed files.

I verified this change with on ChromeOS using kernels based on 5.4 and
5.15.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2022-10-25 14:14:33 -07:00
Dmitry Baryshkov 44fa25ddf7 qcom: add squashed version of a530 zap shader
Qualcomm binary files can be published in one of two formats: a split
MDT+Bnn format, consisting of several files, or a squashed MBN format,
consisting of a single ELF file.

Most of Qualcomm binary files (except the venus firmware) are
distributed (in linux-firmware) and used in the MBN format (even if the
original publishing format was MDT), since that requires transfer of a
single file between the userspace and the kernel.

Provide a squashed variant of Qualcomm Adreno a530 ZAP shader.  For
backwards compatibility reason the split a530_zap.* files are retained.
They can be removed later, after all users migrate to new file location.

Cc: Rob Clark <robdclark@chromium.org>
Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-10-11 01:31:10 +03:00
Dmitry Baryshkov edf9a2b4e1
qcom: rename Lenovo ThinkPad X13s firmware paths
After some discussion with Bjorn, the Qualcomm platform maintainer, it
was agreed to follow the established practice and to inject the SoC name
into the firmware paths.

It is highly unlikely that we are going to run Linux off the existing
ACPI data in these platforms anytime soon. And even if we do so, we'd
have to figure out the file names anyway, as they do not follow the
existing standard names.

Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Mark Pearson <markpearson@lenovo.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2022-09-12 08:14:40 -04:00
Mark Pearson 4ae4ae8891 qcom: Add firmware for Lenovo ThinkPad X13s
Add runtime loaded firmware for the audio, compute and sensor DSPs, as
well as the zap shader for the GPU on the Lenovo ThinkPad X13s.

The files are placed under qcom/ as some distributions distribute
linux-firmware as multiple packages and the qcom-specific package will
be needed to provide some of the shared GPU files.

Signed-off-by: Mark Pearson <markpearson@lenovo.com>
2022-08-03 16:29:07 -04:00
Dmitry Baryshkov dfa3c4c309 qcom: add firmware files for Adreno a420 & related generations
Add firmware files for Adreno a405/a420/a430, used in several
generations of Qualcomm Snapdragon processors starting from APQ8084 up
to MSM8994 (including MSM8939 and several other ones).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-26 23:36:27 +03:00
Dmitry Baryshkov 4a43f1a844 qcom: add firmware files for Adreno a330
Add firmware files for Adreno a330, used in MSM8x74/APQ8074 Qualcomm
processors.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-26 23:34:11 +03:00
Dmitry Baryshkov d0ea8ffa54 qcom: add firmware files for Adreno a220
Add firmware files for Adreno a220 (codenamed leia), used in
MSM8x60/APQ8060 Qualcomm processors.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-26 23:32:21 +03:00
Dmitry Baryshkov afc44bb26f qcom: apq8096: add modem firmware
Add the modem DSP firmware for the Qualcomm APQ8096 boards. The files
come from the redistributable linux-board-support-package-r01700.1.zip
for the Dragonboard 820c. The file modem.mbn was generated from
segment files using the pil-squasher tool.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-14 02:34:16 +03:00
Dmitry Baryshkov 9fa878c6f1 qcom: apq8096: add aDSP firmware
Add the audio DSP firmware for the Qualcomm APQ8096 boards. The files
come from the redistributable linux-board-support-package-r01700.1.zip
for the Dragonboard 820c.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-14 02:34:16 +03:00
Josh Boyer 547b202299
Merge https://github.com/suraj714/linux-firmware-venus into main
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2021-05-03 19:27:31 -04:00