linux_dsm_epyc7002/arch/arm/mach-omap2
Benoit Cousson d0f0631ddc OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros
The CLKCTRL register was accessed using an absolute address.
The usage of hardcoded macros to calculate virtual address from physical
one should be avoided as much as possible.
The usage of a offset will allow future improvement like migration from
the current architecture code toward a module driver.

Update cm_xxx accessor, move definition to the proper header file and
update copyrights.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Todd Poynor <toddpoynor@google.com>
[paul@pwsan.com: renamed 'omap4_cm_' fns to 'omap4_cminst_'; removed empty
 fn prototype section from cm44xx.h; incorporated comments from Todd;
 documented some functions]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-07-10 05:56:30 -06:00
..
include/mach Merge branch 'for-paul' of git://gitorious.org/linux-omap-dss2/linux 2011-05-24 15:35:54 +09:00
board-2430sdp.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-3430sdp.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-3630sdp.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-4430sdp.c OMAP4: Move common twl6030 configuration to twl-common 2011-07-04 18:43:33 +03:00
board-am3517crane.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-am3517evm.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-apollon.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-cm-t35.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-cm-t3517.c Merge branch 'devel-timer' into devel-cleanup 2011-06-29 03:35:18 -07:00
board-devkit8000.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-flash.c omap: cleanup NAND platform data 2011-06-29 01:11:37 -07:00
board-flash.h
board-generic.c omap2+: fix build regression 2011-06-30 12:58:01 +00:00
board-h4.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-igep0020.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-ldp.c OMAP3: Move common twl configuration to twl-common 2011-07-04 18:43:38 +03:00
board-n8x0.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-omap3beagle.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-omap3evm.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-omap3logic.c Merge branch 'devel-timer' into devel-cleanup 2011-06-29 03:35:18 -07:00
board-omap3pandora.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-omap3stalker.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-omap3touchbook.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-omap4panda.c OMAP4: Move common twl6030 configuration to twl-common 2011-07-04 18:43:33 +03:00
board-overo.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-rm680.c OMAP3: Move common twl configuration to twl-common 2011-07-04 18:43:38 +03:00
board-rx51-peripherals.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-rx51-video.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-05-26 12:11:54 -07:00
board-rx51.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-ti8168evm.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
board-zoom-debugboard.c arm: omap2plus: GPIO cleanup 2011-05-12 02:52:06 -07:00
board-zoom-display.c OMAP2+: Fix 9 section mismatch(es) warnings from mach-omap2/built-in.o 2011-05-31 06:17:02 -07:00
board-zoom-peripherals.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
board-zoom.c omap: Set separate timer init functions to avoid cpu_is_omap tests 2011-06-20 01:25:39 -07:00
clkt2xxx_apll.c
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_osc.c
clkt2xxx_sys.c
clkt2xxx_virt_prcm_set.c
clkt34xx_dpll3m2.c OMAP3: set the core dpll clk rate in its set_rate function 2011-05-13 07:08:18 -07:00
clkt_clksel.c
clkt_dpll.c
clkt_iclk.c
clock2xxx.c
clock2xxx.h
clock3xxx_data.c Merge branch 'for-paul' of git://gitorious.org/linux-omap-dss2/linux 2011-03-22 14:27:36 +09:00
clock3xxx.c
clock3xxx.h
clock34xx.c
clock34xx.h
clock36xx.c
clock36xx.h
clock44xx_data.c Merge branches 'powerdomain_fixes_3.1', 'hardware_workarounds_3.1', 'hwmod_dss_fix_3.1' and 'i2c_fixes_3.1' into prcm-fixes-3.1 2011-07-10 05:44:23 -06:00
clock44xx.h OMAP4: clock data: Fix max mult and div for USB DPLL 2011-07-09 19:14:46 -06:00
clock2420_data.c Merge branch 'for-paul' of git://gitorious.org/linux-omap-dss2/linux 2011-03-22 14:27:36 +09:00
clock2430_data.c Merge branch 'for-paul' of git://gitorious.org/linux-omap-dss2/linux 2011-03-22 14:27:36 +09:00
clock2430.c
clock3517.c
clock3517.h
clock_common_data.c
clock.c
clock.h
clockdomain2xxx_3xxx.c
clockdomain44xx.c
clockdomain.c Fix common misspellings 2011-03-31 11:26:23 -03:00
clockdomain.h Fix common misspellings 2011-03-31 11:26:23 -03:00
clockdomains2xxx_3xxx_data.c
clockdomains44xx_data.c OMAP4: hwmod data: Add clock domain attribute 2011-07-10 05:56:29 -06:00
cm1_44xx.h OMAP4: cm: Remove RESTORE macros to avoid access from SW 2011-07-09 19:15:05 -06:00
cm2_44xx.h OMAP4: cm: Remove RESTORE macros to avoid access from SW 2011-07-09 19:15:05 -06:00
cm2xxx_3xxx.c OMAP3: PM: Do not rely on ROM code to restore CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL 2011-04-20 12:43:56 -06:00
cm2xxx_3xxx.h
cm44xx.c
cm44xx.h OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros 2011-07-10 05:56:30 -06:00
cm-regbits-24xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h OMAP4: cm: Remove RESTORE macros to avoid access from SW 2011-07-09 19:15:05 -06:00
cm.h
cminst44xx.c OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros 2011-07-10 05:56:30 -06:00
cminst44xx.h OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros 2011-07-10 05:56:30 -06:00
common-board-devices.c OMAP: New twl-common for common TWL configuration 2011-07-04 18:43:27 +03:00
common-board-devices.h OMAP: New twl-common for common TWL configuration 2011-07-04 18:43:27 +03:00
common.c
control.c OMAP3: PM: Do not rely on ROM code to restore CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL 2011-04-20 12:43:56 -06:00
control.h treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
cpuidle34xx.c OMAP3: cpuidle: change the power domains modes determination logic 2011-05-20 17:15:54 +02:00
devices.c OMAP4: fix return value of omap4_l3_init 2011-06-01 02:25:04 -07:00
devices.h [media] omap3: Add function to register omap3isp platform device structure 2011-03-22 04:53:42 -03:00
display.c OMAP2PLUS: DSS2: Clean up omap_display_init() 2011-05-11 14:20:11 +03:00
dma.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dpll3xxx.c
dpll44xx.c
dsp.c
emu.c
gpio.c Fix common misspellings 2011-03-31 11:26:23 -03:00
gpmc-nand.c omap: cleanup NAND platform data 2011-06-29 01:11:37 -07:00
gpmc-onenand.c
gpmc-smc91x.c arm: omap2plus: GPIO cleanup 2011-05-12 02:52:06 -07:00
gpmc-smsc911x.c arm: omap2plus: GPIO cleanup 2011-05-12 02:52:06 -07:00
gpmc.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
hsmmc.c ARM: OMAP4: MMC: increase delay for pbias 2011-06-01 04:48:15 -07:00
hsmmc.h ARM: OMAP4: MMC: no regulator off during probe for eMMC 2011-06-01 02:25:04 -07:00
hwspinlock.c
i2c.c OMAP: hwmod: fix the i2c-reset timeout during bootup 2011-07-10 05:27:16 -06:00
id.c
io.c omap: Use separate init_irq functions to avoid cpu_is_omap tests early 2011-06-16 05:42:09 -07:00
io.h
iommu2.c
irq.c omap: Use separate init_irq functions to avoid cpu_is_omap tests early 2011-06-16 05:42:09 -07:00
Kconfig omap: drop board-igep0030.c 2011-05-17 03:31:24 -07:00
mailbox.c
Makefile omap_hwmod: share identical omap_hwmod_mpu_irqs arrays 2011-07-09 19:14:07 -06:00
Makefile.boot
mcbsp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mux34xx.c
mux34xx.h
mux44xx.c ARM: omap4: Pass core and wakeup mux tables to omap4_mux_init 2011-06-01 02:25:04 -07:00
mux44xx.h
mux2420.c
mux2420.h
mux2430.c
mux2430.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mux.c ARM: omap2+: mux: Allow board mux settings to be NULL 2011-06-01 02:25:04 -07:00
mux.h ARM: omap4: Pass core and wakeup mux tables to omap4_mux_init 2011-06-01 02:25:04 -07:00
omap4-common.c omap: Use separate init_irq functions to avoid cpu_is_omap tests early 2011-06-16 05:42:09 -07:00
omap44xx-smc.S
omap_hwmod_2xxx_3xxx_interconnect_data.c omap_hwmod: share identical omap_hwmod_addr_space arrays 2011-07-09 19:14:06 -06:00
omap_hwmod_2xxx_3xxx_ipblock_data.c omap_hwmod: share identical omap_hwmod_class, omap_hwmod_class_sysconfig arrays 2011-07-09 19:14:08 -06:00
omap_hwmod_2xxx_interconnect_data.c omap_hwmod: share identical omap_hwmod_addr_space arrays 2011-07-09 19:14:06 -06:00
omap_hwmod_2xxx_ipblock_data.c omap_hwmod: share identical omap_hwmod_class, omap_hwmod_class_sysconfig arrays 2011-07-09 19:14:08 -06:00
omap_hwmod_3xxx_data.c OMAP: hwmod: fix the i2c-reset timeout during bootup 2011-07-10 05:27:16 -06:00
omap_hwmod_44xx_data.c OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros 2011-07-10 05:56:30 -06:00
omap_hwmod_2420_data.c OMAP: hwmod: fix the i2c-reset timeout during bootup 2011-07-10 05:27:16 -06:00
omap_hwmod_2430_data.c OMAP: hwmod: fix the i2c-reset timeout during bootup 2011-07-10 05:27:16 -06:00
omap_hwmod_common_data.c omap_hwmod: share identical omap_hwmod_dma_info arrays 2011-07-09 19:14:07 -06:00
omap_hwmod_common_data.h omap_hwmod: share identical omap_hwmod_class, omap_hwmod_class_sysconfig arrays 2011-07-09 19:14:08 -06:00
omap_hwmod.c OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros 2011-07-10 05:56:30 -06:00
omap_l3_noc.c OMAP3/4: l3: minor cleanup for parenthesis and extra spaces 2011-05-03 02:38:01 -07:00
omap_l3_noc.h
omap_l3_smx.c Merge branches 'devel-fixes', 'devel-cleanup' and 'devel-genirq' into for-next 2011-05-17 03:44:50 -07:00
omap_l3_smx.h
omap_opp_data.h
omap_phy_internal.c ARM: OMAP2: Add missing iounmap in omap4430_phy_init 2011-06-01 02:25:04 -07:00
omap_twl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
omap-headsmp.S
omap-hotplug.c
omap-iommu.c
omap-smp.c ARM: consolidate SMP cross call implementation 2011-05-23 16:53:17 +01:00
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
opp.c
pm24xx.c OMAP2: PM debug: remove register dumping 2011-06-20 14:12:32 -07:00
pm34xx.c Merge branch 'for_3.1/pm-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into devel-cleanup 2011-06-29 04:45:16 -07:00
pm44xx.c OMAP4: PM: remove redundant #ifdef CONFIG_PM 2011-05-03 02:38:03 -07:00
pm-debug.c Merge branch 'for_3.1/pm-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into devel-cleanup 2011-06-29 04:45:16 -07:00
pm.c OMAP2+: PM: Initialise sleep_switch to a non-valid value 2011-07-09 20:42:11 -06:00
pm.h Merge branch 'for_3.1/pm-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into devel-cleanup 2011-06-29 04:45:16 -07:00
powerdomain2xxx_3xxx.c
powerdomain44xx.c
powerdomain-common.c
powerdomain.c Fix common misspellings 2011-03-31 11:26:23 -03:00
powerdomain.h Fix common misspellings 2011-03-31 11:26:23 -03:00
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c Fix common misspellings 2011-03-31 11:26:23 -03:00
powerdomains44xx_data.c Merge branches 'powerdomain_fixes_3.1', 'hardware_workarounds_3.1', 'hwmod_dss_fix_3.1' and 'i2c_fixes_3.1' into prcm-fixes-3.1 2011-07-10 05:44:23 -06:00
prcm44xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h OMAP4: prcm_mpu: Fix indent in few macros 2011-07-09 19:15:06 -06:00
prcm-common.h
prcm.c
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm44xx.c
prm44xx.h OMAP4: prm: Remove wrong clockdomain offsets 2011-07-09 19:15:04 -06:00
prm-regbits-24xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prminst44xx.c
prminst44xx.h
scrm44xx.h
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-nokia.c
sdram-nokia.h
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc2xxx.c
sdrc.c
sdrc.h
serial.c
sleep24xx.S
sleep34xx.S
smartreflex-class3.c
smartreflex.c OMAP3+: SR: fix cosmetic indentation 2011-06-20 14:12:31 -07:00
smartreflex.h
sr_device.c
sram34xx.S
sram242x.S
sram243x.S
timer-mpu.c
timer.c omap2+: Rename timer-gp.c into timer.c to combine timer init functions 2011-06-27 12:14:02 -07:00
twl-common.c OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
twl-common.h OMAP3: Move common regulator configuration to twl-common 2011-07-04 18:43:43 +03:00
usb-fs.c
usb-host.c
usb-musb.c Merge branch 'for-tony' of master.kernel.org:/pub/scm/linux/kernel/git/balbi/usb into omap-for-linus 2011-05-24 00:04:49 -07:00
usb-tusb6010.c arm: omap2plus: GPIO cleanup 2011-05-12 02:52:06 -07:00
vc3xxx_data.c
vc44xx_data.c
vc.h
voltage.c Merge branches 'devel-fixes', 'devel-cleanup' and 'devel-genirq' into for-next 2011-05-17 03:44:50 -07:00
voltage.h
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
vp3xxx_data.c
vp44xx_data.c
vp.h
wd_timer.c
wd_timer.h