Age | Commit message (Collapse) | Author |
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
USB WiFi soldered into Apalis iMX8X module and permamently connect to
usbotg3 via usb 3.0 hub. After system resuming from suspend, WiFi module
fails to communicate via USB interface:
-----------------------------------------------------------
[ 1550.425744] usb usb2: root hub lost power or was reset
[ 1551.756995] usb 2-1: reset SuperSpeed USB device number 2 using cdns-usb3
[ 1552.145771] usb 2-1.1: reset SuperSpeed USB device number 4 using cdns-usb3
[ 1552.196843] usb 2-1.1: PREP_CMD: device in suspended state
[ 1552.202412] usb 2-1.1: mwifiex_usb_disconnect: removing card
[ 1552.208209] usb 2-1.1: info: shutdown mwifiex...
[ 1552.213071] usb 2-1.1: PREP_CMD: device in suspended state
[ 1552.236771] usb 2-1.1: PREP_CMD: device in suspended state
[ 1552.661125] usb 2-1.1:1.0: rebind failed: -517
[ 1552.665648] usb 2-1.1:1.1: rebind failed: -517
[ 1552.670118] usb 2-1.1:1.2: rebind failed: -517
[ 1552.676051] PM: resume devices took 2.276 seconds
[ 1552.681128] OOM killer enabled.
[ 1552.684296] Restarting tasks ...
[ 1552.692860] usb 2-1.1: WLAN FW is active
[ 1552.693897] done.
[ 1552.702695] PM: suspend exit
...
[ 1562.764794] usb 2-1.1: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0x0
[ 1562.772300] usb 2-1.1: num_data_h2c_failure = 0
[ 1562.776865] usb 2-1.1: num_cmd_h2c_failure = 0
[ 1562.781340] usb 2-1.1: is_cmd_timedout = 1
[ 1562.785462] usb 2-1.1: num_tx_timeout = 0
[ 1562.789492] usb 2-1.1: last_cmd_index = 1
[ 1562.793524] usb 2-1.1: last_cmd_id: 00 00 a9 00 00 00 00 00 00 00
[ 1562.799639] usb 2-1.1: last_cmd_act: 00 00 00 00 00 00 00 00 00 00
[ 1562.805842] usb 2-1.1: last_cmd_resp_index = 0
[ 1562.810308] usb 2-1.1: last_cmd_resp_id: 00 00 00 00 00 00 00 00 00 00
[ 1562.816857] usb 2-1.1: last_event_index = 0
[ 1562.821060] usb 2-1.1: last_event: 00 00 00 00 00 00 00 00 00 00
[ 1562.827091] usb 2-1.1: data_sent=0 cmd_sent=1
[ 1562.831470] usb 2-1.1: ps_mode=0 ps_state=0
[ 1562.835700] usb 2-1.1: info: _mwifiex_fw_dpc: unregister device
-----------------------------------------------------------
Enable reset-on-resume feature of usb phy-generic driver fixes this
issue.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
USBOTG3 connects to USB Hub placed on SoM. As well as its VBUS enable
signal exports to board X1 connector.
Move a part of usbotg3 node to SoM module too.
Related-to: #57466
Related-to: #55501
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add required pad-wakeup/pad-wakeup-num properties to have
wakeup by gpio key function working.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Colibri iMX6ULL operates BT part of AW-CM276NF WiFi/BT modules
in SDIO mode.
Including HCI Bluetooth SDIO and Marvell BT/SDIO drivers makes
system able to use bluetoth module.
(Reported by CTO team of Ciklum)
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
For HDMI the mipi_dsi_bridge2 is used and on this pins lvds is running
per default.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add some common USB-to-serial adapters such as FTDI or the Prolific
devices.
Related-to: #57567
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
no_console_suspend=1 doesn't work on Apalis iMX8X V1.0A module.
This patch fixes the issue.
Related-to: #57468
Related-to: #55501
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Driver for Marvell GPIO expanders support useful DT options
ngpios and gpio-line-names. Set them properly helps in some
cases like using gpioinfo/set/get tools.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Set USB WiFi sleep clock pin muxing up properly.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
GPIO1_26 which uses for as wakeup source is pulled up and
its active state is low. So Wakeup signal should be generated
on falling edge.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
gpio-mxc module requires pad-wakeup options to proceed wakeup key
properly.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Correct muxmode for MIPI_DSI0_I2C0_SDA signal to be used
as GPIO wakeup is LSIO_GPIO1_IO26.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
It was decided to remove that extra capacitor so this delay is no
longer needed.
|
|
NXP driver gpio-mxc requires to set gpio pad properly up
to use it as wakeup source.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This allows to provide an individually prepared or corrected EDID data
set in the /lib/firmware directory from where it is loaded via the
firmware interface.
See Documentation/EDID/HOWTO.txt
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Colibri i.MX8QXP module supports 3 flexcan interfaces, so
add missed one.
Related-To: #42561
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
gpio3-10 is externally pulled-down, so fix internal pin settings.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The PMIC on V1.0A HW generates 1.6V instead of 1.8V which creates
issues with certain SD cards, disable 1.8V signaling for now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The PMIC on V1.0A HW generates 1.6V instead of 1.8V which creates
issues with certain SD cards, disable 1.8V signaling for now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The PMIC on V1.0A HW generates 1.6V instead of 1.8V which creates
issues with certain SD cards, disable 1.8V signaling for now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Cosmetic change: Rename the reg_sd1_vmmc to reg_sd1_vqmmc as it is
used for vqmmc.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The mmc pins sleep state has been added for the UHS1 speed case only,
add it also to the regular case.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The correct spelling for the property is gpios, otherwise the regulator
will neither reserve nor control any gpio(s).
Thus any SD/MMC card which can use UHS 1 modes will fail.
Related-to: #46566
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Enable zram which is useful for compressed swap space in memory. This is
especially useful on embedded devices where swap space on a block device
is not typically enabled (to avoid flash wear).
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
This commit muxes the wakeup pins correctly so it can be woken up
from it.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This enables the possibility for the gpio-key to act as a wakeup. This
commit enables that wakeup and uses rising edges as interrupts for this
specific pad.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
'make dtbs' then builds the Apalis iMX8 device tree also.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
the link to the respective phy usbphynop1 is done a level higher
in fsl-imx8qm-device.dtsi. Remove that redundant decalaration
and add vbus-regulator to the carrier-board-level DT.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Initially create files for usual devicetree structure used by Toradex:
1. SoC-level devicetree (fsl-imx8qm.dtsi)
2. SoM-level devicetree (fsl-imx8qm-apalis.dtsi)
3. Carrier-Board-level devicetree / customization level
(fsl-imx8qm-apalis-eval.dtsi / fsl-imx8qm-apalis-eval.dts)
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Now use logictechno,lt170410-2whc compatible which is the panel inside
our Capacitive Touch Display 10.1" LVDS.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Prevents: 'OF: PCI: No bus range found for /pcie@0x5f000000, using [bus 00-ff]'
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use GIC_SPI (which is defined as 0) instead of the hardcoded value 0.
Use IRQ_TYPE_LEVEL_HIGH (which is defined as 4) instead of the hardcoded value 4.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Integrate RESET_MOCI#_DRV handling with work-around for PCIe switch as
found on the Apalis Evaluation Board similar to what we upstreamed.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Activate resistive touchscreen driver by default which requires moving
pinctrl to it as it needs to switch them pins between ADC and GPIO
functionality on-the-fly.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Replace legacy gpio-key,wakeup property with wakeup-source one.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
As we have a 24c02 eeprom on our Apalis iMX8X som we need to enable
support for it.
The wifi module is hooked up on USB, select its driver.
Make those available as a kernel module.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Disable CONFIG_FW_LOADER_USER_HELPER_FALLBACK which is anyway obsolete.
This fixes the one minute delayed loading of the Atmel MXT touch driver.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Fix single and dual channel LVDS device trees.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Just a tiny cosmetic fix.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
- Re-use pinctrl_gpiokeys rather than re-defining pinctrl_gpio_keys.
- Enable adc0, dpu1, fec1, gpu_3d0, imx8_gpu_ss, pwm_adma_lcdif, usdhc2,
vpu, vpu_decoder, vpu_encoder.
- Add second extcon_usbc_det reference.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Make panel definition generic and default to VESA VGA display timings.
For fsl-imx8qxp-colibri-lvds-single-eval-v3.dts now use
logictechno,lt170410-2whc compatible which is the panel inside our
Capacitive Touch Display 10.1" LVDS.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add a setup for Atmel touchscreen controller to fully support
Toradex Capacitive Touch Display 7" Parallel and Capacitive Touch
Display 10.1" LVDS.
Related-to: #42580
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The pci-imx6 driver reads the fsl,max-link-speed property.
Change to the correct name.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|