linux-bl808/arch/arm/mach-omap2
Tony Lindgren 83bd18b466 ARM: dts: Configure system timers for ti81xx
We can now init system timers using the dmtimer and 32k counter
based on only devicetree data and drivers/clocksource timers.
Let's configure the clocksource and clockevent, and drop the old
unused platform data.

As we're just dropping platform data, and the early platform data
init is based on the custom ti,hwmods property, we want to drop
both the platform data and ti,hwmods property in a single patch.

Since the dmtimer can use both 32k clock and system clock as the
source, let's also configure the SoC specific default values. The
board specific dts files can reconfigure these with assigned-clocks
and assigned-clock-parents as needed.

Note that for ti81xx, also timer1 is of type 2 unlike on am335x
where timer1 is type1 while the rest of the timers are type 2.

Cc: devicetree@vger.kernel.org
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: Graeme Smecher <gsmecher@threespeedlogic.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2020-05-19 09:38:04 -07:00
..
include/mach
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
am33xx-restart.c
am33xx.h
board-generic.c ARM: dts: Configure system timers for ti81xx 2020-05-19 09:38:04 -07:00
board-n8x0.c
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_virt_prcm_set.c
clock.c
clock.h
clock2xxx.h
clock3xxx.h
clockdomain.c
clockdomain.h
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c
clockdomains7xx_data.c
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains81xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm-regbits-7xx.h
cm-regbits-24xx.h
cm-regbits-33xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx.c
cm2xxx.h
cm2xxx_3xxx.h
cm3xxx.c
cm3xxx.h
cm33xx.c
cm33xx.h
cm44xx.h
cm81xx.h
cm_common.c
cminst44xx.c
common-board-devices.h
common.c
common.h
control.c
control.h
cpuidle34xx.c ARM: OMAP2+: Handle errors for cpu_pm 2020-03-09 10:24:01 +01:00
cpuidle44xx.c ARM: OMAP2+: Handle errors for cpu_pm 2020-03-09 10:24:01 +01:00
ctrl_module_wkup_44xx.h
devices.c
display.c
display.h
dma.c
fb.c
gpmc.h
hdq1w.c
hdq1w.h
i2c.c
i2c.h
id.c
id.h
io.c ARM: OMAP2+: Fix compile if CONFIG_HAVE_ARM_SMCCC is not set 2020-02-26 10:49:25 -08:00
iomap.h
Kconfig
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
Makefile ARM: OMAP2+: Fix compile if CONFIG_HAVE_ARM_SMCCC is not set 2020-02-26 10:49:25 -08:00
mcbsp.c
mmc.h
msdi.c
omap-headsmp.S
omap-hotplug.c
omap-iommu.c
omap-mpuss-lowpower.c
omap-secure.c change email address for Pali Rohár 2020-04-10 15:36:22 -07:00
omap-secure.h change email address for Pali Rohár 2020-04-10 15:36:22 -07:00
omap-smc.S change email address for Pali Rohár 2020-04-10 15:36:22 -07:00
omap-smp.c
omap-wakeupgen.c
omap-wakeupgen.h
omap2-restart.c
omap3-restart.c
omap4-common.c
omap4-restart.c
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c
omap_device.h
omap_hwmod.c
omap_hwmod.h
omap_hwmod_2xxx_3xxx_ipblock_data.c
omap_hwmod_2xxx_interconnect_data.c
omap_hwmod_2xxx_ipblock_data.c
omap_hwmod_3xxx_data.c ARM: dts: Configure system timers for omap3 2020-05-19 09:38:04 -07:00
omap_hwmod_7xx_data.c ARM: dts: Configure system timers for omap5 and dra7 2020-05-19 09:38:04 -07:00
omap_hwmod_33xx_43xx_common_data.h ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_33xx_43xx_interconnect_data.c ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_33xx_43xx_ipblock_data.c ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_33xx_data.c ARM: dts: Configure system timers for am335x 2020-05-19 09:38:03 -07:00
omap_hwmod_43xx_data.c ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_44xx_data.c ARM: dts: Configure system timers for omap4 2020-05-19 09:38:04 -07:00
omap_hwmod_54xx_data.c ARM: dts: Configure system timers for omap5 and dra7 2020-05-19 09:38:04 -07:00
omap_hwmod_81xx_data.c ARM: dts: Configure system timers for ti81xx 2020-05-19 09:38:04 -07:00
omap_hwmod_2420_data.c
omap_hwmod_2430_data.c
omap_hwmod_common_data.c
omap_hwmod_common_data.h
omap_hwmod_common_ipblock_data.c
omap_hwmod_reset.c
omap_opp_data.h
omap_phy_internal.c
omap_twl.c
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
pdata-quirks.c bus: ti-sysc: Implement SoC revision handling 2020-02-26 10:03:35 -08:00
pm-asm-offsets.c
pm-debug.c
pm.c
pm.h
pm24xx.c
pm33xx-core.c ARM: OMAP2+: pm33xx-core: Extend platform_data ops for cpuidle 2020-02-27 09:27:27 -08:00
pm34xx.c ARM: OMAP2+: Handle errors for cpu_pm 2020-03-09 10:24:01 +01:00
pm44xx.c
pmic-cpcap.c
powerdomain-common.c
powerdomain.c
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains7xx_data.c
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c
prcm-common.h
prcm43xx.h
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prm2xxx.c
prm2xxx.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm3xxx.c
prm3xxx.h
prm7xx.h
prm33xx.c
prm33xx.h
prm44xx.c
prm44xx.h
prm44xx_54xx.h
prm54xx.h
prm_common.c
prminst44xx.c
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdrc.c
sdrc.h
sdrc2xxx.c
serial.h
sleep24xx.S
sleep33xx.S
sleep34xx.S
sleep43xx.S
sleep44xx.S
smartreflex-class3.c
soc.h
sr_device.c
sram.c
sram.h
sram242x.S
sram243x.S
ti81xx-restart.c
ti81xx.h
timer.c ARM: dts: Configure system timers for omap5 and dra7 2020-05-19 09:38:04 -07:00
usb-tusb6010.c
usb.h
vc.c
vc.h
vc3xxx_data.c
vc44xx_data.c
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp.c
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c
wd_timer.h