aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/bcm47xx/time.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-01MIPS: BCM47XX: Fix coding style to match kernel standardsRafał Miłecki1-1/+0
[[email protected]: Fixed conflicts.] Signed-off-by: Rafał Miłecki <[email protected]> Acked-by: Hauke Mehrtens <[email protected]> Cc: [email protected] Cc: Paul Walmsley <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/8665/ Signed-off-by: Ralf Baechle <[email protected]>
2015-04-01MIPS: BCM47xx: Move NVRAM header to the include/linux/.Rafał Miłecki1-1/+0
There are two reasons for having this header in the common place: 1) Simplifying drivers that read NVRAM entries. We will be able to safely call bcm47xx_nvram_* functions without #ifdef-s. 2) Getting NVRAM driver out of MIPS arch code. This is needed to support BCM5301X arch which also requires this NVRAM driver. Patch for that will follow once we get is reviewed. Signed-off-by: Rafał Miłecki <[email protected]> Acked-by: Hauke Mehrtens <[email protected]> Cc: [email protected] Cc: Arnd Bergmann <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/8619/ Signed-off-by: Ralf Baechle <[email protected]>
2013-10-29MIPS: BCM47XX: Fix detected clock on Asus WL520GC and WL520GUHauke Mehrtens1-0/+11
The Asus WL520GC and WL520GU are based on the BCM5354 and clocked at 200MHz, but they do not have a clkfreq nvram variable set to the correct value. This adds a workaround for these devices. Signed-off-by: Hauke Mehrtens <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/5843/ Signed-off-by: Ralf Baechle <[email protected]>
2013-10-29MIPS: BCM47XX: Fix clock detection for BCM5354 with 200MHz clockHauke Mehrtens1-0/+12
Some BCM5354 SoCs are running at 200MHz, but it is not possible to read the clock from a register like it is done on some other SoC in ssb and bcma. These devices should have a clkfreq nvram configuration value set to 200, read it and set the clock to the correct value. Signed-off-by: Hauke Mehrtens <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/5842/ Signed-off-by: Ralf Baechle <[email protected]>
2011-08-08bcm47xx: add support for bcma busHauke Mehrtens1-0/+5
This patch add support for the bcma bus. Broadcom uses only Mips 74K CPUs on the new SoC and on the old ons using ssb bus there are no Mips 74K CPUs. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: Ralf Baechle <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-08-08bcm47xx: make it possible to build bcm47xx without ssb.Hauke Mehrtens1-0/+2
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: Ralf Baechle <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2011-08-08bcm47xx: prepare to support different busesHauke Mehrtens1-2/+7
Prepare bcm47xx to support different System buses. Before adding support for bcma it should be possible to build bcm47xx without the need of ssb. With this patch bcm47xx does not directly contain a ssb_bus, but a union contain all the supported system buses. As a SoC just uses one system bus a union is a good choice. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: Ralf Baechle <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-10-19[MIPS] Kill duplicated setup_irq() for cp0 timerAtsushi Nemoto1-7/+0
Also many plat_timer_setup() can be killed too. Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2007-10-11[MIPS] Deforest the function pointer jungle in the time code.Ralf Baechle1-2/+1
Hard to follow who is pointing what to where and why so it's simply getting in the way of the time code renovation. Signed-off-by: Ralf Baechle <[email protected]>
2007-10-11[MIPS] Add support for BCM47XX CPUs.Aurelien Jarno1-0/+56
Note that the BCM4710 does not support the wait instruction, this is not a mistake in the code. It originally comes from the OpenWrt patches. Cc: Michael Buesch <[email protected]> Cc: Felix Fietkau <[email protected]> Cc: Florian Schirmer <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>