Skip to content

Conversation

@TingyiKuo
Copy link
Owner

add README.md

Yuvaraj Ranganathan and others added 30 commits May 5, 2025 08:19
…tance

Current implementation supports SCM call for only single GPU instance.
Add a new SCM interface to provide support to register multiple GPU
instances.

Change-Id: I1e8008f52ced9e6a09f6ad418f533885150f5747
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
This change is now merged in upstream kernel, hence reverting the commit
e590c33 ("PENDING: dt-bindings: media: Add sm8550 dt schema").

Change-Id: I0e18b00a46044a0982471e1a8ec9c2fc0a9c6d8a
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Introduce support for Qualcomm new video acceleration hardware i.e.
iris, used for video stream decoding and encoding on QCOM SM8550 SoC.

Link: https://lore.kernel.org/linux-arm-msm/20250207-qcom-video-iris-v10-1-ab66eeffbd20@quicinc.com/
Cc: devicetree@vger.kernel.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Stefan Schmidt <stefan.schmidt@linaro.org> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <stefan.schmidt@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-HDK
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Change-Id: Idc61f0d6ce848656a220e9a4cf96af7679d9a281
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
…accelerator

Document the IRIS video decoder and encoder accelerator found in the
SA8775p platform. SA8775p and SM8550 are irisv3 with same core and
bindings, hence SA8775p is made fallback to SM8550.
QCS8300 is a downscaled version of irisv3 and have different hardware
capabilities. SM8650 is an irisv3 with different (higher) number of
reset lines compared to SM8550. QCS8300 is yet to come in future
posting, while SM8650 is posted as
https://lore.kernel.org/all/20250305-topic-sm8x50-iris-v10-v2-1-bd65a3fc099e@linaro.org/

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Change-Id: I215b00cc4af9af0e608543e5c8cf6c27ac4afb23
Git-commit: bf462ef8c5ad61616b54751915f3dd1d3301a505
Git-repo: https://gitlab.freedesktop.org/linux-media/media-committers.git
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
QUP FW

Add the support to load the CCU QUP firmware from HLOS
using the scm call.

Change-Id: Iae90071932ff7314cadc331a27b61b74ecb73dfa
Signed-off-by: Aniket Randive <quic_arandive@quicinc.com>
Remove unintended kernel compiled file.

Change-Id: Ic807fd07d242e262383aaad1170526bcf789d268
Fixes: 17a3691 ("Merge tag 'v6.6.52' into qclinux.1.0")
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
…ction interface

Due to the updated of include/linux/of.h, the number of API parameters has been modified.

Change-Id: I8c5394f69aa41c3c1c24372eba0a9d31b665093b
Signed-off-by: Yi Zhang <quic_zhanyi@quicinc.com>
…etion

Modify wait_for_completion() to check if task is in idle state using
wait_for_completion_state().

This allows for detecting when waitq contexts are in idle state and
propagates it to __scm_smc_do(), which is beneficial when task is idle
and waiting for a kick to accept new requests.


Link: https://lore.kernel.org/lkml/20250425-multi_waitq_scm-v6-3-cba8ca5a6d03@oss.qualcomm.com/
Change-Id: Ic30549ab6baf6f077114d96f50e4a0ce43bca02d
Signed-off-by: Unnathi Chalicheemala <unnathi.chalicheemala@oss.qualcomm.com>
Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
Signed-off-by: Ninad Naik <quic_ninanaik@quicinc.com>
MAC hardware requires Rx clocks for HW initialization which
is required to be supplied from the phy(mac2phy case) or
Switch(mac2mac case) but there are times when these are not
supplied in cases where the phy might be in suspend state or
switch might not be powered up  etc. it is resulting in NOC errors
when the SW tries to configure hardware registers, to avoid these
NOC errors we are adding support for PCS Tx to Rx loopback clock
to be available to support the clock needs until the physical
link is up.

Change-Id: I06b1d9a0e5cca8854b77f1ac568c0c1c9fc262ba
Signed-off-by: Sagar Cheluvegowda <quic_scheluve@quicinc.com>
Enable DT identification support for qcs8275 IQ8 EVK board.

Change-Id: I34c97580ef20dc2c4f34bdd3db04281d61110047
Signed-off-by: Nirmesh Kumar Singh <quic_nkumarsi@quicinc.com>
Enable primary USB0 controller on RB4 Board for ADB support.

Change-Id: I9acd5474f801bb011d99474a3dcb7cfbf358fc0a
Signed-off-by: Swati Agarwal <quic_swatagar@quicinc.com>
Video node enables video on Qualcomm SA8775P platform.

Link: https://lore.kernel.org/linux-arm-msm/20250421-dtbinding-v5-2-363c1c05bc80@quicinc.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Change-Id: Ic441d93f7775261e60c728fb5b6a5b954558491e
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Enable video nodes on the sa8775p-ride board and point to the
appropriate firmware files.

Link: https://lore.kernel.org/linux-arm-msm/20250421-dtbinding-v5-3-363c1c05bc80@quicinc.com/
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Change-Id: I14a3e1f4e2b5f3dc94b0a985bf1e29720f775ea0
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
…accelerator

Document the IRIS video decoder and encoder accelerator found in the
SM8650 platform, it requires 2 more reset lines in addition to the
properties required for the SM8550 platform.

Link: https://lore.kernel.org/linux-arm-msm/20250417-topic-sm8x50-iris-v10-v7-1-f020cb1d0e98@linaro.org/
Patch-mainline: linux-arm-msm @ 04/17/2025, 16:59
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # x1e Dell
Change-Id: I98d30d2bae5053554ec287cc25a9c95afbe6ae94
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
… accelerator

Document the IRIS video decoder/encoder accelerator found in the QCS8300
platform. It belongs to same iris v3 family as that of SM8550 but is a
downscaled version of SM8550. It has 2 frame processing hardware blocks
while SM8550 has 4. Thereby QCS8300 have fewer capabilities than those
of SM8550.

Link: https://lore.kernel.org/linux-arm-msm/20250424-qcs8300_iris-v5-1-f118f505c300@quicinc.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Change-Id: I489cd4914e64c5cc0ce0ff893dd40a5bc8320baf
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Add the IRIS video-codec node on QCS8300.

Link: https://lore.kernel.org/linux-arm-msm/20250424-qcs8300_iris-v5-4-f118f505c300@quicinc.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Change-Id: I0f4bb8c0b4fc0bbba16edad565d2b864889951c3
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Enable video nodes on the qcs8300-ride board.

Link: https://lore.kernel.org/linux-arm-msm/20250424-qcs8300_iris-v5-5-f118f505c300@quicinc.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Change-Id: I2bd7814e282a4b33666ab1426cb200939d4b799b
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
During suspend to RAM transition, context is lost. To ensure
proper fuctionality after wakeup, we need to save and restore
hardware context for pinctrl driver. Added support to achieve
same.

Change-Id: Ieab26d93ea44bf7bb32ebee48a4dc891f11984cc
Signed-off-by: Jai Kumar Gautam <quic_jgautam@quicinc.com>
commit 765f253e28909f161b0211f85cf0431cfee7d6df upstream.

This reverts commit 67d1a8956d2d62fe6b4c13ebabb57806098511d8. Since this
commit has been proven to be problematic for the setup of USB-tethered
ethernet connections and the related breakage is very noticeable for
users it should be reverted until a fixed version of the change can be
rolled out.

Closes: https://lore.kernel.org/all/e0df2d85-1296-4317-b717-bd757e3ab928@heusel.eu/
Link: https://chaos.social/@gromit/114377862699921553
Link: https://bugzilla.kernel.org/show_bug.cgi?id=220002
Link: https://bugs.gentoo.org/953555
Link: https://bbs.archlinux.org/viewtopic.php?id=304892
Cc: stable@vger.kernel.org
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Christian Heusel <christian@heusel.eu>
Link: https://patch.msgid.link/20250424-usb-tethering-fix-v1-1-b65cf97c740e@heusel.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit f406005e162b660dc405b4f18bf7bcb93a515608 upstream.

During initialisation of Focusrite USB audio interfaces, -EPROTO is
sometimes returned from usb_set_interface(), which sometimes prevents
the device from working: subsequent usb_set_interface() and
uac_clock_source_is_valid() calls fail.

This patch adds up to 5 retries in endpoint_set_interface(), with a
delay starting at 5ms and doubling each time. 5 retries was chosen to
allow for longer than expected waits for the interface to start
responding correctly; in testing, a single 5ms delay was sufficient to
fix the issue.

Closes: geoffreybennett/fcp-support#2
Cc: stable@vger.kernel.org
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://patch.msgid.link/Z//7s9dKsmVxHzY2@m.b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 1149719442d28c96dc63cad432b5a6db7c300e1a upstream.

There seem to be multiple USB device IDs used for these;
the one I have reports as 0b0e:030c when powered on.
(When powered off, it reports as 0b0e:0311.)

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20250428053606.9237-1-joachim.priesner@web.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
QCTECMDR Service and others added 30 commits May 20, 2025 02:17
for USB0 on QCS8275 IQ EVK

Add DRD mode support for USB1 controller with USB0 port on QCS8275 IQ EVK
using HD3SS322 USB Type-C DRP port controller.

Change-Id: I5c867d4cf99d8cbd10c7d70d27c0e888b0d95468
Signed-off-by: Swati Agarwal <quic_swatagar@quicinc.com>
Adapt smci_clientenv.h and smci_object.h with license
"SPDX-License-Identifier: GPL-2.0-only" and use yearless copyright
marking as per new guideline.

Change-Id: Iebdafd38e266952fc90446828cd5d943a1e14465
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
for USB2 on QCS8275 IQ EVK Platform

For LPM features to work, USB DT node needs to be flattened out and both
dwc3 core and qcom-dwc3 wrapper need to be acting as one single entity.

Change-Id: I53cee9e2c28946ee38202ec226ed61133f57b71a
Signed-off-by: Swati Agarwal <quic_swatagar@quicinc.com>
…istering controllers

The MHI EP controller drivers has to support both sync and async read/write
callbacks. Hence, add a check for it.

Git-commit: 309ab14
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: Id60b04e0ee9be2f05c6d162edbbe9b7f841a0cd3
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Nitesh Gupta <quic_nitegupt@quicinc.com>
This is an effort to get rid of all multiplications from allocation
functions in order to prevent integer overflows [1].

Here the multiplication is obviously safe because the "event_rings"
member never can have a value greater than 255 (8 bits). This member
is set twice using always FIELD_GET:

mhi_cntrl->event_rings = FIELD_GET(MHICFG_NER_MASK, regval);
mhi_cntrl->event_rings = FIELD_GET(MHICFG_NER_MASK, regval);

And the MHICFG_NER_MASK macro defines the 8 bits mask that guarantees
a maximum value of 255.

However, using kcalloc() is more appropriate [1] and improves
readability. This patch has no effect on runtime behavior.

Link: KSPP/linux#162 [1]
Link: https://www.kernel.org/doc/html/next/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments [1]
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Change-Id: Ie38b9e03704ed064e2c5fc868c45a106d3f9617e
Signed-off-by: Erick Archer <erick.archer@gmx.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240128112722.4334-1-erick.archer@gmx.com
Git-commit: ae1d892
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Nitesh Gupta <quic_nitegupt@quicinc.com>
…Mezz

Enable the 2.5G Ethernet port on QCS9075-IQ9's Mezzanine board.

Change-Id: I414e4514bbabdfc86ce295b60656654608c2df4b
Signed-off-by: Vishal Kumar Pal <quic_vispal@quicinc.com>
Add sdcard support for qcs9075 rb8 board.

Use dummy regulators for vmmc and vqmmc supply as rb8 hardware has
direct supplies for sd card circuitry instead of via votable regulators.
This ensures driver probe is not deferred or failed in absence of supply
properties.

Change-Id: Iec38bbff4f368212dd490aa65eb5fd720a05f875
Signed-off-by: Sushmitha Macharla(Temp) <quic_smacharl@quicinc.com>
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
Change-Id: I221f9bb378e77911419ddeda686b224dec99e023
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
Currently valid mode checks are only for hdisplay and vdisplay,
add htotal and vtotal to filter only specific modes.

Change-Id: Ic78486ccc44cad2b594ce99342966d8c44a9b7fd
Signed-off-by: Nilesh Laad <quic_nlaad@quicinc.com>
This change enables the PCIe QPS615 switch present on the
interface+ mezzanine board. This furhte plugs to the QCS8275
based IQ8 EVK core board. The switch exposes ethernet, M.2 B and
M.2 E key interfaces for IO expansions.

Change-Id: Ie8fd7b7578afc259cca50014c6ff44a5dc8b5b08
Signed-off-by: Sushrut Shree Trivedi <quic_sushruts@quicinc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.