[U-Boot] [PATCH v2 0/2] driver: timer: Add Atmel PIT timer driver

Wenyou Yang wenyou.yang at microchip.com
Tue Aug 15 09:40:25 UTC 2017


Add the Atmel PIT timer driver which supports the driver model
and device tree, and covert the boards to support the new Atmel
PIT timer driver.

Changes in v2:
 - Integrate the PATCH {timer: Add Atmel PIT timer driver} to
   one patch set.
 - Rebase on latest commit of uboot/master (2d3c4ae35).
 - Retain the CONFIG_SYS_TIMER_COUNTER macro in <soc.h>.
 - Convert all atmel boards to support the new timer driver.

Wenyou Yang (2):
  driver: timer: Add the Atmel PIT timer driver
  board: atmel: Use the new PIT timer driver

 arch/arm/dts/sama5d2.dtsi                      | 28 ++++++++
 arch/arm/mach-at91/arm926ejs/Makefile          |  2 +
 arch/arm/mach-at91/armv7/Makefile              |  2 +
 configs/at91sam9260ek_dataflash_cs0_defconfig  |  2 +
 configs/at91sam9260ek_dataflash_cs1_defconfig  |  2 +
 configs/at91sam9260ek_nandflash_defconfig      |  2 +
 configs/at91sam9261ek_dataflash_cs0_defconfig  |  2 +
 configs/at91sam9261ek_dataflash_cs3_defconfig  |  2 +
 configs/at91sam9261ek_nandflash_defconfig      |  2 +
 configs/at91sam9263ek_dataflash_cs0_defconfig  |  2 +
 configs/at91sam9263ek_dataflash_defconfig      |  2 +
 configs/at91sam9263ek_nandflash_defconfig      |  2 +
 configs/at91sam9263ek_norflash_boot_defconfig  |  2 +
 configs/at91sam9263ek_norflash_defconfig       |  2 +
 configs/at91sam9g20ek_2mmc_defconfig           |  2 +
 configs/at91sam9g20ek_2mmc_nandflash_defconfig |  2 +
 configs/at91sam9g20ek_dataflash_cs0_defconfig  |  2 +
 configs/at91sam9g20ek_dataflash_cs1_defconfig  |  2 +
 configs/at91sam9g20ek_nandflash_defconfig      |  2 +
 configs/at91sam9m10g45ek_mmc_defconfig         |  2 +
 configs/at91sam9m10g45ek_nandflash_defconfig   |  2 +
 configs/at91sam9n12ek_mmc_defconfig            |  2 +
 configs/at91sam9n12ek_nandflash_defconfig      |  2 +
 configs/at91sam9n12ek_spiflash_defconfig       |  2 +
 configs/at91sam9rlek_dataflash_defconfig       |  2 +
 configs/at91sam9rlek_mmc_defconfig             |  2 +
 configs/at91sam9rlek_nandflash_defconfig       |  2 +
 configs/at91sam9x5ek_dataflash_defconfig       |  2 +
 configs/at91sam9x5ek_mmc_defconfig             |  2 +
 configs/at91sam9x5ek_nandflash_defconfig       |  2 +
 configs/at91sam9x5ek_spiflash_defconfig        |  2 +
 configs/at91sam9xeek_dataflash_cs0_defconfig   |  2 +
 configs/at91sam9xeek_dataflash_cs1_defconfig   |  2 +
 configs/at91sam9xeek_nandflash_defconfig       |  2 +
 configs/gurnard_defconfig                      |  2 +
 configs/sama5d2_xplained_mmc_defconfig         |  3 +
 configs/sama5d2_xplained_spiflash_defconfig    |  3 +
 configs/sama5d36ek_cmp_mmc_defconfig           |  2 +
 configs/sama5d36ek_cmp_nandflash_defconfig     |  2 +
 configs/sama5d36ek_cmp_spiflash_defconfig      |  2 +
 configs/sama5d3_xplained_mmc_defconfig         |  3 +
 configs/sama5d3_xplained_nandflash_defconfig   |  3 +
 configs/sama5d3xek_mmc_defconfig               |  3 +
 configs/sama5d3xek_nandflash_defconfig         |  3 +
 configs/sama5d3xek_spiflash_defconfig          |  3 +
 configs/sama5d4_xplained_mmc_defconfig         |  3 +
 configs/sama5d4_xplained_nandflash_defconfig   |  3 +
 configs/sama5d4_xplained_spiflash_defconfig    |  3 +
 configs/sama5d4ek_mmc_defconfig                |  3 +
 configs/sama5d4ek_nandflash_defconfig          |  3 +
 configs/sama5d4ek_spiflash_defconfig           |  3 +
 drivers/timer/Kconfig                          |  8 +++
 drivers/timer/Makefile                         |  1 +
 drivers/timer/atmel_pit_timer.c                | 90 ++++++++++++++++++++++++++
 54 files changed, 240 insertions(+)
 create mode 100644 drivers/timer/atmel_pit_timer.c

-- 
2.13.0



More information about the U-Boot mailing list