Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] misc: fastrpc: add HPASS domain support
@ 2026-11-25  0:06 Anandu Krishnan E
  2026-11-25  0:06 ` [PATCH 1/4] dt-bindings: misc: qcom,fastrpc: add hpass label Anandu Krishnan E
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Anandu Krishnan E @ 2026-11-25  0:06 UTC (permalink / raw)
  To: Srinivas Kandagatla, Ekansh Gupta, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Arnd Bergmann,
	Greg Kroah-Hartman
  Cc: linux-arm-msm, dri-devel, devicetree, quic_bkumar, quic_chennak,
	dmitry.baryshkov, Anandu Krishnan E

HPASS (High Performance Audio Subsystem) is a distinct audio
hardware block from the LPASS-class ADSP used on earlier targets,
with its own shared resources, audio interface block, and additional
integrated processing hardware such as HVX (Hexagon Vector
eXtensions). It is described in the devicetree with its own "hpass"
label, following the existing fastrpc convention of distinguishing
DSP domains by label (adsp/cdsp/sdsp/gdsp0/gdsp1/...).

Depending on the firmware image it loads, an HPASS domain can run
either an audio image or a compute image. An audio image only needs
the existing secure fastrpc node, while a compute image additionally
offloads user compute workloads and needs a non-secure node for
unsigned PD support.

Which image is loaded is only knowable by querying the DSP's
capability attributes. This series moves that query from userspace's
first FASTRPC_IOCTL_GET_DSP_INFO call to probe time, so the device
nodes registered at probe already reflect the DSP's actual
capabilities instead of being created from the domain id alone. The
query runs on a per-channel workqueue so a slow or silent DSP domain
does not block probe() or delay other channels probing concurrently.

Patch 1 adds the "hpass" devicetree label. Patch 2 adds the
corresponding HPASS_DOMAIN_ID to the driver. Patch 3 moves the
capability query to probe time. Patch 4 uses the queried capability to
register the unsigned PD node for a compute-capable HPASS domain.

Signed-off-by: Anandu Krishnan E <anandu.e@oss.qualcomm.com>
---
Anandu Krishnan E (4):
      dt-bindings: misc: qcom,fastrpc: add hpass label
      misc: fastrpc: add HPASS domain
      misc: fastrpc: query the dsp capabilities during probe time
      misc: fastrpc: expose unsigned PD node for compute-capable HPASS

 .../devicetree/bindings/misc/qcom,fastrpc.yaml     |   1 +
 drivers/misc/fastrpc.c                             | 259 ++++++++++++++++-----
 2 files changed, 207 insertions(+), 53 deletions(-)
---
base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
change-id: 20261125-fastrpc-hpass-support-bdb86e8b15d7

Best regards,
--  
Anandu Krishnan E <anandu.e@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-25  0:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25  0:06 [PATCH 0/4] misc: fastrpc: add HPASS domain support Anandu Krishnan E
2026-11-25  0:06 ` [PATCH 1/4] dt-bindings: misc: qcom,fastrpc: add hpass label Anandu Krishnan E
2026-11-25  0:06 ` [PATCH 2/4] misc: fastrpc: add HPASS domain Anandu Krishnan E
2026-11-25  0:24   ` sashiko-bot
2026-11-25  0:06 ` [PATCH 3/4] misc: fastrpc: query the dsp capabilities during probe time Anandu Krishnan E
2026-11-25  0:28   ` sashiko-bot
2026-11-25  0:06 ` [PATCH 4/4] misc: fastrpc: expose unsigned PD node for compute-capable HPASS Anandu Krishnan E

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox