Age | Commit message (Collapse) | Author |
|
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>
|
|
From the SD-Card specification:
> The host shall supply power to the card so that the voltage is
> reached to V DD _min within 250ms and start to supply at least
> 74 SD clocks to the SD card with keeping CMD line to high. In case of
> SPI mode, CS shall be held to high during 74 clock cycles.
According to this information I think we should pull the CMD data
line like on other boards to 3.3V. Also on other boards we
do have the CLK signal pulled.
This looks like this got mixed that up.
Signed-off-by: Philippe Schenker <philippe.schenker@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>
|
|
Correct the clock mode of PCIe PHY.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit 2c23d9de9fc41d5436a7d3f8510fc95f3bf1c56b)
|
|
- Verify the both internal PLL_SYS and external OSC reference clock
modes on iMX8MP EVK board, and pass the PCIe compliance tests.
- Remove the no-needed bypass setting.
- PHY configration should be completed before CMN_RSTN is set to 1b1
- To manually initiate the speed change to make sure GEN2 is linked up:
- Write to LINK_CONTROL2_LINK_STATUS2_REG.PCIE_CAP_TARGET_LINK_SPEED
in the local device
- De-assert GEN2_CTRL_OFF.DIRECT_SPEED_CHANGE in the local device
- Assert GEN2_CTRL_OFF.DIRECT_SPEED_CHANGE in the local device
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit 12589ba98b1145e2d2a9f439b20064197aea8ca9)
|
|
Add the PERST for iMX8MP PCIe.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit 0a91df355e20aa53a4bcaa9d352952e5fa9e4ef6)
|
|
Verify the PCIe PLL_SYS reference clock source on EVK board.
The external OSC clock is used as PCIe REF clock source in default.
- sequence should be the following one.
phy configuration--> CMN_RSTN--> wait for pll lock
- add the calibrate callback to fit the correct init sequence of phy
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit 9afaf7a465858970aee8858fb52067f2ef152c7f)
|
|
Update the clock modes of iMX8MP PCIe PHY in binding DOC.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit eade3750bf840948b29db26f0beabf10dea5f981)
|
|
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)
|
|
Configure the L1 latency of iMX8M's RC to less than 64us, otherwise,
the L1/L1SS wouldn't be enabled by ASPM.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit eb9fdb1d10c10dc4d4bbe9bc6fc060afe1485989)
|
|
Signed-off-by: Jaskaranjeet Singh <jaskaranjeet.singh@toradex.com>
|
|
Add support of sub-functions disabling. It allows one to
define and turn on sub-function devices in different
devicetree files.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Toradex BSP 5.x uses the video/fbdev stack of display drivers.
Remove unused nodes for gpu/drm/imx stack of drivers.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
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>
|
|
Add an support for an optional regulator which powers an attached phy.
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>
|
|
This device is described in an overlay. Removing this node here
fixes the kernel stuck if the colibri-imx7-aster_atmel-mxt_overlay is
applied.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
According to the decision to use overlays just for enabling
subsystems, add back the definition of Atmel MXT touchscreen device.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The VGA interface and all related stuff enable in an overlay.
Remains them disabled in the main devicetree.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Now HDMI interface is driven with an overlay, so that it is not needed to
configure hdmi_ddc on a board level.
Move all i2cddc/hdmi_ddc stuff to the module level and disable it by
default.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The HDMI interface and all related stuff enable in an overlay.
Remains them disabled in the main devicetree.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This device enables in an overlay. Remains it disabled here.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
PWM-part of the backlight device is the same for all Toradex boards.
Move all backlight properties to the module-level devicetree.
Remain the device disabled - it should be enabled in corresponding
overlays.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The LCD (parallel RGB) and LVDS interfaces and all related stuff are
driven with overlays. This stuff is already disabled for Evaluation board.
Disable it for all versions of Ixora board as well.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@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
|
|
Update 5.4-2.1.x-imx to v5.4.77 from stable
|
|
This is the 5.4.77 stable release
Merge conflicts:
Merged automatically, no conflicts
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Use the predefined resource name of the PMIC thermal sensor.
Related-to: ELB-3037
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
|
|
Do not print an error. This is no error in our use-case so just delete
this error message that confuses users.
As we now move back to full loglevel this is the only way to get rid of
that message.
fixes: d182137f18f24de3bc4b45c5a3d52e2f8f96a093 net: wireless:
cfg80211: decrease importance of sched_scan message
Signed-off-by: Philippe Schenker <philippe.schenker@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
|
|
iMX8QM can support the non CEA modes, iMX8M cannot support non CEA modes.
So driver should allow non CEA modes for iMX8QM.
Signed-off-by: Oliver F. Brown <oliver.brown@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit 863af2196cb53200f50b1d04c6eb90d04262b0e4)
Related-to: ELB-3237
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
commit 949dd0104c496fa7c14991a23c03c62e44637e71 upstream.
Remove non-privileged user access to power data contained in
/sys/class/powercap/intel-rapl*/*/energy_uj
Non-privileged users currently have read access to power data and can
use this data to form a security attack. Some privileged
drivers/applications need read access to this data, but don't expose it
to non-privileged users.
For example, thermald uses this data to ensure that power management
works correctly. Thus removing non-privileged access is preferred over
completely disabling this power reporting capability with
CONFIG_INTEL_RAPL=n.
Fixes: 95677a9a3847 ("PowerCap: Fix mode for energy counter")
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
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>
|
|
Update 5.4-2.1.x-imx to v5.4.76 from stable
|
|
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>
|
|
The touchscreen Atmel MXT TS is integrated to display panels.
Remove its definition from the main device trees.
Also release pingroups used in atmel mxt ts overlay from iomuxc driver.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Shuah Khan <skhan@linuxfoundation.org>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Link: https://lore.kernel.org/r/20201109125022.614792961@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|