summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2020-02-12arm64: defconfig: make imx_sdma a moduleMax Krummenacher
Remove firmware kobject uevent fallback mechanism and make imx_sdma a module so it gets loaded when rootfs is mounted. This prevents the error, that firmware can't be loaded from rootfs Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-12arm64: defconfig: add marvell wi-fi supportMax Krummenacher
On Verdin iMX8MM the Wi-Fi module is connected through SDIO. Add this driver variant. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-12arm64: defconfig: add wm8904 codec driverMax Krummenacher
On Verdin iMX8MM Development board this codec is used. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-12arm64: dts: apalis-imx8x: fix device tree compilation issueMarcel Ziswiler
This fixes the following device tree compilation issue as introduced by the previous commit 621db2fdb2e1 ("arm64: dts: apalis-imx8x: add adv7280 to devicetree"): DTC arch/arm64/boot/dts/freescale/fsl-imx8qxp-apalis-eval.dtb arch/arm64/boot/dts/freescale/fsl-imx8qxp-apalis-eval.dtb: ERROR (phandle_references): Reference to non-existent node or label "adv7280_ep" Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-12arm64: dts: apalis-imx8x: add adv7280 to devicetreePhilippe Schenker
This patch adds the adv7280 to the devicetree and makes changes that are necessary for parallel-CSI. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM: dts: colibri-imx6ull: pad_gpio1_io03: remove reserved bitsPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM: dts: colibri-imx6ull: correct wrong pinmuxing and add commentsPhilippe Schenker
Some pinmuxings are obviously wrong, originating from a copy/paste error. This patch corrects that with the following strategy: - Set all reserved bits to zero - Leave drive strength and slew rate as is - Add sensible pull and hysteresis depending on the function of the pin - Not used pins are muxed to their reset-value defined by the SoC Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: enable flexcan 1 and 2Philippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8x: Add support for MIPI-CSI cameraPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8x: enable reset-on-resume for WiFi USBOleksandr Suvorov
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>
2020-02-12ARM64: dts: apalis-imx8x: Move part of usbotg3 to SoM levelOleksandr Suvorov
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>
2020-02-12ARM64: fsl-imx8qm-apalis: fix wakeup by gpio keyOleksandr Suvorov
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>
2020-02-12colibri-imx6ull_defconfig: Include BT SDIO moduleOleksandr Suvorov
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>
2020-02-12ARM64: dts: apalis-imx8qxp: enable all uart interfacesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8qxp: uncomment mipi_dsi1 section and disable itPhilippe Schenker
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>
2020-02-12ARM64: dts: apalis-imx8qxp: enable adc0 and correct pinmuxingPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12arm64: defconfig: enable hidraw and ext4_fs_securityMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-12arm64: defconfig: enable USB-to-serial adaptersStefan Agner
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>
2020-02-12ARM64: dts: apalis-imx8x: fix console suspendingOleksandr Suvorov
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>
2020-02-12ARM64: dts: apalis-imx8x: improve definition of gpio expanderOleksandr Suvorov
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>
2020-02-12ARM64: dts: apalis-imx8x: Mux USB WiFi sleep clockOleksandr Suvorov
Set USB WiFi sleep clock pin muxing up properly. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-02-12ARM64: dts: apalis-imx8x: fix wakeup control modeOleksandr Suvorov
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>
2020-02-12ARM64: dts: apalis-imx8x: Add pad-wakeupOleksandr Suvorov
gpio-mxc module requires pad-wakeup options to proceed wakeup key properly. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-02-12ARM64: dts: apalis-imx8x: Fix wakeup gpio settingsOleksandr Suvorov
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>
2020-02-12ARM64: apalis-imx8x: remove phy-post-delayPhilippe Schenker
It was decided to remove that extra capacitor so this delay is no longer needed.
2020-02-12ARM64: dts: colibri-imx8x: Add wakeup gpio padOleksandr Suvorov
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>
2020-02-12arm64: defconfig: drm: add load edid supportMax Krummenacher
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>
2020-02-12ARM64: dts: colibri-imx8x: Add FlexCAN3Oleksandr Suvorov
Colibri i.MX8QXP module supports 3 flexcan interfaces, so add missed one. Related-To: #42561 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-02-12ARM64: dts: colibri-imx8x: Fix pull mode for wake-upOleksandr Suvorov
gpio3-10 is externally pulled-down, so fix internal pin settings. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-02-12ARM64: dts: fsl-imx8qm-apalis.dtsi: set mmc no-1-8-vMax Krummenacher
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>
2020-02-12ARM64: dts: fsl-imx8qxp-apalis.dtsi: set mmc no-1-8-vMax Krummenacher
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>
2020-02-12ARM64: dts: fsl-imx8qxp-colibri.dtsi: set mmc no-1-8-vMax Krummenacher
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>
2020-02-12ARM: dts: imx6ull-colibri: rename vqmmc regulatorMax Krummenacher
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>
2020-02-12ARM: dts: imx6ull-colibri: use mmc sleep state alwaysMax Krummenacher
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>
2020-02-12ARM: dts: imx6ull-colibri: fix vqmmc regulatorMax Krummenacher
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>
2020-02-12arm64: defconfig: add zram supportStefan Agner
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>
2020-02-12ARM64: imx8qxp-(colibri|apalis).dtsi: Mux wakeup pad properlyPhilippe Schenker
This commit muxes the wakeup pins correctly so it can be woken up from it. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: fsl-imx8qm-apalis.dtsi: set wakeup in pinmux for gpio-wakeup-keyPhilippe Schenker
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>
2020-02-12ARM64: dts: imx8qm-apalis: follow changed nameMax Krummenacher
'make dtbs' then builds the Apalis iMX8 device tree also. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-12ARM64: fsl-imx8qm-apalis: remove redundant usbphy declarationPhilippe Schenker
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>
2020-02-12ARM64: fsl-imx8qm-apalis: Delete bootargs as it is not neededPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: fsl-imx8qm-apalis*: Move SoM unrelated stuff to *eval.dtsiPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: imx8qm-apalis*: Rename and create DT files for new structurePhilippe Schenker
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>
2020-02-12arm64: dts: apalis-imx8: fix lvds panelMarcel Ziswiler
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>
2020-02-12arm64: dts: fsl: apalis-imx8qm: add pcie bus range propertyMax Krummenacher
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>
2020-02-12fsl-imx8qm-device.dtsi: replace hardcoded valuesMax Krummenacher
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>
2020-02-12ARM64: dts: apalis-imx8: integrate reset_moci#_drv handlingMarcel Ziswiler
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>
2020-02-12ARM64: dts: apalis-imx8: activate resistive touchscreen driverMarcel Ziswiler
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>
2020-02-12ARM64: dts: apalis-imx8/colibri imx8x: migrate to using wakeup-sourceMarcel Ziswiler
Replace legacy gpio-key,wakeup property with wakeup-source one. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-12ARM64: dts: add initial apalis-imx8x devicetreesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>