Qualcomm SM8550 Peripheral Authentication Service
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm8550-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM8550 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,sdx75-mpss-pas","qcom,sm8550-adsp-pas","qcom,sm8550-cdsp-pas","qcom,sm8550-mpss-pas","qcom,sm8650-adsp-pas","qcom,sm8650-cdsp-pas","qcom,sm8650-mpss-pas","qcom,sm8750-mpss-pas","qcom,x1e80100-adsp-pas","qcom,x1e80100-cdsp-pas"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"qcom,sm8750-adsp-pas"Item 2
Exact value (
const):"qcom,sm8550-adsp-pas"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"qcom,sm8750-cdsp-pas"Item 2
Exact value (
const):"qcom,sm8650-cdsp-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Firmware name of the Hexagon core
Item 2
Firmware name of the Hexagon Devicetree
memory-region — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Memory region for main Firmware authentication
Item 2
Memory region for Devicetree Firmware authentication
Item 3
DSM Memory region
Item 4
DSM Memory region 2
Item 5
Memory region for Qlink Logging
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm8550-adsp-pas","qcom,sm8550-cdsp-pas","qcom,sm8650-adsp-pas","qcom,x1e80100-adsp-pas","qcom,x1e80100-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5
memory-region— not listed as required hereMaximum number of items (
maxItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):6
interrupt-names— not listed as required hereMaximum number of items (
maxItems):6
memory-region— not listed as required hereMaximum number of items (
maxItems):2
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5
memory-region— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):6
interrupt-names— not listed as required hereMaximum number of items (
maxItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sdx75-mpss-pas","qcom,sm8650-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm8550-adsp-pas","qcom,sm8650-adsp-pas","qcom,x1e80100-adsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sdx75-mpss-pas","qcom,sm8550-mpss-pas","qcom,sm8650-mpss-pas","qcom,sm8750-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Rule 11 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm8550-cdsp-pas","qcom,sm8650-cdsp-pas","qcom,x1e80100-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MXC power domain
Item 3
NSP power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mxc"Item 3
Exact value (
const):"nsp"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
remoteproc@30000000 {
compatible = "qcom,sm8550-adsp-pas";
reg = <0x030000000 0x100>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
memory-region = <&adsp_mem>, <&dtb_adsp_mem>;
firmware-name = "qcom/sm8550/adsp.mbn",
"qcom/sm8550/adsp_dtb.mbn";
power-domains = <&rpmhpd_sm8550_lcx>,
<&rpmhpd_sm8550_lmx>;
power-domain-names = "lcx", "lmx";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause