summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-26ARM: dts: imx6q: follow addition of sata_ext clkColibri-iMX8X_Console-Image_3.0b2.65-20190830Colibri-iMX7_Console-Image_3.0b2.65-20190830Colibri-iMX6_Console-Image_3.0b2.65-20190830Colibri-iMX6ULL_Console-Image_3.0b2.65-20190830Apalis-iMX8_Console-Image_3.0b2.65-20190830Apalis-iMX6_Console-Image_3.0b2.65-20190830Max Krummenacher
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>
2019-08-20ARM: dts: imx6ull-colibri: add group to iomuxc to suppress warningPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-20ARM: dts: imx6-ixora: fix missing includesPhilippe Schenker
Fixes: commit: 5d2a26667010640e33ca0a52c73310f158179711 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-20ARM: dts: (apalis|colibri): unify backlight settingsPhilippe Schenker
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>
2019-08-20ARM64: dts: imx8*(apalis|colibri): Add 3rd pwm parameterPhilippe Schenker
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>
2019-08-16ASoC: sgtl5000: Restore mclk on resume deviceOleksandr Suvorov
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>
2019-08-16drm/mxsfb: add support of non-atomic clk_enable/disableOleksandr Suvorov
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>
2019-08-15ARM: dts: toradex: fix i2c gpios flagsOleksandr Suvorov
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>
2019-08-14RM64: dts: colibri-imx8x: eval-v3: fix lpspi2 usageMarcel Ziswiler
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>
2019-08-14defconfig: fix ip firewall (bpf/cgroup)Marcel Ziswiler
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>
2019-08-12arm: dts: colibri_imx7: fix flags for gpio signals of i2cOleksandr Suvorov
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>
2019-08-08arm64: defconfig: disable CAAM SM TestStefan Agner
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>
2019-08-08arm64: defconfig: enable deprecated ARMv8 instructions emulationStefan Agner
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>
2019-08-07dt-bindings: lontium,lt8912: follow code changeMax Krummenacher
The driver got converted to a I2C device, DDC/EDID and HPD handling is added. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-07arm64: dts: fsl: colibri-imx8qxp: add hotplug gpioMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-07arm64: dts: fsl: colibri-imx8qxp: add edid i2c channelMax Krummenacher
Also delete the no longer needed hardcoded timings. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-07lt8912: add gpio based hotplug detectionMax Krummenacher
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>
2019-08-06lt8912: add edid functionality through regular i2cMax Krummenacher
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>
2019-08-06imx-hdp.c: enable scdc at 4k againMax Krummenacher
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>
2019-08-06ARCH: ARM64: colibri-imx8x: Add correct board namingPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Add regulators to AsterPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: display-dts: Adaptions for new structurePhilippe Schenker
- Remove Lontium V1.0 board settings - Disable RGB display - Add eval.dtsi Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Add common eval-hardware to devicetreePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Use standard toradex display settingsPhilippe Schenker
And remove unnecessary enabled hardware Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Separate eval devicetreesPhilippe Schenker
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>
2019-08-06ARM64: colibri-imx8x: Correct some commentaryPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Remove lcd_display due to incompatibilityPhilippe Schenker
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>
2019-08-06ARM64: dts: colibri-imx8x: Move backlight to SoM-level DTPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Add initial Aster devicetreePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Disable DT entries by default on SoM levelPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Move display and camera related enablesPhilippe Schenker
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>
2019-08-06ARM64: dts: colibri-imx8x: Add sleep state and disable-wp to usdhc2Philippe Schenker
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>
2019-08-06ARM64: dts: colibri-imx8x: Remove ext_io from extcon_usbcPhilippe Schenker
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>
2019-08-06ARM64: dts: colibri-imx8x: Unify mipi pinmux namingPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Move entries from eval to SoM-levelPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-06ARM64: dts: colibri-imx8x: Move SoM-level entries to eval-levelPhilippe Schenker
And give the SoM level its naming. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: dts: colibri-imx8x: Sort devicetree alphabeticallyPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: dts: colibri-imx8x: Unify formatting of devicetreePhilippe Schenker
This patch also puts some comments. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: dts: colibri-imx8x: Remove A0 related and commented out codePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: dts: colibri-imx8x: Rename devicetree to form general dtsiPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: dts: colibri-imx8x: Use tabs instead of spaces consistentlyPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: defconfig: Add CAN controller MCP2515Philippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31ARM64: defconfig: Use panel-lvds driverPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31Panel: simple: Add Toradex 7" Capacitive Touch DisplayPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-31drm/panel: pass video modes bus_flagsStefan Agner
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)
2019-07-29drm/mxsfb: use correct connector enumOleksandr Suvorov
The mxsfb-drm exposes a display parallel interface. Use the DPI instead Unknown connector. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-07-29video: fbdev: mxsfb: Fix flags not being appliedPhilippe Schenker
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)
2019-07-29Revert "video: fbdev: mxsfb: honor native-mode"Philippe Schenker
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.
2019-07-29drm/bridge: vga-dac: Fix non-DDC VGA detectionOleksandr Suvorov
If I2C bus for DDC is not defined, assume the connector is always connected. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-07-29arm64: dts: fsl: colibri-imx8qxp: Use LCD Panel by defaultOleksandr Suvorov
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>