summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-07-23 21:04:05 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-07-23 21:04:05 +0200
commit1b7efaa6154960396f414551841f1886d99b6872 (patch)
tree0ce08adf75f30846e0d8bd4625f755bc537104fa /include/soc
parent36cd28a4cdd05d47ccb62a2d86e8f37839cc879a (diff)
parent5ecafc120bbea614c9d29d0ee2cbb77bbb786059 (diff)
Merge tag 'timers-v5.9' of https://git.linaro.org/people/daniel.lezcano/linux into timers/core
Pull clock event/surce driver changes from Daniel Lezcano: - Add sama5d2 support and rework the 32kHz clock handling (Alexandre Belloni) - Add the high resolution support for SMP/SMT on the Ingenic timer (Zhou Yanjie) - Add support for i.MX TPM driver with ARM64 (Anson Huang) - Fix typo by replacing KHz to kHz (Geert Uytterhoeven) - Add 32kHz support by setting the minimum ticks to 5 on Nomadik MTU (Linus Walleij) - Replace HTTP links with HTTPS ones for security reasons (Alexander A. Klimov) - Add support for the Ingenic X1000 OST (Zhou Yanjie)
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/at91/atmel_tcb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/soc/at91/atmel_tcb.h b/include/soc/at91/atmel_tcb.h
index c3c7200ce151..1d7071dc0bca 100644
--- a/include/soc/at91/atmel_tcb.h
+++ b/include/soc/at91/atmel_tcb.h
@@ -36,9 +36,14 @@ struct clk;
/**
* struct atmel_tcb_config - SoC data for a Timer/Counter Block
* @counter_width: size in bits of a timer counter register
+ * @has_gclk: boolean indicating if a timer counter has a generic clock
+ * @has_qdec: boolean indicating if a timer counter has a quadrature
+ * decoder.
*/
struct atmel_tcb_config {
size_t counter_width;
+ bool has_gclk;
+ bool has_qdec;
};
/**