2020-10-17 18:25:06

by Fabien Parent

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: timer: mtk-timer: add optional 13m and bus clock

The timer IP on MT8516 requires two clocks to be enabled. Add both
clocks.

Signed-off-by: Fabien Parent <[email protected]>
---
.../devicetree/bindings/timer/mediatek,mtk-timer.txt | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index 690a9c0966ac..3f9bfd246f19 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -29,6 +29,11 @@ Required properties:
- reg: Should contain location and length for timer register.
- clocks: Should contain system clock.

+Optional properties:
+- clock-names: May contain:
+ * "clk13m": 13MHz clock system clock
+ * "bus": Bus clock
+
Examples:

timer@10008000 {
--
2.28.0


2020-10-26 13:58:14

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: timer: mtk-timer: add optional 13m and bus clock

On Sat, 17 Oct 2020 17:38:56 +0200, Fabien Parent wrote:
> The timer IP on MT8516 requires two clocks to be enabled. Add both
> clocks.
>
> Signed-off-by: Fabien Parent <[email protected]>
> ---
> .../devicetree/bindings/timer/mediatek,mtk-timer.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>

Acked-by: Rob Herring <[email protected]>