Age | Commit message (Collapse) | Author |
|
toradex_4.14-2.3.x-imx
|
|
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>
|
|
This commit adds the Cortex-M4- and RPMsg-related nodes to the base Verdin iMX8M Mini device tree.
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
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>
|
|
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)
|
|
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>
|
|
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>
|
|
Related-to: ELB-2606, ELB-2730
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2606, ELB-2730
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Apalis carrier boards do not have the Write-Protect signal connected
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Enable driver for the e-con Systems e-CAM50_CUIMX8.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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)
|
|
This is needed for the new KSZ9131 phy
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add bluetooth drivers useful for the Gumstix AutoBSP as kernel modules.
Related-to: TOR-1068
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
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>
|
|
Add sound drivers useful for the Gumstix AutoBSP as kernel modules.
Related-to: TOR-1068
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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)
|
|
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>
|
|
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>
|
|
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>
|
|
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)
|
|
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)
|
|
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
|
|
This helps knowing which test did fail.
Related-to: ELB-2702
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
Related-to: ELB-2529
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2324
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|