From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Add documentation for IMX AIPSTZ bridge.
Co-developed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
---
.../bindings/bus/fsl,imx8mp-aipstz.yaml | 62 +++++++++++++++++++
1 file changed, 62 insertions(+)
create mode 100644 Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml
diff --git a/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml b/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml
new file mode 100644
index 000000000000..b0d6eaf70a84
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bus/fsl,imx8mp-aipstz.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Secure AHB to IP Slave bus (AIPSTZ) bridge
+
+description:
+ The secure AIPS bridge (AIPSTZ) acts as a bridge for AHB masters
+ issuing transactions to IP Slave peripherals. Additionally, this module
+ offers access control configurations meant to restrict which peripherals
+ a master can access.
+
+maintainers:
+ - Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
+
+select:
+ properties:
+ compatible:
+ contains:
+ const: fsl,imx8mp-aipstz
+ required:
+ - compatible
+
+properties:
+ compatible:
+ items:
+ - const: fsl,imx8mp-aipstz
+ - const: simple-bus
+
+ reg:
+ maxItems: 1
+
+ power-domains:
+ maxItems: 1
+
+ "#access-controller-cells":
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - power-domains
+ - "#access-controller-cells"
+
+allOf:
+ - $ref: /schemas/simple-bus.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ bus@30df0000 {
+ compatible = "fsl,imx8mp-aipstz", "simple-bus";
+ reg = <0x30df0000 0x10000>;
+ power-domains = <&pgc_audio>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ #access-controller-cells = <0>;
+ ranges;
+ };
--
2.34.1
On Fri, Feb 21, 2025 at 02:19:05PM -0500, Laurentiu Mihalcea wrote: > +properties: > + compatible: > + items: > + - const: fsl,imx8mp-aipstz > + - const: simple-bus > + > + reg: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 That's not a simple bus anymore. simple-bus does not have reg. Neither power domain really, because this means children depends on this device, so again: not simple. Best regards, Krzysztof
On Fri, Feb 21, 2025 at 02:19:05PM -0500, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > > Add documentation for IMX AIPSTZ bridge. > > Co-developed-by: Daniel Baluta <daniel.baluta@nxp.com> > Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> > Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> > --- > .../bindings/bus/fsl,imx8mp-aipstz.yaml | 62 +++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml > > diff --git a/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml b/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml > new file mode 100644 > index 000000000000..b0d6eaf70a84 > --- /dev/null > +++ b/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/bus/fsl,imx8mp-aipstz.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Secure AHB to IP Slave bus (AIPSTZ) bridge > + > +description: > + The secure AIPS bridge (AIPSTZ) acts as a bridge for AHB masters > + issuing transactions to IP Slave peripherals. Additionally, this module > + offers access control configurations meant to restrict which peripherals > + a master can access. > + > +maintainers: > + - Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > + > +select: > + properties: > + compatible: > + contains: > + const: fsl,imx8mp-aipstz > + required: > + - compatible > + > +properties: > + compatible: > + items: > + - const: fsl,imx8mp-aipstz > + - const: simple-bus > + > + reg: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + "#access-controller-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - power-domains > + - "#access-controller-cells" > + > +allOf: > + - $ref: /schemas/simple-bus.yaml# > + > +unevaluatedProperties: false > + > +examples: > + - | > + bus@30df0000 { > + compatible = "fsl,imx8mp-aipstz", "simple-bus"; > + reg = <0x30df0000 0x10000>; > + power-domains = <&pgc_audio>; > + #address-cells = <1>; > + #size-cells = <1>; > + #access-controller-cells = <0>; > + ranges; > + }; > -- > 2.34.1 >
© 2016 - 2025 Red Hat, Inc.