summaryrefslogtreecommitdiffstats
path: root/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
...
| * i.MX: ocotp: Remove unused #defineAndrey Smirnov2017-01-111-1/+0
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Kconfig: Enable OCOTP on VybridAndrey Smirnov2017-01-111-1/+1
| | | | | | | | | | | | | | Enable OCOTP driver on Vybrid as well as i.MX6 Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * vf610: Give enet_osc explicit "enet_ext" nameAndrey Smirnov2017-01-111-0/+4
| | | | | | | | | | | | | | | | Give enet_osc explicit "enet_ext" name, since without it, Barebox version of clk_set_parent fails when trying to re-parent "enet_sel". Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Move clk code from 'mach-imx' to 'drivers'Andrey Smirnov2017-01-1117-3872/+10
| | | | | | | | | | | | | | | | | | Move clk code from 'mach-imx' to 'drivers' to keep the code tree structure closer to that of analogous one from Linux kernel and, arguably although subjective, to keep 'mach-imx' less cluttered. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mvebu'Sascha Hauer2017-01-111-0/+1
|\ \
| * | ARM: mvebu: enable MMU in defconfigUwe Kleine-König2017-01-101-0/+1
| |/ | | | | | | | | | | | | | | Enabling the MMU (and so the caches) gives a nice performance boost, so opt in for mvebu_defconfig. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2017-01-118-17/+13
|\ \
| * | arm: baltos: prolong global resetYegor Yefremov2017-01-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Prolong global reset to the max. value of 0xff. Such a long reset is required for some peripherals found on Baltos devices. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: am33xx: add reset duration control register address definitionYegor Yefremov2017-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | PRM_RSTTIME register provides settings for global and power domain reset durations. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX53 Vincell: change dialog compatible to proper vendor prefixMichael Grzeschik2017-01-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The compatible vendor prefix for dialog pmic is dlg. We fix it in the devicetrees using the wrong one. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: dtsi: remove fpgamgr+sysmgr entrySteffen Trumtrar2017-01-101-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | The fpgamgr and sysmgr bindings are now in the upstream dtsi. Remove them. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: remove unused entry from MakefileSteffen Trumtrar2017-01-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | There is no fpga.c file. Remove the entry. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: at91 bootstrap: Fix menu titleSascha Hauer2017-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | It's no longer possible to assign a string to menu->display, instead menu_add_title() must be called. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: fix compiler warningSascha Hauer2017-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes: arch/arm/mach-socfpga/xload.c:121:13: warning: assignment discards 'const' qualifier from pointer target type Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: fix compiler warningSascha Hauer2017-01-101-1/+1
| |/ | | | | | | | | | | | | Fixes: arm/mach-socfpga/xload.c:31:52: warning: initialization from incompatible pointer type Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARCH: ARM: Add support for phytec-phycore-imx6ulChristian Hemp2017-01-1010-5/+362
| | | | | | | | | | | | | | | | | | | | | | Add support for the phycore i.MX6 UltraLite. - 512MB RAM - 512MB NAND - 10/100 Mbit Ethernet Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: phycore-imx6: remove unnecessary includeStefan Lengfeld2017-01-101-1/+0
| | | | | | | | | | | | | | | | | | The file 'imx6qdl.dtsi' is already included by DualLite/Solo and Dual/Quad specific files 'imx6dl.dtsi' and 'imx6q.dtsi'. So the include is not needed here. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: phycore-imx6: fix missing ?xc-skew-ps settings for ethphyStefan Lengfeld2017-01-101-0/+2
| | | | | | | | | | | | | | | | | | | | Add the missing txc-skew-ps and rxc-skew-ps settings for the Micrel PHY. I have seen problems with 1GBit ethernet on a phyCORE-i.MX6 Solo. Oddly enough the missing skew values are no problems for all our other modules. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: phycore-imx6: refactor fec nodesStefan Lengfeld2017-01-105-52/+29
| | | | | | | | | | | | | | | | | | Refactor the common settings for device tree node 'fec' into the generic phycore i.MX6 device tree file. This avoid redundant settings and makes common fixes easier. Our kernel device tree files have the same layout. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx6qdl-phytec-phycore-som.dtsi: rename eepromJan Remmet2017-01-101-2/+2
| | | | | | | | | | | | | | | | Chose name according to kernel. This is needed for bootstate. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Add src fixupSascha Hauer2017-01-103-0/+62
| | | | | | | | | | | | | | | | | | Some boards or SoCs need the SRC_SCR[WARM_RESET_ENABLE] bit cleared, otherwise they won't come up after a watchdog reset. This was observed on one i.MX6ul based custom board. The Linux Kernel does the same since 2012: 0575fb7 ARM: 7198/1: arm/imx6: add restart support for imx6q. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm049: Add 1 GByte RAM with DUAL DIE Single RankMaik Otto2017-01-101-1/+31
|/ | | | | | | tested with Micron MT42L128M64D2LL-25WT and MT42L128M64D2LL-25WT Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Fix a bug in stack's "top" initializationAndrey Smirnov2017-01-093-3/+9
| | | | | | | | | | | | | | | | | | | Code-paths responsible for initializing CPU's stack pointer and variable used in stack memory resource reservation got out of sync which resulted in actual stack being 64K off from what "stack" struct resource registered by arm_request_stack() thought it was. At least one issue resulting from that can be easily triggered by running: memtest -t This commit unifies the aforementioned code to a certain degree which solves the problem and hopefuly makes it less likely to become an issue again. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: pbl: rename linker script for uncompressed image dataLucas Stach2017-01-092-6/+6
| | | | | | | | This has been missed in commit 5e61dd3fb550 (Add comp_copy function for use with CONFIG_IMAGE_COMPRESSION_NONE). Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm64: disable PBL supportLucas Stach2017-01-092-1/+1
| | | | | | | PBL is another feature, which needs some love to work on ARM64. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25/35: Fix bootsource detectionDaniel Krüger2016-11-231-6/+6
| | | | | | | | This fixes commit 0b47f95340d801a26643e5e1f4ee05287e8ae90e for i.MX25/35. Otherwise the bootsource was just "unknown". Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/vybrid'Sascha Hauer2016-11-1415-1/+912
|\
| * i.MX: Add support for VF610 Tower boardAndrey Smirnov2016-11-117-0/+346
| | | | | | | | | | | | | | Add support for VF610 Tower board. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Add DEBUG_LL hooks for VF610Andrey Smirnov2016-11-111-1/+26
| | | | | | | | | | | | | | Add code to support DEBUG_LL functionality on VF610/Vybrid platform. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Add register definitions for VF610 SoCAndrey Smirnov2016-11-113-0/+507
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Add primitive functions for VF610 familyAndrey Smirnov2016-11-115-0/+33
| | | | | | | | | | | | | | Add very basic functions to support VF610 family. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/socfpga'Sascha Hauer2016-11-141-0/+8
|\ \
| * | ARM: socfpga: dtsi: add dw-wdt reset linesSteffen Trumtrar2016-11-031-0/+8
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2016-11-141-3/+1
|\ \ \
| * | | mfd: mc13892: more descriptive charger register definesAlexander Kurz2016-11-071-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make access to the mc13892 charger parameter voltage, current and max power dissipation readable in terms of millivolts, milliamps and milliwatts. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/imx'Sascha Hauer2016-11-1412-0/+612
|\ \ \ \
| * | | | ARM: i.MX6 esdctl: Add i.MX6ul supportSascha Hauer2016-11-082-0/+20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX: ocotp: Add i.MX6ul supportSascha Hauer2016-11-081-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6 gpt: Add i.MX6ul supportSascha Hauer2016-11-081-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6ul: Add clock supportSascha Hauer2016-11-082-0/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nearly identical to Linux-4.8 clock support, only some unnecessary clocks skipped. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX: beginning i.MX6ul supportSascha Hauer2016-11-084-0/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX: OCOTP: Add functions to access fuses field wiseSascha Hauer2016-11-083-0/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add functions to access the OCOTP fuses field wise, similar to what has been done for the IIM. Also add a i.MX6 fusemap header file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/defconfig-update'Sascha Hauer2016-11-14116-2262/+1717
|\ \ \ \ \
| * | | | | arch: refresh defconfigsSascha Hauer2016-10-12116-2262/+1717
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The defconfig files are long untouched and a make xy_defconfig; make savedefconfig usually generates quite a different looking file. Refresh them to make it easier to generate patches against the configs using make xy_defconfig; make menuconfig; make savedefconfig This has been done with the following script. for a in arch/*; do arch=$(basename $a) for c in $a/configs/*; do config=$(basename $c) export ARCH=$arch make $config && make savedefconfig && mv defconfig $c done done Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/arm'Sascha Hauer2016-11-144-1/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | ARM: dts: am33xx.dtsi: Add spi aliasesTeresa Remmet2016-10-282-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to add the spi aliases to set the bus number correct in the driver. Delete the spi1 alias again in the am33xx-strip.dtsi for MLO as the node is deleted there also. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | arm: Baltos: don't invoke baltos_read_eeprom in MLOYegor Yefremov2016-10-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EEPROM information is needed in barebox.bin in order to setup MACs and select appropriate DTB from kernel-fit.itb, so disable this initcall in MLO. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | arm: Baltos: setup MPU PLL to run at 600MHzYegor Yefremov2016-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | ARM: Fix appended device tree when CONFIG_OFTREE is enabledSascha Hauer2016-11-081-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CONFIG_OFTREE is enabled the appended device tree is unflattened and put into data->of_root_node, but there it is never used again. To actually use the appended device tree put it into data->oftree instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | ARM: riotboard: fix barebox partition sizeLucas Stach2016-11-031-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed when updating all the partition sizes. The environment partition has been moved to the correct location, but the barebox partition size remained unchanged. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>