summaryrefslogtreecommitdiff
path: root/arch/arm64
AgeCommit message (Collapse)Author
2019-05-28ARM: dts: imx8: apalis-imx8qm: add colibri-vf50-ts configurationMax Krummenacher
Add the configuration to use the touchscreen hardware provided on the Apalis iMX8 QM. Keep it in disabled state though to allow the ADC1 to be used as ADC channels. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-28ARM64: defconfig: add colibri-vf50-ts driverMax Krummenacher
The Apalis iMX8 QM module provides this touchscreen hardware. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-23ARM: dts: fsl-imx8qm-device.dtsi: Add io-channel-cells property for ADC nodeMax Krummenacher
This commit adds io-channel-cells property to the ADC node. This property is required in order for an IIO consumer driver to work. Especially required for Apalis iMX8 QM, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Based on commit 9b1793afe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-23ARM: dts: fsl-imx8dx.dtsi: Add io-channel-cells property for ADC nodeMax Krummenacher
This commit adds io-channel-cells property to the ADC node. This property is required in order for an IIO consumer driver to work. Based on commit 9b1793afe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-20ARM64: defconfig: add extcon_usb_gpio configMax Krummenacher
This is used with the USB_C port on Colibri iMX8X. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: alphabetically re-order nodesMarcel Ziswiler
Alphabetically re-order device tree nodes. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: change sound card nameMarcel Ziswiler
Change sound card name to be more in-line with our other modules. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: alphabetically re-order propertiesMarcel Ziswiler
Alphabetically re-order device tree properties. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: complement commentsMarcel Ziswiler
Complement device tree node comments and clarify pin usage. While at it also improve indentation and pull comments out to the top. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: improve usb host power enableMarcel Ziswiler
Rather than powering the USB host power enable pin via an always on regulator do actually hook it up via resp. USB PHY node. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: rename regulatorsMarcel Ziswiler
Rename regulators according to schematics and to be more consistent with how we do this on our other modules. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: improve console bootargsMarcel Ziswiler
Improve default console bootargs. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: get rid of gpio nodesMarcel Ziswiler
Those are specified as enabled by default in fsl-imx8qm-device.dtsi. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: get rid of lpuart dma disablingMarcel Ziswiler
Get rid of LPUART DMA disabling which dates back to an initial bring-up BSP on V1.0A hardware. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: rename spidev2 to spidev1Marcel Ziswiler
Rename spidev2 to spidev1 to be more consistent with how we do this on our other modules. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: add ethernet phy reset handlingMarcel Ziswiler
Add Ethernet PHY reset handling via resp. GPIO. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: fix i2c pin muxingMarcel Ziswiler
Fix I2C pin muxing of Apalis I2C1, Apalis I2C2 (DDC), Apalis I2C3 (CAM) and on-module I2C. We use high drive strength and OPEN_DRAIN_INPUT configuration. While at it also add a comment indicating which bus is used on-module. This fixes DDC/EDID issues as seen on Apalis Evaluation Board V1.1A with certain HDMI screens. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: fix enet0_refclk, eth_reset# pin muxingMarcel Ziswiler
Fix ENET0_REFCLK as well as ETH_RESET# pin muxing and add a comment noting us currently using them ENET0 pads in 3.3V mode. Note: We currently violate specification as NXP has not validated Gigabit Ethernet operation with them ENET0 pads being in 3.3V mode (as per note in IMX8QMAEC Rev. H, 8/2018, page 74, section 4.10.5)! Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-07ARM: dts: imx8: apalis-imx8qm: improve usb over-current handlingMarcel Ziswiler
Improve USB over-current handling by muxing USBH_OC# as GPIO and USBO1_OC# as native USB_OTG1_OC. This is especially important as they default to I2C pin muxing which may interfere with the actual pins we use for resp. I2C instance. While at it also improve indentation and pull comments out to the top. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-25ARM: dts: imx8: apalis-imx8qm: fix analog audio clockMax Krummenacher
IMX8QM_AUD_ACM_AUD_REC_CLK0_DIV and maybe IMX8QM_AUD_MCLKOUT0 is set by more than one node as a parent clock with a fixed frequency. Using the same frequency everywhere fixes audio out being played at around half the needed sample rate. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-25ARM: dts: imx8: apalis-imx8qm: fix i2s data in muxingMax Krummenacher
The SAI1_RXD ball is used to get data from the codec into the SoC. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-25ARM: dts: imx8: apalis-imx8qm: add spdif functionalityMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-25ARM: dts: imx8: apalis-imx8qm: add additional gpio hogMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-24ARM: dts: imx8: apalis-imx8qm: fec comp_ctl pin and eth phyMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-24ARM: dts: imx8: apalis-imx8qm: enable adc0/1Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-24ARM: dts: imx8: apalis-imx8qm: enable imx-audio-amix, sai6/7, asrcMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-24ARM: dts: imx8: enable hdmi audioMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-24ARM: dts: imx8: apalis-imx8qm: use regular ddc i2c busMarcel Ziswiler
The Apalis iMX8 design does not make use of the dedicated HDMI DDC/EDID pins aka HDMI_TX0_DDC_SCL/SDA being under exclusive HDMI transmitter firmware control but rather uses HDMI_TX0_TS_SCL/SDA. This patch enables using them as a regular DDC I2C bus. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-18ARM: dts: imx8: apalis-imx8qm: add comment on how to disable can-fdMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: enable ddc i2cMax Krummenacher
We are using the dma_i2c on the ddc pins. When using the hdmi_ts_i2c the driver freezes, likely the clk configuration is not set up properly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: add additional gpio hogMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: comment the apalis pin names muxedMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: delete unused pinsMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: rework bkl_on pinMax Krummenacher
Note the the enable gpio binding changed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: put the two ddc i2c muxings togetherMax Krummenacher
Once DDC/EDID works delete the unused one. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: add gpio-keys nodeMax Krummenacher
This implements wake-up from WAKE1_MICO pin. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: unify apalis gpio pinctrlMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: add spiMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: enable vpu_decoder/encoderMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: add pd_cm40/1_intmux and tsens nodesMarcel Ziswiler
Add missing pd_cm40_intmux, pd_cm41_intmux and tsens nodes. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: add gpio muxingsMarcel Ziswiler
Add various GPIO muxings: CAM1, GPIO3/4/5/6, SATA1_ACT and WAKE1_MICO. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: add support for sd1Marcel Ziswiler
Add support for SD1. While at it also clean-up MMC1 support concerning card detect GPIO and 8-bit bus width. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: fix hdmiMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: fix top-level compatibleMarcel Ziswiler
Fix top-level compatible to use common toradex,apalis-imx8qm notation. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-04-17ARM: dts: imx8: apalis-imx8qm: use spdx license identifierMarcel Ziswiler
Use SPDX license identifier GPL-2.0+ or X11. While at it also clean-up some whitespacing, re-order some properties and add some clarifying comments. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-20colibri-imx8qxp: use evalspiMarcel Ziswiler
Make use of previously introduced toradex,evalspi avoiding spidev message spew during boot. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-20colibri-imx8qxp: further adjust copyright/licensing headersMarcel Ziswiler
Further adjust copyright/licensing headers. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-18ARM: dts: imx8: colibri-imx8qxp: fix backlight enable and pwmMarcel Ziswiler
Fix backlight enable and PWM to match Colibri iMX8X LVDS Adapter V1.0. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-18ARM: dts: imx8: colibri-imx8qxp: fix top-level compatibleMarcel Ziswiler
Fix top-level compatible to use common toradex,colibri-imx8qxp notation. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-18ARM: dts: imx8: colibri-imx8qxp: use spdx license identifierMarcel Ziswiler
Use SPDX license identifier GPL-2.0+ or X11. While at it also clean-up some whitespacing and re-order some properties. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>