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>
|
|
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 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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 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>
|
|
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>
|
|
Apalis iMX8QM and iMX8QP are almost the same. Separate the common part
of device tree to use it for both these modules.
Related-to: ELB-3036
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The device tree of Apalis Ixora v1.1 board is common for both
Apalis iMX8QM and Apalis iMX8QP modules. Rename the device tree
to further use it for both modules.
Related-to: ELB-3036
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The device tree of Apalis Evaluation board is common for both
Apalis iMX8QM and Apalis iMX8QP modules. Rename the device tree
to further use it for both modules.
Related-to: ELB-3036
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Currently the PCIe switch on the eval-board is not working. As the
carrier-board reset is controlled by the PCIe driver this reset
never gets deasserted.
This is a workaround until PCIe works properly.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
When fsl,mii-exclusive is not specified the driver only uses the
MII bus of the fec device with dev_id=0 for both fec1 and fec2.
On the Apalis iMX8 hardware design a potential second PHY is
connected to the second MAC's MII bus.
This property is needed to select the MDIO bus coupled with fec2, if
fec2 is used. We put it in fec1 for customers so they automatically
inherit this property if they placed a PHY on their carrier-board
and copied the fec1 node.
Compare with commit 9801f2e913a2 ("net: fec: reinit MAC0 MII bus to
be used by MAC1 after resume back")
Related-to: ELB-3177
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is the 5.4.75 stable release
Conflicts:
- drivers/i2c/busses/i2c-imx.c:
Drop NXP changes, which are covered by commit [2c58d5e0c754c] from
upstream.
- drivers/net/can/flexcan.c:
Keep NXP implementation, patch [ca10989632d88] from upstream is covered
in the NXP tree.
- drivers/usb/host/xhci.h:
Fix merge fuzz for upstream commit [2600a131e1f61]
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
[ Upstream commit 992d7a8b88c83c05664b649fc54501ce58e19132 ]
Add full-pwr-cycle-in-suspend property to do a graceful shutdown of
the eMMC device in system suspend.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1594989201-24228-1-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
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.
Related-to: ELB-3178
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Add initial version of LVDS panel support. Note it should
be enabled in a corresponding overlay.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This is the 5.4.73 stable release
Conflicts:
- arch/arm/boot/dts/imx6sl.dtsi:
Commit [a1767c90194e2] in NXP tree is now covered with commit [5c4c2f437cead]
from upstream.
- drivers/gpu/drm/mxsfb/mxsfb_drv.c:
Resolve merge hunk for patch [ed8b90d303cf0] from upstream
- drivers/media/i2c/ov5640.c:
Patch [aa4bb8b8838ff] in NXP tree is now covered by patches [79ec0578c7e0a]
and [b2f8546056b35] from upstream. Changes from NXP patch [99aa4c8c18984] are
covered in upstream version as well.
- drivers/net/ethernet/freescale/fec_main.c:
Fix merge fuzz for patch [9e70485b40c83] from upstream.
- drivers/usb/cdns3/gadget.c:
Keep NXP version of the file, upstream version is not compatible.
- drivers/usb/dwc3/core.c:
- drivers/usb/dwc3/core.h:
Fix merge fuzz of patch [08045050c6bd2] together wth NXP patch [b30e41dc1e494]
- sound/soc/fsl/fsl_sai.c:
- sound/soc/fsl/fsl_sai.h:
Commit [2ea70e51eb72a] in NXP tree is now covered with commit [1ad7f52fe6683]
from upstream.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
The touchscreen is a part of display panels, so move enabling it
to an overlay.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
In favor to enabling in overlay, disable an lvds panel.
Make lvds panel accessible by a symbolic name.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|