Age | Commit message (Collapse) | Author |
|
If poweroff takes a bit more time (e.g. due to I2C call), it is
quite likely that another timer interrupt fires. Timer interrupt
get broadcasted through the timer interrupt callback
tick_handle_oneshot_broadcast. This code broadcasts the timer
interrupt to all CPU's in tick_broadcast_oneshot_mask. The only
function which removes CPU from this mask is
tick_shutdown_broadcast_oneshot which ultimately get called by
_cpu_down (in kernel/cpu.c). The function disable_nonboot_cpus
makes sure that the CPU's get properly taken down and _cpu_down
gets called. With that no more broadcasts are sent to CPU's which
are no longer online.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Disable SNVS power key functionality by default for Colibri i.MX 7
modules. The SNVS power key uses the ONOFF signal, which is directly
controlled by reset and therefor not really a power key available
to the user.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Allow for a build targeting iMX 7 devices without relying on configuration
from i.MX6 and friends.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add workaround for M4 NMI issue.
Set the Ethernet PHY reference clock to be generated externaly from
the i.MX 7 by default (Colibri i.MX 7 V1.1 sample batch)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The i.MX 7 can provide a reference clock to the PHY or use a reference clock
from an external circuit.
If the device-tree node with compatible "fsl,imx7d-fec" has a clock named
enet_out then provide the clock from the i.MX 7, if such a clock is missing
use a clock provided from an external circuit.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add device tree node for resistive touch screen controller AD7879.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add TCM and OCRAM specifications required by the PM code,
otherwise booting Linux will fail in imx7d_pm_init.
Also add mcctest, mcctty and rpmsg nodes required to enable
rpmsg based communciation examples between the two cores.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If IPG clock of the GPC block is missing, we won't be able to get
the IPG bus clock later on. Return with an error if the IPG clock
is missing.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
[exit with error on missing IPG clock]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Enable output driver of Ethernet reference clock.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Do not include MXC V4L2 capture drivers for now, they cause
compile time errors:
| ERROR: "foreground_sdc_deselect" [drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko] undefined!
| ERROR: "bg_overlay_sdc_deselect" [drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko] undefined!
| ERROR: "bg_overlay_sdc_select" [drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko] undefined!
| ERROR: "foreground_sdc_select" [drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko] undefined!
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
MX7D_PAD_UART2_TX_DATA__UART2_DTE_RX was missing the daisychain register
address and value resulting in a non working RX path.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
This reverts commit 87b3f4287b8a9d31ad4d732fac769d97dcf7469a.
Has been fixed upstream differently
3241216e250430a27b30eaf7f7df3e5e006acfb5
|
|
According to the datasheet the SPI clock (for read) must not exceed
1 / 55ns for i.MX6Q/D and 1 / 43ns for i.MX6DL/S.
Reflect that correctly in the device tree.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Synchronize with imx6dl-colibri-eval-v3.dts.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Compile USB device classes such as WDM and CDC ACM as modules.
Enable FTDI USB-to-serial adapter chips and serial console which
allows to use USB serial device drivers as a serial console at
boot time. Compile USB driver for GSM and CDMA modems (Option and
others) as a module.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The invalid value of #address-cells in the imx6 pcie host controller node
causes of_irq_parse_raw() to incorrectly advance through an interrupt-map
table of more than one interrupt. We also take the opportunity to drop the
unused #size-cells here.
This patch resolves this issue and allows proper interrupt mapping for an
imx6 pcie host connected to a P2P bridge when using legacy interrupts.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-samsung-soc <linux-samsung-soc@vger.kernel.org>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: linux-tegra <linux-tegra@vger.kernel.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Grant Likely <grant.likely@linaro.org>
|
|
This stream-lines the drive strength pad settings across both the MMC
and the SD slots.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This adds explicit okay status' to adv7180 and max9526 nodes to be more
in-line with the Evaluation board device-tree.
Please note that this does not have any functional effect as by default
any node is enabled anyway.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Newer systemd variants need network namespace support for various
services such as systemd-hostnamed or systemd-localed.
(cherry picked from commit 4bb3acd58f8d2074cd8e7a6ddb914a0954d0906a)
|
|
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.
|
|
We do provide the line in jack, so add it in the routing.
|
|
This allows for easier disabling of unused cameras.
|
|
|
|
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.
|
|
|
|
|
|
|
|
(cherry picked from commit 47c017b98ce9359f890363b4095c87235a6f81d6)
|
|
|
|
While at it cleanup node names.
|
|
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.
|
|
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
|
|
|
|
|
|
Use USBC_DET feature of Standard Colibri SODIMM pin 137 for USB
device/host switching using the generic extcon USB GPIO implementation.
|