Directory Files
.. 6
File Size
.gitignore 57 B
Kconfig 6.4 kB
Makefile 8.8 kB
am33xx-restart.c 640 B
am33xx.h 522 B
board-generic.c 9.6 kB
board-n8x0.c 11 kB
clkt2xxx_dpll.c 1.3 kB
clkt2xxx_dpllcore.c 5.2 kB
clkt2xxx_virt_prcm_set.c 6.8 kB
clock.c 4.0 kB
clock.h 2.2 kB
clock2xxx.h 385 B
clockdomain.c 37 kB
clockdomain.h 9.9 kB
clockdomains2420_data.c 4.1 kB
clockdomains2430_data.c 5.0 kB
clockdomains2xxx_3xxx_data.c 2.7 kB
clockdomains33xx_data.c 5.1 kB
clockdomains3xxx_data.c 13 kB
clockdomains43xx_data.c 5.7 kB
clockdomains44xx_data.c 14 kB
clockdomains54xx_data.c 14 kB
clockdomains7xx_data.c 23 kB
clockdomains81xx_data.c 5.9 kB
cm-regbits-24xx.h 1.8 kB
cm-regbits-33xx.h 2.3 kB
cm-regbits-34xx.h 2.0 kB
cm-regbits-44xx.h 1.6 kB
cm-regbits-54xx.h 4.5 kB
cm-regbits-7xx.h 1.8 kB
cm.h 2.9 kB
cm1_44xx.h 1.4 kB
cm1_54xx.h 1.4 kB
cm1_7xx.h 2.1 kB
cm2_44xx.h 2.3 kB
cm2_54xx.h 2.3 kB
cm2_7xx.h 2.4 kB
cm2xxx.c 7.5 kB
cm2xxx.h 1.8 kB
cm2xxx_3xxx.h 2.8 kB
cm33xx.c 12 kB
cm33xx.h 3.9 kB
cm3xxx.c 22 kB
cm3xxx.h 2.3 kB
cm44xx.h 624 B
cm81xx.h 1.5 kB
cm_common.c 11 kB
cminst44xx.c 17 kB
common-board-devices.h 290 B
common.c 690 B
common.h 9.1 kB
control.c 24 kB
control.h 25 kB
cpuidle34xx.c 11 kB
cpuidle44xx.c 8.0 kB
ctrl_module_wkup_44xx.h 3.7 kB
devices.c 1.4 kB
display.c 9.6 kB
display.h 430 B
dma.c 7.4 kB
fb.c 2.9 kB
gpmc.h 291 B
hdq1w.c 1.8 kB
hdq1w.h 534 B
i2c.c 1.7 kB
i2c.h 304 B
id.c 18 kB
id.h 264 B
io.c 16 kB
iomap.h 10 kB
l3_2xxx.h 421 B
l3_3xxx.h 429 B
l4_2xxx.h 622 B
l4_3xxx.h 977 B
mcbsp.c 1.2 kB
mmc.h 357 B
msdi.c 2.0 kB
omap-headsmp.S 3.5 kB
omap-hotplug.c 1.5 kB
omap-iommu.c 3.0 kB
omap-mpuss-lowpower.c 14 kB
omap-secure.c 6.1 kB
omap-secure.h 2.8 kB
omap-smc.S 2.4 kB
omap-smp.c 12 kB
omap-wakeupgen.c 16 kB
omap-wakeupgen.h 1.0 kB
omap2-restart.c 1.5 kB
omap24xx.h 2.5 kB
omap3-restart.c 906 B
omap34xx.h 1.7 kB
omap4-common.c 8.7 kB
omap4-restart.c 652 B
omap4-sar-layout.h 2.4 kB
omap44xx.h 1.9 kB
omap54xx.h 1.4 kB
omap_device.c 16 kB
omap_device.h 2.3 kB
omap_hwmod.c 112 kB
omap_hwmod.h 26 kB
omap_hwmod_2420_data.c 9.9 kB
omap_hwmod_2430_data.c 15 kB
omap_hwmod_2xxx_3xxx_ipblock_data.c 1.6 kB
omap_hwmod_2xxx_interconnect_data.c 6.6 kB
omap_hwmod_2xxx_ipblock_data.c 15 kB
omap_hwmod_3xxx_data.c 66 kB
omap_hwmod_81xx_data.c 33 kB
omap_hwmod_common_data.c 2.4 kB
omap_hwmod_common_data.h 4.3 kB
omap_hwmod_common_ipblock_data.c 1.2 kB
omap_opp_data.h 3.0 kB
omap_phy_internal.c 1.3 kB
omap_twl.c 6.9 kB
opp2420_data.c 5.1 kB
opp2430_data.c 5.0 kB
opp2xxx.h 16 kB
opp3xxx_data.c 2.7 kB
opp4xxx_data.c 4.0 kB
pdata-quirks.c 16 kB
pm-asm-offsets.c 1.1 kB
pm-debug.c 5.1 kB
pm.c 3.1 kB
pm.h 3.6 kB
pm33xx-core.c 9.8 kB
pm34xx.c 15 kB
pm44xx.c 8.0 kB
pmic-cpcap.c 7.1 kB
powerdomain-common.c 3.0 kB
powerdomain.c 32 kB
powerdomain.h 11 kB
powerdomains2xxx_3xxx_data.c 1.8 kB
powerdomains2xxx_3xxx_data.h 450 B
powerdomains2xxx_data.c 2.9 kB
powerdomains33xx_data.c 5.3 kB
powerdomains3xxx_data.c 15 kB
powerdomains43xx_data.c 3.3 kB
powerdomains44xx_data.c 9.8 kB
powerdomains54xx_data.c 9.2 kB
powerdomains7xx_data.c 11 kB
prcm-common.h 20 kB
prcm43xx.h 2.1 kB
prcm44xx.h 1.4 kB
prcm_mpu44xx.c 1.1 kB
prcm_mpu44xx.h 4.4 kB
prcm_mpu54xx.h 3.2 kB
prcm_mpu7xx.h 2.8 kB
prcm_mpu_44xx_54xx.h 1.0 kB
prm-regbits-24xx.h 1.3 kB
prm-regbits-33xx.h 1.8 kB
prm-regbits-34xx.h 6.2 kB
prm-regbits-44xx.h 4.3 kB
prm.h 5.5 kB
prm2xxx.c 6.2 kB
prm2xxx.h 5.0 kB
prm2xxx_3xxx.c 6.9 kB
prm2xxx_3xxx.h 6.9 kB
prm33xx.c 11 kB
prm33xx.h 2.8 kB
prm3xxx.c 22 kB
prm3xxx.h 6.5 kB
prm44xx.c 24 kB
prm44xx.h 4.5 kB
prm44xx_54xx.h 1.1 kB
prm54xx.h 2.0 kB
prm7xx.h 2.2 kB
prm_common.c 21 kB
prminst44xx.c 5.9 kB
prminst44xx.h 1.3 kB
scrm44xx.h 985 B
sdrc.c 2.6 kB
sdrc.h 6.6 kB
sdrc2xxx.c 4.2 kB
sleep24xx.S 2.8 kB
sleep33xx.S 5.7 kB
sleep34xx.S 15 kB
sleep43xx.S 11 kB
sleep44xx.S 10 kB
smartreflex-class3.c 1.3 kB
soc.h 15 kB
sr_device.c 5.0 kB
sram.c 8.3 kB
sram.h 1.8 kB
sram242x.S 9.9 kB
sram243x.S 9.9 kB
ti81xx-restart.c 851 B
ti81xx.h 793 B
timer.c 4.5 kB
usb-tusb6010.c 5.1 kB
usb-tusb6010.h 326 B
vc.c 24 kB
vc.h 4.5 kB
vc3xxx_data.c 2.9 kB
vc44xx_data.c 3.8 kB
voltage.c 8.6 kB
voltage.h 5.1 kB
voltagedomains2xxx_data.c 550 B
voltagedomains3xxx_data.c 3.0 kB
voltagedomains44xx_data.c 3.4 kB
voltagedomains54xx_data.c 2.1 kB
vp.c 7.6 kB
vp.h 4.2 kB
vp3xxx_data.c 2.6 kB
vp44xx_data.c 3.2 kB
wd_timer.c 2.8 kB
wd_timer.h 338 B

Linux v6.6.1 - mach-omap2

# SPDX-License-Identifier: GPL-2.0-only
menu "TI OMAP/AM/DM/DRA Family"
	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7

config OMAP_HWMOD
	bool

config ARCH_OMAP2
	bool "TI OMAP2"
	depends on ARCH_MULTI_V6
	select ARCH_OMAP2PLUS
	select CPU_V6
	select OMAP_HWMOD
	select SOC_HAS_OMAP2_SDRC

config ARCH_OMAP3
	bool "TI OMAP3"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_CPU_SUSPEND
	select OMAP_HWMOD
	select OMAP_INTERCONNECT
	select PM_OPP
	select SOC_HAS_OMAP2_SDRC
	select ARM_ERRATA_430973

config ARCH_OMAP4
	bool "TI OMAP4"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
	select ARM_CPU_SUSPEND
	select ARM_ERRATA_720789
	select ARM_GIC
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if SMP
	select OMAP_INTERCONNECT
	select OMAP_INTERCONNECT_BARRIER
	select PL310_ERRATA_588369 if CACHE_L2X0
	select PL310_ERRATA_727915 if CACHE_L2X0
	select PM_OPP
	select PM if CPU_IDLE
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
	select OMAP_INTERCONNECT

config SOC_OMAP5
	bool "TI OMAP5"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_CPU_SUSPEND
	select ARM_GIC
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_ARCH_TIMER
	select ARM_ERRATA_798181 if SMP
	select OMAP_INTERCONNECT
	select OMAP_INTERCONNECT_BARRIER
	select PM_OPP
	select ZONE_DMA if ARM_LPAE

config SOC_AM33XX
	bool "TI AM33XX"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_CPU_SUSPEND

config SOC_AM43XX
	bool "TI AM43x"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_GIC
	select MACH_OMAP_GENERIC
	select HAVE_ARM_SCU
	select GENERIC_CLOCKEVENTS_BROADCAST
	select HAVE_ARM_TWD
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
	select OMAP_INTERCONNECT
	select ARM_CPU_SUSPEND

config SOC_DRA7XX
	bool "TI DRA7XX"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_CPU_SUSPEND
	select ARM_GIC
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_ARCH_TIMER
	select IRQ_CROSSBAR
	select ARM_ERRATA_798181 if SMP
	select OMAP_INTERCONNECT
	select OMAP_INTERCONNECT_BARRIER
	select PM_OPP
	select ZONE_DMA if ARM_LPAE
	select PINCTRL_TI_IODELAY if OF && PINCTRL

config ARCH_OMAP2PLUS
	bool
	select ARCH_HAS_BANDGAP
	select ARCH_HAS_RESET_CONTROLLER
	select ARCH_OMAP
	select CLKSRC_MMIO
	select GENERIC_IRQ_CHIP
	select GPIOLIB
	select MACH_OMAP_GENERIC
	select MEMORY
	select MFD_SYSCON
	select OMAP_DM_SYSTIMER
	select OMAP_DM_TIMER
	select OMAP_GPMC
	select PINCTRL
	select PM
	select PM_GENERIC_DOMAINS
	select PM_GENERIC_DOMAINS_OF
	select RESET_CONTROLLER
	select SOC_BUS
	select TI_SYSC
	select OMAP_IRQCHIP
	select CLKSRC_TI_32K
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5

config OMAP_INTERCONNECT_BARRIER
	bool
	select ARM_HEAVY_MB

config ARCH_OMAP
	bool

if ARCH_OMAP2PLUS

menu "TI OMAP2/3/4 Specific Features"

config ARCH_OMAP2PLUS_TYPICAL
	bool "Typical OMAP configuration"
	default y
	select AEABI
	select HIGHMEM
	select I2C
	select I2C_OMAP
	select MENELAUS if ARCH_OMAP2
	select NEON if CPU_V7
	select REGULATOR
	select REGULATOR_FIXED_VOLTAGE
	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
	select VFP
	help
	  Compile a kernel suitable for booting most boards

config SOC_HAS_OMAP2_SDRC
	bool "OMAP2 SDRAM Controller support"

config SOC_HAS_REALTIME_COUNTER
	bool "Real time free running counter"
	depends on SOC_OMAP5 || SOC_DRA7XX
	default y

config POWER_AVS_OMAP
	bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2"
	depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
	select POWER_SUPPLY
	help
	  Say Y to enable AVS(Adaptive Voltage Scaling)
	  support on OMAP containing the version 1 or
	  version 2 of the SmartReflex IP.
	  V1 is the 65nm version used in OMAP3430.
	  V2 is the update for the 45nm version of the IP used in OMAP3630
	  and OMAP4430

	  Please note, that by default SmartReflex is only
	  initialized and not enabled. To enable the automatic voltage
	  compensation for vdd mpu and vdd core from user space,
	  user must write 1 to
		/debug/smartreflex/sr_<X>/autocomp,
	  where X is mpu_iva or core for OMAP3.
	  Optionally autocompensation can be enabled in the kernel
	  by default during system init via the enable_on_init flag
	  which an be passed as platform data to the smartreflex driver.

config POWER_AVS_OMAP_CLASS3
	bool "Class 3 mode of Smartreflex Implementation"
	depends on POWER_AVS_OMAP && TWL4030_CORE
	help
	  Say Y to enable Class 3 implementation of Smartreflex

	  Class 3 implementation of Smartreflex employs continuous hardware
	  voltage calibration.

config OMAP3_L2_AUX_SECURE_SAVE_RESTORE
	bool "OMAP3 HS/EMU save and restore for L2 AUX control register"
	depends on ARCH_OMAP3 && PM
	help
	  Without this option, L2 Auxiliary control register contents are
	  lost during off-mode entry on HS/EMU devices. This feature
	  requires support from PPA / boot-loader in HS/EMU devices, which
	  currently does not exist by default.

config OMAP3_L2_AUX_SECURE_SERVICE_SET_ID
	int "Service ID for the support routine to set L2 AUX control"
	depends on OMAP3_L2_AUX_SECURE_SAVE_RESTORE
	default 43
	help
	  PPA routine service ID for setting L2 auxiliary control register.

comment "OMAP Core Type"
	depends on ARCH_OMAP2

config SOC_OMAP2420
	bool "OMAP2420 support"
	depends on ARCH_OMAP2
	default y
	select OMAP_DM_SYSTIMER
	select OMAP_DM_TIMER
	select SOC_HAS_OMAP2_SDRC

config SOC_OMAP2430
	bool "OMAP2430 support"
	depends on ARCH_OMAP2
	default y
	select SOC_HAS_OMAP2_SDRC

config SOC_OMAP3430
	bool "OMAP3430 support"
	depends on ARCH_OMAP3
	default y
	select SOC_HAS_OMAP2_SDRC

config SOC_TI81XX
	bool "TI81XX support"
	depends on ARCH_OMAP3
	default y

comment "OMAP Legacy Platform Data Board Type"
	depends on ARCH_OMAP2PLUS

config MACH_OMAP_GENERIC
	bool

config MACH_OMAP2_TUSB6010
	bool
	depends on ARCH_OMAP2 && SOC_OMAP2420
	default y if MACH_NOKIA_N8X0

config MACH_NOKIA_N810
	bool

config MACH_NOKIA_N810_WIMAX
	bool

config MACH_NOKIA_N8X0
	bool "Nokia N800/N810"
	depends on SOC_OMAP2420
	default y
	select MACH_NOKIA_N810
	select MACH_NOKIA_N810_WIMAX

endmenu

endif

config OMAP5_ERRATA_801819
	bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
	depends on SOC_OMAP5 || SOC_DRA7XX
	help
	  A livelock can occur in the L2 cache arbitration that might prevent
	  a snoop from completing. Under certain conditions this can cause the
	  system to deadlock.

endmenu