2020-01-27 03:59:45

by Peng Fan

[permalink] [raw]
Subject: [PATCH V2] dt-bindings: soc: imx: add binding doc for aips bus

From: Peng Fan <[email protected]>

Add binding doc for fsl,aips-bus

Signed-off-by: Peng Fan <[email protected]>
---

V2:
Add 'select' to pass dt_binding_check

.../devicetree/bindings/soc/imx/fsl,aips-bus.yaml | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml

diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
new file mode 100644
index 000000000000..3cbf2d28a188
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/imx/fsl,aips-bus.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: i.MX AHB to IP Bridge
+
+maintainers:
+ - Peng Fan <[email protected]>
+
+description: |
+ This particular peripheral is designed as the bridge between
+ AHB bus and peripherals with the lower bandwidth IP Slave (IPS)
+ buses.
+
+select:
+ properties:
+ compatible:
+ contains:
+ const: fsl,aips-bus
+ required:
+ - compatible
+
+properties:
+ compatible:
+ items:
+ - const: fsl,aips-bus
+ - const: simple-bus
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+examples:
+ - |
+ bus@30000000 {
+ compatible = "fsl,aips-bus", "simple-bus";
+ reg = <0x30000000 0x400000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ };
+...
--
2.16.4


2020-02-03 17:59:30

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH V2] dt-bindings: soc: imx: add binding doc for aips bus

On Mon, 27 Jan 2020 03:58:37 +0000, Peng Fan wrote:
>
> From: Peng Fan <[email protected]>
>
> Add binding doc for fsl,aips-bus
>
> Signed-off-by: Peng Fan <[email protected]>
> ---
>
> V2:
> Add 'select' to pass dt_binding_check
>
> .../devicetree/bindings/soc/imx/fsl,aips-bus.yaml | 47 ++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
>

Applied, thanks.

Rob