Age | Commit message (Collapse) | Author |
|
Commit f014b5b3b3ab added an additional clock to ahci_imx.c used
on i.MX8. Add a dummy clock to imx6q.dtsi so that i.MX6 which doesn't
need the clock the driver keeps working.
Fixes:
[ 2.053942] ahci-imx 2200000.sata: can't get sata_ext clock.
[ 2.053962] ahci-imx: probe of 2200000.sata failed with error -2
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Fixes: commit: 5d2a26667010640e33ca0a52c73310f158179711
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit unifys the backlight settings. All displays sold by Toradex
are now supporting 150Hz as a PWM backlight typical frequency.
Use this value for all SoM's and put also some better default values
for different brightness.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit adds a 3rd pwm paramter that can be used for PWM polarity
inversion with dt-bindings/pwm/pwm.h PWM_POLARITY_INVERTED
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
sgtl5000 goes to fail state after suspend system:
[ 60.308603] sgtl5000 16-000a: ASoC: Failed to turn on bias: -5
[ 60.309264] sgtl5000 16-000a: Unable to sync registers 0x2-0x6. -5
To fix it, mclk is forced to reenable on system resume.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
i.MX8QM/i.MX8QXP clock enabling/disabling callbacks are non-atomic,
so we can't use them in interrupt/atomic context.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
According to manual of I2C bus, both signals sda/scl are "open drain".
Fix flags for all affected Toradex boards.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This fixes the following error during boot:
[ 1.588204] fsl_lpspi 5a020000.lpspi: chipselect 0 already in use
[ 1.594461] spi_master spi0: spi_device register error
/lpspi@5a020000/spidev@0
[ 1.601850] spi_master spi0: Failed to create SPI device for
/lpspi@5a020000/spidev@0
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This fixes the following systemd error during boot:
[ 4.225226] systemd[1]: File /lib/systemd/system/systemd-journald.
service:36 configures an IP firewall (IPAddressDeny=any), but the local
system does not support BPF/cgroup based firewalling.
[ 4.242360] systemd[1]: Proceeding WITHOUT firewalling in effect!
(This warning is only shown for the first loaded unit using IP
firewalling.)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
scl-gpios should be (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) since
commit d2d0ad2aec4a ("i2c: imx: use open drain for recovery GPIO")
Fix on-boot warning:
"enforced open drain please flag it properly in DT/ACPI DSDT/board file"
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Disable CAAM SM Test which is a Keystore Test/Example meant for
development. This gets rid of lots of messages in the kernel log.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Enable deprecated/obsolete ARMv8 instructions emulation. This allows
to run ARMv6 binaries (e.g. Raspberry Pi) on ARMv8 machines.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The driver got converted to a I2C device, DDC/EDID and HPD handling is added.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Also delete the no longer needed hardcoded timings.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
While at it remove commented out fragments.
While at it remove double execution of MIPI RX soft reset.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If the ddc-i2c-bus property exists, that bus is used to read EDID from an
attached monitor and set the list of available modes.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Commit "680eee23d001 imx-hdp.c: fix default resolution" changed the default
resolution to 1080p.
The same mode timings were used to detect a 4k mode and then reconfigure for
HDMI2.0 SCDC. Rework the code to correctly detect a 4k mode.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
- Remove Lontium V1.0 board settings
- Disable RGB display
- Add eval.dtsi
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
And remove unnecessary enabled hardware
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit only creates fsl-imx8qxp-colibri-eval-v3.dtsi and moves
code.
It does not change code.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit hooks the panel directly onto adma_lcdif and leaves out
lcd_display as it is not compatible with mxsfb-drm.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Move display and camera related enables out of SoM level into carrier
board level.
Those settings belong to carrier board as only the carrier board knows
wich connectors it has and therefore what it needs enabled.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit adds proper sleep state muxing, needed for carrier boards
that have a vmmc switch in there so we can prevent backfeeding.
Disabling write protection as this pin is not routed.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Remove ext_io from pinmuxing of the extcon_usbc_det. It is not used
and actually misleading.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
And give the SoM level its naming.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This patch also puts some comments.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Make sure that the bus_flags parsed from the display timings are
passed to the connector display info.
Signed-off-by: Stefan Agner <stefan@agner.ch>
(cherry picked from commit 77d2c3b42a84a32b5ae7bbad173a72dc9398d939)
|
|
The mxsfb-drm exposes a display parallel interface.
Use the DPI instead Unknown connector.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
If one used display timings in devicetree the display_flags like
pixelclk-active have not been applied.
This commit fixes that and puts some nice debug messages so one can
see from where those timings are applied.
This fixes commit f397f60efbb24c2906cd95f443607b2642b49b24
"video: fbdev: mxsfb: allow setting display timings via kernel
command line"
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 17652e758b1236c49d2e1d336d81a832452b7c53)
|
|
This commit should not be in 4.14 and was accidentally introduced from
4.1 to 4.9 merge.
It originally was deleted with commit:
"f397f60e video: fbdev: mxsfb: allow setting display timings via
kernel command line"
This reverts commit 721dee144c883aebd6e997a53eed3ab3c24cef79.
|
|
If I2C bus for DDC is not defined, assume the connector
is always connected.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The setup LCDIF -> LCD Panel supports both LCD panels on parallel
display connectors and VGA monitor. Use this setup by default.
Keep ability to switch to dumb-vga-dac driver.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|