summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-08ARM: 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>
2019-10-07arm64: 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>
2019-10-03ARM64: 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>
2019-10-02ARM64: 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>
2019-10-02arm64: dts: imx8qm-apalis: disable dspMax Krummenacher
The dsp is an optional silicon feature. Currently some of the Apalis iMX8 do not have the feature, so disable it for now. Prevents the following message, often followed by a kernel oops. | Failed power operation on resource 512 sc_err 3, power_on 1 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-02ARM64: 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>
2019-10-01ARM64: 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>
2019-10-01ARM64: fsl-imx8qm-apalis: Delete bootargs as it is not neededPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-10-01ARM64: fsl-imx8qm-apalis*: Move SoM unrelated stuff to *eval.dtsiPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-10-01ARM64: 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>
2019-09-27arm64: 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>
2019-09-27arm64: 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>
2019-09-27fsl-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>
2019-09-27ARM64: 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>
2019-09-27ARM64: 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>
2019-09-27ARM64: 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>
2019-09-25ARM64: dts: add initial apalis-imx8x devicetreesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-25ARM64: defconfig: Add support for Apalis iMX8X hardwarePhilippe Schenker
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>
2019-09-24drm: lt8912: Change the way the hpd gpio os being accessedPhilippe Schenker
This commit changes gpiod_get_value to gpiod_get_value_cansleep so it doesn't crash when trying to access a GPIO from a gpio expander over i2c. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-24gpio: pca953x: Use PCA_LATCH_INTAndy Shevchenko
The commit 0cdf21b34e30 ("gpio: pca953x: set the PCA_PCAL flag also when matching by DT") introduces a helper macro which tells that chip supports latched interrupts, but the macro was never used for ACPI or legacy enumeration. So, make use of it for legacy and ACPI enumeration. Cc: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit 2870b3c54ca75cdacf92e20f5b518de770f0dbc9) Conflicts: drivers/gpio/gpio-pca953x.c There was an earlier commit introducing the PCA_LATCH_INT define but I skipped that and directly pulled this commit and solved in the conflicts. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-24gpio: pca953x: add pcal6416 to the of_device_id tableAlexandre Belloni
When adding support for the pcal6416, the of_device_id table was left out, add the proper entry. Fixes: aac1e3c9680b ("gpio: pca953x: add support for pcal6416 type") Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit 01769c4700d8ca156b4a331b16be9eda575dfde9) Conflicts: drivers/gpio/gpio-pca953x.c Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-24gpio: pca953x: add support for pca6416Alexandre Belloni
The NXP PCA6416, documented at [1], is a variant of the PCA GPIO expander with 16 GPIOs, and supporting an interrupt. [1] https://www.nxp.com/docs/en/data-sheet/PCA6416A.pdf Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit 12c7a4fc47e4720e96205030b1f0dd6bd2746a3f)
2019-09-24dt-bindings: gpio: pca953x: document the nxp,pca6416Alexandre Belloni
The NXP PCA6416 is a variant of the PCA GPIO expander, with 16 GPIOs. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit 15e384c446d93d00ab96d34bf2a5c308e3b3d16b)
2019-09-24gpio: pca953x: add support for pcal6416 typeThomas Petazzoni
The NXP PCAL6416, documented at [1], is a variant of the PCA GPIO expander with 16 GPIOs, and supporting an interrupt and the "extended" features for interrupt, pull-up/pull-down configuration, etc. [1] https://www.nxp.com/docs/en/data-sheet/PCAL6416A.pdf Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> (cherry picked from commit aac1e3c9680b47e1bdadeea22bda3da3de6399b0) Conflicts: drivers/gpio/gpio-pca953x.c Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-20defconfig: fix delayed mxt loadingMarcel Ziswiler
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>
2019-09-20ARM64: dts: colibri-imx8x: fix lvds evalsMarcel Ziswiler
Fix single and dual channel LVDS device trees. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-09-20ARM64: dts: colibri-imx8x: fix evalMarcel Ziswiler
Just a tiny cosmetic fix. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-09-20ARM64: dts: colibri-imx8x: fix asterMarcel Ziswiler
- 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>
2019-09-20ARM64: dts: colibri-imx8x: clean-up panel stuffMarcel Ziswiler
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>
2019-09-20drm/panel: simple: add display timings for logic technologies displaysMarcel Ziswiler
Add display timings for the following 3 display panels manufactured by Logic Technologies Limited: - LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display 7" Parallel [1] - LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display 7" Parallel [2] - LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display 10.1" LVDS [3] Those panels may also be distributed by Endrich Bauelemente Vertriebs GmbH [4]. [1] https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf [2] https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf [3] https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf [4] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (Upstreaming in progress https://lore.kernel.org/patchwork/patch/1129985/)
2019-09-20drm: Turn bus flags macros into an enumLaurent Pinchart
This allows nicer kerneldoc with an easy way to reference the enum and the values. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> (cherry picked from commit a0970e87b5d357c8a1ec9c18e128a8d7921c29f9)
2019-09-20drm: Clarify definition of the DRM_BUS_FLAG_(PIXDATA|SYNC)_* macrosLaurent Pinchart
The DRM_BUS_FLAG_PIXDATA_POSEDGE and DRM_BUS_FLAG_PIXDATA_NEGEDGE macros and their DRM_BUS_FLAG_SYNC_* counterparts define on which pixel clock edge data and sync signals are driven. They are however used in some drivers to define on which pixel clock edge data and sync signals are sampled, which should usually (but not always) be the opposite edge of the driving edge. This creates confusion. Create four new macros for both PIXDATA and SYNC that explicitly state the driving and sampling edge in their name to remove the confusion. The driving macros are defined as the opposite of the sampling macros to made code simpler based on the assumption that the driving and sampling edges are opposite. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Stefan Agner <stefan@agner.ch> Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> (cherry picked from commit a792fa0e21876c9cbae7cc170083016299153051)
2019-09-20drm: Add support for extracting sync signal drive edge from videomodePeter Ujfalusi
The sync in some panels needs to be driven by different edge of the pixel clock compared to data. This is reflected by the DISPLAY_FLAGS_SYNC_(POS|NEG)EDGE in videmode flags. Add similar similar definitions for bus_flags and convert the sync drive edge via drm_bus_flags_from_videomode(). Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180618132242.8673-2-tomi.valkeinen@ti.com (cherry picked from commit 955f60db0f2b87094f64df3d7f608fdac4a6ebb1)
2019-09-20Revert "drm/panel: simple: Add support for Toradex Capacitive Touch Display"Marcel Ziswiler
This reverts commit 5796cc9b017729c8a23f963c0b0f845b675b1949.
2019-09-20Revert "Panel: simple: Add Toradex 7" Capacitive Touch Display"Marcel Ziswiler
This reverts commit c472b2bb018166d6a76513ac02439802fa18fe65.
2019-09-20ARM64: dts: colibri-imx8x: Add Atmel touchscreenOleksandr Suvorov
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>
2019-09-18power: reset: gpio-poweroff: add force-modeOleksandr Suvorov
Property "force-mode" tells the driver to replace previously initialized power-off kernel hook and allows gpio-poweroff to probe and operate successfully in any case. Related-to: #42589 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-09-17Merge remote-tracking branch 'fslc/4.14-2.0.x-imx' into ↵Max Krummenacher
toradex_4.14-2.0.x-imx-next
2019-09-13usb: chipidea: use seperate role sm when using extconMax Krummenacher
Enable the code from commit 'aa5fc842bb05 usb: chipidea: use of extcon framework to work for non OTG case' if ID and/or VBUS signals are taken from extcon. Otherwise (observed on a Colibri iMX6ULL) when booting in the ROLE_HOST and then changing to ROLE_GADGET the gadget does not appear on the bus and switching back to ROLE_HOST does also no longer detect any connected USB devices. Related-to: #50573 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit b80233b2f3ec91920bba3712dcc929dc913caf15)
2019-09-13Revert "MLK-10783-5 usb: phy: mxs: add "fsl,imx6ul-usbphy" compatible string"Max Krummenacher
This reverts commit c3b206c34b2eccdde14fee1012d85ef3e9448c3e. With the forward port to 4.9 this is now obsolete. The following commit already added this: '5c256b68348e usb: phy: mxs: add "fsl,imx6ul-usbphy" compatible string' Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 4adfcec131baf1deb92b5f23c0871cff32307cc1)
2019-09-06ARM64: dts: imx8qm-apalis: fix max link speed propertyMax Krummenacher
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>
2019-09-05ARM64: dts: imx8qm-apalis: add pcie_per clockMax Krummenacher
With the 'Revert "MLK-18433 PCI: imx: remove the lpcg_xxx clocks in driver"' The pcie_per clock is again needed. So add it also to the overriding clock property. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-02Revert "MLK-18433 PCI: imx: remove the lpcg_xxx clocks in driver"Oleksandr Suvorov
This reverts commit 68a026f4d3d8d79185c0b1bcc1e74985e1322466. The clock pcie_per is required to be held to avoid crash of pcie driver on system suspend. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-09-02PCI: imx: fix crash on system suspendOleksandr Suvorov
The driver tries to modify registers after disable important clocks. This causes the crash a driver: [ 67.083289] Synchronous External Abort: synchronous external abort (0x96000210) at 0xffff00000d9c0008 [ 67.092620] Internal error: : 96000210 [#1] PREEMPT SMP [ 67.097935] Modules linked in: 8021q garp stp mrp crc32_ce crct10dif_ce mwifiex_pcie mwifiex galcore(O) [ 67.107447] Process sh (pid: 4032, stack limit = 0xffff00001a668000) [ 67.113897] CPU: 3 PID: 4032 Comm: sh Tainted: G O 4.14.117-3.0.2+ge43e3a26e1b7 #1 [ 67.122691] Hardware name: Toradex Colibri iMX8QXP/DX on Colibri Evaluation Board V3 (DT) [ 67.130963] task: ffff8000761b4380 task.stack: ffff00001a668000 [ 67.136983] PC is at regmap_mmio_read32le+0x8/0x20 [ 67.141866] LR is at regmap_mmio_read+0x2c/0x68 [ 67.146484] pc : [<ffff0000086db108>] lr : [<ffff0000086db1e4>] pstate: 000001c5 [ 67.153971] sp : ffff00001a66b990 [ 67.157372] x29: ffff00001a66b990 x28: 0000000000000000 [ 67.162778] x27: 0000000000000002 x26: ffff0000096de000 [ 67.168183] x25: 0000000000000000 x24: 0000000000000000 [ 67.173589] x23: 0000000000000200 x22: ffff00001a66ba4c [ 67.178994] x21: ffff80007ab83400 x20: ffff00001a66ba4c [ 67.184400] x19: ffff80007aab0680 x18: 0000000000000001 [ 67.189805] x17: 0000ffff8d856160 x16: 0000000000000000 [ 67.195210] x15: 0000000000000010 x14: ffff80007ff6bd80 [ 67.200615] x13: 0000000000000004 x12: 0000000000000000 [ 67.206023] x11: 0000000000000001 x10: 0000000000000980 [ 67.211428] x9 : ffff00001a66b920 x8 : ffff8000761b4d60 [ 67.216833] x7 : 0000000000000004 x6 : 0000000000000000 [ 67.222238] x5 : 0000000000000000 x4 : 0000000000000000 [ 67.227644] x3 : ffff0000086db1b8 x2 : ffff0000086db100 [ 67.233047] x1 : 00000000000c0008 x0 : ffff00000d9c0008 [ 67.238454] Call trace: [ 67.240987] Exception stack(0xffff00001a66b850 to 0xffff00001a66b990) [ 67.247521] b840: ffff00000d9c0008 00000000000c0008 [ 67.255448] b860: ffff0000086db100 ffff0000086db1b8 0000000000000000 0000000000000000 [ 67.263373] b880: 0000000000000000 0000000000000004 ffff8000761b4d60 ffff00001a66b920 [ 67.271300] b8a0: 0000000000000980 0000000000000001 0000000000000000 0000000000000004 [ 67.279226] b8c0: ffff80007ff6bd80 0000000000000010 0000000000000000 0000ffff8d856160 [ 67.287152] b8e0: 0000000000000001 ffff80007aab0680 ffff00001a66ba4c ffff80007ab83400 [ 67.295079] b900: ffff00001a66ba4c 0000000000000200 0000000000000000 0000000000000000 [ 67.303005] b920: ffff0000096de000 0000000000000002 0000000000000000 ffff00001a66b990 [ 67.310932] b940: ffff0000086db1e4 ffff00001a66b990 ffff0000086db108 00000000000001c5 [ 67.318858] b960: ffff80007ab838f0 0000000000000000 0000ffffffffffff 0000000000000002 [ 67.326785] b980: ffff00001a66b990 ffff0000086db108 [ 67.331756] [<ffff0000086db108>] regmap_mmio_read32le+0x8/0x20 [ 67.337681] [<ffff0000086d4134>] _regmap_bus_reg_read+0x14/0x20 [ 67.343693] [<ffff0000086d5a40>] _regmap_read+0x60/0xe0 [ 67.349011] [<ffff0000086d5e34>] _regmap_update_bits+0x9c/0xe8 [ 67.354937] [<ffff0000086d6e58>] regmap_update_bits_base+0x60/0x90 [ 67.361214] [<ffff0000084de284>] pci_imx_suspend_noirq+0x1dc/0x270 [ 67.367490] [<ffff0000086c0f30>] pm_generic_suspend_noirq+0x28/0x40 [ 67.373853] [<ffff0000086ce250>] genpd_finish_suspend+0xd0/0xf8 [ 67.379865] [<ffff0000086ce2a0>] pm_genpd_suspend_noirq+0x10/0x18 [ 67.386052] [<ffff0000086c5670>] dpm_run_callback.isra.7+0x40/0xa0 [ 67.392326] [<ffff0000086c5ca8>] __device_suspend_noirq+0xb0/0x148 [ 67.398598] [<ffff0000086c6f78>] dpm_noirq_suspend_devices+0x100/0x200 [ 67.405220] [<ffff0000086c709c>] dpm_suspend_noirq+0x24/0x60 [ 67.410975] [<ffff0000081122ec>] suspend_devices_and_enter+0x144/0x560 [ 67.417595] [<ffff000008112a14>] pm_suspend+0x30c/0x354 [ 67.422913] [<ffff0000081114d8>] state_store+0x88/0xf8 [ 67.428146] [<ffff000008d5c92c>] kobj_attr_store+0x14/0x28 [ 67.433727] [<ffff000008287b90>] sysfs_kf_write+0x40/0x58 [ 67.439219] [<ffff000008286e54>] kernfs_fop_write+0xcc/0x1e0 [ 67.444975] [<ffff00000820b1e8>] __vfs_write+0x18/0x118 [ 67.450292] [<ffff00000820b4d4>] vfs_write+0xa4/0x1a8 [ 67.455438] [<ffff00000820b77c>] SyS_write+0x44/0xa0 [ 67.460492] Exception stack(0xffff00001a66bec0 to 0xffff00001a66c000) [ 67.467028] bec0: 0000000000000001 0000aaaacb49e7d0 0000000000000004 0000ffffb585cf68 [ 67.474953] bee0: 0000000000000000 5551000454000000 0000000000000003 000000000000006d [ 67.482883] bf00: 0000000000000040 0000000000000001 0000ffffc12f3c30 0000000000000000 [ 67.490808] bf20: 0000000000000000 0000000000000018 0000000000000001 0000000000000008 [ 67.498736] bf40: 0000aaaab6c698e8 0000ffffb575c540 0000000000000fff 0000000000000001 [ 67.506663] bf60: 0000aaaacb49e7d0 0000ffffb5859588 0000000000000004 0000aaaacb49e7d0 [ 67.514591] bf80: 0000000000000004 0000ffffb5859670 0000aaaab6c32000 0000000000000000 [ 67.522519] bfa0: 0000aaaab6c6a000 0000ffffc12f3c70 0000ffffb575f930 0000ffffc12f3c70 [ 67.530444] bfc0: 0000ffffb57b13dc 0000000020000000 0000000000000001 0000000000000040 [ 67.538371] bfe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 67.546300] [<ffff000008083b18>] __sys_trace_return+0x0/0x4 [ 67.551968] Code: b5000001 d65f03c0 f9400000 8b214000 (b9400000) [ 67.558157] ---[ end trace 72215c33ce658969 ]--- Using runtime PM across suspend/resume fixes this crash. Still need to convert all clock work into runtime PM carefully. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-09-02ARM64: dts: colibri-imx8x: Add note against using epdev_on-supply in pciebOleksandr Suvorov
Adding epdev_on-supply leads a crash of pcie driver on system suspend. Warn customers about it. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-08-30ARM64: dts: imx8qm-apalis: use low-drive for SD pinsPhilippe Schenker
This commit makes sure to use low-drive mode on all sd pins as suggested by our hardware team. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-26ARM: dts: imx6q: follow addition of sata_ext clkColibri-iMX8X_Console-Image_3.0b2.65-20190830Colibri-iMX7_Console-Image_3.0b2.65-20190830Colibri-iMX6_Console-Image_3.0b2.65-20190830Colibri-iMX6ULL_Console-Image_3.0b2.65-20190830Apalis-iMX8_Console-Image_3.0b2.65-20190830Apalis-iMX6_Console-Image_3.0b2.65-20190830Max Krummenacher
Commit f014b5b3b3ab added an additional clock to ahci_imx.c used on i.MX8. Add a dummy clock to imx6q.dtsi so that i.MX6 which doesn't need the clock the driver keeps working. Fixes: [ 2.053942] ahci-imx 2200000.sata: can't get sata_ext clock. [ 2.053962] ahci-imx: probe of 2200000.sata failed with error -2 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-20ARM: dts: imx6ull-colibri: add group to iomuxc to suppress warningPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-20ARM: dts: imx6-ixora: fix missing includesPhilippe Schenker
Fixes: commit: 5d2a26667010640e33ca0a52c73310f158179711 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-20ARM: dts: (apalis|colibri): unify backlight settingsPhilippe Schenker
This commit unifys the backlight settings. All displays sold by Toradex are now supporting 150Hz as a PWM backlight typical frequency. Use this value for all SoM's and put also some better default values for different brightness. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>