Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
[ Upstream commit 791619f66843a213784efb2f171be98933bad991 ]
The i.MX General Power Controller v2 device node was missing interrupts
property necessary to route its interrupt to GIC. This also fixes the
dbts_check warnings like:
arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpc@303a0000:
{'compatible': ... '$nodename': ['gpc@303a0000']} is not valid under any of the given schemas
arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpc@303a0000: 'interrupts' is a required property
Fixes: fdbcc04da246 ("arm64: dts: imx8mq: add GPC power domains")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
Add aliases for the RTCs. This sets /dev/rtc0 to represent the external
RTC, potentially backuped by a coin cell on the carrier and /dev/rtc1
representing the SoC provided RTC not backuped.
Related-to: ELB-2757
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This commit updates the assigned-clocks property. This commit does
multiple things:
* It changes the clocks from 12.288MHz to 12MHz as it has been on kernel
4.14 due to issues with the USB hub with 12.288MHz
* It also adds all the clocks to usb3803 node as they are used there too
Related-to: ELB-3154
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
the old flag power-polarity-active-high; is no longer supported by
this kernel
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
to which usb node they actually belong
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.
|
|
Adds the ADC. The ADC TI TLA2024 is used. Currently there is no specific
driver for the chip and we use the ADS015 which has a compatible
programming model..
The ADS1015 additionally comparator features which are not available in
the TLA2024.
Related-to: ELB-3132
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is used to connect to the on module ADC.
Related-to: ELB-3132
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add a gpio pinmuxing to the i2c nodes which will allows the I2C driver
to recover from stuck communication signals.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This reworks the dtsi files to allow to also build device trees for
Verdin iMX8MM V1.1 hardware.
The module level device tree for V1.1 HW is imx8mm-verdin-v1.1.dtsi,
for V1.0 HW the imx8mm-verdin.dtsi is reworked to include the V1.1 dtsi
and then it deletes and adds whatever is different.
This commit incorporates the following HW changes:
- Changed PMIC
- Removal of ADC MAX11607 (The replacement TI TLA2024 is not yet added)
- Removal of external PCIe PHY Clock in favour of SoC provided one
- Prepare for not stuffed security alternatives SE050, ATTPM20P
- Changed pin usage, see below
Pin usage changed from V1.0 to V1.1 HW:
To ease creation of V1.0 and V1.1 device trees move all pin groups,
also wifi and nonwifi ones, into imx8mm-verdin-v1.1.dtsi and change
them as needed in imx8mm-verdin.dtsi for V1.0 HW.
The eMMC reset is now connected to the SD1_RESET_B ball.
Add it to the eMMC pin groups for V1.1.
CTRL_FORCE_OFF_MOCI# used to be controlled by SAI5_RXC in V1.0 HW. In V1.1
HW it is no longer under SW control.
Delete the unused pin group for V1.1.
Wi-Fi_WKUP_WLAN used to be controlled by SD1_RESET_B in V1.0 HW. In V1.1
HW it is controlled by SAI5_RXC.
Update the pin group for V1.1.
Related-to: ELB-3130, ELB-3136, ELB-3150
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
- move enabling pwm_mipi_lvds1 to an overlay
- temporarily add a persistent part of panel-dpi to manage it
in an overlay.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The touchscreen atmel_mxt supports as an overlay. Remove it
from the main device tree.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The touchscreen ad7879 supports as an overlay. Remove it
from the main device tree.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The touchscreen ad7879 supports as an overlay. Remove it
from the main device tree.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The touchscreen atmel_mxt supports as an overlay. Remove it
from the main device tree.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Colibri iMX8X has only 2 sensors. Fixing the configuration
of thermal zones let the driver work well.
Related-to: ELB-3026
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add required and fix wrong settings to make PCIe host and
PCIe WiFI module AW-CM276AF on Colibri iMX8X work well.
Related-to: ELB-3025
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
NXP uses imx8qm compatible string for common pcieb definition.
Fix it to tell the driver the correct variant of PCIe controller.
Related-to: ELB-3025
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add names for GPIO signals drived by on-module FXL6408 GPIO expander
on Colibri iMX8X.
Related-to: ELB-3025
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
They are not yet done and do not work hence delete them. They should
anyway make it's way into the device-tree-overlays in the future
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Add a devicetree for Apalis iMX8 V1.1 and Ixora V1.1
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Make USB OTG1 port work well in host mode.
Related-to: ELB-3051
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Enable USBH1 interface and set up an overcurrent pin
to make HSIC-based USB on-board ports work.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Revert "MLK-24374-2 arm64: dts: imx8qm: Move USBH1 to imx8qm-ss-conn"
This reverts commit 3a3ce5c40c0560a67da536938032cfc9d462ee44.
Apalis/Colibri-iMX8X has USBH1 port as well. Return back this device
node and related stuff makes able all on-board USB ports work well.
Related-to: ELB-3052
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Enabling OTG phy interface is required for OTG port to work
well in host mode.
Related-to: ELB-3052
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Related-to: ELB-2971
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|