diff mbox series

dt-bindings: timer: Add ABIs for new Ingenic SoCs.

Message ID 1626370605-120775-1-git-send-email-zhouyanjie@wanyeetech.com
State Accepted
Commit f196ae282070d798c9144771db65577910d58566
Headers show
Series dt-bindings: timer: Add ABIs for new Ingenic SoCs. | expand

Commit Message

Zhou Yanjie July 15, 2021, 5:36 p.m. UTC
1.Add OST_CLK_EVENT_TIMER for new XBurst®1 SoCs.
2.Add OST_CLK_EVENT_TIMER0 to OST_CLK_EVENT_TIMER15 for new XBurst®2 SoCs.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
---
 include/dt-bindings/clock/ingenic,sysost.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Comments

Rob Herring (Arm) July 22, 2021, 3:04 a.m. UTC | #1
On Fri, 16 Jul 2021 01:36:45 +0800, 周琰杰 (Zhou Yanjie) wrote:
> 1.Add OST_CLK_EVENT_TIMER for new XBurst®1 SoCs.

> 2.Add OST_CLK_EVENT_TIMER0 to OST_CLK_EVENT_TIMER15 for new XBurst®2 SoCs.

> 

> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>

> ---

>  include/dt-bindings/clock/ingenic,sysost.h | 19 +++++++++++++++++++

>  1 file changed, 19 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
Zhou Yanjie Aug. 19, 2021, 6:53 a.m. UTC | #2
Hi,


A gentle ping :)


On 2021/7/16 上午1:36, 周琰杰 (Zhou Yanjie) wrote:
> 1.Add OST_CLK_EVENT_TIMER for new XBurst®1 SoCs.

> 2.Add OST_CLK_EVENT_TIMER0 to OST_CLK_EVENT_TIMER15 for new XBurst®2 SoCs.

>

> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>

> ---

>   include/dt-bindings/clock/ingenic,sysost.h | 19 +++++++++++++++++++

>   1 file changed, 19 insertions(+)

>

> diff --git a/include/dt-bindings/clock/ingenic,sysost.h b/include/dt-bindings/clock/ingenic,sysost.h

> index 063791b..d7aa42c 100644

> --- a/include/dt-bindings/clock/ingenic,sysost.h

> +++ b/include/dt-bindings/clock/ingenic,sysost.h

> @@ -13,4 +13,23 @@

>   #define OST_CLK_PERCPU_TIMER2	3

>   #define OST_CLK_PERCPU_TIMER3	4

>   

> +#define OST_CLK_EVENT_TIMER		1

> +

> +#define OST_CLK_EVENT_TIMER0	0

> +#define OST_CLK_EVENT_TIMER1	1

> +#define OST_CLK_EVENT_TIMER2	2

> +#define OST_CLK_EVENT_TIMER3	3

> +#define OST_CLK_EVENT_TIMER4	4

> +#define OST_CLK_EVENT_TIMER5	5

> +#define OST_CLK_EVENT_TIMER6	6

> +#define OST_CLK_EVENT_TIMER7	7

> +#define OST_CLK_EVENT_TIMER8	8

> +#define OST_CLK_EVENT_TIMER9	9

> +#define OST_CLK_EVENT_TIMER10	10

> +#define OST_CLK_EVENT_TIMER11	11

> +#define OST_CLK_EVENT_TIMER12	12

> +#define OST_CLK_EVENT_TIMER13	13

> +#define OST_CLK_EVENT_TIMER14	14

> +#define OST_CLK_EVENT_TIMER15	15

> +

>   #endif /* __DT_BINDINGS_CLOCK_INGENIC_OST_H__ */
diff mbox series

Patch

diff --git a/include/dt-bindings/clock/ingenic,sysost.h b/include/dt-bindings/clock/ingenic,sysost.h
index 063791b..d7aa42c 100644
--- a/include/dt-bindings/clock/ingenic,sysost.h
+++ b/include/dt-bindings/clock/ingenic,sysost.h
@@ -13,4 +13,23 @@ 
 #define OST_CLK_PERCPU_TIMER2	3
 #define OST_CLK_PERCPU_TIMER3	4
 
+#define OST_CLK_EVENT_TIMER		1
+
+#define OST_CLK_EVENT_TIMER0	0
+#define OST_CLK_EVENT_TIMER1	1
+#define OST_CLK_EVENT_TIMER2	2
+#define OST_CLK_EVENT_TIMER3	3
+#define OST_CLK_EVENT_TIMER4	4
+#define OST_CLK_EVENT_TIMER5	5
+#define OST_CLK_EVENT_TIMER6	6
+#define OST_CLK_EVENT_TIMER7	7
+#define OST_CLK_EVENT_TIMER8	8
+#define OST_CLK_EVENT_TIMER9	9
+#define OST_CLK_EVENT_TIMER10	10
+#define OST_CLK_EVENT_TIMER11	11
+#define OST_CLK_EVENT_TIMER12	12
+#define OST_CLK_EVENT_TIMER13	13
+#define OST_CLK_EVENT_TIMER14	14
+#define OST_CLK_EVENT_TIMER15	15
+
 #endif /* __DT_BINDINGS_CLOCK_INGENIC_OST_H__ */