summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2021-01-20ARM: dts: apalis-imx6: rearrange the fusion f0710a touchscreenOleksandr Suvorov
As the Fusion touchscreen is not belong to the specific board but a part of peripheral, move it to the module level. Add the node name to use it in an overlay. Related-to: ELB-3398 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-20ARM: dts: colibri-imx6: disable stmpe touchscreenOleksandr Suvorov
This device is enabled in an overlay. Remains it disabled here. Realetd-to: ELB-3395 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-20ARM: dts: colibri-imx6: disable lcd interfaceOleksandr Suvorov
The parallel RGB interface (lcd) and all related stuff turn on in an overlay. Keep them disabled in the main devicetree. As these subsystems are provided by module, move their definitions into the module-level devicetree. Related-to: ELB-3395 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-14arm64: dts: colibri-imx8x: add second spidev deviceOleksandr Suvorov
Colibri Aster board supports two spidev devices. Add 2nd one. Related-to: ELB-2532 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-14arm64: dts: colibri-imx8x: improve spidev configurationOleksandr Suvorov
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-14ARM: dts: colibri-imx7: improve spidev configurationOleksandr Suvorov
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-14ARM: dts: colibri-imx6dl: improve spidev configurationOleksandr Suvorov
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-14ARM: dts: colibri-imx6ull: improve spidev configurationOleksandr Suvorov
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Colibri Aster board supports 2 spidev interfaces. Enable both of them and fix the CS configuration. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-13ARM: dts: colibri-imx6ull: remove SPI CS#2 setupOleksandr Suvorov
The SODIMM_65 pin, which should be used as a 2nd CS signal, is unavailable for customer on a Colibri Iris board. Remove the 2nd CS signal configuration for all Iris board versions. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-30ARM: dts: colibri-imx6: fix port of spidevOleksandr Suvorov
There is only one spidev port is used on the Evaluation board. Use the correct port address for the 1st device. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-28arm64: dts: apalis-imx8x: request gpio1,2,5,6 pinsOleksandr Suvorov
Request and initialize the rest of GPIOx pins. Related-to: ELB-3427 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-28arm64: dts: apalis-imx8x: add GPIOx signal name for pinsOleksandr Suvorov
Detailing names for pins that serve GPIOx signals. Related-to: ELB-3427 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-23media: imx8: ar0521 and ar1335 supportMarcel Ziswiler
Add drivers for e-con Systems AR0521 and AR1335 camera modules. Related to: PMS-387 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-12-22ARM64: dts: apalis-imx8x: adjust SGTL5000 to 5.4 kernelPhilippe Schenker
Mainly clocks need adjustment. Copy Paste from apalis-imx8 module Related-to: ELB-3423 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-22ARM64: dts: apalis-imx8x: bringup PCIe on new kernelPhilippe Schenker
Related-to: ELB-3428, ELB-2790 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-22ARM64: dts: apalis-imx8x: Disable hsio refclk used only on MEKPhilippe Schenker
They are used on MEK only and are blocking out GPIOs so disable them Related-to: ELB-3428, ELB-2790 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: mux pinctrl_usbh_oc_n pinOleksandr Suvorov
Reduce the length of pinmux name and mux the pin by default. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: fix set up USBO1 OC pinOleksandr Suvorov
The USB_SS3_TC2 pin can be directly used as a USBO1_OC pin to control over-current events. Use this mode. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: remove useless propertyOleksandr Suvorov
The property "reset-on-resume" is useless without setting "reset-gpio". It used as a workaround for earlier revisions of Apalis iMX8QXP to fix Wi-Fi chip issue on resume. Remove obsolete property. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: fix regulator for on-board USB hubOleksandr Suvorov
The cadence usb3 driver tries to turn down this regulator each time it goes to idle. This signal enables on-board USB Hub and should be always on. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-20Revert "arm64: dts: apalis-imx8x: enable USBH1"Oleksandr Suvorov
This reverts commit ce1e685adbd15203ca84c0be62cf752304e39df3. That commit seems for Apalis iMX8QM and should have not been applied for Apalis iMX8QXP. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-17arm64: dts: imx8mm-verdin: move backlight pwm to regular device treeMax Krummenacher
This keeps the numbering of the /sys/class/pwmchipX independent of which overlays are loaded and allows the use of Verdin PWM_3_DSI from user space if it is not used as a backlight PWM. Related-to: ELB-3411 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-12-15ARM64: dts: apalis-imx8: disable dma for lpuart 2 againPhilippe Schenker
lpuart2 is the only UART where DMA request works and linux tries to use a DMA. However this DMA does not work and output hangs, disbling the DMA works for now. This change was originally introduced in commit 1a8badaa585de ARM64: dts: apalis-imx8: disable dma for lpuart2 but lost when doing the devicetree-split. Fixes: 2715972aadc8f arm64: dts: apalis-imx8: separate common module pa Related-to: ELB-3178 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-14arm64: dts: imx8mp-verdin: ethernet workaroundMarcel Ziswiler
Work around potential probe deferral, order and race condition issues. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-12-14arm64: dts: imx8mp-verdin: change on-carrier phy addressMarcel Ziswiler
Both Verdin Developer Board V1.0A and V1.1A have their PHYs at address 7. Only V1.0B had it at the address 3! Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-12-14arm64: dts: imx8mp-verdin: add sodimm annotation to fec pinsMarcel Ziswiler
Add SODIMM annotation to FEC pins. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-12-04ARM: defconfig: fix working tempmonOleksandr Suvorov
tempmon driver requires the platform driver imx-cpufreq-dt that is enabled for imx7 with the option ARM_IMX_CPUFREQ_DT. Adding this option fixes tempmon driver working. Related-to: ELB-3339 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-30arm64: dts: imx8mp-verdin: prepare for dsi to lvds adapterMax Krummenacher
Prepare the nodes for the Verdin DSI to LVDS Adapter overlay. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-30arm64: dts: imx8mp-verdin: prepare for dsi to hdmi adapterMax Krummenacher
Prepare the nodes for the DSI to HDMI Adapter overlay. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-29arm64: defconfig: fix ov5640 crash on i.mx 8m plusMarcel Ziswiler
The OV5640 driver crashes on NXP's i.MX 8M Plus if loaded as a module. Related to: ELB-3209 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-11-29ARM: dts: colibri-imx6ull: do not pull-up sd-clk but sd-cmd signalPhilippe Schenker
From the SD-Card specification: > The host shall supply power to the card so that the voltage is > reached to V DD _min within 250ms and start to supply at least > 74 SD clocks to the SD card with keeping CMD line to high. In case of > SPI mode, CS shall be held to high during 74 clock cycles. According to this information I think we should pull the CMD data line like on other boards to 3.3V. Also on other boards we do have the CLK signal pulled. This looks like this got mixed that up. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-11-26arm64: dts: imx8mp-verdin: add ext_osc to pcie_phy and prevent warningMax Krummenacher
The pcie_phy uses ext_osc info in addition to the pcie node. While at it add the bus-range property to prevent: No bus range found for /pcie@33800000, using [bus 00-ff] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-26MLK-24171-1 arm64: dts: imx8mp: verify the pcie pll sys ref clockRichard Zhu
Verify the PCIe PLL_SYS reference clock source on EVK board. The external OSC clock is used as PCIe REF clock source in default. NOTE: Change the ext_osc of pcie/pcie_phy to '0' when enable SYS_PLL clock mode. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com> (cherry picked from commit 1bda33273eccae3c0d878d34660eca9da1765db0)
2020-11-26arm: dts: imx7d: add missing weim nodeJaskaranjeet Singh
Signed-off-by: Jaskaranjeet Singh <jaskaranjeet.singh@toradex.com>
2020-11-25ARM: dts: apalis-imx6: remove unused nodesOleksandr Suvorov
Toradex BSP 5.x uses the video/fbdev stack of display drivers. Remove unused nodes for gpu/drm/imx stack of drivers. Related-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-25arm64: dts: imx8mp-verdin: fix eqos macMax Krummenacher
With the driver now supporting the phy-supply property, remove the regulator-boot-on property. The driver does not support the 'sleep' state pinctrl. Remove it. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25arm64: dts: imx8mp-verdin: remove phy-supply from fecMax Krummenacher
The PHY connected to the FEC doesn't have a seperate switchable rail. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25arm64: defconfig: synchronize with savedefconfigMax Krummenacher
CONFIG_CRYPTO_XTS is selcted (as 'y') by CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25arm64: defconfig: reenable drivers previously enabledMax Krummenacher
This adds back drivers enabled in the following 3 commits commit e7704de31f0b ("arm64: defconfig: add zram support") commit 08d125a06697 ("arm64: defconfig: add sound drivers for Gumstix AutoBSP") commit f2bf706a88d6 ("arm64: defconfig: add bluetooth drivers for Gumstix AutoBSP") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25arm64: dts: imx8mp-verdin: add device tree for dahliaMax Krummenacher
Only the Development Board gives access to the native hdmi signals. Move the nodes into imx8mp-verdin-dev.dtsi. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25arm64: dts: imx8mp-verdin: change wi-fi-i2s muxing to gpioMax Krummenacher
RX and TX seem to be swapped and the function is currently not implemented. Mux the pins as GPIOs to ensure to not have two connected outputs. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25arm64: dts: imx8mp-verdin: correct audio codec mclk clkMax Krummenacher
Use the correct clk as the mclk. Additionally set the mux pad values to a more sensible value, i.e. for inputs enable the pullup. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-25ARM: dts: colibri-imx7: remove atmel mxt tsOleksandr Suvorov
This device is described in an overlay. Removing this node here fixes the kernel stuck if the colibri-imx7-aster_atmel-mxt_overlay is applied. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: add atmel mxt tsOleksandr Suvorov
According to the decision to use overlays just for enabling subsystems, add back the definition of Atmel MXT touchscreen device. Related-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: disable vga interfaceOleksandr Suvorov
The VGA interface and all related stuff enable in an overlay. Remains them disabled in the main devicetree. Realetd-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: rework and disable hdmi_tx_ddcOleksandr Suvorov
Now HDMI interface is driven with an overlay, so that it is not needed to configure hdmi_ddc on a board level. Move all i2cddc/hdmi_ddc stuff to the module level and disable it by default. Related-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: disable hdmi interfaceOleksandr Suvorov
The HDMI interface and all related stuff enable in an overlay. Remains them disabled in the main devicetree. Realetd-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: disable stmpe touchscreenOleksandr Suvorov
This device enables in an overlay. Remains it disabled here. Realetd-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: move backlight to module levelOleksandr Suvorov
PWM-part of the backlight device is the same for all Toradex boards. Move all backlight properties to the module-level devicetree. Remain the device disabled - it should be enabled in corresponding overlays. Related-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-24ARM: dts: apalis-imx6: ixora: disable lcd/lvds interfacesOleksandr Suvorov
The LCD (parallel RGB) and LVDS interfaces and all related stuff are driven with overlays. This stuff is already disabled for Evaluation board. Disable it for all versions of Ixora board as well. Realetd-to: ELB-3240 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>