summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2019-07-04arm64: dts: fsl-imx8qxp-colibri: add mipi camera with nxp's v3 driverMax Krummenacher
Related to: #42565 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-04arm64: dts: fsl-imx8qm-apalis: mipi camera: use nxp's v3 driverMax Krummenacher
Related to: #32172 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-04arm64: dts: fsl-imx8qm-apalis: spi: use pio modeMax Krummenacher
If using DMA mode the chip select gets deasserted and asserted again with each word in a transmission. PIO mode on the other hand asserts at the beginning of a transmission and de-asserts at the end which for most use-cases is prefered. Related to: #51387 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-04arm64: dts: fsl: lpspi2: add dma mode supportMax Krummenacher
Follow commit 'a1204e3b0e7a dts: lpspi: add dma mode support' for lpspi2. This requires a follow up to dtbs which delete the edma0 node in favour of their own implementation. Related to: #51387 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-03arm64: defconfig: sync with savedefconfigMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-03(apalis|colibri)*_defconfig: make IMX_SDMA a module 2Philippe Schenker
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 There where some defconfigs missed in the commit with the same name before, correct that. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-02(apalis|colibri)*_defconfig: make IMX_SDMA a modulePhilippe Schenker
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: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-21colibri-imx6ull_defconfig: enable mwifiex_sdioMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-06-21arm: dts: colibri_imx7: fix gpio-keysMarcel Ziswiler
Avoid the following spew: [ 2.083946] imx7d-pinctrl 302c0000.iomuxc-lpsr: pin MX7D_PAD_GPIO1_IO01 already requested by 302c0000.iomuxc-lpsr; cannot claim for gpio-keys [ 2.099682] imx7d-pinctrl 302c0000.iomuxc-lpsr: pin-1 (gpio-keys) status -22 [ 2.108272] imx7d-pinctrl 302c0000.iomuxc-lpsr: could not request pin 1 (MX7D_PAD_GPIO1_IO01) from group gpiokeysgrp on device 302c0000.iomuxc-lpsr [ 2.124626] gpio-keys gpio-keys: Error applying setting, reverse things back [ 2.133420] gpio-keys: probe of gpio-keys failed with error -22 While at it also fix some missing new lines. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-06-21arm64: dts: fsl: colibri-imx8qxp: add initial device treeMax Krummenacher
Copied from toradex_imx_4.14.78_1.0.0_ga-bring_up. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-06-21arm64: dts: fsl: apalis-imx8qm: add initial device treeStefan Agner
Copied from toradex_imx_4.14.78_1.0.0_ga-bring_up. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-06-21ARM64: defconfig: add colibri-vf50-ts driverMax Krummenacher
The Apalis iMX8 QM module provides this touchscreen hardware. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-06-21ARM64: defconfig: add extcon_usb_gpio configMax Krummenacher
This is used with the USB_C port on Colibri iMX8X. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-06-21ARM64: defconfig: Add atmel_mxt_ts touchscreen driverPhilippe Schenker
This adds the touchscreen atmel_mxt_ts driver used by displays from toradex. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-21arm64: defconfig: add modversionsMax Krummenacher
CONFIG_MODVERSIONS allows to use kernel modules slightly different from the running kernel. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-06-21arm: defconfig: add spi bit banging driverMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit fe0736d779d71237cba9f6ed5ebf6d7fdf71d9cd) (cherry picked from commit eb19205dcadee79170778136e149643b20b71b62)
2019-06-21arm: defconfig: add fxl6408 gpio expanderMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 13244ea064560813f3c4b67d02838930daa56fb4) (cherry picked from commit f45782b76f20f5adf3ac0b234c458846cd3704fc)
2019-06-21arm: defconfig: add lt8912 drm brigeMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e9656428bfa3a85c99e424785dea50628992e394) (cherry picked from commit 7cbf898f1287bec82b3a25ed47633539c61ed49c)
2019-06-21arm: defconfig: add touchcontroller ad7879Max Krummenacher
It is used on the Colibri iMX8QXP Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 961a35836af3e5dce034018b3e010bf3499e2f25) (cherry picked from commit 78bd4e96eaee1a103a8bd52a2568e6b033ce26ba)
2019-06-21arm64: defconfig: Choose the newer version of the ov5640 driverTomasz Gorochowik
(cherry picked from commit 77bbbcfe3baaf26d84912b459150ec7a5138f7a7) (cherry picked from commit 7847317840c86a9b52dd7a98e36e44721d83a000) (cherry picked from commit 694d628e20fc3121f52b6a41038e4eb4cc8bc712) (cherry picked from commit 3cbdcbc89c6c17fb74e863550cb8b2b91ecb1cf5)
2019-06-21arm64: defconfig: add SGTL5000 supportStefan Agner
Add NXP SGTL5000 codec support for Apalis iMX8. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 1ed393a89bc808273f9653020b2fcad4d655f765) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 4f8e7db9db1bac86c6c5bc2f78793ebebbd60a14) (cherry picked from commit ed7618f8085c7f02fb9d9bf8fe160ec0025671f4) (cherry picked from commit 52ae1fefc8794d41ac7544fc22028ac9a04a6424)
2019-06-21arm64: defconfig: add M41T0 RTC supportStefan Agner
Add DS1307 family RTC support which also supports M41T0 RTC as used on our carrier board. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit d6ec2d954abbdf639cbb435c89cad71775e24795) (cherry picked from commit a8fa55ea007eb29f8f18fc86cbab3bab0d45a90f) (cherry picked from commit baf09ae0654769311a390382f22d64d195c4b167) (cherry picked from commit 32df0ec733ee19740f2075c4501291febd722505)
2019-06-21add configs required by Toradex Easy InstallerStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 944f626fab84a4457f36ec11270fd243f8d80edf) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 75b89c90ac9c3a3b1374354cd3cc1aaa70cea0f0) (cherry picked from commit 6efcd53a6bd3d4f437f4fd2362dab9685863e639) (cherry picked from commit ff5f17d53273a644b2c8d76fbd495d9d2eb6e21b)
2019-06-21arm64: defconfig: add configs for BluetoothStefan Agner
Add Marvell/USB Bluetooth support. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 9fe8e87ad955c087d2fa6a35fda3287aa5dccbd7) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9bd23adac54773bfd2ed02d577667053cc61dd74) (cherry picked from commit 9380becfb11a1cb2502c7938a19b84785735b9a9) (cherry picked from commit f17e33d650885310866b300c578a3f4d31d5332f)
2019-06-21arm64: defconfig: add Marvell Wi-Fi supportStefan Agner
Add Marvell Wi-Fi support using the mwifiex driver. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit acc1f6790a86f38398da46bc30908c8e8e2c0757) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 734a9127e49ce3592b804afb8379f8fa1fc41c9e) (cherry picked from commit 0a3eeddc6bcf29d9ceacb4838bf26eeb1af36095) (cherry picked from commit a7eac7df03d30f66f6b5f855727f0f1a2d4666f2)
2019-06-21arm64: defconfig: add configs for Apalis iMX8Stefan Agner
Add GPIO fan/backlight for Apalis iMX8. Enable USB camera support. Also enable configs relevant for MIPI CSI2 camera (OV5640) support, but this needs further changes to the driver to work with i.MX8QM. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 6a74107935a0d4a3a7cebf879a1ae684366bec19) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 471a0d336d637ed1c66c96d10a9f998d0cafc510) (cherry picked from commit 153848b2e63330fe38315f22baac7817e77f1d00) (cherry picked from commit 3fb7df4524c6ef6002a940c12ecee199832d321a)
2019-06-21MLK-18433 PCI: imx: remove the lpcg_xxx clocks in driverRichard Zhu
Remove the lpcg_xxx clocks codes, since they are HW gated. These clocks controlled by HW, and would be turned on automatically, if there are access operations. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> (cherry picked from commit 9b8da32493057502a912b6d1426eadeb76780e69) Conflicts: arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi drivers/pci/host/pci-imx6.c Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 7615a560c48aeb53911c7a6f025420c0f9a5a51f) (cherry picked from commit 0507816aa4b9a4f5764d308b23332fc297e6fe0f) (cherry picked from commit 24258f088b89df68e5fa2c54eb3334ff50fcb8f0)
2019-06-21ARM: dts: apalis_imx6: further clean-upMarcel Ziswiler
Further clean-up Apalis iMX6 device trees. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-06-21(apalis|colibri)*_defconfig: Add new defconfigs for 4.14 kernelPhilippe Schenker
No options where added or removed in this commit. A simple make (apalis|colibri)*_defconfig make savedefconfig cp defconfig arch/arm/boot/(apalis|colibri)*_defconfig Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-21ARM: dts: imx6ull-colibri-aster: Follow pinctrl naming from mainlineMax Krummenacher
While at it, add the dtbs for Aster Carrier Board to the Makefile. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-06-21ARM: dts: imx6ull-colibri: add missing #endifMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-06-18ARM: dts (ds): imx6ull*colibri*: Merge changes from 4.9-2.3.x-imx-nextPhilippe Schenker
In 4.14 devicetress are based on the mainline DT's and only necessary stuff for downstream is put into those devicetrees. This commit holds the changes for imx6ull*colibri* from 4.9. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts (ds): imx6: Merge changes from toradex_4.9-2.3.x-imx-nextPhilippe Schenker
In 4.14 devicetress are based on the mainline DT's and only necessary stuff for downstream is put into those devicetrees. This commit holds the changes for imx6*(colibri|apalis)* from 4.9. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: apalis-imx6: Add mipi_csi nodePhilippe Schenker
This commit adds the mipi_csi node to Toradex's evalboard as found on the mezzanine connector Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: apalis-imx6: Add some example I2C devicesPhilippe Schenker
Those devices are used in conjunction with Toradex's carrier boards. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: colibri-imx6: Add missing pinmuxing to Toradex eval boardPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: imx6: Add touchscreens used on Toradex eval boardsPhilippe Schenker
This commit adds the touchscreens from Toradex so one can enable it. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: add recovery mode for all I2C busesOleksandr Suvorov
- fix the name of pinctrl set for i2c2 recovery mode; - add recovery mode for applicable i2c buses for Apalis/Colibri iMX6Q/D/DL modules. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Related to: #49059 (cherry picked from commit 1501883b4682178e38afc3f08b221f9477fcd7ae)
2019-06-18ARM: dts: imx6: Add sleep state to can interfacesPhilippe Schenker
This patch prepares the devicetree for the new Ixora V1.2 where we are able to turn off the supply of the can transceiver. This implies to use a sleep state on transmission pins in order to prevent backfeeding. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit c1016f5da0dbb8291575949e7f4a417c6306d70a)
2019-06-18ARM: dts: imx6qdl-colibri.dtsi: UHS-I support for v1.1a hwIgor Opaniuk
Provide proper configuration for VGEN3, to make sure it's is always powered which allows that rail to be automatically switched to 1.8 volts for proper UHS-I operation. By default it's disabled. With UHS-I enabled: [ 104.153898] mmc1: new ultra high speed SDR104 SDHC card at address 59b4 [ 104.166202] mmcblk1: mmc1:59b4 USD00 15.0 GiB [ 104.173923] mmcblk1: p1 root@colibri-imx6:~# hdparm -t /dev/mmcblk1 /dev/mmcblk1: Timing buffered disk reads: 226 MB in 3.01 seconds = 75.01 MB/sec Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> (cherry-picked from 7ffa92d64cc7a6331faaae3e2507458461ab90f3)
2019-06-18ARM: dts: imx6qdl-colibri: add phy to fecPhilippe Schenker
Add the phy-node and mdio bus to the fec-node, represented as is on hardware. This commit includes micrel,led-mode that is set to the default value, prepared for someone who wants to change this. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry-picked from 03ff3610434d89fc8e20b280e1219ce0ebb08935)
2019-06-18ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxcPhilippe Schenker
This adds the muxing for the optional pins usb-oc (overcurrent) and usb-id. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: imx6q: correct SDMA script type for spi5Oleksandr Suvorov
Commit 41ec065fc5841 fixes ecspi sdma script type for spi1-4 only. Commit df07101e1c4a2 sets wrong type of sdma script for SPI5. The workaroud sdma script NOT work in SPBA bus, so return back the correct sdma script type for spi5. Related to: #48675 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit bbe2052f145e8afbebc46d47a439f72250998539)
2019-06-18ARM: dts: imx6qdl: Fix SPDIF regressionFabio Estevam
Commit 833f2cbf7091 ("ARM: dts: imx6: change the core clock of spdif") changed many more clocks than only the SPDIF core clock as stated in the commit message. The MLB clock has been added and this causes SPDIF regression as reported by Xavi Drudis Ferran and also in this forum post: https://forum.digikey.com/thread/34240 The MX6Q Reference Manual does not mention that MLB is a clock related to SPDIF, so change it back to a dummy clock to restore SPDIF functionality. Thanks to Ambika for providing the fix at: https://community.nxp.com/thread/387131 Fixes: 833f2cbf7091 ("ARM: dts: imx6: change the core clock of spdif") Cc: <stable@vger.kernel.org> # 4.4.x Reported-by: Xavi Drudis Ferran <xdrudis@tinet.cat> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Xavi Drudis Ferran <xdrudis@tinet.cat> Signed-off-by: Shawn Guo <shawnguo@kernel.org> (cherry picked from commit f065e9e4addd75c21bb976bb2558648bf4f61de6) This fix was correct, but overwritten by commit 833f2cbf7091099baee28136dc68678e974c0ac5. MLB (Media Local Bus) Clock is in fact not related to SPDIF according to the MX6Q Reference Manual. Tested playback and record on pulseaudio with 44.1kHz samples. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 58e5313d36b969029d76b1ef45d3224c8557af75)
2019-06-18arm: dts: apalis/colibri qdl: add 3rd pwm parameter to specify pos. neg. logicMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit d1c393ddcb6937b58fa3a9314c8b6f2382b346dc) (cherry picked from commit a9dc775e6796488a3de676e1736d88560d181138)
2019-06-18ARM: dts: apalis/colibri-imx6: Get missing devicetrees from 4.9Philippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: imx6ull-colibri: Add touchscreens used with Eval BoardPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: imx6ull-colibri: Add general wakeup key used on ColibriPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: imx6ull-colibri: reduce v_batt current in power offMax Krummenacher
Reduce the current drawn from VCC_BATT when the main power on the 3V3 pins to the module are switched off. This switches off SoC internal pull resistors which are provided on the module for TAMPER7 and TAMPER9 SoC pin and switches on a pull down instead of a pullup for the USBC_DET module pin (TAMPER2). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 9fd59b6eebd12106b5b53fc56466bcd89b9a7ee9) Conflicts: arch/arm/boot/dts/imx6ull-colibri.dtsi Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-06-18ARM: dts: imx6ull-colibri: Add watchdogPhilippe Schenker
This patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>