Age | Commit message (Collapse) | Author |
|
800x480
Note: still not working
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Note that this does not (yet) work, likely because the scfw does not know
the used PLL.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The SC_P_MCLK_OUT0_ADMA_ACM_MCLK_OUT0 pin was conflicting with the pins
needed by the eLCDIF, so it was commented out with a TODO.
In order to fix this conflict, re-write this pinctrl group in the lcdif
specific dts file so that the conflict is handled properly.
Fixes: 471c6dc358fe ("ARM64: dts: imx8dx: Add dts file for lcdif")
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
|
|
The pwm_adma_lcdif node was created with status "okay" in the mek.dts
file, causing a pin conflict with the audio subsystem, even though the
lcdif pwm is not needed in this dts file.
Move this node into it's specific dts file: mek-lcdif, since it is only
needed by the lcdif.
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
|
|
Add nodes for the ADMA eLCDIF controller found in i.MX8QXP and specific
dts file for it's usage with the Seiko 43WVF1G LCD panel.
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
|
|
Add Seiko 43WVF1G panel to our defconfig.
Needed for QXP eLCDIF.
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Backported to 4.9.123
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Copy the pwm definitions from imx8qm to fsl-imx8dx.dtsi.
Enable it in the device tree.
Without the power domain property nothing happens when playing in /sys/class/pwm.
With it you get a kernel Oops.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
as pwms are not yet available in the SoC dtsi, comment them.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use the initial U-Boot device tree.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
While at it set the assigned clock to 24 MHz, as that it what results with
the 20 MHz currently used.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
It is used on the Colibri iMX8QXP
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
mek now assigns clock.
Note that for me HDMI does still not work. However this change has been done
between 4.9.51 and 4.9.123.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add external clock nodes to model the on-module SATA reference
clock generator. Assign it to the SATA instance so it can be
disabled if required.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 73e0d2dcb1326fb64ddb7cadb5ca211b058f39ba)
While forward poriting, add newly required phy_apbclk to the clocks property.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Remove lpcg_xxx clocks (pcie_per) also in module level device tree.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 4327a27b34c2c83b7998087e7cad928272aa1d4d)
(cherry picked from commit b1cecac7dad4d6738ad99d8d6d1c26165c8d992e)
|
|
Remove the lpcg_xxx clocks codes, since they are HW gated.
These clocks controlled by HW, and would be turned on
automatically, if there are access operations.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
(cherry picked from commit 9b8da32493057502a912b6d1426eadeb76780e69)
Conflicts:
arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi
drivers/pci/host/pci-imx6.c
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 7615a560c48aeb53911c7a6f025420c0f9a5a51f)
|
|
(cherry picked from commit 77bbbcfe3baaf26d84912b459150ec7a5138f7a7)
(cherry picked from commit 7847317840c86a9b52dd7a98e36e44721d83a000)
|
|
This commit makes the camera instantiation use the proper driver and
fixes all the settings so it works with Apalis.
(cherry picked from commit e42e656f28f91d10a2fb2035f9c7546d0814ad87)
(cherry picked from commit 2940c6461138f8de95ea77bc2db86619914d8f53)
|
|
Add NXP SGTL5000 codec support for Apalis iMX8.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 1ed393a89bc808273f9653020b2fcad4d655f765)
Conflicts:
arch/arm64/configs/defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 4f8e7db9db1bac86c6c5bc2f78793ebebbd60a14)
|
|
Add SAI1 I2S peripheral and SGTL5000 audio codec support for
on-module audio support. Note that clocking is currently setup
in the SGTL5000 codec node, altough it seems that due to cross
dependencies those clocks (or root clocks thereof) might get
changed later on. With the current clock frequencies audio
seems to play at the correct rate.
The power rails need further refinement.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 47b471418c210137493bf73f92fcbc198679e466)
(cherry picked from commit 284f5ec2c75f7a15a5cc5b2ca4c71efdf386f006)
|
|
Add carrier board RTC support.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 37a91946277a49ddb51e54f1070207228c5ea48c)
(cherry picked from commit 5e2ece329dfe1362c6e4cfd83151553b7df3d9e5)
|
|
Add DS1307 family RTC support which also supports M41T0 RTC as used
on our carrier board.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit d6ec2d954abbdf639cbb435c89cad71775e24795)
(cherry picked from commit a8fa55ea007eb29f8f18fc86cbab3bab0d45a90f)
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 944f626fab84a4457f36ec11270fd243f8d80edf)
Conflicts:
arch/arm64/configs/defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 75b89c90ac9c3a3b1374354cd3cc1aaa70cea0f0)
|
|
Add RTS/CTS signal to UART2. Also remove the wrong pins muxed
for UART3 (lpuart0). UART3 does not have RTS/CTS pins in the
Apalis standard.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 7aa7248a3fc30f64061a18ad97d7b931b46fa79d)
(cherry picked from commit 0ce4d474713d90d63841557b8e7978ff832de494)
|
|
Make sure USBH_EN is enabled by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 0258be2764f78860c59303154fa1793b420499a0)
(cherry picked from commit 1732c23d6df1f69f0e8cca5186f1da29c1046895)
|
|
When pciea fails to probe, it disables X2 peripheral clock. Then
when pcieb probes, the kernel crashes with various errors, but
most often with a "Unhandled fault: synchronous external abort" in
regmap_mmio_read32le.
In contrast, X1 peripheral clock seems not to be required... Use
just X2 on both PCIe instances.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 97627bc30c391695a5bc10eeb19f762420b9772d)
(cherry picked from commit 312eef1e1a59f4eee0f51e596a35a29d2ecf758b)
|
|
Make sure that the clock enable pin is assigned to the GPIO
clock driver.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 5d3e6620b685fe06d69479623f52264361ad26e0)
(cherry picked from commit 47a9e5ec149776762a863a180b431960e5236315)
|
|
Now that the HDP driver support HDMI CTRL GPIOs make use of it
and reference the HDMI_CTRL GPIO.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit a0b0515b3992b6361514a3c18740864321b5bf50)
(cherry picked from commit 15d1a2a0acf6493829845c45963aed746b2765f1)
|
|
Add Marvell/USB Bluetooth support.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 9fe8e87ad955c087d2fa6a35fda3287aa5dccbd7)
Conflicts:
arch/arm64/configs/defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 9bd23adac54773bfd2ed02d577667053cc61dd74)
|
|
With newer U-Boot the proper HDMI firmware gets loaded, with that
Linux can use the HDMI driver.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit db14ad6e5cf9cc8b89f0c61b2e2229fafeebef40)
(cherry picked from commit e0f027ae6690dbf270fd98b1f89fc622f9a193c3)
|
|
With that external USBH2/3 do work now. Also the on-module
Azurewave AW-CM276NF Wi-Fi/Bluetooth enumerates after downloading
the firmware over PCIe.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 321682bbb78507ae3dc84a3cd8ced2186b00818c)
(cherry picked from commit 01e32582a087bef1d5b382907f6ac65bf7afa196)
|
|
Since beta2 the kernel crashes when trying to use HDMI I2C:
[ 0.793055] usbphynop2 supply vcc not found, using dummy regulator
[ 0.799867] i2c i2c-0: LPI2C adapter registered
[ 0.804437] i2c i2c-1: LPI2C adapter registered
<freeze>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 05063862c0dcf542ec9beb4f3d5c8404ebc3f9e0)
(cherry picked from commit 571c461dc90c17711e42bd7ea2f88e1957427095)
|
|
Enabled new nodes crucial for graphics.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 5410d1ab5b8382ac67423d129d1744a337de47dc)
(cherry picked from commit f5dd3c7792d39dd33d358e1aaf2c76c900160ead)
|
|
Add Marvell Wi-Fi support using the mwifiex driver.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit acc1f6790a86f38398da46bc30908c8e8e2c0757)
Conflicts:
arch/arm64/configs/defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 734a9127e49ce3592b804afb8379f8fa1fc41c9e)
|
|
The Apalis iMX8 does not make use of the PCIE_CTRL0_PERST_B signal.
However, the Apalis Evaluation Board uses GPIO7 as a PCIe reset
signal for the PLX PCIe switch. With this the Apalis PCIe port
comes up as Gen2 successfully on the Apalis Evaluation board.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit daed8f84e1675e9c091ae240d041c458be6f263f)
(cherry picked from commit b2b9f4eebd50b2419d54109677c164a3eb906357)
|
|
Add external clock nodes to model the on-module PCIe reference
clock generator. Assign it to the two PCIe instances so any of
those can be disabled if required.
Also add Wi-Fi pins to the PCIe B instance. The AzureWave
AW-CM276NF Wi-Fi/Bluetooth chip (using Marvell 88W8997 chipset)
appears on the PCIe bus:
00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0000 (rev 01)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 2b42 (rev 11)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit fa6d28db220ac331e4515de4783a33b95f46582f)
(cherry picked from commit 7b0a9869abda29b358dc231d17aa372c5e82ee09)
|
|
HDMI is currently not working, disable for now. This prevents the
X-Server does not spawn accross HDMI/LVDS output by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 12bf961b9bf2507ddbbfd35f3da82472bba544da)
(cherry picked from commit b8d55aa110d2448068bae33d16b9fa143941be0a)
|
|
With a valid master clock and power down/reset GPIO correctly
specified the sensor is detectable via I2C. However, the sensor
driver does not work with the i.MX8QM camera stack yet, further
investigations are needed.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 8f1b8afa036ea0a9b21fbf0e9b42e797dd4fdebe)
(cherry picked from commit af808fb163bfd87a7c230a012819f75a9a92b913)
|
|
Add GPIO fan/backlight for Apalis iMX8. Enable USB camera support.
Also enable configs relevant for MIPI CSI2 camera (OV5640) support,
but this needs further changes to the driver to work with i.MX8QM.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 6a74107935a0d4a3a7cebf879a1ae684366bec19)
Conflicts:
arch/arm64/configs/defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 471a0d336d637ed1c66c96d10a9f998d0cafc510)
|
|
Currently the master clock is missing hence the camera can not
work. Further investigations are needed.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 64d13945ae6c1df3e29541771dbbff3037ab43da)
(cherry picked from commit fb308ea347365e763434196df1f8aaadc47e8642)
|
|
Add support for the on-module USB HSIC hub.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 30e7b3ac678c2dcc7c3aa5249fe5431454ef1b33)
(cherry picked from commit 87f3bafdf88d207ef225d1991663352adfa725d2)
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 15e2b8932de93127d528459bc1006f3e8a4776d2)
(cherry picked from commit dffbc3c2f509e36cd10c28a1c52973c084975d5b)
|
|
Use GPIO backlight driver and specify for BKL1_ON and BKL1_PWM
as a GPIO for now. There seem to be no driver for the LVDS PWM
currently.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 38f04eea77266fd8edeac5817484507468deac56)
(cherry picked from commit 37a75ecefd92d3a696bc5485aa0870206f71b33d)
|
|
Initial changes for Apalis iMX8QM. LVDS dual-channel full-HD
panel seems to work, HDMI seems to output signals but display
are not able to sync on the signal (or only after a long time,
displaying everything in a weired binned mode).
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit b7b13555c1f11b65f36493c12b9af3d8c4e89fbb)
(cherry picked from commit b741d849c4f8bd56c290770d315e9ad090e684d9)
|
|
Currently a copy of fsl-imx8qm-lpddr4-arm2.dts to set boot
UART to LPUART1 and make Ethernet and SDHC work.
(cherry picked from commit 891b801dd1ef7d6fec46a4056058535553294e73)
Conflicts:
arch/arm64/boot/dts/freescale/Makefile
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit dab44052613777b65fe66c672d2d4fb2371c373f)
|