- Mar 03, 2016
-
-
Arnd Bergmann authored
Merge tag 'imx-soc-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/soc Merge "i.MX SoC update for 4.6" from Shawn Guo: - Enable big endian mode support for i.MX platform - Add support for i.MX6QP SoC which is the latest i.MX6 family addition - Add basic suspend/resume support for i.MX25 - A couple of i.MX7D support updates - A few random code cleanups * tag 'imx-soc-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: imx: Make reset_control_ops const ARM: imx: Do L2 errata only if the L2 cache isn't enabled ARM: imx: select ARM_CPU_SUSPEND only for imx6 ARM: mx25: Add basic suspend/resume support ARM: imx: Add msl code support for imx6qp ARM: imx: enable big endian mode ARM: imx: use endian-safe readl/readw/writel/writew ARM: imx7d: correct chip version information ARM: imx: select HAVE_ARM_ARCH_TIMER if selected i.MX7D ARM: imx6: fix cleanup path in imx6q_suspend_init()
-
Arnd Bergmann authored
In an invalid randconfig build (fixed by another patch), I ran across this warning: arch/arm/include/debug/at91.S:18:0: error: "CONFIG_DEBUG_UART_VIRT" redefined [-Werror] #define CONFIG_DEBUG_UART_VIRT AT91_IO_P2V(CONFIG_DEBUG_UART_PHYS) As Russell pointed out, we should never #define a macro starting with CONFIG_ in a source file, as that is rather confusing. This renames the macro to avoid the symbol clash. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Suggested-by:
Russell King <linux@arm.linux.org.uk> Acked-by:
Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com>
-
- Mar 01, 2016
-
-
https://github.com/rjarzmik/linuxArnd Bergmann authored
Merge "pxa changes for v4.6 cycle" from Robert Jarzmik: This is a minor cycle with : - cleanup fixes from Arnd, mainly build oriented and sparse type ones - dma fixes for requestors above 32 (impacting mainly camera driver) - some minor cleanup on pxa3xx device-tree side * tag 'pxa-for-4.6' of https://github.com/rjarzmik/linux: dmaengine: pxa_dma: fix the maximum requestor line ARM: pxa: add the number of DMA requestor lines dmaengine: mmp-pdma: add number of requestors dma: mmp_pdma: Add the #dma-requests DT property documentation ARM: pxa: pxa3xx device-tree support cleanup ARM: pxa: don't select RFKILL if CONFIG_NET is disabled ARM: pxa: fix building without IWMMXT ARM: pxa: move extern declarations to pm.h ARM: pxa: always select one of the two CPU types ARM: pxa: don't select GPIO_SYSFS for MIOA701 ARM: pxa: mark unused eseries code as __maybe_unused ARM: pxa: mark spitz_card_pwr_ctrl as __maybe_unused ARM: pxa: define clock registers as __iomem
-
Arnd Bergmann authored
Merge tag 'sunxi-core-for-4.6' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into next/soc Merge "Allwinner core changes for 4.6" from Maxime Ripard: Just introduce the A83T support. * tag 'sunxi-core-for-4.6' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux: ARM: sunxi: Introduce Allwinner for A83T support
-
- Feb 29, 2016
-
-
Philipp Zabel authored
The imx_src_ops structure is never modified. Make it const. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Feb 28, 2016
-
-
Dirk Behme authored
All the generic L2 cache handling code is encapsulated by a check if the L2 cache is enabled. If it's enabled already, the code is skipped. The write to the L2-Cache controller from non-secure world causes an imprecise external abort. This is needed in scenarios where one of the cores runs an other OS, e.g. an RTOS. For the i.MX6 specific L2 cache handling we missed this check. Add it. Signed-off-by:
Marcel Grosshans <MarcelViktor.Grosshans@de.bosch.com> Signed-off-by:
Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Arnd Bergmann authored
i.MX only needs to select ARM_CPU_SUSPEND manually for the very specific case that CONFIG_PM_SLEEP is disabled and imx6 is used with CONFIG_PM enabled for runtime PM. If we are building a kernel only for CPUs that are not using the cpu_suspend() helper, we otherwise get a harmless build warning: warning: (ARCH_MXC && SOC_IMX23 && SOC_IMX28 && ARCH_PXA && MACH_MVEBU_V7 && ARCH_OMAP3 && ARCH_OMAP4 && SOC_OMAP5 && SOC_AM33XX && SOC_DRA7XX && ARCH_EXYNOS3 && ARCH_EXYNOS4 && EXYNOS5420_MCPM && EXYNOS_CPU_SUSPEND && ARCH_VEXPRESS_TC2_PM && ARM_BIG_LITTLE_CPUIDLE && ARM_HIGHBANK_CPUIDLE && QCOM_PM) selects ARM_CPU_SUSPEND which has unmet direct dependencies (ARCH_SUSPEND_POSSIBLE) This moves the option to the SOC_IMX6 option that actually requires it, in effect reverting commit f36b594f ("ARM: mach-imx: Select ARM_CPU_SUSPEND at ARCH_MXC level") that was meant as a cleanup and unintentionally caused this warning. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Feb 27, 2016
-
-
http://github.com/Broadcom/stblinuxArnd Bergmann authored
Merge "Broadcom maintainers changes for 4.6" from Florian Fainelli: This pull request contains MAINTAINERS file updates for Broadcom ARM-based SoCs: - Florian updates the Broadcom BCM63xx ARM-based DSL SoCs to use the same mailing-list and development tree as all the other Broadcom SoCS * tag 'arm-soc/for-4.6/maintainers' of http://github.com/Broadcom/stblinux: MAINTAINERS: ARM: BCM63xx: Update git and mailing-lists
-
http://github.com/Broadcom/stblinuxArnd Bergmann authored
Merge "Broadcom soc changes for 4.6" from Florian Fainelli: This pull request contains Broadcom ARM-based SoC/platform changes: - Masahiro updates the Broadcom Northstar Plus SMP operations to be annotated with const and __initconst - Florian removes an unused variable in the Broadcom BCM63XX SMP code * tag 'arm-soc/for-4.6/soc' of http://github.com/Broadcom/stblinux: ARM: BCM63xx: Remove unused pmb_dn variable ARM: bcm: use const and __initconst for smp_operations
-
Robert Jarzmik authored
The current number of requestor lines is limited to 31. This was an error of a previous commit, as this number is platform dependent, and is actually : - for pxa25x: 40 requestor lines - for pxa27x: 75 requestor lines - for pxa3xx: 100 requestor lines The previous testing did not reveal the faulty constant as on pxa[23]xx platforms, only camera, MSL and USB are above requestor 32, and in these only the camera has a driver using dma. Fixes: e87ffbdf ("dmaengine: pxa_dma: fix the no-requestor case") Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr> Acked-by:
Vinod Koul <vinod.koul@intel.com>
-
Antoine Tenart authored
Select the Alpine MSI controller driver when using an Alpine platform. Signed-off-by:
Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by:
Tsahee Zidenberg <tsahee@annapurnalabs.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Robert Jarzmik authored
Declare the number of DMA requestor lines per platform : - for pxa25x: 40 requestor lines - for pxa27x: 75 requestor lines - for pxa3xx: 100 requestor lines This information will be used to activate the DMA flow control or not. Signed-off-by:Robert Jarzmik <robert.jarzmik@free.fr>
-
Robert Jarzmik authored
The DMA chip has a fixed number of requestor lines used for flow control. This number is platform dependent. The pxa_dma dma driver will use this value to activate or not the flow control. There won't be any impact on mmp_pdma driver. Signed-off-by:Robert Jarzmik <robert.jarzmik@free.fr>
-
Robert Jarzmik authored
For pxa based platforms, the number of requestor lines should be specified, so that the driver can check if the flow control should be activated (when a requestor line is asked for) or not. Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr> Acked-by:
Rob Herring <robh@kernel.org>
-
https://github.com/Xilinx/linux-xlnxArnd Bergmann authored
Merge "ARM: Xilinx Zynq patches for v4.6" from Michal Simek: - SLCR early init - Fix L2 cache data corruption - Fix early printk uart setting * tag 'zynq-soc-for-4.6' of https://github.com/Xilinx/linux-xlnx: ARM: zynq: Move early printk virtual address to vmalloc area ARM: zynq: address L2 cache data corruption ARM: zynq: initialize slcr mapping earlier
-
Arnd Bergmann authored
Merge tag 'davinci-for-v4.6/edma' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/soc Merge "DaVinci EDMA enhancements for v4.6" from Sekhar Nori: Pass dma_slave_map data to EDMA driver. This will help migration to new DMA engine API for requesting slave channels dma_request_chan(). * tag 'davinci-for-v4.6/edma' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci: ARM: davinci: dm646x: Add dma_slave_map to edma ARM: davinci: dm644x: Add dma_slave_map to edma ARM: davinci: dm365: Add dma_slave_map to edma ARM: davinci: dm355: Add dma_slave_map to edma ARM: davinci: devices-da8xx: Add dma_slave_map to edma
-
Arnd Bergmann authored
Merge tag 'renesas-soc-for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc Merge "Renesas ARM Based SoC Updates for v4.6" from Simon Horman: * Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains * Move emev2_smp_ops to emev2 * Remove legacy map_io callbacks on r8a7740 and emev2 SoCs * Migrate to generic l2c OF initialization on r8a7740 * tag 'renesas-soc-for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains ARM: shmobile: emev2: Move declaration of emev2_smp_ops to emev2.h ARM: shmobile: emev2: Remove legacy machine_desc.map_io() callback ARM: shmobile: r8a7740: Remove legacy machine_desc.map_io() callback ARM: shmobile: r8a7740: Remove mapping of L2 cache controller registers ARM: shmobile: r8a7740: Migrate to generic l2c OF initialization
-
https://github.com/mbgg/linux-mediatekArnd Bergmann authored
Merge "ARM: mediatek: soc updates for v4.6" from Matthias Brugger: Fix state machine implemenation of PMIC wrapper. Add SMP support for mt7623. Disable watchdog of STAUPD in PMIC wrapper for mt8173. Add SMP support for mt2701. Use builtin_platform_driver for scpsys. Driver can't be build as module. Fix regulator enablement in scpsys. * tag 'v4.5-next-soc' of https://github.com/mbgg/linux-mediatek: soc: mediatek: SCPSYS: Fix double enabling of regulators soc: mediatek: SCPSYS: use builtin_platform_driver ARM: mediatek: add mt2701 smp bringup code soc: mediatek: PMIC wrap: clear the STAUPD_TRIG bit of WDT_SRC_EN ARM: mediatek: add MT7623 smp bringup code soc: mediatek: PMIC wrap: Clear the vldclr if state machine stay on FSM_VLDCLR state.
-
- Feb 25, 2016
-
-
Michal Simek authored
The patch "ARM: 8432/1: move VMALLOC_END from 0xff000000 to 0xff800000" (sha1: 6ff09660 ) has moved also start of VMALLOC area because size didn't change. That's why origin location of vmalloc was vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) and now is vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) That's why uart virtual addresses need to be changed to reflect this new memory setup. Starting address should be vmalloc start address. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Lars Persson authored
Signed-off-by:
Lars Persson <larper@axis.com> Signed-off-by:
Jesper Nilsson <jesper.nilsson@axis.com> Reviewed-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
Lars Persson authored
Basic machine port for the Artpec-6 SoC from Axis Communications. Signed-off-by:
Lars Persson <larper@axis.com> Reviewed-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
Olof Johansson authored
Merge tag 'stm32-soc-for-v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcoquelin/stm32 into next/soc Highlights: ----------- - Make STM32 to select PINCTRL - Introduce MACH_STM32F429 flag * tag 'stm32-soc-for-v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcoquelin/stm32 : ARM: mach-stm32: Select pinctrl ARM: Kconfig: Introduce MACH_STM32F429 flag Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- Feb 22, 2016
-
-
Peter Ujfalusi authored
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> [nsekhar@ti.com: fix typos in code] Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Peter Ujfalusi authored
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> [nsekhar@ti.com: typo fixes in code] Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Peter Ujfalusi authored
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Peter Ujfalusi authored
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> [nsekhar@ti.com: typo fixes in code] Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Peter Ujfalusi authored
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> [nsekhar@ti.com: fix map for edma1] Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
- Feb 21, 2016
-
-
Robert Jarzmik authored
Clocks, timer and several other drivers have well defined and working device-tree bindings. Clean-up the code to leave only the strict minimum. The final goal will be to remove the lookup array. Signed-off-by:Robert Jarzmik <robert.jarzmik@free.fr>
-
- Feb 19, 2016
-
-
Geert Uytterhoeven authored
All supported Renesas ARM SoCs (except for Emma Mobile EV2) have clock domains. Some SoCs also have power domains. To ensure proper operation of on-SoC modules, module clocks must be ungated, and power domains must be powered up when needed. Currently the user can choose to build a kernel with power management enabled or disabled: - If CONFIG_PM=y, power domains and/or module clocks are handled dynamically by Runtime PM and the generic power domain. - If CONFIG_PM=n, power domains are assumed to be powered up by reset state or by the boot loader, and module clocks are handled by the legacy clock domain on driver (un)bind. The latter is implemented using a platform bus notifier, which applies not only to all on-SoC devices, but to all platform devices present in the system. To remove the dependency on implicit assumptions, and to get rid of the peculiarities of the legacy clock domain, enable CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS unconditionally, for all Renesas ARM SoCs with clock and/or power domains. This does cause an increase in kernel size. Given bloat-o-meter reports a modest increase of 26 KiB for an RZ/A1H kernel, this should not be a problem, even when used on RZ/A1H with XIP and internal RAM only. Signed-off-by:Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au>
-
Geert Uytterhoeven authored
make C=1: arch/arm/mach-shmobile/smp-emev2.c:51:29: warning: symbol 'emev2_smp_ops' was not declared. Should it be static? To fix this, move the forward declaration of emev2_smp_ops to a header file, and include it where appropriate. Signed-off-by:Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au>
-
Geert Uytterhoeven authored
Commit FIXME ("ARM: shmobile: Consolidate SCU mapping code") removed the last user of the static mapping on emev2-based systems. Remove the mapping and the legacy machine_desc.map_io() callback. Signed-off-by:Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au>
-
Geert Uytterhoeven authored
Commit 37201ba5c99d0be8 ("ARM: shmobile: r8a7740: Migrate to generic l2c OF initialization") removed the last user of the legacy "IOMEM()" macro on r8a7740-based systems. Hence there's no longer a need to set up a transparent mapping of system I/O registers. Remove the mapping and the legacy machine_desc.map_io() callback. Signed-off-by:Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au>
-
Geert Uytterhoeven authored
Now all r8a7740-based platforms have been migrated to the generic l2c OF initialization, it's no longer needed to map the L2 cache controller registers from .map_io(). Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au>
-
Geert Uytterhoeven authored
Migrate the generic r8a7740 platform from calling l2x0_of_init() to the generic l2c OF initialization. Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au>
-
- Feb 14, 2016
-
-
Fabio Estevam authored
Tested basic suspend/resume on a mx25pdk: $ echo enabled > /sys/class/tty/ttymxc0/power/wakeup $ echo mem > /sys/power/state Then press any key in the serial console and the system wakes up. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Bai Ping authored
The i.MX6QP is a different SOC, but internally we treate it as i.MX6Q Rev_2.0 to maximum the code reusability. The chip silicon number we read from the ANADIG_DIGPROG is 0x630100. This patch add code to identify it as i.MX6QP Rev_1.0 when print out the silicon version. Signed-off-by:
Bai Ping <ping.bai@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Feb 09, 2016
-
-
Josh Cartwright authored
The Zynq has a bug where the L2 cache will return invalid data in some circumstances unless the L2C_RAM register is set to 0x00020202 before the first enabling of the L2 cache. The Xilinx-recommended solution to this problem is to ensure that early one of the earlier bootstages correctly initialize L2C_RAM, however, this issue wasn't discovered and fixed until after their EDK/SDK 14.4 release. For systems built prior to that, and which lack field-upgradable bootloaders, this issue still exists and silent data corruption can be seen in the wild. Fix these systems by ensuring L2C_RAM is properly initialized at the earliest convenient moment prior to the L2 being brought up, which is when the SLCR is first mapped. The Zynq bug is described in more detail by Xilinx AR# 54190 as quoted below. Xilinx AR# 54190 http://www.xilinx.com/support/answers/54190.htm Captured on 2014-09-24 14:43 -0500 = Description = For proper L2 cache operation, the user code must p...
-
Josh Cartwright authored
In preparation for performing additional configuration prior to bringing up L2, move the slcr initialization earlier in the boot process. Signed-off-by:
Josh Cartwright <joshc@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
git://git.infradead.org/linux-mvebuOlof Johansson authored
mvebu driver for 4.6 (part 1) implement ARM delay timer for orion * tag 'mvebu-drivers-4.6-1' of git://git.infradead.org/linux-mvebu : ARM: orion: implement ARM delay timer Signed-off-by:
Olof Johansson <olof@lixom.net>
-
Mans Rullgard authored
Some SoCs use a Palmchip BK-310x UART which is mostly 16550 compatible but with a different register layout. While this UART has previously only been supported in MIPS based chips (Alchemy, Ralink), the ARM based SMP87xx series from Sigma Designs also uses it. This patch allows the debug console to work with this type of UART. Signed-off-by:
Mans Rullgard <mans@mansr.com> Signed-off-by:
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Kevin Hilman <khilman@baylibre.com> Signed-off-by:
Olof Johansson <olof@lixom.net>
-