* [PATCH 1/1] dt-bindings: fsl: convert m4if.txt and tigerp.txt to yaml format
@ 2025-04-17 15:06 Frank Li
2025-04-22 12:56 ` Rob Herring (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2025-04-17 15:06 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list
Cc: imx
Convert m4if.txt and tigerp.txt to yaml format. These just use reg to
indicate memory region.
Additional changes:
- Add compatible string fsl,imx51-aipstz.
- Add fsl,imx53-tigerp and fail back to fsl,imx51-tigerp
- Add compatible string fsl,imx7d-pcie-phy, which is not real phy and just
indicate a memory region.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../arm/freescale/fsl,imx51-m4if.yaml | 41 +++++++++++++++++++
.../bindings/arm/freescale/m4if.txt | 12 ------
.../bindings/arm/freescale/tigerp.txt | 12 ------
3 files changed, 41 insertions(+), 24 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,imx51-m4if.yaml
delete mode 100644 Documentation/devicetree/bindings/arm/freescale/m4if.txt
delete mode 100644 Documentation/devicetree/bindings/arm/freescale/tigerp.txt
diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,imx51-m4if.yaml b/Documentation/devicetree/bindings/arm/freescale/fsl,imx51-m4if.yaml
new file mode 100644
index 0000000000000..1f515bea39599
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/freescale/fsl,imx51-m4if.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/freescale/fsl,imx51-m4if.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale Multi Master Multi Memory Interface (M4IF) and Tigerp module
+
+description: collect the imx devices, which only have compatible and reg property
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+properties:
+ compatible:
+ oneOf:
+ - enum:
+ - fsl,imx51-m4if
+ - fsl,imx51-tigerp
+ - fsl,imx51-aipstz
+ - fsl,imx53-aipstz
+ - fsl,imx7d-pcie-phy
+ - items:
+ - const: fsl,imx53-tigerp
+ - const: fsl,imx51-tigerp
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ m4if@83fd8000 {
+ compatible = "fsl,imx51-m4if";
+ reg = <0x83fd8000 0x1000>;
+ };
diff --git a/Documentation/devicetree/bindings/arm/freescale/m4if.txt b/Documentation/devicetree/bindings/arm/freescale/m4if.txt
deleted file mode 100644
index 93bd7b867a536..0000000000000
--- a/Documentation/devicetree/bindings/arm/freescale/m4if.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-* Freescale Multi Master Multi Memory Interface (M4IF) module
-
-Required properties:
-- compatible : Should be "fsl,imx51-m4if"
-- reg : Address and length of the register set for the device
-
-Example:
-
-m4if: m4if@83fd8000 {
- compatible = "fsl,imx51-m4if";
- reg = <0x83fd8000 0x1000>;
-};
diff --git a/Documentation/devicetree/bindings/arm/freescale/tigerp.txt b/Documentation/devicetree/bindings/arm/freescale/tigerp.txt
deleted file mode 100644
index 19e2aad63d6ef..0000000000000
--- a/Documentation/devicetree/bindings/arm/freescale/tigerp.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-* Freescale Tigerp platform module
-
-Required properties:
-- compatible : Should be "fsl,imx51-tigerp"
-- reg : Address and length of the register set for the device
-
-Example:
-
-tigerp: tigerp@83fa0000 {
- compatible = "fsl,imx51-tigerp";
- reg = <0x83fa0000 0x28>;
-};
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 1/1] dt-bindings: fsl: convert m4if.txt and tigerp.txt to yaml format
2025-04-17 15:06 [PATCH 1/1] dt-bindings: fsl: convert m4if.txt and tigerp.txt to yaml format Frank Li
@ 2025-04-22 12:56 ` Rob Herring (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-04-22 12:56 UTC (permalink / raw)
To: Frank Li
Cc: devicetree, imx, Conor Dooley, Fabio Estevam, linux-arm-kernel,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Krzysztof Kozlowski, linux-kernel
On Thu, 17 Apr 2025 11:06:04 -0400, Frank Li wrote:
> Convert m4if.txt and tigerp.txt to yaml format. These just use reg to
> indicate memory region.
>
> Additional changes:
> - Add compatible string fsl,imx51-aipstz.
> - Add fsl,imx53-tigerp and fail back to fsl,imx51-tigerp
> - Add compatible string fsl,imx7d-pcie-phy, which is not real phy and just
> indicate a memory region.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../arm/freescale/fsl,imx51-m4if.yaml | 41 +++++++++++++++++++
> .../bindings/arm/freescale/m4if.txt | 12 ------
> .../bindings/arm/freescale/tigerp.txt | 12 ------
> 3 files changed, 41 insertions(+), 24 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,imx51-m4if.yaml
> delete mode 100644 Documentation/devicetree/bindings/arm/freescale/m4if.txt
> delete mode 100644 Documentation/devicetree/bindings/arm/freescale/tigerp.txt
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-22 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 15:06 [PATCH 1/1] dt-bindings: fsl: convert m4if.txt and tigerp.txt to yaml format Frank Li
2025-04-22 12:56 ` Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox