22 Dec, 2011
1 commit
-
The sysdev.h file should not be needed by any in-kernel code, so remove
the .h file from these random files that seem to still want to include
it.The sysdev code will be going away soon, so this include needs to be
removed no matter what.Cc: Jiandong Zheng
Cc: Scott Branden
Cc: Russell King
Cc: Kukjin Kim
Cc: David Brown
Cc: Daniel Walker
Cc: Bryan Huntsman
Cc: Ben Dooks
Cc: Wan ZongShun
Cc: Haavard Skinnemoen
Cc: Hans-Christian Egtvedt
Cc: Guan Xuetao
Cc: "Venkatesh Pallipadi
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: Grant Likely
Cc: Richard Purdie
Cc: Matthew Garrett
Signed-off-by: Kay Sievers
17 Oct, 2011
1 commit
-
Get rid of the mdesc pointer in the fixup function call. No one uses
the mdesc pointer, it shouldn't be modified anyway, and we can't wrap
it, so let's remove it.Platform files found by:
$ regexp=$(git grep -h '\.fixup.*=' arch/arm |
sed 's!.*= *\([^,]*\),* *!\1!' | sort -u |
tr '\n' '|' | sed 's,|$,,;s,|,\\|,g')
$ git grep $regexp arch/armAcked-by: Nicolas Pitre
Signed-off-by: Russell King
24 May, 2011
4 commits
-
… 'consolidate-smp', 'consolidate-stmp' and 'consolidate-zones' into consolidate
-
This allows platforms to specify the clcokevent name upon registration.
Acked-by: Catalin Marinas
Signed-off-by: Russell King -
This allows platforms to specify the rate of the SP804 clocksource via
the clk subsystem. While ARM boards clock these at 1MHz, BCMRing also
has SP804 timers but are clocked at different rates.Acked-by: Catalin Marinas
Signed-off-by: Russell King -
This allows platforms to specify the clocksource name upon
registration, which is necessary should they wish to register more
than one sp804 clocksource.Acked-by: Catalin Marinas
Signed-off-by: Russell King
21 May, 2011
2 commits
-
The set_vpp() method provided by physmap passes a map_info back to
the platform code, which has little relevance as far as the platform
is concerned (this parameter is completely unused).Instead, pass the platform_device, which can be used in the pismo
driver to retrieve some important information in a nicer way, instead
of the hack that was in place.The empty set_vpp function in board-at572d940hf_ek.c is left untouched,
as the board/SoC is scheduled for removal.Cc: Andrew Victor
Cc: Nicolas Ferre
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: Philipp Zabel
Cc: Eric Miao
Cc: Ben Dooks
Acked-by: Artem Bityutskiy
Acked-by: David Woodhouse
Signed-off-by: Marc Zyngier
Signed-off-by: Russell King -
Tested on a PB11-MPCore.
Signed-off-by: Marc Zyngier
Acked-by: Catalin Marinas
Acked-by: David Woodhouse
Signed-off-by: Russell King
12 May, 2011
1 commit
-
Rather than each platform providing its own function to adjust the
zone sizes, use the new ARM_DMA_ZONE_SIZE definition to perform this
adjustment. This ensures that the actual DMA zone size and the
ISA_DMA_THRESHOLD/MAX_DMA_ADDRESS definitions are consistent with
each other, and moves this complexity out of the platform code.Acked-by: Nicolas Pitre
Acked-by: Catalin Marinas
Signed-off-by: Russell King
19 Feb, 2011
2 commits
-
Initialize the clock tree and our sched_clock() early.
Acked-by: Catalin Marinas
Signed-off-by: Russell King -
This switches Realview platforms to use the consolidated CLCD panel
support, including the display capabilities. As Realview uses a PL111,
it can support the full range of pixel formats - 444, 5551, 565 in both
RGB and BGR mode.Acked-by: Catalin Marinas
Signed-off-by: Russell King
07 Jan, 2011
1 commit
-
Conflicts:
arch/arm/Kconfig
arch/arm/common/Makefile
arch/arm/kernel/Makefile
arch/arm/kernel/smp.c
06 Jan, 2011
2 commits
-
Conflicts:
arch/arm/mach-vexpress/v2m.c
arch/arm/plat-omap/counter_32k.c
arch/arm/plat-versatile/Makefile
23 Dec, 2010
1 commit
-
Convert versatile platforms to use the new sched_clock() infrastructure
for extending 32bit counters to full 64-bit nanoseconds.Tested-by: Will Deacon
Signed-off-by: Russell King
15 Dec, 2010
1 commit
-
Every architecture using the GIC has a gic_cpu_base_addr pointer for
GIC 0 for their entry assembly code to use to decode the cause of the
current interrupt. Move this into the common GIC code.Reviewed-by: Catalin Marinas
Tested-by: Abhijeet Dharmapurikar
Signed-off-by: Russell King
26 Nov, 2010
1 commit
-
factorise some generic infrastructure to assist looking up struct clks
for the ARM & SH architecture.as the code is identical at 99%
put the arch specific code for allocation as example in asm/clkdev.h
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Paul Mundt
Signed-off-by: Russell King
04 Nov, 2010
1 commit
-
From: Rob Herring
The timer-sp h/w used on versatile platforms can also be used for other
platforms, so move it to a common location.Signed-off-by: Rob Herring
Signed-off-by: Russell King
27 Aug, 2010
1 commit
-
On some platforms, the GPIO value from the gpio_cd pin doesn't need to
be inverted to get it active high. Add a cd_invert platform data
parameter and change existing platforms using GPIO for CD (only
Realview) to enable it.Acked-by: Linus Walleij
Signed-off-by: Rabin Vincent
Signed-off-by: Russell King
04 Aug, 2010
1 commit
-
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (291 commits)
ARM: AMBA: Add pclk support to AMBA bus infrastructure
ARM: 6278/2: fix regression in RealView after the introduction of pclk
ARM: 6277/1: mach-shmobile: Allow users to select HZ, default to 128
ARM: 6276/1: mach-shmobile: remove duplicate NR_IRQS_LEGACY
ARM: 6246/1: mmci: support larger MMCIDATALENGTH register
ARM: 6245/1: mmci: enable hardware flow control on Ux500 variants
ARM: 6244/1: mmci: add variant data and default MCICLOCK support
ARM: 6243/1: mmci: pass power_mode to the translate_vdd callback
ARM: 6274/1: add global control registers definition header file for nuc900
mx2_camera: fix type of dma buffer virtual address pointer
mx2_camera: Add soc_camera support for i.MX25/i.MX27
arm/imx/gpio: add spinlock protection
ARM: Add support for the LPC32XX arch
ARM: LPC32XX: Arch config menu supoport and makefiles
ARM: LPC32XX: Phytec 3250 platform support
ARM: LPC32XX: Misc support functions
ARM: LPC32XX: Serial support code
ARM: LPC32XX: System suspend support
ARM: LPC32XX: GPIO, timer, and IRQ drivers
ARM: LPC32XX: Clock driver
...
31 Jul, 2010
3 commits
-
…'spear' and 'versatile' into devel
-
The patch to add the apb_pclk to the AMBA/PrimeCell bus broke
RealView, since the clockdevice is not registered at probe() time.
This moves clock initialization to a core_initcall()[rmk:moved before the problematical commit to avoid bisect problems]
Signed-off-by: Linus Walleij
Signed-off-by: Russell King -
The MMC card detection sense has become really confused with negations
at various levels, leading to some platforms not detecting inserted
cards. Fix this by converting everything to positive logic throughout,
thereby getting rid of these negations.Signed-off-by: Russell King
22 Jul, 2010
1 commit
-
Add a dummy clk definition for the APB pclk signal on all platforms
using the AMBA bus infrastructure. This ensures that these platforms
continue to work when the core amba bus code controls the APB pclk.Signed-off-by: Russell King
16 Jul, 2010
1 commit
-
Since we no longer support discontigmem, node is always zero, so
remove this argument.Signed-off-by: Russell King
15 Jul, 2010
1 commit
-
This adds platform data for the PL022 to the ARM RealView reference
designs, adds the necessary clock definition and fixes a badly
defined IRQ line on the PB1176.Signed-off-by: Linus Walleij
Signed-off-by: Russell King
09 Jul, 2010
1 commit
-
This is a number of basic fixes to the PB1176 that makes it tick
properly:- Detect MMC insertion/removal even when PL061 GPIO is not compiled
in. The register to read this status directly is removed on the
PB1176.
- Define the UART3 on the DevChip (where is actually is) and define
the new UART4 serial port on the FPGA.
- Also define the clocks for these two UARTs apropriately.
- Remove the false notion that the PB1176 should have its CLCD
on the ISSP, this is not the case, it is in the DevChip.
- Remove the defintions and the previously commented-out PL081
DMAC. As confirmed by mail this was found to be broken on the
PB1176 board and removed from the subsequent FPGA images.Signed-off-by: Linus Walleij
Signed-off-by: Russell King
18 May, 2010
1 commit
-
Conflicts:
arch/arm/Kconfig
arch/arm/include/asm/system.h
arch/arm/mm/Kconfig
02 May, 2010
11 commits
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Provide a common sched_clock() implementation for Versatile and
Realview.Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
The only difference between ICST307 and ICST525 are the two arrays
for calculating the S parameter; the code is now identical. Merge
the two files and kill the duplicated code.Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
This makes the ICST support fit more nicely with the clk API,
eliminating the need to *1000 and /1000 in places.Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
The structures for the ICST307 and ICST525 VCO devices are
identical, so merge them together.Signed-off-by: Russell King
29 Apr, 2010
1 commit
-
The switch to using GPIOLIB broke the sd/mmc card detection on the
RealView development boards if GPIO_PL061 was not selected.
This patch selects GPIO_PL061 if GPIOLIB is selected.
The sense of the return value from mmc_status has also changed
and is corrected.Signed-off-by: Colin Tuckley
Acked-by: Catalin Marinas
Signed-off-by: Russell King