mbox series

[v7,0/5] Add support for the OST in Ingenic X1000.

Message ID 20200717165947.56158-1-zhouyanjie@wanyeetech.com (mailing list archive)
Headers show
Series Add support for the OST in Ingenic X1000. | expand

Message

Zhou Yanjie July 17, 2020, 4:59 p.m. UTC
v6->v7:
1.Remove "default MACH_INGENIC" and make option silent.
2.Enable the corresponding driver in the platform's Kconfig.
3.Update DT of X1000 and X1830, use SYSOST instead of TCU
  to provide clocksource and clockevent.

周琰杰 (Zhou Yanjie) (5):
  dt-bindings: timer: Add Ingenic X1000 OST bindings.
  clocksource: Ingenic: Add support for the Ingenic X1000 OST.
  MIPS: Ingenic: Let the Kconfig of platform enable the clocksource
    driver.
  MIPS: X1000: Use SYSOST instead of TCU to provide clocksource.
  MIPS: X1830: Use SYSOST instead of TCU to provide clocksource.

 .../devicetree/bindings/timer/ingenic,sysost.yaml  |  63 +++
 arch/mips/boot/dts/ingenic/cu1000-neo.dts          |   9 +-
 arch/mips/boot/dts/ingenic/cu1830-neo.dts          |   9 +-
 arch/mips/boot/dts/ingenic/x1000.dtsi              |  16 +
 arch/mips/boot/dts/ingenic/x1830.dtsi              |  16 +
 arch/mips/jz4740/Kconfig                           |   7 +
 drivers/clocksource/Kconfig                        |  15 +-
 drivers/clocksource/Makefile                       |   1 +
 drivers/clocksource/ingenic-sysost.c               | 539 +++++++++++++++++++++
 include/dt-bindings/clock/ingenic,sysost.h         |  12 +
 10 files changed, 672 insertions(+), 15 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/ingenic,sysost.yaml
 create mode 100644 drivers/clocksource/ingenic-sysost.c
 create mode 100644 include/dt-bindings/clock/ingenic,sysost.h