* [PATCH 1/1] dt-bindings: timer: Add fsl,vf610-pit.yaml
@ 2025-05-22 20:57 Frank Li
2025-05-26 15:56 ` Conor Dooley
2025-05-28 13:57 ` Rob Herring (Arm)
0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2025-05-22 20:57 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, open list:CLOCKSOURCE,
CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Cc: imx
Add binding doc fsl,vf610-pit.yaml to fix below CHECK_DTB warnings:
arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dtb:
/soc/bus@40000000/pit@40037000: failed to match any schema with compatible: ['fsl,vf610-pit']
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/timer/fsl,vf610-pit.yaml | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml
diff --git a/Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml b/Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml
new file mode 100644
index 0000000000000..bee2c35bd0e29
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/fsl,vf610-pit.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale Periodic Interrupt Timer (PIT)
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+description:
+ The PIT module is an array of timers that can be used to raise interrupts
+ and trigger DMA channels.
+
+properties:
+ compatible:
+ enum:
+ - fsl,vf610-pit
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: pit
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/vf610-clock.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ timer@40037000 {
+ compatible = "fsl,vf610-pit";
+ reg = <0x40037000 0x1000>;
+ interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks VF610_CLK_PIT>;
+ clock-names = "pit";
+ };
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] dt-bindings: timer: Add fsl,vf610-pit.yaml
2025-05-22 20:57 [PATCH 1/1] dt-bindings: timer: Add fsl,vf610-pit.yaml Frank Li
@ 2025-05-26 15:56 ` Conor Dooley
2025-05-28 13:57 ` Rob Herring (Arm)
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2025-05-26 15:56 UTC (permalink / raw)
To: Frank Li
Cc: Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, open list:CLOCKSOURCE,
CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, imx
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
On Thu, May 22, 2025 at 04:57:09PM -0400, Frank Li wrote:
> Add binding doc fsl,vf610-pit.yaml to fix below CHECK_DTB warnings:
>
> arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dtb:
> /soc/bus@40000000/pit@40037000: failed to match any schema with compatible: ['fsl,vf610-pit']
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] dt-bindings: timer: Add fsl,vf610-pit.yaml
2025-05-22 20:57 [PATCH 1/1] dt-bindings: timer: Add fsl,vf610-pit.yaml Frank Li
2025-05-26 15:56 ` Conor Dooley
@ 2025-05-28 13:57 ` Rob Herring (Arm)
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-05-28 13:57 UTC (permalink / raw)
To: Frank Li
Cc: linux-kernel, devicetree, Daniel Lezcano, Krzysztof Kozlowski,
Thomas Gleixner, imx, Conor Dooley
On Thu, 22 May 2025 16:57:09 -0400, Frank Li wrote:
> Add binding doc fsl,vf610-pit.yaml to fix below CHECK_DTB warnings:
>
> arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dtb:
> /soc/bus@40000000/pit@40037000: failed to match any schema with compatible: ['fsl,vf610-pit']
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/timer/fsl,vf610-pit.yaml | 54 +++++++++++++++++++
> 1 file changed, 54 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml
>
Applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-28 13:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-22 20:57 [PATCH 1/1] dt-bindings: timer: Add fsl,vf610-pit.yaml Frank Li
2025-05-26 15:56 ` Conor Dooley
2025-05-28 13:57 ` 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
all inboxes | Powered by JetHome®