From: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
Document compatible for Qualcomm Glymur SoC ADSP which is fully compatible
with SM8750 ADSP. Also with the Linux Host running on EL2, the remoteprocs
need to be hypervisor independent, the iommu property is mandatory to
ensure proper functionality.
Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
---
.../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
index 3b66bd106737..8cb839ba1058 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
@@ -29,6 +29,7 @@ properties:
- qcom,x1e80100-cdsp-pas
- items:
- enum:
+ - qcom,glymur-adsp-pas
- qcom,kaanapali-adsp-pas
- qcom,sm8750-adsp-pas
- const: qcom,sm8550-adsp-pas
@@ -101,6 +102,7 @@ allOf:
compatible:
contains:
enum:
+ - qcom,glymur-adsp-pas
- qcom,kaanapali-adsp-pas
- qcom,kaanapali-cdsp-pas
- qcom,sm8750-adsp-pas
@@ -247,6 +249,17 @@ allOf:
- const: mxc
- const: nsp
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,glymur-adsp-pas
+ then:
+ properties:
+ iommus:
+ maxItems: 1
+
unevaluatedProperties: false
examples:
--
2.25.1
On Wed, Oct 29, 2025 at 01:05:44AM -0700, Jingyi Wang wrote: > From: Sibi Sankar <sibi.sankar@oss.qualcomm.com> > > Document compatible for Qualcomm Glymur SoC ADSP which is fully compatible > with SM8750 ADSP. Also with the Linux Host running on EL2, the remoteprocs > need to be hypervisor independent, the iommu property is mandatory to > ensure proper functionality. > > Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com> > Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com> > --- > .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml > index 3b66bd106737..8cb839ba1058 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml > @@ -29,6 +29,7 @@ properties: > - qcom,x1e80100-cdsp-pas > - items: > - enum: > + - qcom,glymur-adsp-pas > - qcom,kaanapali-adsp-pas > - qcom,sm8750-adsp-pas > - const: qcom,sm8550-adsp-pas > @@ -101,6 +102,7 @@ allOf: > compatible: > contains: > enum: > + - qcom,glymur-adsp-pas > - qcom,kaanapali-adsp-pas > - qcom,kaanapali-cdsp-pas > - qcom,sm8750-adsp-pas > @@ -247,6 +249,17 @@ allOf: > - const: mxc > - const: nsp > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,glymur-adsp-pas > + then: > + properties: > + iommus: > + maxItems: 1 This doesn't make 'iommus' mandatory as the commit msg says. > + > unevaluatedProperties: false > > examples: > > -- > 2.25.1 >
On Wed, Oct 29, 2025 at 8:23 AM Rob Herring <robh@kernel.org> wrote: > > On Wed, Oct 29, 2025 at 01:05:44AM -0700, Jingyi Wang wrote: > > From: Sibi Sankar <sibi.sankar@oss.qualcomm.com> > > > > Document compatible for Qualcomm Glymur SoC ADSP which is fully compatible > > with SM8750 ADSP. Also with the Linux Host running on EL2, the remoteprocs > > need to be hypervisor independent, the iommu property is mandatory to > > ensure proper functionality. > > > > Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com> > > Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com> > > --- > > .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml > > index 3b66bd106737..8cb839ba1058 100644 > > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml > > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml > > @@ -29,6 +29,7 @@ properties: > > - qcom,x1e80100-cdsp-pas > > - items: > > - enum: > > + - qcom,glymur-adsp-pas > > - qcom,kaanapali-adsp-pas > > - qcom,sm8750-adsp-pas > > - const: qcom,sm8550-adsp-pas > > @@ -101,6 +102,7 @@ allOf: > > compatible: > > contains: > > enum: > > + - qcom,glymur-adsp-pas > > - qcom,kaanapali-adsp-pas > > - qcom,kaanapali-cdsp-pas > > - qcom,sm8750-adsp-pas > > @@ -247,6 +249,17 @@ allOf: > > - const: mxc > > - const: nsp > > > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - qcom,glymur-adsp-pas > > + then: > > + properties: > > + iommus: > > + maxItems: 1 > > This doesn't make 'iommus' mandatory as the commit msg says. Also, 'iommus' needs to be defined at the top-level of the schema. Rob
On Wed, 29 Oct 2025 01:05:44 -0700, Jingyi Wang wrote: > From: Sibi Sankar <sibi.sankar@oss.qualcomm.com> > > Document compatible for Qualcomm Glymur SoC ADSP which is fully compatible > with SM8750 ADSP. Also with the Linux Host running on EL2, the remoteprocs > need to be hypervisor independent, the iommu property is mandatory to > ensure proper functionality. > > Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com> > Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com> > --- > .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20251029-knp-remoteproc-v2-6-6c81993b52ea@oss.qualcomm.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
© 2016 - 2025 Red Hat, Inc.