Age | Commit message (Collapse) | Author |
|
Colibri Aster board supports two spidev devices. Add 2nd one.
Related-to: ELB-2532
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
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>
|
|
Request and initialize the rest of GPIOx pins.
Related-to: ELB-3427
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Detailing names for pins that serve GPIOx signals.
Related-to: ELB-3427
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add drivers for e-con Systems AR0521 and AR1335 camera modules.
Related to: PMS-387
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Mainly clocks need adjustment. Copy Paste from apalis-imx8 module
Related-to: ELB-3423
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-3428, ELB-2790
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
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>
|
|
Reduce the length of pinmux name and mux the pin by default.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Work around potential probe deferral, order and race condition issues.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
Add SODIMM annotation to FEC pins.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Prepare the nodes for the Verdin DSI to LVDS Adapter overlay.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Prepare the nodes for the DSI to HDMI Adapter overlay.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
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)
|
|
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>
|
|
The PHY connected to the FEC doesn't have a seperate switchable rail.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
CONFIG_CRYPTO_XTS is selcted (as 'y') by CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
On the i.MX 8M Plus the 3rd LCDIF drives an on-SoC Samsung HDMI PHY
giving us native HDMI functionality.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
On the i.MX 8M Plus the 3rd LCDIF drives an on-SoC Samsung HDMI PHY
giving us native HDMI functionality.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
At least the following of the configured devices work:
- Console
- eMMC
- ETH0
- ETH1
- SD_1
- USB_1 as peripheral, USB_2 as host
- CAN_1, CAN_2
Everything else is either known to not work or untested.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Enable CONFIG_STMMAC_ETH for the additional MAC in the i.MX8 M Plus.
Enable CONFIG_VLAN_8021Q/CONFIG_TSN for new features that MAC supports.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
toradex_5.4-2.1.x-imx
|
|
Use the predefined resource name of the PMIC thermal sensor.
Related-to: ELB-3037
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
|
|
This reverts commit 2c7781c5d5d0b0c8b4c67f945fdf7e8992fb36b5.
We decided to go back to full loglevel so customers can see all messages
on boot.
Related-to: ELB-3183
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
toradex_5.4-2.1.x-imx
Update 5.4-2.1.x-imx to v5.4.74 from [1].
[1] https://github.com/Freescale/linux-fslc
|
|
The VPU subsystem uses hardware Messaging Units (MU) for inter processor
communication with the controlling OS. The driver for the MU is implemented
as a Linux mailbox.
Enable the VPU MU in the device-tree.
Related-to: ELB-3196
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is the 5.4.76 stable release
Conflicts:
- drivers/tty/serial/fsl_lpuart.c:
Fix merge conflict of upstream patches [86875e1d6426] and [8febdfb5973d],
which contradicted with patch [cde0cb39c0e8e] from NXP.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
commit b64d814257b027e29a474bcd660f6372490138c7 upstream.
Espressobin boards have 3 ethernet ports and some of them got assigned more
then one MAC address. MAC addresses are stored in U-Boot environment.
Since commit a2c7023f7075c ("net: dsa: read mac address from DT for slave
device") kernel can use MAC addresses from DT for particular DSA port.
Currently Espressobin DTS file contains alias just for ethernet0.
This patch defines additional ethernet aliases in Espressobin DTS files, so
bootloader can fill correct MAC address for DSA switch ports if more MAC
addresses were specified.
DT alias ethernet1 is used for wan port, DT aliases ethernet2 and ethernet3
are used for lan ports for both Espressobin revisions (V5 and V7).
Fixes: 5253cb8c00a6f ("arm64: dts: marvell: espressobin: add ethernet alias")
Cc: <stable@vger.kernel.org> # a2c7023f7075c: dsa: read mac address
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
[pali: Backported Espressobin rev V5 changes to 5.4 and 4.19 versions]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
[ Upstream commit ce3d31ad3cac765484463b4f5a0b6b1f8f1a963e ]
The call to rcu_cpu_starting() in secondary_start_kernel() is not early
enough in the CPU-hotplug onlining process, which results in lockdep
splats as follows:
WARNING: suspicious RCU usage
-----------------------------
kernel/locking/lockdep.c:3497 RCU-list traversed in non-reader section!!
other info that might help us debug this:
RCU used illegally from offline CPU!
rcu_scheduler_active = 1, debug_locks = 1
no locks held by swapper/1/0.
Call trace:
dump_backtrace+0x0/0x3c8
show_stack+0x14/0x60
dump_stack+0x14c/0x1c4
lockdep_rcu_suspicious+0x134/0x14c
__lock_acquire+0x1c30/0x2600
lock_acquire+0x274/0xc48
_raw_spin_lock+0xc8/0x140
vprintk_emit+0x90/0x3d0
vprintk_default+0x34/0x40
vprintk_func+0x378/0x590
printk+0xa8/0xd4
__cpuinfo_store_cpu+0x71c/0x868
cpuinfo_store_cpu+0x2c/0xc8
secondary_start_kernel+0x244/0x318
This is avoided by moving the call to rcu_cpu_starting up near the
beginning of the secondary_start_kernel() function.
Signed-off-by: Qian Cai <cai@redhat.com>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Link: https://lore.kernel.org/lkml/160223032121.7002.1269740091547117869.tip-bot2@tip-bot2/
Link: https://lore.kernel.org/r/20201028182614.13655-1-cai@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit a1afbbb0285797e01313779c71287d936d069245 ]
This adds the missing perpheral clock for the RNG for Amlogic G12. As
stated in amlogic,meson-rng.yaml, this isn't always necessary for the
RNG to function, but is better to have in case the clock is disabled for
some reason prior to loading.
Signed-off-by: Scott K Logan <logans@cottsay.net>
Suggested-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/520a1a8ec7a958b3d918d89563ec7e93a4100a45.camel@cottsay.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
commit ec9d78070de986ecf581ea204fd322af4d2477ec upstream.
Commit 39d114ddc682 ("arm64: add KASAN support") added .weak directives to
arch/arm64/lib/mem*.S instead of changing the existing SYM_FUNC_START_PI
macros. This can lead to the assembly snippet `.weak memcpy ... .globl
memcpy` which will produce a STB_WEAK memcpy with GNU as but STB_GLOBAL
memcpy with LLVM's integrated assembler before LLVM 12. LLVM 12 (since
https://reviews.llvm.org/D90108) will error on such an overridden symbol
binding.
Use the appropriate SYM_FUNC_START_WEAK_PI instead.
Fixes: 39d114ddc682 ("arm64: add KASAN support")
Reported-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Fangrui Song <maskray@google.com>
Tested-by: Sami Tolvanen <samitolvanen@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201029181951.1866093-1-maskray@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Cc: Jian Cai <jiancai@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
commit 3ac0f4526dfb80625f5c2365bccd85be68db93ef upstream.
In an effort to clarify and simplify the annotation of assembly functions
in the kernel new macros have been introduced. These replace ENTRY and
ENDPROC and also add a new annotation for static functions which previously
had no ENTRY equivalent. Update the annotations in the library code to the
new macros.
Signed-off-by: Mark Brown <broonie@kernel.org>
[will: Use SYM_FUNC_START_WEAK_PI]
Signed-off-by: Will Deacon <will@kernel.org>
Cc: Jian Cai <jiancai@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
commit 35e61c77ef386555f3df1bc2057098c6997ca10b upstream.
As part of an effort to make the annotations in assembly code clearer and
more consistent new macros have been introduced, including replacements
for ENTRY() and ENDPROC().
On arm64 we have ENDPIPROC(), a custom version of ENDPROC() which is
used for code that will need to run in position independent environments
like EFI, it creates an alias for the function with the prefix __pi_ and
then emits the standard ENDPROC. Add new-style macros to replace this
which expand to the standard SYM_FUNC_*() and SYM_FUNC_ALIAS_*(),
resulting in the same object code. These are added in linkage.h for
consistency with where the generic assembler code has its macros.
Signed-off-by: Mark Brown <broonie@kernel.org>
[will: Rename 'WEAK' macro, use ';' instead of ASM_NL, deprecate ENDPIPROC]
Signed-off-by: Will Deacon <will@kernel.org>
Cc: Jian Cai <jiancai@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
Fork and tune the device trees to support iMXQP SoC on modules
Apalis-iMX8QP.
Related-to: ELB-3036
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Removed the duplicate "toradex,apalis-imx8" entries in "compatible"
strings set.
Related-to: ELB-3036
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Remove iMX8QP variant from the model string as it takes its own device
tree files.
Related-to: ELB-3036
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|