Skip to content

arm64: dts: qcom: shikra-cqs: enable sound card #1136

Open
mpratyus wants to merge 54 commits into
qualcomm-linux:early/hwe/shikra/dtfrom
mpratyus:cqs-audio-dt-v1
Open

arm64: dts: qcom: shikra-cqs: enable sound card #1136
mpratyus wants to merge 54 commits into
qualcomm-linux:early/hwe/shikra/dtfrom
mpratyus:cqs-audio-dt-v1

Conversation

@mpratyus
Copy link
Copy Markdown

This PR adds support for modem audio on the Shikra CQS platform by introducing the required GPR nodes and enabling modem audio functionality to ensure proper AP–modem audio use cases.

Komal-Bajaj and others added 30 commits May 10, 2026 11:39
The Shikra SoM is a compact compute module integrating the SoC and
essential components optimized for IoT applications, designed to mount
on carrier boards.

Shikra supports three SoM variants: two retail options (with and without
modem) and one industrial variant , represented by the following device
trees:
- shikra-cqm-som.dtsi : Retail SoM with modem
- shikra-cqs-som.dtsi : Retail SoM without modem
- shikra-iqs-som.dtsi : Industrial SoM without modem

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Add device trees for the Shikra EVK platform, which combines Shikra
SoM with a common carrier board.

Introduce DTS files for CQM, CQS and IQS EVK variants:
- shikra-cqm-evk.dts
- shikra-cqs-evk.dts
- shikra-iqs-evk.dts

Also add a shared include file, shikra-evk.dtsi, which contains the
common daughter card nodes used across Shikra EVK variants.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Add the reserved memory nodes for Shikra.

Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Add the apps and adreno smmu node as found
in Shikra SoC.

Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Add qcom,shikra-apcs-hmss-global for the APCS mailbox binding.

This avoids undocumented-compatible warnings from checkpatch and keeps
schema constraints aligned for this target.

Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
Add the RPM message RAM SRAM region and APCS HMSS global mailbox
controller, and wire them up to a new glink-edge node.

The rpm_msg_ram node exposes the shared SRAM used for GLINK FIFOs
and includes the apss_mpm sub-node for the MPM sleep counter.

The `qcom,glink-rpm` transport uses:
- `qcom,rpm-msg-ram` for shared GLINK FIFOs
- APCS mailbox channel 0 for kick/notify

This enables RPM GLINK-based inter-processor communication on Shikra.

Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
Add qfprom node and its properties for Shikra SoC.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Move rpm_requests node to under glink-edge node.

Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
Add support for RPMCC and GCC nodes on Shikra platforms.

Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Add spmi-pmic-arb device for the SPMI PMIC arbiter
found on shikra.

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
Add the RPM SMD power domain controller node for Shikra
with a complete OPP table covering all 8 voltage corners
from MIN_SVS to TURBO_NO_CPR.

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
Add RPM regulator for the Shikra Retail (CQM/CQS) SOM variants
using pm4125-regulators with S1-S4 buck switchers and
L1-L22 LDOs, and for the Industrial (IQS) SOM variant using
pm8150-regulators with S4-S9 buck switchers and L1-L18 LDOs.

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
Add the watchdog node for Shikra SoC.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Describe the TCSR mutex hwlock controller and reference it from
the SMEM node to enable proper hardware locking on Shikra.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Add interconnect devices for config_noc, system_noc, mc_virt, clk_virt,
mem_noc, mmnrt_virt and mmrt_virt. This will allow consumers to get
their path and set bandwidth constraints on them.

Signed-off-by: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
Add the SCM firmware node and TCSR syscon required to support
download mode on Shikra.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Enable console support for shikra.

Signed-off-by: Xueyao An <xueyao.an@oss.qualcomm.com>
Add support for eMMC on shikra SoC and enable the required pinctrl
configurations.

Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
Enable eMMC for shikra CQS, CQM and IQS EVK variants.

Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
Add support for SD card on shikra SoC and enable the required pinctrl
configurations.

Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
Add usb related changes on Shikra specifically:
a) Primary controller node
b) Primary high speed phy
c) QMP Phy for super speed operation

Enable USB controller and phys in device mode on CQS and CQM variants.
Add the regulators for the phys accordingly.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Add cpufreq-hw node to support cpufreq scaling on Qualcomm Shikra SoCs.

Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Add SMP2P nodes for the cdsp, modem and lmcu subsystems to enable
inter-processor signalling for remoteproc state management.

Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
Enable primary usb controller on IQS platform in peripheral mode.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
The shikra includes one TSENS instance, with a total of 14 thermal
sensors distributed across various locations on the SoC.

The TSENS max/reset threshold is configured to 120°C in the hardware.
Enable all TSENS instances, and define the thermal zones with a hot trip
at 110°C and critical trip at 115°C.

Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Traditionally, firmware loading for Serial Engines (SE) in the QUP hardware
of Qualcomm SoCs has been managed by TrustZone (TZ). While this approach
ensures secure SE assignment and access control, it limits flexibility for
developers who need to enable various protocols on different SEs.

Add the firmware-name property to QUPv3 nodes in the device tree to enable
firmware loading from the Linux environment. Handle SE assignments and
access control permissions directly within Linux, removing the dependency
on TrustZone.

Signed-off-by: Xueyao An <xueyao.an@oss.qualcomm.com>
Add PMIC topic overlay changes for Shikra SOM variants (CQM, CQS, IQS):
- Add pm4125 temp-alarm and VADC channel nodes
- Add pm8005 temp-alarm node
- Add thermal zones for PMIC and system thermistors
- Add GPIO key (volume up) bindings
- Add ADC thermal bridge nodes for pa/quiet/msm thermistors
- Disable pm8005 regulators across SOM variants
- Switch SPMI interrupt to MPM edge-triggered

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
Add support for DISPCC and GPUCC nodes on Qualcomm Shikra platforms.

Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Add clock entries for adreno smmu node in Shikra.

Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Introduce the WiFi hardware description in shikra.dtsi, including
register space, interrupts, IOMMU configuration and reserved memory.
The node is kept disabled by default and is intended to be enabled
by board-specific device trees.

Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
@mpratyus mpratyus force-pushed the cqs-audio-dt-v1 branch 4 times, most recently from ec5ea43 to 6f3ce88 Compare May 14, 2026 09:38
Add modem GPR audio service nodes for the Shikra CQS SOM.

Signed-off-by: Pratyush Meduri <mpratyus@qti.qualcomm.com>
Comment thread arch/arm64/boot/dts/qcom/shikra-cqs-som.dtsi Outdated
@mpratyus mpratyus force-pushed the cqs-audio-dt-v1 branch 2 times, most recently from 0ca2ff7 to f833ba6 Compare May 15, 2026 08:50
};

sound {
compatible = "qcom,shikra-sndcard";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this "qcom,shikra-sndcard" compatible documented?


sound {
compatible = "qcom,shikra-sndcard";
model = "Shikra-CQS-EVK";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep all in small

};
};

&audiocorecc {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort the nodes alphabetically

compatible = "qcom,shikra-cqs-audiocorecc";
};

&rxmacro {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort the nodes alphabetically

status = "okay";
};

&swr0 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort the nodes alphabetically

};
};

&swr1 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort the nodes alphabetically

};
};

&vamacro {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort the nodes alphabetically

Komal-Bajaj
Komal-Bajaj previously approved these changes May 15, 2026
};
};

&audiocorecc {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this node defined?

compatible = "qcom,shikra-cqs-audiocorecc";
};

&i2c3 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am doubtful here,
should this need to enable at som level or at board level?

};
};

&rxmacro {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

};
};

&swr0 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

};
};

&swr1 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

};
};

&vamacro {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Copy Markdown

@nandamajay nandamajay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Enable modem audio links on the Shikra CQS EVK sound card.

Signed-off-by: Pratyush Meduri <mpratyus@qti.qualcomm.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.