summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale
AgeCommit message (Collapse)Author
2022-01-03arm64: dts: colibri-imx8x: remove unnecessary settings from usdhc2Philippe Schenker
- pinctrl-0 is already defined in imx8x-colibri.dtsi - delete keep-power-in-suspend this flag is not defined in colibri device trees upwards - sd-uhs tags From the commit-message of the introduction of those: --- Provide the option to configure these speed modes per host, for those host drivers that can't distinguish this in runtime. --- Since our host driver obviously can distinguish this (UHS works also without those tags), these tags don't need to be set. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-01-03arm64: dts: imx8x-colibri-iris-v2: iris v2 is 1.8 volt uhs capablePhilippe Schenker
The Iris v2 does NOT have 3.3 volt pull-up resistors on the command- and data-lines of the SD-signals and is therefore fully compatible with all UHS modes. Mark this hardware as being compatible with 1.8 volt signalling by explicitly deleting the no-1-8-v tag. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-01-03arm64: dts: imx8x-colibri: mark usdhc2 with no-1-8-vPhilippe Schenker
The original Colibri family module standard never supported switching the SD card interface to 1.8 volt signalling. And as all former carrier boards do have 3.3 volt pull-up resistors on the command- and data-lines of SD-signals this is also not compatible with all UHS modes. Mark this module as not compatible with 1.8 volt signalling with the no-1-8-v tag. Should you be lucky and have a custom carrier board or Iris v2 which does not have such 3.3 volt pull-ups (or you removed yours) one may explicitly delete this property again. While at it also alphabetically re-order them usdhc2 properties. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-12-17arm64: dts: apalis-imx8: remove fec regulatorPhilippe Schenker
Despite this being present on the hardware, remove it from the device tree. If this is present then the fec does power-off the regulator when going into suspend. This leads to a non working phy after resume due to the reset line that is not triggered. We try to fix this upstream but this seems to become a bigger task so introduce this intermediate solution of just removing the regulator. According to the KSZ9131 datasheet, the power-consumption in software power-down is about 26mW. Related-to: ELB-4251 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-12-17arm64: dts: apalis-imx8: leave phy-reset in push-pullPhilippe Schenker
In order to prevent backfeeding we have a sleep-state of our pins. Currently the phy-reset is put to open-drain input, High-Z and pull-down. This causes a pull-up on hardware and the configured pull-down to work against each other and causing some strange voltage level. Leave the phy-reset signal configured as push-pull and pull-up as the reset also needs to be high during runtime suspend. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-12-17arm64: dts: apalis-imx8: let phy framework handle resetPhilippe Schenker
It is considered legacy, that the fec resets the phy. Let the phylib handle this reset. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-26arm64: dts: imx8mp-verdin: limit sdio wi-fi frequency to 100 mhzMarcel Ziswiler
For now, limit the SDIO Wi-Fi frequency to 100 MHz as using 208 (resp. 200) MHz may not work reliably across all modules. Note that the maximum attainable speed will now be somewhere below 250 Mbits/sec. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-11-26ARM64: dts: verdin-imx8m(m|p): Add gpio to regulatorPhilippe Schenker
This is needed due to the GPIO also going to the AzureWave module Power Down signal. Change also the regulator-name to reflect for what it is really used. Fixes commit 42de66b9fbfcd7350834c903a98d686ef5a7a7df Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-26arm64: dts: freescale: fix arm,sp805 compatible stringMichael Walle
[ Upstream commit 99a7cacc66cae92db40139b57689be2af75fc6b8 ] According to Documentation/devicetree/bindings/watchdog/arm,sp805.yaml the compatible is: compatible = "arm,sp805", "arm,primecell"; The current compatible string doesn't exist at all. Fix it. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-25ARM64: dts: verdin-imx8mp: dev-board: limit usdhc2 clockPhilippe Schenker
Limit the USDHC2 clock to 100MHz as with certain SDIO cards the clock frequency cannot go higher without being distorted. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-25ARM64: dts: verdin-imx8mm: dev-board: limit usdhc2 clockPhilippe Schenker
Limit the USDHC2 clock to 100MHz as with certain SDIO cards the clock frequency cannot go higher without being distorted. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-24ARM64: dts: verdin-imx8m(m|p): remove wifi regulatorPhilippe Schenker
In newest hardware revisions we are no longer able to switch the voltage +V3.3_Wi-Fi that powers the AzureWave module. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-24ARM64:dts: verdin-imx8m(m|p): do not power off wifiPhilippe Schenker
cap-power-off-card means according to documentation "Powering off the card is safe." which we know from latest investigations is not true. Plus in newest hardware revisions this is also not possible so remove this. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-10ARM64: DTS: Drop support for Apalis iMX8XDenys Drozdov
Apalis iMX8X is no longer supported. Remove appropriate device trees. Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-11-08Merge remote-tracking branch 'fscl/5.4-2.3.x-imx' into toradex_5.4-2.3.x-imxDenys Drozdov
2021-11-08Merge tag 'v5.4.153' into 5.4-2.3.x-imxDenys Drozdov
This is the 5.4.153 stable release
2021-10-27ARM64: dts: apalis-imx8: Add fsl,imx8qm compatible to ixora v1.2 dtsPhilippe Schenker
With long-term tests we saw, that without this compatible string the module sometimes crashes. Searching through the code we found out that in drivers/soc/imx/soc-imx-scu.c there is a workaround activated with that that compatible (TKT340553_SW_WORKAROUND). This commit adds the fsl,imx8qm compatible to the QuadPlus variant of a device tree which obviously is needed due to that workaround. Related-to: ELB-4112 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-10-27arm64: dts: imx8mm-verdin: fix pcie functionalityMarcel Ziswiler
This fixes the following PCIe issue reported at boot-up: [ 2.330528] imx6q-pcie 33800000.pcie: PCIe PLL lock timeout Fixes: 3eff23ff4c9b ("MLK-25333-2 clk: imx8mm: remove the parent setting in clock driver") Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-10-25arm64: dts: imx8x-colibri: adjust cpu shutdown temperature limitsOleksii Bidnichenko
Original temperature limits used in dts to shutdown CPU were taken from the NXP automotive-grade CPUs and slightly higher than operation temperature on Toradex modules. Related-to: ELB-4205 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
2021-10-25ARM: dts: apalis-imx8: depend wifi clock on sata clockPhilippe Schenker
&pcie_sata_refclk_gate is used to drive the clock to the PCIe internal IP which is in turn needed to communicate with the Wi-fi module. Hence if &pcie_wifi_refclk_gate is being needed also &pcie_sata_refclk_gate should be enabled to prevent a situation where the SoC input is left without a clock. This was reintroduced with (Revert "ARM64: dts: apalis-imx8: leave pcie/sata clk enabled") Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-10-25ARM64: dts: colibri-imx8x: limit contiguous gpu memory for dualx variantPhilippe Schenker
Colibri iMX8 DualX only have 1 GiB memory. Hence CMA is also smaller on these modules. Copy NXPs solution from imx8dx-mek.dts to limit the contiguous memory for the GPU to 128 MiB. Related-to: ELB-4204 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-10-20ARM64: dts: verdin-imx8mp: fix mac address passingMarcel Ziswiler
Verdin iMX8M Plus on-module Ethernet device is eqos, while the optional secondary Ethernet is fec, update the Ethernet aliases in the .dtsi file so that ethaddr from U-Boot is set to eqos and eth1addr to fec. Without this change, the Ethernet interfaces may have different MAC addresses between Linux and U-Boot. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-10-13arm64: dts: ls1028a: add missing CAN nodesMichael Walle
[ Upstream commit 04fa4f03e3533f51b4db19cb487435f5862a0514 ] The LS1028A has two FlexCAN controller. These are compatible with the ones from the LX2160A. Add the nodes. The first controller was tested on the Kontron sl28 board. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-13arm64: dts: freescale: Fix SP805 clock-namesAndre Przywara
[ Upstream commit f2dc2359b75e1fd345fd710862f73db20dc55864 ] The SP805 binding sets the order of the clock-names to be: "wdog_clk", "apb_pclk" (in exactly that order). Change the order in the DTs for Freescale platforms to match that. The two clocks given in all nodes are actually the same, so that does not change any behaviour. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-30arm64: dts: gpio_fan alias for overlaysDenys Drozdov
Apalis Mezzanine LVDS has to disable gpio_fan node, since it sharing GPIO3.28 for LVDS backlight PWM_BKL1 signal. Provide gpio_fan alias to disable this node in Mezzanine LVDS overlay. Related-to: ELB-4192 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-29arm64: dts: colibri-imx8qxp/dx: fix thermal sensorMax Krummenacher
With the rework of the colibri-imx8qxp/dx the pmic thermal zone nodes were dropped which results in the thermal sensor driver no longer probing correctly. Add the node again. fixes commit 022cb949c6ec0 ("ARM64: dts: colibri-imx8qxp/dx: new device trees"). root@colibri-imx8qxp:~# dmesg | grep thermal [ 0.206928] thermal_sys: Registered thermal governor 'step_wise' [ 0.206933] thermal_sys: Registered thermal governor 'power_allocator' [ 1.790889] imx-sc-thermal scu:thermal-sensor: failed to get valid sensor resource id: -2 [ 1.799135] imx-sc-thermal: probe of scu:thermal-sensor failed with error -2 Related-to: ELB-4189 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-09-28arm64: dts: apalis-imx8x: fix loading of atmel touchscreenDenys Drozdov
Kernel is failing to load atmel_mxt_ts since gpio5 and gpio6 are already requested by iomux in device tree. This way atmel touchscreen overlay is failing to start with the following dmesg error: imx8qxp-pinctrl scu:pinctrl: pin IMX8QXP_QSPI0B_SCLK already requested by scu:pinctrl; cannot claim for 17-004a imx8qxp-pinctrl scu:pinctrl: pin-165 (17-004a) status -22 atmel_mxt_ts 17-004a: Error applying setting, reverse things back atmel_mxt_ts: probe of 17-004a failed with error -22 Drop pinctrl_gpio5, pinctrl_gpio6 from atmel_mxt_ts, since it has been requested by iomux. Related-to: ELB-4178 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-27arm64: dts: apalis-imx8: Add 1v8 SD supportFrancesco Dolcini
Fix UHS 1v8 mode support for Apalis iMX8 board enabling complete USDHC functionality on the SoM dtsi file, but disable 1.8V card voltage for Apalis Evaluation board and Ixora 1.1 where pull-up to 3.3V are present. Enable usdhc pinctrl definition for high speed mode on Ixora 1.2 dts. With these changes UHS104 is working fine on Ixora 1.2. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Fixes: 17be987ed70b ("ARM64: dts: apalis-imx8: use non-uhs sd-mode by default")
2021-09-22Merge tag 'v5.4.148' into 5.4-2.3.x-imxAndrey Zhizhikin
This is the 5.4.148 stable release Conflicts: - drivers/dma/imx-sdma.c: Following upstream patches are already applied to NXP tree: 7cfbf391e870 ("dmaengine: imx-sdma: remove duplicated sdma_load_context") 788122c99d85 ("Revert "dmaengine: imx-sdma: refine to load context only once"") - drivers/usb/chipidea/host.c: Merge upstream commit a18cfd715e91 ("usb: chipidea: host: fix port index underflow and UBSAN complains") to NXP version. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2021-09-22arm64: dts: ls1046a: fix eeprom entriesRaag Jadav
[ Upstream commit c1a6018d1839c9cb8f807dc863a50102a1a5c412 ] ls1046afrwy and ls1046ardb boards have CAT24C04[1] and CAT24C05[2] eeproms respectively. Both are 4Kb (512 bytes) in size, and compatible with AT24C04[3]. Remove multi-address entries, as both the boards have a single chip each. [1] https://www.onsemi.com/pdf/datasheet/cat24c01-d.pdf [2] https://www.onsemi.com/pdf/datasheet/cat24c03-d.pdf [3] https://ww1.microchip.com/downloads/en/DeviceDoc/doc0180.pdf Signed-off-by: Raag Jadav <raagjadav@gmail.com> Acked-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-16ARM64: dts: apalis-imx8: update name of optional CANDenys Drozdov
Change name of optional Apalis CAN-FD interface Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-15Revert "ARM64: dts: apalis-imx8: leave pcie/sata clk enabled"Oleksii Bidnichenko
This reverts commit 75e357e5be10c9f3e76c5061dc999e54d6ffa893. By this commit, the WiFi instability was fixed, however, the SATA interface was completely disabled. For sure it helped, but we still need SATA. Related-to: ELB-3534 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
2021-09-14ARM64: dts: apalis-imx8: support flexcan3Denys Drozdov
Apalis Evaluation board supports CAN3 interface on the Mezzanine board. Provide related iomux setting for flexcan3 - GPIO5 (MXM Pin 11) for FLEXCAN2_RX, - GPIO6 (MXM Pin 13) for FLEXCAN2_TX. Related-to: ELB-2578 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-07ARM64: dts: apalis-imx8: leave pcie/sata clk enabledPhilippe Schenker
remove clock gate that dynamically enabled disabled the sata clock also used for PCIe clock input on the SoC. It turned out that this approach leads to disable this clock during the boot process which in turn leads to some cases where wifi does not work after boot. Related-to: ELB-3534 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-08-27ARM64: dts: colibri-imx8qxp/dx: new device treesStefano Viola
This commit add the missing device-trees for all Colibri Carrier-Boards except viola, and delete those no longer needed. New device-trees: imx8dx-colibri-aster.dtb imx8dx-colibri-eval-v3.dtb imx8qxp-colibri-iris.dtb imx8dx-colibri-iris.dtb imx8dx-colibri-iris-v2.dtb imx8qxp-colibri-iris-v2.dtb Deleted device-tree: imx8qxp-colibri-dsihdmi-eval-v3 Related-to: ELB-2800 Signed-off-by: Stefano Viola <stefano.viola@toradex.com>
2021-08-19arm64: dts: apalis-imx8: ixora-v1.2: add device treesDenys Drozdov
Add generic device trees to ixora-v1.2 board. - Apalis iMX8 QuadMax: imx8qm-apalis-v1.1-ixora-v1.2.dtb - Apalis iMX8 QuadPlus: imx8qp-apalis-v1.1-ixora-v1.2.dtb - 2-Kbit AT34C02D EEPROM support on I2C1 (MXM3_209 and MXM3_211) - PMIC for MMC1 support (MXM3_148), 4bit SDIO pinmux - PMIC for FlexCan support CAN1 and CAN2 (MXM3_158 and MXM3_35) Related-to: ELB-2801 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-08-16Merge tag 'v5.4.140' into 5.4-2.3.x-imxAndrey Zhizhikin
This is the 5.4.140 stable release Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2021-08-12arm64: dts: ls1028a: fix node name for the sysclkVladimir Oltean
[ Upstream commit 7e71b85473f863a29eb1c69265ef025389b4091d ] U-Boot attempts to fix up the "clock-frequency" property of the "/sysclk" node: https://elixir.bootlin.com/u-boot/v2021.04/source/arch/arm/cpu/armv8/fsl-layerscape/fdt.c#L512 but fails to do so: ## Booting kernel from Legacy Image at a1000000 ... Image Name: Created: 2021-06-08 10:31:38 UTC Image Type: AArch64 Linux Kernel Image (gzip compressed) Data Size: 15431370 Bytes = 14.7 MiB Load Address: 80080000 Entry Point: 80080000 Verifying Checksum ... OK ## Flattened Device Tree blob at a0000000 Booting using the fdt blob at 0xa0000000 Uncompressing Kernel Image Loading Device Tree to 00000000fbb19000, end 00000000fbb22717 ... OK Unable to update property /sysclk:clock-frequency, err=FDT_ERR_NOTFOUND Starting kernel ... All Layerscape SoCs except LS1028A use "sysclk" as the node name, and not "clock-sysclk". So change the node name of LS1028A accordingly. Fixes: 8897f3255c9c ("arm64: dts: Add support for NXP LS1028A SoC") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-11ARM64: dts: colibri-imx8qxp: add lvds example device treesPhilippe Schenker
This commit adds two example device trees for how to enable LVDS on a Colibri-iMX8X. It only enables also UART and Ethernet otherwise. Related-to: SSP-6 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-08-04arm64: dts: apalis-imx8: keep pad-wakeup instead of gpio-keysDenys Drozdov
Resume from freeze state generated non-assigned gpio interrupt from the port in S0/S3 mode. Wakeup-source in gpio-keys doesn’t really work for Apalis imx8qxp and Apalis imx8qm. These targets should perform wakeup by the means of pad-wakeup (see CONFIG_GPIO_MXC_PAD_WAKEUP implemented in gpio-mxc driver). Kernel trace can be easily reproduced with the following scenario: - echo freeze > /sys/power/state - Wake the system up connecting MXM3_37 to GND. [ 141.232366] [<ffff0000084be898>] mx3_gpio_irq_handler+0x38/0xe8 [ 141.238372] [<ffff00000811783c>] generic_handle_irq+0x24/0x38 [ 141.244203] [<ffff000008117ea8>] __handle_domain_irq+0x60/0xb8 [ 141.250122] [<ffff00000808194c>] gic_handle_irq+0x7c/0x178 [ 141.232366] [<ffff0000084be898>] mx3_gpio_irq_handler+0x38/0xe8 [ 141.238372] [<ffff00000811783c>] generic_handle_irq+0x24/0x38 [ 141.244203] [<ffff000008117ea8>] __handle_domain_irq+0x60/0xb8 [ 141.346337] [<ffff000008083230>] el1_irq+0xb0/0x124 [ 141.351300] [<ffff000008085770>] arch_cpu_idle+0x10/0x18 [ 141.356698] [<ffff000008109f94>] do_idle+0x1ac/0x1e0 [ 141.361748] [<ffff00000810a168>] cpu_startup_entry+0x20/0x28 [ 141.367495] [<ffff000008dbb3a8>] rest_init+0xd0/0xdc [ 141.372545] [<ffff0000093f0b3c>] start_kernel+0x390/0x3a4 Drop gpio-keys support for these targets and keep only pad-wakeup configured for resume operations. More information can be found on NXP community link https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-iMX8QXP-PAD-GPIO-Wakeup/ta-p/1120559?attachment-id=32640 Related-to: ELB-1408 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-08-04Merge tag 'v5.4.135' into 5.4-2.3.x-imxAndrey Zhizhikin
This is the 5.4.135 stable release Conflicts (manual resolve): - drivers/usb/cdns3/gadget.c: Use NXP version, as upstream commit f53729b828db7 ("usb: cdns3: Enable TDL_CHK only for OUT ep") is already applied. - arch/arm64/boot/dts/freescale/imx8mq.dtsi: Merge upstream commit 556cf02830351 ("arm64: dts: imx8mq: assign PCIe clocks") manually into NXP tree. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2021-08-03arm64: dts: imx8-apalis: update regulators to support SCFW PMDenys Drozdov
LDO4 is not turning off in suspend, since SCFW is not getting PM message from regulator to switch LDO4 off during suspend. Add "simple-sm-bus" compatible regulator node for SCFW. Create reg_fec_supply regulator to specify as phy-supply for FEC1 Related-to: ELB-3523 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-07-25arm64: dts: imx8mq: assign PCIe clocksLucas Stach
[ Upstream commit 15a5261e4d052bf85c7fba24dbe0e9a7c8c05925 ] This fixes multiple issues with the current non-existent PCIe clock setup: The controller can run at up to 250MHz, so use a parent that provides this clock. The PHY needs an exact 100MHz reference clock to function if the PCIe refclock is not fed in via the refclock pads. While this mode is not supported (yet) in the driver it doesn't hurt to make sure we are providing a clock with the right rate. The AUX clock is specified to have a maximum clock rate of 10MHz. So the current setup, which drives it straight from the 25MHz oscillator is actually overclocking the AUX input. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-25arm64: dts: ls208xa: remove bus-num from dspi nodeMian Yousaf Kaukab
[ Upstream commit 8240c972c1798ea013cbb407722295fc826b3584 ] On LS2088A-RDB board, if the spi-fsl-dspi driver is built as module then its probe fails with the following warning: [ 10.471363] couldn't get idr [ 10.471381] WARNING: CPU: 4 PID: 488 at drivers/spi/spi.c:2689 spi_register_controller+0x73c/0x8d0 ... [ 10.471651] fsl-dspi 2100000.spi: Problem registering DSPI ctlr [ 10.471708] fsl-dspi: probe of 2100000.spi failed with error -16 Reason for the failure is that bus-num property is set for dspi node. However, bus-num property is not set for the qspi node. If probe for spi-fsl-qspi happens first then id 0 is dynamically allocated to it. Call to spi_register_controller() from spi-fsl-dspi driver then fails. Since commit 29d2daf2c33c ("spi: spi-fsl-dspi: Make bus-num property optional") bus-num property is optional. Remove bus-num property from dspi node to fix the issue. Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19arm64: dts: verdin-imx8mp: rework usb vbus enableMax Krummenacher
The USB VBus enable signals can be handled by the HW dedicated VBUS functionality and its driver. There is no need to modulate it with a regulator with GPIO. For the USB1 in peripheral mode the current solution does not switch off VBUS which leads to backfeeding during shutdown. Related to: ELB-4002 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-07-15ARM64: verdin-imx8mp: add support for atmel-mxt-ts on mezzaninePhilippe Schenker
Related-to: ELB-4034 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-07-15ARM64: verdin-imx8mp: Add support for lvds on mezzaninePhilippe Schenker
Related-to: ELB-4034 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-07-15MLK-25444: arch: arm64: dts: imx8dxl: Fix lcdif nodesRobert Chiras
When booting with lcdif dtb file, the pca6416_3 interrupt controller keeps sending interrupts that are not handled by anyone. Apparently this was caused by the removal of some pinctrls unrelated to LCDIF, when removing the pinctrl for IMX8DXL_SPI3_CS0_ADMA_ACM_MCLK_OUT1. In order to fix this, add those pinctrls back, so that only the definition for IMX8DXL_SPI3_CS0_ADMA_ACM_MCLK_OUT1 is overwritten. Also, remove the disabling of lpspi3, since that node doesn't have any conflict with LCDIF. Fixes: 6024c8cbc3 ("arch: arm64: dts: im8dxl: add lcdif dts file") Signed-off-by: Robert Chiras <robert.chiras@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
2021-07-15MLK-25105-2: dts: arm64: imx8mp-ab2: use AK5552 compatible for sound cardViorel Suman
Use "fsl,imx-audio-ak5552" compatible in AK5552 audio card node in order to enforce proper constraints on number of channels. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> (cherry picked from commit 7075d4f1698c5c95f0c382c8a2000b8999a39176)
2021-07-15MLK-25105-1: dts: arm64: imx8mp-ab2: ensure SAI3 RX not in sync with TXViorel Suman
SAI3 is used for RX only and is bound to AK5552 codec. Thus ensure SAI3 RX is not in sync with TX so that the proper RX CFG2 register is programmed. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> (cherry picked from commit 34ec2e74990d569868ba941d535cf9e66e9c0281)