summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-18Merge remote-tracking branch 'remotes/codeaurora/imx_4.14.98_2.3.0' into ↵Marcel Ziswiler
toradex_4.14-2.3.x-imx
2020-09-16ARM64: dts: apalis-imx8qm: default to a 3.3v rail for the ext rgmii signalsMax Krummenacher
The pins which can be used for an external ethernet PHY are powered by a sepearte LDO. Currently in the device tree this rail is set to 1.8V, the default apalis functionality of these pins requires 3.3V so change to that. If used with an external PHY in addition to add the PHY to the device also the rail's voltage needs to be adapted. Related-to: ELB-2899 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-20ARM64: dts: verdin-imx8mm: add m4/rpmsg nodesGustavo Leal
This commit adds the Cortex-M4- and RPMsg-related nodes to the base Verdin iMX8M Mini device tree.
2020-08-04gitlab-ci: pin gcc version to the one that was latest until nowPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-22mmc: sdhci-esdhc-imx: Remove CQHCI flag from imx8 socsPhilippe Schenker
We saw earlier with a lot of docker compose up and down work that this was failing. Disabling this feature solves this issue: [ 5169.152016] mmc0: cqhci: timeout for tag 20 [ 5169.156209] mmc0: cqhci: ============ CQHCI REGISTER DUMP =========== [ 5169.162650] mmc0: cqhci: Caps: 0x0000310a | Version: 0x00000510 [ 5169.169089] mmc0: cqhci: Config: 0x00001001 | Control: 0x00000000 [ 5169.175529] mmc0: cqhci: Int stat: 0x00000000 | Int enab: 0x00000006 [ 5169.181969] mmc0: cqhci: Int sig: 0x00000006 | Int Coal: 0x00000000 [ 5169.188408] mmc0: cqhci: TDL base: 0x7807a000 | TDL up32: 0x00000000 [ 5169.194848] mmc0: cqhci: Doorbell: 0xb3700003 | TCN: 0x00000000 [ 5169.201287] mmc0: cqhci: Dev queue: 0x00000000 | Dev Pend: 0x00000002 [ 5169.207727] mmc0: cqhci: Task clr: 0x00000000 | SSC1: 0x00011000 [ 5169.214166] mmc0: cqhci: SSC2: 0x00000001 | DCMD rsp: 0x00000800 [ 5169.220605] mmc0: cqhci: RED mask: 0xfdf9a080 | TERRI: 0x00000000 [ 5169.227044] mmc0: cqhci: Resp idx: 0x0000000d | Resp arg: 0x00000000 [ 5169.233484] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 5169.239925] mmc0: sdhci: Sys addr: 0xbd2d4000 | Version: 0x00000002 [ 5169.246367] mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x000000d8 [ 5169.252806] mmc0: sdhci: Argument: 0x00018000 | Trn mode: 0x00000023 [ 5169.259246] mmc0: sdhci: Present: 0x01f88008 | Host ctl: 0x00000030 [ 5169.265686] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080 [ 5169.272125] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000000f [ 5169.278564] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000 [ 5169.285004] mmc0: sdhci: Int enab: 0x107f4000 | Sig enab: 0x107f4000 [ 5169.291443] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502 [ 5169.297883] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407 [ 5169.304323] mmc0: sdhci: Cmd: 0x00000d1a | Max curr: 0x00ffffff [ 5169.310762] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0xffc003ff [ 5169.317203] mmc0: sdhci: Resp[2]: 0x328f5903 | Resp[3]: 0x00d07f01 [ 5169.323643] mmc0: sdhci: Host ctl2: 0x00000088 [ 5169.328086] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x7809dcd8 [ 5169.334525] mmc0: sdhci: ============================================ which lead to hang the module. Related-to: ELB-2612 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-20MLK-21756 brcmfmac: bcmsdh: attach device only func1 compatible string matchFugang Duan
brcmfamc driver attach mmc func devices only when func1 device's node exist, and whose compatible string match "brcm,bcm4329-fmac". Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com> (cherry picked from commit: b9945d63c2b8a6c1c9b018869eb2479781501608)
2020-07-14ARM: defconfig: apalis/colibri-imx*: enable GPIO/serial sources for PPSOleksandr Suvorov
Enable GPIO and serial-port (CD-signal) sources for the PPS (pulse-per-second) module. Related-to: ELB-2837 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-07-14arm64: defconfig: enable GPIO/serial sources for PPSOleksandr Suvorov
Enable GPIO and serial-port (CD-signal) sources for the PPS (pulse-per-second) module. Related-to: ELB-2837 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-07-14ARM64: dts: apalis-imx8x: remove no-1-8-v from sd-card nodePhilippe Schenker
Related-to: ELB-2606, ELB-2730 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-14ARM64: dts: colibri-imx8x: remove no-1-8-v from sd-card nodePhilippe Schenker
Related-to: ELB-2606, ELB-2730 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-14ARM64: dts: apalis-imx8x: disable write-protection on apalis-sdPhilippe Schenker
Apalis carrier boards do not have the Write-Protect signal connected Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-12MLK-24390 ARM: dts: Add the missing wifi dts file for imx6ulz lite evkJacky Bai
The dts file for WIFI support on i.MX6ULZ Lite is missed, so add it. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-07-10imx8: isi: ar0521: disable debug messagesMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-10MLK-24388: ARM: dts: Add more dts for imx6ulz liteJacky Bai
Add btwifi dts support for i.MX6ULZ Lite. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-07-10MLK-24369 ARM: imx: Add dummy soc id for imx6ulz liteJacky Bai
for i.MX6ULZ Lite, there is no dedicated SOC id for it, so add a dummy ID and identify it by checking the MARK bit in fuse. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-07-09arm64: dts: apalis-imx8qm: add ar0521 device treesMarcel Ziswiler
Temporarily add device trees for the e-con Systems e-CAM50_CUIMX8. Once we have working device tree overlays for this we may drop those again. These are the albeit heavily modified device tree parts from the following patch we got from Yogaesh <yogaesh@e-consystems.com> on May 8, 2020: Related-to: ELB-2793 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-09arm64: defconfig: enable ar0521 driverMarcel Ziswiler
Enable driver for the e-con Systems e-CAM50_CUIMX8. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-09imx8: isi: ar0521: add initial driverMarcel Ziswiler
Add initial driver for the e-con Systems e-CAM50_CUIMX8. This is the driver part from the following patch we got from Yogaesh <yogaesh@e-consystems.com> on May 8, 2020: apalis_imx8qm_embedded_linux_eCAM50_support.patch Related-to: ELB-2793 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-09arm64: dts: apalis-imx8qxp: cleanup pinctrl gpio messMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-09arm64: dts: apalis-imx8qm: cleanup pinctrl gpio messMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-08arm64: dts: apalis-imx8qm: improve v1.1 related stuffMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-08clk: imx8mm: Change the 'nand_usdhc_bus' clock to non-critical oneJacky Bai
The 'nand_usdhc_bus' clock is only need to be enabled when usdhc or nand module is active, so change it to non-critical clock type. Signed-off-by: Jacky Bai <ping.bai@nxp.com> (cherry picked from commit 32caf053fc38697bd418ef95bb3ff9962f6b7019)
2020-07-07ARM64: dts: apalis-imx8: use proper rgmii-rxidPhilippe Schenker
This is needed for the new KSZ9131 phy Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-06ARM64: dts: apalis-imx8qm: sync pcie clocks with NXP branch imx_4.14.98_2.3.0Oleksandr Suvorov
NXP fixes a lot of issues in PCIe subsystem, in particular, add new clocks. Synchronize the set of clocks for Apalis-iMX8QM SoM. Related-to: ELB-1306 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-07-06Merge branch 'imx_4.14.98_2.3.0' into toradex_4.14-2.3.x-imxOleksandr Suvorov
Fix conflicts after merging changes from the latest NXP branch. Conflicts: arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi drivers/pci/dwc/pci-imx6.c Related-to: ELB-1306 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-07-02ARM64: dts: fsl-imx8qm-apalis-v1.1-eval: change model stringSergio Prado
Change model string of iMX8QM/QP V1.1 to differentiate from the model string used in the device tree for the earlier iMX8QM/QP module (this has been causing problems with the dtconf tool). Related-to: ELB-2829 Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
2020-07-01MLK-24359 ARM: dts: Add the i.MX6ULZ Lite EVK board supportJacky Bai
The i.MX6ULZ Lite is full compatible with i.MX6ULL/ULZ, and only support 9x9 package. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-06-24ARM64: dts: apalis-imx8qm-v1.1: spi: use gpio csMax Krummenacher
It’s a limitation that one cannot use native SPI CS & DMA and have a continuous CS for the whole transfer. The CS is deasserted after each word sent. One can either use DMA and GPIO CS or one can use PIO mode. With this commit we change from using PIO mode to DMA mode and change the CS used from the IP provided one to GPIO CS on the same pin. This sync's the SPI configuration with the i.MX 8X based modules which already uses DMA with GPIO CS. Related-to: ELB-1278 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18ARM: dts: imx8qxp-apalis: add gpio-line-namesMax Krummenacher
Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Related-to: ELB-2528 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18ARM: dts: imx8qm-apalis: add gpio-line-namesMax Krummenacher
Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Related-to: ELB-2527 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18ARM: dts: imx8qxp-colibri: add gpio-line-namesMax Krummenacher
Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Related-to: ELB-2526 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18ARM: dts: imx6ull-colibri: add gpio-line-namesMax Krummenacher
Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Related-to: ELB-2794 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18arm64: defconfig: add bluetooth drivers for Gumstix AutoBSPStefan Agner
Add bluetooth drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-06-18arm64: defconfig: add sensor drivers for Gumstix AutoBSPStefan Agner
Add iio/hwmon sensor drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-06-18arm64: defconfig: add sound drivers for Gumstix AutoBSPStefan Agner
Add sound drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-06-18ASoC: Add prompt for ICS43432 codecPhil Elwell
Without a prompt string, a config setting can't be included in a defconfig. Give CONFIG_SND_SOC_ICS43432 a prompt so that Pi soundcards can use the driver. Signed-off-by: Phil Elwell <phil@raspberrypi.org> Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-06-15ARM64: dts: verdin-imx8mm: sort alphabeticallyMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-06-11MGS-5768 [#imx-2132] fix android cts memory leak with ↵Xianzhong
CL_MEM_USE_HOST_PHYSICAL_ADDR_VIV CL_MEM_USE_HOST_PHYSICAL_ADDR_VIV will use host physical memory directly, logical address is zero. gckOS_UnlockPages will check Logical address and return invalid parameter, that causes memory leak in OpenCL user library, need remove this check. Signed-off-by: Xianzhong <xianzhong.li@nxp.com> (cherry picked from commit 85a7c0f80d4f44d990f9ba85ecf2b6baea06053c) (cherry picked from commit d3f9bbb64cc198f06a92676eb536a7b4c0f08eeb)
2020-06-05ARM64: dts: apalis-imx8x: integrate reset_moci#_drv handlingPhilippe Schenker
Integrate RESET_MOCI#_DRV handling with work-around for PCIe switch as found on the Apalis Evaluation Board similar to what we upstreamed. Related-to: ELB-1929 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-06-05ARM64: dts: apalis-imx8x: pull reset_moci low into reset-activePhilippe Schenker
This pulls the reset_moci signal by default low and insures reset is applied when pin is being muxed. It needs then actively set high for getting out of reset. Related-to: ELB-1929 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-06-05scripts/dtc: Remove duplicate definitions of yyllocPhilippe Schenker
With GCC 10 there is an error during compiling of our downstream branch. Removing multiple yylloc definitions help. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-06-05scripts/dtc: Remove redundant YYLOC global declarationDirk Mueller
commit e33a814e772cdc36436c8c188d8c42d019fda639 upstream. gcc 10 will default to -fno-common, which causes this error at link time: (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here This is because both dtc-lexer as well as dtc-parser define the same global symbol yyloc. Before with -fcommon those were merged into one defintion. The proper solution would be to to mark this as "extern", however that leads to: dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] 26 | extern YYLTYPE yylloc; | ^~~~~~ In file included from dtc-lexer.l:24: dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here 127 | extern YYLTYPE yylloc; | ^~~~~~ cc1: all warnings being treated as errors which means the declaration is completely redundant and can just be dropped. Signed-off-by: Dirk Mueller <dmueller@suse.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [robh: cherry-pick from upstream] Cc: stable@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 35b34d264cb347909ec89d9fa895900035d5438c)
2020-05-28ARM: dts: imx6-apalis: add gpio-line-namesMax Krummenacher
Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Related-to: ELB-2525 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5ca35c3842c88bed48fdbf79dbaa326c5c085af1)
2020-05-28ARM: dts: imx6-colibri: add gpio-line-namesOleksandr Suvorov
Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Related-to: ELB-2524 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit d6133247f87fc07ca917df7dcf12bbd33f9bdafd) squashed fixup: (cherry picked from commit 0e0c71ae67dab11b0acdf19529420c65043c30b0) Conflicts: arch/arm/boot/dts/imx6qdl-colibri.dtsi
2020-05-26usb: misc: usb3503: make error text uniqueMax Krummenacher
This helps knowing which test did fail. Related-to: ELB-2702 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-26ARM64: dts: keep hub control signals reset pull stateMax Krummenacher
RESET and CONNECT come out of reset with pull downs enabled. Keep that in the pin muxing. These pins are switched to output during the hub configuration and then controlled as needed. The datasheet specifically states that CONNECT must not be driven when RESET is low, so keeping the pull downs is less likely to violate the spec. The INT pin has an external pull up, so keeping the pull down makes the system draw more power. Related-to: ELB-2702 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-11ARM: dts: verdin-imx8mm: add gpio-line-namesPhilippe Schenker
Related-to: ELB-2529 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-05-08ARM64: dts: verdin-imx8mm: add dahlia carrier boardMax Krummenacher
Related-to: ELB-2324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-07ARM64: dts: verdin-imx8mm: prepare for dahlia carrier boardMax Krummenacher
This unifies node names and adds a reference to the sound node. Related-to: ELB-2324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-07ARM64: verdin-imx8mm: silence mmc wp switch warningMax Krummenacher
The write protect switch is not connected. Specify that to get rid of: mmc1: host does not support reading read-only switch, assuming write-enable Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>