Age | Commit message (Collapse) | Author |
|
Add atmel mxt multitouch controller driver which is interfaced over I2C bus.
This controller is used by the Logic Technologies, Capacitive Touch Display
7" Parallel (LT161010-2NHC).
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is only an issue for later Colibri iMX7S 256MB V1.1C and Colibri
iMX7D 512MB V1.1D modules which are currently still in Toradex internal
validation & verification.
Currently without an SD card inserted the regulator framework actually
powers the LDO2 off however e.g. the BL_ON pin is also on that same
rail!
Fix this by specifying LDO2 to be always on and use the regular 3.3V
supply from the carrier board as the vmmc-supply.
Specify that carrier board 3.3V supply to be always on as well to avoid
the following misleading message during boot:
[ 2.299654] 3.3V: disabling
One remaining issue is that now in suspend LDO2 is still powered and
even adding the following did not help:
regulator-state-mem {
regulator-off-in-suspend;
};
Further investigation pending.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This reverts commit 82f0f4f012a646a735d6b44de77b7c9d0712c714.
This is only an issue for later Colibri iMX7S 256MB V1.1C and Colibri
iMX7D 512MB V1.1D modules which are currently still in Toradex internal
validation & verification.
As it turns out not using LDO2 anywhere at all in the regular case is a
bad idea leading to the following:
[ 2.317688] LDO2: disabling
Of course display and SD card still worked on the EvalBoard due to back
feeding through some pull-ups however on Viola with just one pull-up
it failed once both display and SD card were active...
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: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Toradex Carrier boards use the ST M41T0 RTC (not M41T00). The RTC
is almost the same, but the M41T0 needs some special handling in
case the oscillator fails. Now that support for this difference is
available, using the new compatible string to make use of it.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
By convention, the node name uses the address (specified by the reg
property) appended to the node name. Follow this convention in SPI
nodes too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The logic to enable USB power is part of the carrier board and
might differ depending on the carrier board design. Introduce basic
fixed regulators for power input and move the USB power enable
regulator to the carrier board device tree.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The SPI CAN controller MCP2515 was set up to use the wrong interrupt source.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The SPI CAN controller MCP2515 uses a dedicated interrupt line.
Assign the interrupt line to the CAN controller node explicitly.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 8a91ecf06aa0155b36641630ee1ee932c3855fe2)
|
|
We traditionally have all standard pinctrl in the module level
device tree. Move pinctrl accordingly.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit a75a5bc0bc91f29ad4df48684589d35454a5ccad)
|
|
Use USBC_DET feature of standard Colibri SODIMM pin 137 for USB
device/host switching using the generic extcon USB gpio implementation.
Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com>
[remove pin from FEC and fixed pinmux assignment]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit cf86d072a45f1490d447aebe8677a740164ac5fb)
|
|
Use VGA (640x480) timings by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit e60b1f9218b5e8de486451a42e44b19b4a20969a)
|
|
Add wakeup GPIO key which is able to wake the system from sleep
modes (e.g. Suspend-to-Memory). Also rename the intermediate node
to imx7d-colibri.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit b5d2713d64c1c69f5dfe14a273e593acac089287)
|
|
Use the disable-wp property since we don't have a concept of write
protect. This also gets rid of the following warning:
mmc0: host does not support reading read-only switch, assuming write-enable
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 35da2dc4487466dd2dbaf2437e481ea7b0730cb2)
|
|
Rename display node to avoid node name duplication:
device-tree: Duplicate name in lcdif@30730000, renamed to "display#1"
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 8cb4656dee95b61c9d37283a81d7e733da1fcd9f)
|
|
We can store multiple modes now and select the mode used by the
driver by default using the native-mode property.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ce29664646350d6baf5d844eac72ca807869bef4)
|
|
On some carrier boards (namely Aster, Viola and Orchid) the second
USB port (USBC) is used in host only mode. In this case, the USBH_PEN
signal is also used to enable USB power. This change makes sure that
USBH_PEN is also set in case only one USB port is available (as it is
the case on Colibri iMX7 Solo).
Strictly speaking we should not add the regulator in the Evaluation
Board device tree. However, we use the Evaluation Board device tree
as our "Colibri Standard" device tree and it does not really hurt on
the Evaluation Board...
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 9848329bdd5ea9166acd20681b1b7dcffc94c978)
|
|
Add TouchRevolution multitouch controller driver which is connectable
over I2C bus. The driver supports the 7" and 10" multitouch variant
available from TouchRev.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 9a7463af56709636d4063c3a177065df5fb51c51)
|
|
MCP2515 is available on colibri evaluation board, include it in
the device tree for Colibri iMX7.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit d2adf656222c62a207d55d07cbdb1f891e4aa6bf)
|
|
According to the datasheet the SPI clock (for read) must not exceed
1 / 43ns for i.MX7.
Reflect that correctly in the device tree.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 9682073e3250f8cbc8be2326bcf62287ef656e3d)
|
|
Use the newly invented device evalspi.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 0f5839e93e1be86e399f267ad60bf365e15e44e9)
|
|
The SDHC stack uses the GPIO flags to determine whether the card
detect gpio is active-low or high. Zero means GPIO_ACTIVE_HIGH,
which is actually wrong. Specify the card detect to be active-low.
Also remove the tuning step property, this is a board specific
parameter which seems to come from Sabre, where NXP actually
deleted it too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit c2330ccf7023d34671169f11888a3681d32590e6)
|
|
Split up the colibri device tree into two device tree files for
COM and Carrier Board. Use the usual SoC/COM/Board tripplet and
follow including scheme used for Vybrid.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ac23876a1c36a702019c44f299195afa7b875393)
|