summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2016-03-08ARM: dts: apalis_imx6: fix Ethernet PHY reset & interruptMarcel Ziswiler
This fixes the Ethernet PHY reset and interrupt handling. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-08ARM: dts: apalis_imx6: clarify module type and carrier board modelMarcel Ziswiler
Clarify exact Apalis iMX6Q/D module type and Ixora carrier board in model node. While at it also make sure the compatible node fits into 80 char length lines. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-08ARM: dts: apalis_imx6: happy new yearMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2015-12-15pm-imx6.c: fix power off by stop modeColibri_iMX6_LinuxImageV2.5Beta3_20151215Apalis_iMX6_LinuxImageV2.5Beta3_20151215Max Krummenacher
With the 3.14.28 release of the kernel imx6_stop_mode_poweroff() does not enter stop mode. Thus the function does not switch of power but returns. This seems to be caused by the second processor which has been stopped. Set the WFI event mask for the stopped processor works around the issue. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15process.c: if power off fails, do at least a haltMax Krummenacher
Otherwise power_machine_power_off() returns and e.g. unexpected interrupts create stack traces. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-02apalis/colibri_imx6: Enable RTL8192CU driverBhuvanchandra DV
Enable RTL8192CU driver to support LM006 USB WiFi adapter. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2015-12-02ARM: LLVMLinux: Change "extern inline" to "static inline" in glue-cache.hBehan Webster
With compilers which follow the C99 standard (like modern versions of gcc and clang), "extern inline" does the wrong thing (emits code for an externally linkable version of the inline function). "static inline" is the correct choice instead. Author: Behan Webster <behanw@converseincode.com> Signed-off-by: Behan Webster <behanw@converseincode.com> Reviewed-by: Mark Charlebois <charlebm@gmail.com> (cherry picked from commit 76ae03828756bac2c1fa2c7eff7485e5f815dbdb) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2015-12-02ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.hBehan Webster
With compilers which follow the C99 standard (like modern versions of gcc and clang), "extern inline" does the wrong thing (emits code for an externally linkable version of the inline function). In this case using static inline and removing the NULL version of return_address in return_address.c does the right thing. Signed-off-by: Behan Webster <behanw@converseincode.com> Reviewed-by: Mark Charlebois <charlebm@gmail.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> (cherry picked from commit aeea3592a13bf12861943e44fc48f1f270941f8d) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2015-12-02imx6qdl-apalis.dtsi: adapt to changed ldb driver (LVDS)Max Krummenacher
The ldb driver which controls the LVDS output got heavily overhauled and its configuration from the cmdline seem no longer working. This adds a configuration to the device tree which can be activated from the cmdline with: video=mxcfb0:dev=ldb Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2015-11-04ARM: apalis/colibri_imx6: add namespace support in defconfigColibri_iMX6_LinuxImageV2.5Beta2_20151106Apalis_iMX6_LinuxImageV2.5Beta2_20151106Stefan Agner
Newer systemd variants need network namespace support for various services such as systemd-hostnamed or systemd-localed. (cherry picked from commit 4bb3acd58f8d2074cd8e7a6ddb914a0954d0906a)
2015-11-03apalis/colibri_imx6: remove duplicate stmpe adc from defconfigMarcel Ziswiler
Remove duplicate CONFIG_STMPE_ADC from both defconfigs. While at it also remove obsolete commented out CONFIG_NET_VENDOR_ATHEROS being not set on Colibri iMX6.
2015-10-29Apalis/Colibri iMX6 dtbs: add routing for line-inMax Krummenacher
We do provide the line in jack, so add it in the routing.
2015-10-29Apalis/Colibri iMX6 dtbs: add status okay to the camerasMax Krummenacher
This allows for easier disabling of unused cameras.
2015-10-22apalis_imx6_defconfig: provide PCIe SATA/AHCI driver as a moduleMax Krummenacher
2015-10-22ARM: imxqdl-colibri: Increase speed field of DSIP0 padsBhuvanChandra.DV
Increase SPEED field from 50MHz to 100MHz the avoid pixel flickering on RGB666 at Full HD resolutions. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> (cherry picked from commit a700491ac9cc18d27ddfadee3a7787039485ed40) Conflicts: arch/arm/boot/dts/imx6qdl-colibri.dtsi commit 5202ebd189bac35987bf79335fe4568aabbf2b0e: The capacitive touch 10" display does react badly react badly to the current pad control settings. E.g. only the upper half of the display was somewhat readable with the lower half being whitish.
2015-10-22imx6qdl-apalis.dtsi: use correct function for CAM_MCLKMax Krummenacher
2015-10-22imx6qdl-colibri.dtsi: mux CAM MCLK pin only onceMax Krummenacher
2015-10-22Apalis/Colibri iMX6: defconfig: add CIFS filesystemMax Krummenacher
2015-10-22Apalis/Colibri iMX6: defconfig: include MAX9526Max Krummenacher
(cherry picked from commit 47c017b98ce9359f890363b4095c87235a6f81d6)
2015-10-15Apalis/Colibri dts: add Colibri cam, Apalis Ixora specific dtbsMax Krummenacher
2015-10-15Colibri dtbs: add fixes from 3.10.17Max Krummenacher
While at it cleanup node names.
2015-10-15ARM: dts: Apalis/Colibri dts: use input dt-bindingsMax Krummenacher
Use commit e11011a0578101b2f0f9a066d13beeb2c2da5fcc on all device-trees: Rather than defining our own KEY_WAKEUP include the official input dt-bindings. While at it update copyright date range as well.
2015-10-15imx6dl-colibri-eval-v3.dts: prepare for fusion_F07/10AMax Krummenacher
Prepare for the needed changes to use the capacitive touch controller on Fusion F07, Fusion F10A displays. In order to use it uncomment the define PCAP and recompile and deploy the device tree Forward port of 3.10.17, commit e5925f53b4c6021d03a7a694d0512712036e83e6
2015-10-15Apalis dts: cleanup whitespaceMax Krummenacher
2015-09-24Apalis/Colibri iMX6 defconfigs: add HID_MULTITOUCHMax Krummenacher
2015-09-24ARM: dts: imx6dl-colibri: usb device/host switch using extcon gpioMarcel Ziswiler
Use USBC_DET feature of Standard Colibri SODIMM pin 137 for USB device/host switching using the generic extcon USB GPIO implementation.
2015-09-24ARM: dts: imx6dl-colibri: use input dt-bindingsMarcel Ziswiler
Rather than defining our own KEY_WAKEUP include the official input dt-bindings. While at it update copyright date range as well.
2015-09-24ARM: colibri_imx6: add extcon usb gpio support in defconfigMarcel Ziswiler
Enable extcon USB GPIO support in the default kernel configuration.
2015-09-18of: Make device nodes kobjects so they show up in sysfsGrant Likely
Device tree nodes are already treated as objects, and we already want to expose them to userspace which is done using the /proc filesystem today. Right now the kernel has to do a lot of work to keep the /proc view in sync with the in-kernel representation. If device_nodes are switched to be kobjects then the device tree code can be a whole lot simpler. It also turns out that switching to using /sysfs from /proc results in smaller code and data size, and the userspace ABI won't change if /proc/device-tree symlinks to /sys/firmware/devicetree/base. v7: Add missing sysfs_bin_attr_init() v6: Add __of_add_property() early init fixes from Pantelis v5: Rename firmware/ofw to firmware/devicetree Fix updating property values in sysfs v4: Fixed build error on Powerpc Fixed handling of dynamic nodes on powerpc v3: Fixed handling of duplicate attribute and child node names v2: switch to using sysfs bin_attributes which solve the problem of reporting incorrect property size. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Tested-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: David S. Miller <davem@davemloft.net> Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> (cherry picked from commit 75b57ecf9d1d1e17d099ab13b8f48e6e038676be)
2015-09-18leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptorsMika Westerberg
Commit 21f2aae91e902aad ("leds: leds-gpio: Add support for GPIO descriptors") already converted most of the driver to use GPIO descriptors. What is still missing is the platform specific hook gpio_blink_set() and board files which pass legacy GPIO numbers to this driver in platform data. In this patch we handle the former and convert gpio_blink_set() to take GPIO descriptor instead. In order to do this we convert the existing four users to accept GPIO descriptor and translate it to legacy GPIO number in the platform code. This effectively "pushes" legacy GPIO number usage from the driver to platforms. Also add comment to the remaining block describing that it is legacy code path and we are getting rid of it eventually. Suggested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit c673a2b4008103525a3cf21bedf15ffac37bfef0)
2015-09-18ACPICA: Linux: Add support to exclude <asm/acenv.h> inclusion.Lv Zheng
The forthcoming patch will make <acpi/acpi.h> to be visible to all kernel source code. Thus for the architectures that do not support ACPI and haven't implemented <asm/acenv.h>, we need to make it excluded. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit d334c823b27401721591e0f1220050a41af08165)
2015-09-18ACPICA: Linux headers: Add <asm/acenv.h> to remove mis-ordered inclusion of ↵Lv Zheng
<asm/acpi.h> There is a mis-order inclusion for <asm/acpi.h>. As we will enforce including <linux/acpi.h> for all Linux ACPI users, we can find the inclusion order is as follows: <linux/acpi.h> <acpi/acpi.h> <acpi/platform/acenv.h> (acenv.h before including aclinux.h) <acpi/platform/aclinux.h> ........................................................................... (aclinux.h before including asm/acpi.h) <asm/acpi.h> @Redundant@ (ACPICA specific stuff) ........................................................................... ........................................................................... (Linux ACPI specific stuff) ? - - - - - - - - - - - - + (aclinux.h after including asm/acpi.h) @Invisible@ | (acenv.h after including aclinux.h) @Invisible@ | other ACPICA headers @Invisible@ | ............................................................|.............. <acpi/acpi_bus.h> | <acpi/acpi_drivers.h> | <asm/acpi.h> (Excluded) | (Linux ACPI specific stuff) ! <- - - - - - - - - - - - - + NOTE that, in ACPICA, <acpi/platform/acenv.h> is more like Kconfig generated <generated/autoconf.h> for Linux, it is meant to be included before including any ACPICA code. In the above figure, there is a question mark for "Linux ACPI specific stuff" in <asm/acpi.h> which should be included after including all other ACPICA header files. Thus they really need to be moved to the position marked with exclaimation mark or the definitions in the blocks marked with "@Invisible@" will be invisible to such architecture specific "Linux ACPI specific stuff" header blocks. This leaves 2 issues: 1. All environmental definitions in these blocks should have a copy in the area marked with "@Redundant@" if they are required by the "Linux ACPI specific stuff". 2. We cannot use any ACPICA defined types in <asm/acpi.h>. This patch splits architecture specific ACPICA stuff from <asm/acpi.h> to fix this issue. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit 07d8391433380fc72f999d99c554b1cfedea9778)
2015-09-09Apalis/Colibri dtb: cleanup module connector designatorMax Krummenacher
Use consistently MXM3<space><number> or SODIMM<space><number>
2015-09-09Apalis iMX 6: cleanup filename for V1.0 HWMax Krummenacher
rename imx6q-apalis-eval_v1_0.dtb to imx6q-apalis_v1_0-eval.dtb The v1_0 denotes the Apalis module version, not the evaluation board version.
2015-09-01arm: Export cache flush management symbols when !MULTI_CACHEPantelis Antoniou
When compiling a kernel without CONFIG_MULTI_CACHE enabled the dma access functions end up not being exported. Fix it. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 22f692548037e39809c32759b5600ee066ef59e9)
2015-08-24clk-imx6q.c: set eth phy clock dependent on RMII/RGMIIMax Krummenacher
Evaluate the device tree to find out about the used phy mode rather than using a hardcoded value of 125MHz valid for RGMII only.
2015-08-24pm-imx6.c: follow function name changeMax Krummenacher
2015-08-24colibri-imx6: use stopmode for poweroffMax Krummenacher
After the system has been shutdown with PMIC_ON_REQ and VCC_BATT is supplied from a battery it will never restart either by RESET or power cycle. So use the PMIC_STBY_REQ after shutdown to switch of power rails. Conflicts: arch/arm/mach-imx/pm-imx6.c drivers/regulator/pfuze100-regulator.c
2015-08-24mach-imx6q.c: handle RESET_MOCI when PCIe is disabledMax Krummenacher
(cherry picked from commit 02110528b45ae331d89f7e7bb6a29b5494ec0be1) Conflicts: arch/arm/mach-imx/mach-imx6q.c
2015-08-24apalis imx6: remove weim driverMax Krummenacher
The WEIM signals are not accessible so remove the driver from the config and set it to disabled in the device tree. (cherry picked from commit 6c2f7b22f5aa9572d35a3ddd7d14b653cf606550) Conflicts: arch/arm/configs/apalis_imx6_defconfig
2015-08-24OmniVision ov5640 MIPI-CSI2 camera supportWojciech Bieganski
gst-inspect mfw_v4lsrc gst-launch mfw_v4lsrc capture-mode=5 device=/dev/video2 ! mfw_v4lsink
2015-08-24Apalis/Colibri iMX6: add intital devicetreeMax Krummenacher
2015-08-24Apalis/Colibri iMX6: add intital defconfigMax Krummenacher
2015-08-24mach-imx6q.c: fix typo in error msgMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 943e92ef3b9822cd278eff806b001c14c7bebb83)
2015-08-24regulator: allow GPIO 0 to be used for an enable signalMax Krummenacher
GPIO number 0 *is* legal and must be accepted. Set .ena_gpio to -ENODEV on regulators having no GPIO in preparation of a code change to accept GPIO 0 in the config. (cherry picked from commit c87ddbb1325a448d56a920513206592f03bca117) Conflicts: arch/arm/mach-imx/gpc.c drivers/regulator/88pm8607.c drivers/regulator/ab8500-ext.c drivers/regulator/ab8500.c drivers/regulator/ad5398.c drivers/regulator/arizona-micsupp.c drivers/regulator/isl6271a-regulator.c drivers/regulator/lp3972.c drivers/regulator/max1586.c drivers/regulator/max8660.c drivers/regulator/max8925-regulator.c drivers/regulator/max8952.c drivers/regulator/max8998.c drivers/regulator/mc13783-regulator.c drivers/regulator/s2mps11.c drivers/regulator/tps65217-regulator.c drivers/regulator/tps6524x-regulator.c drivers/regulator/wm831x-dcdc.c drivers/regulator/wm831x-ldo.c
2015-05-29apalis_imx6_android_defconfig: add defconfig for androidDaniel Kochmanski
2015-05-29arm: imx6: fix pcie by disabling rc/ep test modeMarcel Ziswiler
Fix PCIe operation by disabling RC/EP test mode which according to the following community forum post is only used on the PCIe EP/RC validation system and otherwise prevent PCIe from working properly: https://community.freescale.com/thread/328257
2015-05-29apalis_imx6_defconfig: add CONFIG_NEW_LEDSMax Krummenacher
2015-05-29apalis_imx6_defconfig: add fusion-F0710A as a moduleMax Krummenacher
Enable the TouchRevolution Fusion 7 and 10 multi-touch controller driver to be built as a module. While at it remove NEW_LEDS which is enabled through dependencies.
2015-05-29apalis_imx6_defconfig: remove CONFIG_INPUT_EVBUGMax Krummenacher