- 25 Sep, 2014 1 commit
-
-
Behan Webster authored
The ASM below does not compile with clang and is not the way that the mcr command is used in other parts of the kernel. arch/arm/mach-vt8500/vt8500.c:72:11: error: invalid % escape in inline assembly string asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. There are other forms that are supported on different ARM instruction sets but generally the kernel just uses mcr as it is supported in all ARM instruction sets. Signed-off-by:
Behan Webster <behanw@converseincode.com> Reviewed-by:
Mark Charlebois <charlebm@gmail.com> Acked-by:
Will Deacon <will.deacon@arm.com> Acked-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 06 Jul, 2014 1 commit
-
-
Sachin Kamat authored
Variables local to this file are made static. Signed-off-by:
Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by:
Sachin Kamat <sachin.kamat@samsung.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 17 Jun, 2014 1 commit
-
-
Stephen Boyd authored
This config exists entirely to hide the cpufreq menu from the kernel configuration unless a platform has selected it. Nothing is actually built if this config is 'Y' and it just leads to more patches that add a select under a platform Kconfig so that some other CPUfreq option can be chosen. Let's remove the option so that we can always enable CPUfreq drivers on ARM platforms. Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 19 Feb, 2014 2 commits
-
-
Rob Herring authored
The wm8750 is an ARM1176 which has all the V6K extensions except for SMP, so V6K should be selected instead. Dropping the select will use the default for ARCH_MULTI_V6 which is V6K. Signed-off-by:
Rob Herring <robh@kernel.org> Cc: Tony Prisk <linux@prisktech.co.nz>
-
Rob Herring authored
Multi-platform requires various kconfig options to be selected, so platforms don't need to select them individually. Signed-off-by:
Rob Herring <robh@kernel.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: Russell King <linux@arm.linux.org.uk> Acked-by:
Stephen Warren <swarren@nvidia.com> Tested-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- 07 Oct, 2013 1 commit
-
-
Uwe Kleine-König authored
CLKDEV_LOOKUP selects HAVE_CLK and COMMON_CLK selects CLKDEV_LOOKUP. So all symbols that select at least two of these symbols can be simplified. For imx, omap2 and ux500 some rearrangements were necessary before the simplification. Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Stephen Boyd <sboyd@codeaurora.org> Acked-by:
Dinh Nguyen <dinguyen@altera.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by:
Pawel Moll <pawel.moll@arm.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 29 Sep, 2013 2 commits
-
-
Sebastian Hesselbarth authored
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by:
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by:
Tony Prisk <linux@prisktech.co.nz>
-
Sebastian Hesselbarth authored
Current vt8500 board init calls of_clk_init() from vtwm_clk_init. To allow consolidation of DT driven .time_init, move of_clock_init() to a temporary .time_init callback that will be removed when arch-wide callback is available. With previous pmc_base parsing helper for vt8500 clock providers, we can also safely remove the call to vtwm_clk_init() and get rid of some includes. Signed-off-by:
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by:
Tony Prisk <linux@prisktech.co.nz> Acked-by:
Mike Turquette <mturquette@linaro.org>
-
- 09 Jul, 2013 1 commit
-
-
Robin Holt authored
Preparing to move the parsing of reboot= to generic kernel code forces the change in reboot_mode handling to use the enum. [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c] Signed-off-by:
Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 24 May, 2013 1 commit
-
-
Maxime Ripard authored
Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is specified") removed the need to explictly setup the init_irq field in the machine description when using only irqchip_init. Remove that declaration for vt8500 as well. Signed-off-by:
Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by:
Tony Prisk <linux@prisktech.co.nz>
-
- 21 May, 2013 1 commit
-
-
Srinivas Kandagatla authored
When I tried booting a stih415 Dual core A9 with multi_v7_defconfig, it failed to boot. The issues seems to be changing by enabling or disabling VT8550 platform. Having a quick look at dt_compat list, it seems to miss a NULL terminator, which means of_flat_dt_match will compat check will cross the boundary of dt_compat and fault at some point , which is what was happening in my case. Without this patch if we try to boot multi_v7_defconfig you might notice that some of the platforms might fault if they fall after vt8500 in machine-desc list. Other platforms which fall before vt8500 in mdesc list will not fault. Signed-off-by:
Srinivas Kandagatla <srinivas.kandagatla@st.com> Acked-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 12 Apr, 2013 1 commit
-
-
Tony Prisk authored
This patch moves the arch-vt8500 irq code to drivers/irqchip and converts it to use the new IRQCHIP_DECLARE and irqchip_init. This allows the removal of some more functions from common.h Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 03 Apr, 2013 1 commit
-
-
Tony Prisk authored
This patch adds support for the GPIO/pinmux controller found on the VIA VT8500 and Wondermedia WM8xxx-series SoCs. Each pin within the controller is capable of operating as a GPIO or as an alternate function. The pins are numbered according to their control bank/bit so that if new pins are added, the existing numbering is maintained. All currently supported SoCs are included: VT8500, WM8505, WM8650, WM8750 and WM8850. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 22 Jan, 2013 1 commit
-
-
Shawn Guo authored
In drivers/gpio/Kcong, ARCH_REQUIRE_GPIOLIB selects GPIOLIB which in turn selects GENERIC_GPIO. So GENERIC_GPIO will be selected automatically for those platforms that select ARCH_REQUIRE_GPIOLIB. Remove the redundant 'select GENERIC_GPIO' for platforms that already select ARCH_REQUIRE_GPIOLIB at either mach or plat level. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 15 Jan, 2013 1 commit
-
-
Tony Prisk authored
This patch converts arch-vt8500 to make use of CLKSRC_OF. Doing so removes the need for include/linux/vt8500_timer.h as vt8500_timer_init no longer needs to be visible outside vt8500_timer.c Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 14 Jan, 2013 1 commit
-
-
Shawn Guo authored
The clockevent core is able to figure out the best mult and shift, calculate min_delta_ns and max_delta_ns, with the necessary info passed into clockevents_config_and_register(). Use this combined configure and register function where possible to make the codes less error prone and gain some positive diff stat. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Reviewed-by:
Anton Vorontsov <cbouatmailru@gmail.com> Acked-by:
Kukjin Kim <kgene.kim@samsung.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Tested-by:
Roland Stigge <stigge@antcom.de> Acked-by:
Eric Miao <eric.y.miao@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Cc: David Brown <davidb@codeaurora.org> Tested-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Barry Song <baohua.song@csr.com> Tested-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Tony Prisk <linux@prisktech.co.nz> Cc: Lennert Buytenhek <buytenh@wantstofly.org> Cc: Wan ZongShun <mcuos.com@gmail.com> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Jason Cooper <jason@lakedaemon.net> Reviewed-by:
Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 13 Jan, 2013 1 commit
-
-
Tony Prisk authored
This patch moves arch-vt8500/timer.c into drivers/clocksource and updates the necessary Kconfig/Makefile options. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
- 11 Jan, 2013 4 commits
-
-
Tony Prisk authored
This patch adds support for the WM8750 (ARMv6) and WM8850 (ARMv7). Devicetree documentation is updated for new SoCs. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
Tony Prisk authored
Remove the last two mach-vt8500/include/mach headers as they are no longer required with multiplatform-only configuration. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
Tony Prisk authored
This patch moves debug-macro.S from arm/mach-vt8500/include/mach to arm/include/debug/vt8500.S to provide multiplatform support. Minor style changes in code for readability. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
Tony Prisk authored
Single-platform Kconfig options are removed, making arch-vt8500 multiplatform only. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
- 10 Jan, 2013 1 commit
-
-
Shawn Guo authored
With ARCH_HAS_DECOMP_WDOG removed from arch/arm/boot/compressed/decompress.c, all the arch_decomp_wdog() definition at platform level is unneeded. Remmove it. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Jason Cooper <jason@lakedaemon.net>
-
- 24 Dec, 2012 1 commit
-
-
Stephen Warren authored
Now that the only field in struct sys_timer is .init, delete the struct, and replace the machine descriptor .timer field with the initialization function itself. This will enable moving timer drivers into drivers/clocksource without having to place a public prototype of each struct sys_timer object into include/linux; the intent is to create a single of_clocksource_init() function that determines which timer driver to initialize by scanning the device dtree, much like the proposed irqchip_init() at: http://www.spinics.net/lists/arm-kernel/msg203686.html Includes mach-omap2 fixes from Igor Grinberg. Tested-by:
Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
- 25 Oct, 2012 2 commits
-
-
Tony Prisk authored
This patch almosts completes the conversion to ARCH_MULTI_V5 for arch-vt8500. Both single platform and multiplatform configurations are supported until earlyprintk support is available for multiplatform. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Tony Prisk authored
This patch converts arch-vt8500/irq.c to MULTI_IRQ_HANDLER and SPARSE_IRQ. IRQ domain is changed from legacy to linear. Also, remove legacy code in include/mach/entry-macro.S and include/mach/irq.h to prepare for multiplatform. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- 14 Oct, 2012 2 commits
-
-
Tony Prisk authored
Correct filename reference in file header. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
Tony Prisk authored
Remove restart.h and reference in vt8500.c - unused. Remove hardware.h - empty and now optional. Remove i8042.h - not supported now that devicetree-only. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz>
-
- 07 Oct, 2012 2 commits
-
-
Tony Prisk authored
This removes a build-time warning in uncompress.h due to incorrectly cast values being passed to readb/writeb. Removed arm/io.h and readb/writeb. Read/write directly to the serial port with a volatile pointer. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
Tony Prisk authored
Check for framebuffer defines before declaring variables in vt8500.c Removes a compile-time warning about unused variables. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 29 Sep, 2012 1 commit
-
-
Tony Prisk authored
mach/include/gpio.h was removed as part of the multiplatform-3.7 update. This patch removes the include from arch-vt8500/vt8500.c Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 21 Sep, 2012 1 commit
-
-
Tony Prisk authored
Merged existing board files to a single dt-capable file. Converted irq and timer code to devicetree. Removed existing device files that are no longer required with devicetree support. All existing platform devices are converted to devicetree nodes except PWM. Removed restart.c and moved code into vt8500.c to remove duplicate PMC code. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- 14 Sep, 2012 2 commits
-
-
Rob Herring authored
Most platforms don't need mach/gpio.h and it prevents multi-platform kernel images. Add CONFIG_NEED_MACH_GPIO_H and make platforns select it if they need gpio.h. This is platforms that define __GPIOLIB_COMPLEX or have lots of implicit includes pulled in by mach/gpio.h. at91 and omap have gpio clean-up pending and can drop CONFIG_NEED_MACH_GPIO_H once that is in. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Acked-by:
Jason Cooper <jason@lakedaemon.net> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
Arnd Bergmann authored
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the vt8500 include directories Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Tony Prisk <linux@prisktech.co.nz> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
-
- 16 Aug, 2012 1 commit
-
-
Tony Prisk authored
Add support for a generic non-pci UHCI companion controller. Existing board files for arch-vt8500 updated to include UHCI support. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 18 Jul, 2012 1 commit
-
-
Tony Prisk authored
Removed system.h as it only contained an inline for arch_reset() Changed the existing board files to use .restart in there machine descriptions. Added device tree support for the restart controller. Device tree support for mach-vt8500 is still a work-in-progress. Signed-off-by:
Tony Prisk <linux@prisktech.co.nz> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 02 Jul, 2012 1 commit
-
-
Sascha Hauer authored
Move the driver to drivers/pwm/ and convert it to use the framework. Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de> Cc: Alexey Charkov <alchark@gmail.com> Signed-off-by:
Thierry Reding <thierry.reding@avionic-design.de>
-
- 06 Mar, 2012 1 commit
-
-
Rob Herring authored
Now that many platforms don't need mach/io.h, remove the unused ones. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Pawel Moll <pawel.moll@arm.com> Acked-by:
Nicolas Pitre <nico@linaro.org>
-
- 21 Feb, 2012 1 commit
-
-
Rob Herring authored
Now that most platforms don't need disable_fiq and arch_ret_to_user macros, we can remove the empty macros or empty entry-macro.S files. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Ryan Mallon <rmallon@gmail.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org>
-
- 20 Jan, 2012 1 commit
-
-
Nicolas Pitre authored
When this is the only content remaining in mach/system.h then the whole file is removed. Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-and-tested-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
David Brown <davidb@codeaurora.org> Acked-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 26 Nov, 2011 1 commit
-
-
Nicolas Pitre authored
Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-