From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
For SM-based SoCs (i.e. MX95, MX943), GPR configuration is performed by
the SM coprocessor. Thus, the programming model needs no handle to the
GPR node. Make it optional.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
---
Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
index 1415247c92c8..bcc265a742c7 100644
--- a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
@@ -63,6 +63,16 @@ required:
allOf:
- $ref: dai-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - fsl,imx6sx-mqs
+ - fsl,imx93-mqs
+ then:
+ required:
+ - gpr
- if:
properties:
compatible:
@@ -91,8 +101,6 @@ allOf:
clock-names:
items:
- const: mclk
- required:
- - gpr
unevaluatedProperties: false
--
2.43.0
On Tue, Jan 20, 2026 at 07:03:28AM -0800, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > > For SM-based SoCs (i.e. MX95, MX943), GPR configuration is performed by > the SM coprocessor. Thus, the programming model needs no handle to the > GPR node. Make it optional. > > Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > --- > Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Best regards, Krzysztof
On Tue, Jan 20, 2026 at 07:03:28AM -0800, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > > For SM-based SoCs (i.e. MX95, MX943), GPR configuration is performed by > the SM coprocessor. Thus, the programming model needs no handle to the > GPR node. Make it optional. "programming model" look like software configuration. Thus, GPR is transparent to software and does not need to be described in the device tree. Make it optional. Reviewed-by: Frank Li <Frank.Li@nxp.com> > > Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > --- > Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml > index 1415247c92c8..bcc265a742c7 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml > @@ -63,6 +63,16 @@ required: > > allOf: > - $ref: dai-common.yaml# > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx6sx-mqs > + - fsl,imx93-mqs > + then: > + required: > + - gpr > - if: > properties: > compatible: > @@ -91,8 +101,6 @@ allOf: > clock-names: > items: > - const: mclk > - required: > - - gpr > > unevaluatedProperties: false > > -- > 2.43.0 >
On Tue, Jan 20, 2026 at 11:18:42AM -0500, Frank Li wrote: > On Tue, Jan 20, 2026 at 07:03:28AM -0800, Laurentiu Mihalcea wrote: > > From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > > > > For SM-based SoCs (i.e. MX95, MX943), GPR configuration is performed by > > the SM coprocessor. Thus, the programming model needs no handle to the > > GPR node. Make it optional. > > "programming model" look like software configuration. > > Thus, GPR is transparent to software and does not need to be described in the > device tree. Make it optional. I was expecting a new version of this with Frank's comments rolled in.
On 1/26/2026 6:16 AM, Mark Brown wrote: > On Tue, Jan 20, 2026 at 11:18:42AM -0500, Frank Li wrote: >> On Tue, Jan 20, 2026 at 07:03:28AM -0800, Laurentiu Mihalcea wrote: >>> From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> >>> >>> For SM-based SoCs (i.e. MX95, MX943), GPR configuration is performed by >>> the SM coprocessor. Thus, the programming model needs no handle to the >>> GPR node. Make it optional. >> "programming model" look like software configuration. >> >> Thus, GPR is transparent to software and does not need to be described in the >> device tree. Make it optional. > I was expecting a new version of this with Frank's comments rolled in. Hey Mark, Sorry for taking ages with this. Got your message while preparing the patches. Just sent V2 a few mins. ago. Thanks, Laurentiu
© 2016 - 2026 Red Hat, Inc.