Message ID | 20241216145039.3074-2-laurentiumihalcea111@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | add sof support on imx95 | expand |
On Mon, Dec 16, 2024 at 09:50:35AM -0500, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > > Add common binding for NXP audio processors with Sound Open Firmware > (SOF) support. > > Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > --- > .../bindings/sound/fsl,sof-cpu.yaml | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml You create common file, could you please change existed binding yaml to use it also? Frank > > diff --git a/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml b/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml > new file mode 100644 > index 000000000000..1958afceba75 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml > @@ -0,0 +1,35 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/fsl,sof-cpu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP audio processor common properties > + > +maintainers: > + - Daniel Baluta <daniel.baluta@nxp.com> > + > +properties: > + reg: > + maxItems: 1 > + > + mboxes: > + maxItems: 4 > + > + mbox-names: > + items: > + - const: txdb0 > + - const: txdb1 > + - const: rxdb0 > + - const: rxdb1 > + > + memory-region: > + maxItems: 1 > + > +required: > + - reg > + - mboxes > + - mbox-names > + - memory-region > + > +additionalProperties: true > -- > 2.34.1 >
diff --git a/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml b/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml new file mode 100644 index 000000000000..1958afceba75 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/fsl,sof-cpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP audio processor common properties + +maintainers: + - Daniel Baluta <daniel.baluta@nxp.com> + +properties: + reg: + maxItems: 1 + + mboxes: + maxItems: 4 + + mbox-names: + items: + - const: txdb0 + - const: txdb1 + - const: rxdb0 + - const: rxdb1 + + memory-region: + maxItems: 1 + +required: + - reg + - mboxes + - mbox-names + - memory-region + +additionalProperties: true