* [PATCH] dt-bindings: soc: imx: add binding doc for aips bus
@ 2020-01-16 6:12 Peng Fan
2020-01-21 23:21 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Peng Fan @ 2020-01-16 6:12 UTC (permalink / raw)
To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org,
s.hauer@pengutronix.de
Cc: devicetree@vger.kernel.org, Peng Fan,
linux-kernel@vger.kernel.org, dl-linux-imx, kernel@pengutronix.de,
festevam@gmail.com, linux-arm-kernel@lists.infradead.org
From: Peng Fan <peng.fan@nxp.com>
Add binding doc for fsl,aips-bus
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
.../devicetree/bindings/soc/imx/fsl,aips-bus.yaml | 38 ++++++++++++++++++++++
1 file changed, 38 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..73ce1b7fc306
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
@@ -0,0 +1,38 @@
+# 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 <peng.fan@nxp.com>
+
+description: |
+ This particular peripheral is designed as the bridge between
+ AHB bus and peripherals with the lower bandwidth IP Slave (IPS)
+ buses.
+
+properties:
+ compatible:
+ oneOf:
+ - const: fsl,aips-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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] dt-bindings: soc: imx: add binding doc for aips bus
2020-01-16 6:12 [PATCH] dt-bindings: soc: imx: add binding doc for aips bus Peng Fan
@ 2020-01-21 23:21 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-01-21 23:21 UTC (permalink / raw)
To: Peng Fan
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
shawnguo@kernel.org, s.hauer@pengutronix.de,
linux-kernel@vger.kernel.org, dl-linux-imx, kernel@pengutronix.de,
festevam@gmail.com, linux-arm-kernel@lists.infradead.org
On Thu, Jan 16, 2020 at 06:12:12AM +0000, Peng Fan wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add binding doc for fsl,aips-bus
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> .../devicetree/bindings/soc/imx/fsl,aips-bus.yaml | 38 ++++++++++++++++++++++
> 1 file changed, 38 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..73ce1b7fc306
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> @@ -0,0 +1,38 @@
> +# 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 <peng.fan@nxp.com>
> +
> +description: |
> + This particular peripheral is designed as the bridge between
> + AHB bus and peripherals with the lower bandwidth IP Slave (IPS)
> + buses.
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: fsl,aips-bus
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +examples:
> + - |
> + bus@30000000 {
> + compatible = "fsl,aips-bus", "simple-bus";
'make dt_binding_check' should be failing for you because this doesn't
match the schema. You need to add 'simple-bus'. However doing so will
make this schema match on any node with 'simple-bus'. See 'select' in
various arm,primecell schemas for how to avoid this problem.
Rob
> + reg = <0x30000000 0x400000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> + };
> +...
> --
> 2.16.4
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-21 23:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-16 6:12 [PATCH] dt-bindings: soc: imx: add binding doc for aips bus Peng Fan
2020-01-21 23:21 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).