Skip to content

Commit

Permalink
dt-bindings: timer: Add ABIs for new Ingenic SoCs
Browse files Browse the repository at this point in the history
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) <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
XBurst authored and dlezcano committed Aug 21, 2021
1 parent 3a95de5 commit f196ae2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions include/dt-bindings/clock/ingenic,sysost.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit f196ae2

Please sign in to comment.