Age | Commit message (Collapse) | Author |
|
Related to: #42565
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related to: #32172
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If using DMA mode the chip select gets deasserted and asserted again
with each word in a transmission. PIO mode on the other hand asserts
at the beginning of a transmission and de-asserts at the end which for
most use-cases is prefered.
Related to: #51387
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Follow commit 'a1204e3b0e7a dts: lpspi: add dma mode support' for lpspi2.
This requires a follow up to dtbs which delete the edma0 node in favour
of their own implementation.
Related to: #51387
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 1ff8709cc875557d3ba3c105af3be6bd6033c122)
Fixed power-domain stuff after imx_4.14.98_2.3.0 resp. 4.14-2.3.x-imx
merge.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Remove firmware kobject uevent fallback mechanism and make imx_sdma
a module so it gets loaded when rootfs is mounted.
This prevents the error, that firmware can't be loaded from rootfs
There where some defconfigs missed in the commit with the same name
before, correct that.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This patch enables the backlight in any case. Mainline assumes now
that backlight is turned on from an appropriate driver to get
flickerless backlight experience.
Theres no such thing in downstream, so get rid of the code part that
blocks backlight from turning on.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Remove firmware kobject uevent fallback mechanism and make imx_sdma
a module so it gets loaded when rootfs is mounted.
This prevents the error, that firmware can't be loaded from rootfs
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Avoid the following spew:
[ 2.083946] imx7d-pinctrl 302c0000.iomuxc-lpsr: pin MX7D_PAD_GPIO1_IO01
already requested by 302c0000.iomuxc-lpsr; cannot claim for gpio-keys
[ 2.099682] imx7d-pinctrl 302c0000.iomuxc-lpsr: pin-1 (gpio-keys) status -22
[ 2.108272] imx7d-pinctrl 302c0000.iomuxc-lpsr: could not request pin 1
(MX7D_PAD_GPIO1_IO01) from group gpiokeysgrp on device 302c0000.iomuxc-lpsr
[ 2.124626] gpio-keys gpio-keys: Error applying setting, reverse things back
[ 2.133420] gpio-keys: probe of gpio-keys failed with error -22
While at it also fix some missing new lines.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Copied from toradex_imx_4.14.78_1.0.0_ga-bring_up.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Copied from toradex_imx_4.14.78_1.0.0_ga-bring_up.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The Apalis iMX8 QM module provides this touchscreen hardware.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is used with the USB_C port on Colibri iMX8X.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This adds the touchscreen atmel_mxt_ts driver used
by displays from toradex.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
CONFIG_MODVERSIONS allows to use kernel modules slightly different from the
running kernel.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit fe0736d779d71237cba9f6ed5ebf6d7fdf71d9cd)
(cherry picked from commit eb19205dcadee79170778136e149643b20b71b62)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 13244ea064560813f3c4b67d02838930daa56fb4)
(cherry picked from commit f45782b76f20f5adf3ac0b234c458846cd3704fc)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit e9656428bfa3a85c99e424785dea50628992e394)
(cherry picked from commit 7cbf898f1287bec82b3a25ed47633539c61ed49c)
|
|
It is used on the Colibri iMX8QXP
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 961a35836af3e5dce034018b3e010bf3499e2f25)
(cherry picked from commit 78bd4e96eaee1a103a8bd52a2568e6b033ce26ba)
|
|
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)
(cherry picked from commit ed7618f8085c7f02fb9d9bf8fe160ec0025671f4)
(cherry picked from commit 52ae1fefc8794d41ac7544fc22028ac9a04a6424)
|
|
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)
(cherry picked from commit baf09ae0654769311a390382f22d64d195c4b167)
(cherry picked from commit 32df0ec733ee19740f2075c4501291febd722505)
|
|
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)
(cherry picked from commit 6efcd53a6bd3d4f437f4fd2362dab9685863e639)
(cherry picked from commit ff5f17d53273a644b2c8d76fbd495d9d2eb6e21b)
|
|
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)
(cherry picked from commit 9380becfb11a1cb2502c7938a19b84785735b9a9)
(cherry picked from commit f17e33d650885310866b300c578a3f4d31d5332f)
|
|
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)
(cherry picked from commit 0a3eeddc6bcf29d9ceacb4838bf26eeb1af36095)
(cherry picked from commit a7eac7df03d30f66f6b5f855727f0f1a2d4666f2)
|
|
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)
(cherry picked from commit 153848b2e63330fe38315f22baac7817e77f1d00)
(cherry picked from commit 3fb7df4524c6ef6002a940c12ecee199832d321a)
|
|
Properly support probe deferral e.g. in case I2C is behind an I2C switch
as is the case for our new DSI to HDMI Adapter V1.1A.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Properly reserve I2C sub addresses as well.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This fixes a compilation error:
CC drivers/rtc/rtc-lib.o
In file included from drivers/phy/ti/phy-omap-usb2.c:30:0:
./include/linux/phy/omap_control_phy.h:46:2: error: redeclaration of enumerator ‘USB_MODE_HOST’
USB_MODE_HOST,
^~~~~~~~~~~~~
In file included from ./include/linux/usb/otg.h:14:0,
from ./include/linux/phy/omap_usb.h:23,
from drivers/phy/ti/phy-omap-usb2.c:24:
./include/linux/usb/phy.h:69:2: note: previous definition of ‘USB_MODE_HOST’ was here
USB_MODE_HOST,
^~~~~~~~~~~~~
In file included from drivers/phy/ti/phy-omap-usb2.c:30:0:
./include/linux/phy/omap_control_phy.h:47:2: error: redeclaration of enumerator ‘USB_MODE_DEVICE’
USB_MODE_DEVICE,
^~~~~~~~~~~~~~~
In file included from ./include/linux/usb/otg.h:14:0,
from ./include/linux/phy/omap_usb.h:23,
from drivers/phy/ti/phy-omap-usb2.c:24:
./include/linux/usb/phy.h:70:2: note: previous definition of ‘USB_MODE_DEVICE’ was here
USB_MODE_DEVICE,
^~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:328: drivers/phy/ti/phy-omap-usb2.o] Error 1
AR drivers/pps/clients/built-in.o
make[2]: *** [scripts/Makefile.build:587: drivers/phy/ti] Error 2
make[1]: *** [scripts/Makefile.build:587: drivers/phy] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/rtc/hctosys.o
Related to: #50570
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Any IIO ADC can be used with the driver, so do not depend
on VF610_ADC.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Clarify properties.
Drop unused pinctrl-2 state 'gpio'.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Implement optional regular DDC/EDID I2C bus handling which may be
enabled via ddc-i2c-bus device tree property.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The regmap represents bytes, so when writting low and high bytes,
truncate the low byte to 0xff.
No adverse effects been seen though, regmap_write() seems to truncate
passed values.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
(cherry picked from commit da9f0f3fe975924601f361d413bb71361cf11dd2)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
While it is legal it may be confusing to the reader.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit fbc3228c0d26e82038b7658a4bde3ddc2f61cab5)
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 645bf88b06cdf707fdb5f1ad2cf435203940a959)
|
|
Make 1920x1080 really the default and only mark one resolution as the
preferred one.
(cherry picked from commit c61d21ae6156ff7c6ce981a586c52ca0abefa17c)
|
|
- Port the driver to use the gpiod framework
This allows to choose the polarity of the power_on and disable gpio in
the device tree.
- Actually use the gpios in the initialisation sequence
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 91aedb97b4e65c4afc66f5a5b8d670061addd80d)
(cherry picked from commit 15a9d28286bba122f15e342cd40c6da7294b9bb6)
Fixed gpiod stuff after imx_4.14.98_2.3.0 resp. 4.14-2.3.x-imx merge.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 0c0420dcf29549bf045e0764a50c4c482cbb7232)
(cherry picked from commit 91bfc951ee0cff636db5dae01ed61f03132416e6)
|
|
The Lontium LT8912 MIPI-DSI to LVDS and HDMI/MHL bridge features a
single-channel MIPI D-PHY receiver front-end configuration with 4 data
lanes per channel operating at 1.5Gbps per data lane and a maximum
input bandwidth of 6Gbps.
Change-Id: I7733ea5f33094151bb62e62406561cc0025cf900
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Import and forward port to 4.9 (API change of_get_drm_display_mode() )
from https://github.com/rockchip-linux/kernel/commit/230f7f061036a99fc02d2cd7d20f66f7f0efae99
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
drop drm_atomic_helper_connector_dpms, see 7d902c05b drm: Nuke drm_atomic_helper_connector_dpms
(cherry picked from commit 265fac62bf9defe0de5c1ce088013b61c9b46fb7)
(cherry picked from commit 7d2bdcf5aa35191aa0810884ea8eef944059269c)
|
|
Using regmap update bits the way it was used is wrong as only additional bits
gets set but no bits would be cleared.
The whole register or NRD and PDS are reserved for those two function.
There are no bits which needs to be preserved in the registers so just
writting the new value is all that is needed.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 02a78261315045011a5a987761d7a76e51b04480)
(cherry picked from commit b38bde54f80dbb67be727e04c8ee3e8d2969a3f9)
|
|
This allows to configure the NRD register from device tree or platform data.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 92ed1faf672e46e3e54b1f41f0b38f533b53b1aa)
(cherry picked from commit 6b5280f4e71770600d5b89638d849896158f2ec3)
|
|
While the usb3503 variant uses a HSIC connection to upstream,
the usb3803 uses a regular USB connection and provides a
bypass mode which connects the upstream port with downstream
port 3.
This adds an additional control gpio to the configuration which
allows moving away from the bypass mode to either standby or hub
mode once the driver is instantiated.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit e7812f55781bd9453a231d104a2c6c520491e2e4)
(cherry picked from commit 8662817b83bee3c30336f104608752fcb652f5c4)
|
|
inital_io_dir: a 1 at a bit positions sets the corresponding pin as output.
inital_output: a 1 sets a gpio which is set to output with inital_io_dir to 1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit a7d303d7d63d444ed012200e98e6575814439101)
(cherry picked from commit 990f8c1dcb28cdc8eb6551b86621e1b29067136b)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit f8df25d5785377f11fe8a757346ba8241847fb8d)
(cherry picked from commit 2d24d0eecddbc85c84f58e70b4d32778fbbcb9ec)
|
|
This commit needs to be split up and cleaned up. Also we should add
interrupt support before pushing upstream.
Signed-off-by: Eric Anholt <eric@anholt.net>
Imported from: https://patchwork.kernel.org/patch/9148419/
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ca11f963f8c10dfd74392131cfde0fa653cdc80a)
(cherry picked from commit a09c79c004d49b44e010b246ee6036a89634a54f)
|
|
Add external reference clock via clock tree. This allows to model
the shared reference clock provided via PCIE_SATA_REFCLK100M_P/N
properly.
This is analogous to what we did for PCIe in commit db22e7590338
("PCI: imx6: add external clock support for i.MX8QM").
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 4b2d05c05c9e775abf7218ad7a4b52c2d220dd14)
Conflicts:
drivers/ata/ahci_imx.c
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit da0aa53df04d82eb15cecab90d98e6696d882923)
(cherry picked from commit 52683295a0ad72808f997be5548ec592828c61a1)
|
|
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 0507816aa4b9a4f5764d308b23332fc297e6fe0f)
(cherry picked from commit 24258f088b89df68e5fa2c54eb3334ff50fcb8f0)
|
|
This commit adds code that forces setting the requested format in the
actual sensor driver.
Note that currently it is commented out as imx8 isi does not seem to
work properly with any other source resolution than the default
1920x1080.
Without this code, the driver will work with other resolutions (the ones
which are reported as supported by the connected sensors and lower than
1920x1080), but the image will be scaled down from 1920x1080. Scaling up
is not supported.
(cherry picked from commit a1a1244b1de00274586d1ea16048f8469966ff30)
(cherry picked from commit 16a4bd33e589b1f08c64a1b593d11921e62d6e72)
(cherry picked from commit f744198310d0849bd2fcb34bae4821317256b843)
(cherry picked from commit 8f67764a2fc758751a7de27973c4dd05a327244e)
|
|
The issue is that once the scaling was enabled, then the stream was
disabled and enabled again with a resolution that does not need scaling,
the actual scaling was never disabled in the ISI block. This made ISI
stream the scaled down with a large black padding.
(cherry picked from commit 148241e839644f6af83a3e677e1350ce50ce27e9)
(cherry picked from commit 13bef5c8fde55bf12be73ed05391427d393bb71c)
(cherry picked from commit 3ab199d9b1b3d0c94d89c2c1c5b2c5749d4bc476)
(cherry picked from commit edfbe38e61e6889afbbdf7a2608e5498619ef4ab)
|