Commit Graph

64 Commits

Author SHA1 Message Date
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
Akhil P Oommen
17ec2a5206
qcom: add gpu firmwares for sc7280
Adds a660_gmu.bin (v3.01.06) and a660_sqe.fw (v0.94) firmware blobs
required for sc7280 SoC.

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2021-05-03 09:22:32 -04:00
smagar
c7b11ed12b qcom: Add venus firmware files for VPU-2.0
Add firmware VIDEO.VPU.2.0-00038-PROD-1 for the Qualcomm Venus.
Used on the SC7280 platform.

Signed-off-by: smagar <smagar@codeaurora.org>
2021-05-03 12:18:45 +05:30
smagar
ca83c73deb qcom: update venus firmware files for v5.4
There are few bug fixes which are part of this upgrade.

Signed-off-by: smagar <smagar@codeaurora.org>
2021-04-23 19:56:27 +05:30
Dmitry Baryshkov
d8fa0cfb4a qcom: sm8250: update remoteproc firmware
Update remoteproc firmware to the following versions:
- ADSP.HT.5.3.c2-00058-SM8250-3
- CDSP.HT.2.3.c1-00060-SM8250-2

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-04-01 23:05:00 +03:00
Dmitry Baryshkov
84af0e027c qcom: update a650 firmware files
Update A650 SQE firmware to version 0.99 providing security fixes. At
the same time update A650 ZAP shader firmware.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: Rob Clark <robdclark@gmail.com>
2021-04-01 23:01:56 +03:00
Dmitry Baryshkov
df822a848c qcom: Add venus firmware files for VPU-1.0
Add firmware VIDEO.VPU.1.0-00087-PROD-1 for the Qualcomm Venus.

Used on the Robotics RB5 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-01-23 01:10:05 +03:00
Dmitry Baryshkov
11a1db1285 qcom: Add SM8250 Compute DSP firmware
Add test signed firmware CDSP.HT.2.3.c1-00044-SM8250-2 for the Qualcomm
SM8250 Compute DSP.

Used on the Robotics RB5 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-01-23 01:10:01 +03:00
Dmitry Baryshkov
e55248b5f0 qcom: Add SM8250 Audio DSP firmware
Add test signed firmware ADSP.HT.5.3.c2-00055-SM8250-2 for the Qualcomm
SDM8250 Audio DSP.

Used on the Robotics RB5 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-01-23 01:09:57 +03:00
Dmitry Baryshkov
da74cc6f07 qcom: add firmware files for Adreno a650
Used on Robotics RB5 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-01-23 01:09:53 +03:00
Asit Shah
8a46c32a26 qcom : updated venus firmware files for v5.4
Following changes are included :
1. Added support for fixed stride in encoder
2. Bug Fixes

Signed-off-by: Asit Shah <asitshah@codeaurora.org>
2020-11-06 10:33:37 +05:30
Asit Shah
a09b728b77 qcom : updated venus firmware files for v5.4
Signed-off-by: Asit Shah <asitshah@codeaurora.org>
2020-10-08 15:07:59 +05:30
Jordan Crouse
f48fec4412 qcom: Add updated a5xx and a6xx microcode
Update the microcode files for Adreno a5xx and a6xx GPUs.

Update a530_pfp.fw to version 1.87.01 and a630_sqe.fw to
version 1.77.01.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-08 10:03:36 -06:00