[PATCH 0/3] Improve Xilinx TTC clock driver

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 10 11:15:53 UTC 2024


Sebastian Huber (3):
  bsps/xil-ttc: Use interrupt entry
  bsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALL
  bsps/xil-ttc: Improve clock driver

 bsps/arm/xilinx-zynqmp-rpu/include/bsp.h      |   3 -
 bsps/arm/xilinx-zynqmp-rpu/include/bsp/irq.h  |   1 -
 bsps/include/bsp/fatal.h                      |   3 +
 bsps/shared/dev/clock/xil-ttc.c               | 267 +++++++++---------
 spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml |   6 +
 spec/build/bsps/optxilclockttcbaseaddr.yml    |  18 ++
 spec/build/bsps/optxilclockttcirq.yml         |  18 ++
 spec/build/bsps/optxilclockttcrefclk.yml      |  18 ++
 .../bsps/fatal-clock-xil-ttc-irq-install.yml  |  21 ++
 .../validation/bsps/objclockxilttc.yml        |  14 +
 .../validation/bsps/validation-bsp-0.yml      |   6 +-
 spec/build/testsuites/validation/grp.yml      |   2 +
 .../bsps/tr-fatal-clock-xil-ttc-irq-install.c | 187 ++++++++++++
 .../bsps/tr-fatal-clock-xil-ttc-irq-install.h |  84 ++++++
 .../bsps/ts-fatal-clock-xil-ttc-irq-install.c |  79 ++++++
 testsuites/validation/tc-dev-clock-xil-ttc.c  | 136 +++++++++
 16 files changed, 721 insertions(+), 142 deletions(-)
 create mode 100644 spec/build/bsps/optxilclockttcbaseaddr.yml
 create mode 100644 spec/build/bsps/optxilclockttcirq.yml
 create mode 100644 spec/build/bsps/optxilclockttcrefclk.yml
 create mode 100644 spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml
 create mode 100644 spec/build/testsuites/validation/bsps/objclockxilttc.yml
 create mode 100644 testsuites/validation/bsps/tr-fatal-clock-xil-ttc-irq-install.c
 create mode 100644 testsuites/validation/bsps/tr-fatal-clock-xil-ttc-irq-install.h
 create mode 100644 testsuites/validation/bsps/ts-fatal-clock-xil-ttc-irq-install.c
 create mode 100644 testsuites/validation/tc-dev-clock-xil-ttc.c

-- 
2.35.3



More information about the devel mailing list