Re: [PATCH 1/5] dt-bindings: bus: add documentation for the IMX AIPSTZ bridge

From: Frank Li
Date: Fri Feb 21 2025 - 14:36:27 EST


On Fri, Feb 21, 2025 at 02:19:05PM -0500, Laurentiu Mihalcea wrote:
> From: Laurentiu Mihalcea <laurentiu.mihalcea@xxxxxxx>
>
> Add documentation for IMX AIPSTZ bridge.
>
> Co-developed-by: Daniel Baluta <daniel.baluta@xxxxxxx>
> Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
> Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@xxxxxxx>

Reviewed-by: Frank Li <Frank.Li@xxxxxxx>

> ---
> .../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@xxxxxxx>
> +
> +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
>