Qualcomm SM8150/SM8250 Peripheral Authentication Service
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm8150-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM8150/SM8250 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
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8150-adsp-pas"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8150-cdsp-pas"
Rule 3
Allowed values (
enum):"qcom,sc8180x-adsp-pas","qcom,sc8180x-cdsp-pas","qcom,sc8180x-slpi-pas","qcom,sm8150-adsp-pas","qcom,sm8150-cdsp-pas","qcom,sm8150-mpss-pas","qcom,sm8150-slpi-pas","qcom,sm8250-adsp-pas","qcom,sm8250-cdsp-pas","qcom,sm8250-slpi-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.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
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 hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc8180x-adsp-pas","qcom,sc8180x-cdsp-pas","qcom,sc8180x-slpi-pas","qcom,sm8150-adsp-pas","qcom,sm8150-cdsp-pas","qcom,sm8150-slpi-pas","qcom,sm8250-adsp-pas","qcom,sm8250-cdsp-pas","qcom,sm8250-slpi-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):5When the condition does not match (
else) #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
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc8180x-adsp-pas","qcom,sc8180x-cdsp-pas","qcom,sm8150-adsp-pas","qcom,sm8150-cdsp-pas","qcom,sm8250-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
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc8180x-mpss-pas","qcom,sm8150-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 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc8180x-slpi-pas","qcom,sm8150-slpi-pas","qcom,sm8250-adsp-pas","qcom,sm8250-slpi-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"
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/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@17300000 {
compatible = "qcom,sm8150-adsp-pas";
reg = <0x17300000 0x4040>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
firmware-name = "qcom/sm8150/adsp.mbn";
interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
memory-region = <&adsp_mem>;
power-domains = <&rpmhpd SM8150_CX>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
label = "lpass";
qcom,remote-pid = <2>;
mboxes = <&apss_shared 8>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause