From: "Clément Léger" <clement.leger@bootlin.com>
To: Eugen Hristev <eugen.hristev@microchip.com>,
Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: u-boot@lists.denx.de,
"Nicolas Ferre" <nicolas.ferre@microchip.com>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Claudiu Beznea" <Claudiu.Beznea@microchip.com>,
"Clément Léger" <clement.leger@bootlin.com>
Subject: [PATCH v4 0/3] add TCB driver for sama5d2
Date: Fri, 4 Mar 2022 10:45:19 +0100 [thread overview]
Message-ID: <20220304094522.47714-1-clement.leger@bootlin.com> (raw)
When booting under OP-TEE, the SYSC is secured which means the PIT is
also not accessible by non-secure world. The TCB 0 however is always
available for non-secure world and thus can be used.
This series add a TCB driver and enables it in sama5d2 configs.
---
Changes in v4:
- Add missing interrupts property to tcb node
Changes in v3:
- Remove useless defines
- Add printf in case of unsupported timers specified in device-tree
- Add "syscon" compatible to tcb node
Changes in v2:
- Reworked driver to use existing Linux bindings
Clément Léger (3):
timer: atmel_tcb_timer: add atmel_tcb driver
ARM: dts: at91: sama5d2: add TCB node
configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER
MAINTAINERS | 1 +
arch/arm/dts/sama5d2.dtsi | 16 ++
configs/sama5d2_icp_mmc_defconfig | 1 +
configs/sama5d2_ptc_ek_mmc_defconfig | 1 +
configs/sama5d2_ptc_ek_nandflash_defconfig | 1 +
configs/sama5d2_xplained_emmc_defconfig | 1 +
configs/sama5d2_xplained_mmc_defconfig | 1 +
configs/sama5d2_xplained_qspiflash_defconfig | 1 +
configs/sama5d2_xplained_spiflash_defconfig | 1 +
drivers/timer/Kconfig | 8 +
drivers/timer/Makefile | 1 +
drivers/timer/atmel_tcb_timer.c | 155 +++++++++++++++++++
12 files changed, 188 insertions(+)
create mode 100644 drivers/timer/atmel_tcb_timer.c
--
2.34.1
next reply other threads:[~2022-03-04 9:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 9:45 Clément Léger [this message]
2022-03-04 9:45 ` [PATCH v4 1/3] timer: atmel_tcb_timer: add atmel_tcb driver Clément Léger
2022-03-04 9:45 ` [PATCH v4 2/3] ARM: dts: at91: sama5d2: add TCB node Clément Léger
2022-03-04 9:46 ` Clément Léger
2022-03-04 9:49 ` Clément Léger
2022-03-04 10:14 ` Eugen.Hristev
2022-03-04 9:45 ` [PATCH v4 3/3] configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER Clément Léger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220304094522.47714-1-clement.leger@bootlin.com \
--to=clement.leger@bootlin.com \
--cc=Claudiu.Beznea@microchip.com \
--cc=eugen.hristev@microchip.com \
--cc=ludovic.desroches@microchip.com \
--cc=nicolas.ferre@microchip.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox