Home
last modified time | relevance | path

Searched full:dmtimer (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/drivers/clocksource/
Dtimer-ti-dm.c3 * linux/arch/arm/plat-omap/dmtimer.c
11 * dmtimer adaptation to platform_driver.
32 #include <linux/platform_data/dmtimer-omap.h>
119 struct dmtimer { struct
166 static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg) in dmtimer_read() argument
191 static inline void dmtimer_write(struct dmtimer *timer, u32 reg, u32 val) in dmtimer_write()
206 static inline void __omap_dm_timer_init_regs(struct dmtimer *timer) in __omap_dm_timer_init_regs()
241 static inline void __omap_dm_timer_enable_posted(struct dmtimer *timer) in __omap_dm_timer_enable_posted()
257 static inline void __omap_dm_timer_stop(struct dmtimer *timer, in __omap_dm_timer_stop()
281 static inline void __omap_dm_timer_int_enable(struct dmtimer *timer, in __omap_dm_timer_int_enable()
[all …]
Dtimer-ti-dm-systimer.c147 * affects the preferred dmtimer system timer configuration. There is
148 * typically no use for a dmtimer clocksource if the 32 KiHz counter is
231 * clock as the clocksource, and any available dmtimer as clockevent.
233 * For am437x, we are using am335x style dmtimer clocksource. It is unclear
249 /* Quirk am437x using am335x style dmtimer clocksource */ in dmtimer_systimer_assign_alwon()
274 /* Usually no need for dmtimer clocksource if we have counter32 */ in dmtimer_systimer_assign_alwon()
284 /* Finds the first usable dmtimer, used for the don't care case */
416 pr_debug("dmtimer rev %08x sysc %08x\n", readl_relaxed(t->base), in dmtimer_systimer_setup()
633 /* Dmtimer as percpu timer. See dra7 ARM architected timer wrap erratum i940 */
646 pr_warn("Incomplete dtb for percpu dmtimer %pOF\n", np->parent); in dmtimer_percpu_timer_init()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pwm/
Dpwm-omap-dmtimer.txt4 - compatible: Shall contain "ti,omap-dmtimer-pwm".
12 - ti,clock-source: Set dmtimer parent clock, values between 0 and 2:
18 pwm9: dmtimer-pwm@9 {
19 compatible = "ti,omap-dmtimer-pwm";
/Linux-v6.1/Documentation/devicetree/bindings/media/
Dnokia,n900-ir9 pwm9: dmtimer-pwm@9 {
10 compatible = "ti,omap-dmtimer-pwm";
/Linux-v6.1/drivers/pwm/
Dpwm-omap-dmtimer.c44 #include <linux/platform_data/dmtimer-omap.h>
56 * corresponding to omap dmtimer.
343 "dmtimer pdata structure NULL, deferring probe\n"); in pwm_omap_dmtimer_probe()
363 dev_err(&pdev->dev, "Incomplete dmtimer pdata structure\n"); in pwm_omap_dmtimer_probe()
400 /* setup dmtimer clock source */ in pwm_omap_dmtimer_probe()
463 {.compatible = "ti,omap-dmtimer-pwm"},
470 .name = "omap-dmtimer-pwm",
DMakefile40 obj-$(CONFIG_PWM_OMAP_DMTIMER) += pwm-omap-dmtimer.o
DKconfig423 will be called pwm-omap-dmtimer
/Linux-v6.1/arch/arm/mach-omap1/
Dtimer.c20 #include <linux/platform_data/dmtimer-omap.h>
108 pr_err("%s: Failed to device alloc for dmtimer%d\n", in omap1_dm_timer_init()
Dpm.c623 pr_info("OMAP1 PM: sleep states in idle disabled due to no DMTIMER support\n"); in omap_pm_init()
/Linux-v6.1/drivers/remoteproc/
Domap_remoteproc.c37 #include <linux/platform_data/dmtimer-omap.h>
75 * @timer_ops: OMAP dmtimer ops for @odt timer
188 * Return: 0 on success, otherwise a failure as returned by DMTimer ops
205 * Return: 0 on success, otherwise a failure as returned by DMTimer ops
217 * with a remoteproc. The dmtimer will be available for other clients to
220 * Return: 0 on success, otherwise a failure as returned by DMTimer ops
235 * Return: irq id on success, otherwise a failure as returned by DMTimer ops
357 dev_err(dev, "dmtimer pdata structure NULL\n"); in omap_rproc_enable_timers()
/Linux-v6.1/arch/arm/boot/dts/
Dmotorola-mapphone-common.dtsi136 pwm8: dmtimer-pwm-8 {
140 compatible = "ti,omap-dmtimer-pwm";
146 pwm9: dmtimer-pwm-9 {
150 compatible = "ti,omap-dmtimer-pwm";
Dam3517-evm.dts153 pwm11: dmtimer-pwm@11 {
154 compatible = "ti,omap-dmtimer-pwm";
Dlogicpd-torpedo-baseboard.dtsi62 pwm10: dmtimer-pwm {
63 compatible = "ti,omap-dmtimer-pwm";
Dam335x-guardian.dts106 guardian_beeper: dmtimer-pwm@7 {
107 compatible = "ti,omap-dmtimer-pwm";
Domap3-gta04.dtsi150 pwm11: dmtimer-pwm {
151 compatible = "ti,omap-dmtimer-pwm";
Domap3-n900.dts159 pwm9: dmtimer-pwm {
160 compatible = "ti,omap-dmtimer-pwm";
/Linux-v6.1/include/linux/platform_data/
Ddmtimer-omap.h3 * DMTIMER platform data for TI OMAP platforms
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/
Dti,omap-remoteproc.yaml147 One or more phandles to OMAP DMTimer nodes, that serve
165 One or more phandles to OMAP DMTimer nodes, used to
/Linux-v6.1/include/clocksource/
Dtimer-ti-dm.h71 * used by dmtimer.c and sys_timer related code.