summaryrefslogtreecommitdiff
path: root/arch/arm64
AgeCommit message (Collapse)Author
2024-08-06arm64: dts: imx8mp-verdin: adjust cma alloc-rangestoradex_5.15-2.2.x-imxParth Pancholi
From commit 756e3199ba82 ("arm64: dts: imx8mp-verdin: overwrite alloc-ranges property") we configured CMA region by overwriting alloc-ranges DT property from imx8mm.dtsi. However, the existing CMA configuration would not work well with 4GB of RAM. Some of the display subsystem drivers would be unable to access existing CMA memory ranges. Reduce the CMA size range from 0xC0000000 to 0x80000000. This makes Verdin iMX8MP modules with 4GB of RAM future-proof to avoid display-related issues. Upstream-Status: Inappropriate [other] Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-08-06arm64: dts: imx8mm-verdin: adjust cma alloc-rangesParth Pancholi
From commit 167b8e8e0f8b ("arm64: dts: imx8mm-verdin: overwrite alloc-ranges property") we configured CMA region by overwriting alloc-ranges DT property from imx8mm.dtsi. However, On modules with 4GB of RAM, the existing CMA configuration could not work well. Some of the display subsystem drivers are unable to access existing CMA memory ranges. Reduce the CMA size range from 0xC0000000 to 0x80000000. This solves the display not working issue on Verdin iMX8MM modules with 4GB of RAM. Upstream-Status: Inappropriate [other] Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-26toradex_defconfig: add ti ads1119 adc driverJoão Paulo Gonçalves
TI ADS1119 ADC is used on the Ivy carrier board. Enable it as module on on toradex configuration file. Upstream-Status: Inappropriate [Configuration] Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
2024-06-20arm64: configs: toradex: Enable TPM SPI driverVitor Soares
Enable TPM SPI as a built-in driver for Toradex Verdin family since it is not loaded automatically as a module. Related-to: ELB-5792 Upstream-Status: Inappropriate [configuration] Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
2024-06-13arm64: dts: imx8mm-verdin: add TPM deviceVitor Soares
Add TPM device found on Verdin iMX8M Mini PID4 0090 variant. Related-to: ELB-5792 Upstream-Status: Submitted [https://lore.kernel.org/all/20240613134150.318755-1-ivitro@gmail.com/] Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
2024-06-03arm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pinMax Krummenacher
SODIMM 17 can be used as an edge triggered interrupt supplied from an off board source. Enable hysteresis on the pinmuxing to increase immunity against noise on the signal. Upstream-Status: Submitted [https://lore.kernel.org/all/20240603140103.3845905-1-max.oss.09@gmail.com/] Fixes: 60f01b5b5c7d ("arm64: dts: imx8mm-verdin: update iomux configuration") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-27arm64: dts: freescale: imx8mp-verdin: don't limit i2c2 max. clockMax Krummenacher
Verdin I2C2 may be used to access other I2C devices apart from serving as an HDMI DDC channel. Thus do not limit the used I2C clock frequency to 10kHz in the module specific device tree part. If an overlay configures i2c2 as DDC the overlay is also responsible to cope with an appropriate I2C clock. Upstream-Status: Submitted [https://lore.kernel.org/all/20240527160359.1965512-1-max.oss.09@gmail.com/] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-27arm64: dts: freescale: imx8mm-verdin: don't limit i2c2 max. clockMax Krummenacher
Verdin I2C2 may be used to access other I2C devices apart from serving as an HDMI DDC channel. Thus do not limit the used I2C clock frequency to 10kHz in the module specific device tree part. If an overlay configures i2c2 as DDC the overlay is also responsible to cope with an appropriate I2C clock. Upstream-Status: Submitted [https://lore.kernel.org/all/20240527160359.1965512-1-max.oss.09@gmail.com/] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-02arm64: dts: freescale: imx8mm-verdin-dahlia: support sleep-mociStefan Eichenberger
Previously, we had the sleep-moci pin set to always on. However, the Dahlia carrier board supports disabling the sleep-moci when the system is suspended to power down peripherals that support it. This reduces overall power consumption. This commit adds support for this feature by disabling the reg_force_sleep_moci regulator and adding two new regulators for the USB hub and PCIe that can be turned off when the system is suspended. Upstream-Status: Backport [1288f819d6c7e3dc2e301728cb7fa9a99a718234] Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-05-02arm64: dts: freescale: imx8mm-verdin: replace sleep-moci hog with regulatorStefan Eichenberger
The Verdin family has a signal called sleep-moci which can be used to turn off peripherals on the carrier board when the SoM goes into suspend. So far we have hogged this signal, which means the peripherals are always on and it is not possible to add peripherals that depend on the sleep-moci to be on. With this change, we replace the hog with a regulator so that peripherals can add their own regulators that use the same gpio. Carrier boards that allow peripherals to be powered off in suspend can disable this regulator and implement their own regulator to control the sleep-moci. Upstream-Status: Backport [9f06926ef1b22a52e3c8ceea394cf7408c4e66b2] Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-05-02arm64: dts: freescale: imx8mp-verdin-dahlia: support sleep-mociStefan Eichenberger
Previously, we had the sleep-moci pin set to always on. However, the Dahlia carrier board supports disabling the sleep-moci when the system is suspended to power down peripherals that support it. This reduces overall power consumption. This commit adds support for this feature by disabling the reg_force_sleep_moci regulator and adding two new regulators for the USB hub and PCIe that can be turned off when the system is suspended. Upstream-Status: Backport [25b3af5395b5b07d8e656c932b7f694daa14b384] Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-05-02arm64: dts: freescale: imx8mp-verdin: replace sleep-moci hog with regulatorStefan Eichenberger
The Verdin family has a signal called sleep-moci which can be used to turn off peripherals on the carrier board when the SoM goes into suspend. So far we have hogged this signal, which means the peripherals are always on and it is not possible to add peripherals that depend on the sleep-moci to be on. With this change, we replace the hog with a regulator so that peripherals can add their own regulators that use the same gpio. Carrier boards that allow peripherals to be powered off in suspend can disable this regulator and implement their own regulator to control the sleep-moci. Upstream-Status: Backport [9d071e1889a578162ced6a6c9062653f9bcb442c] Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-05-02toradex_defconfig: enable onboard usb hubStefan Eichenberger
Enable the onboard USB hub to support sleep moci. It will control the reg_usb_hub regulator on the Dahlia carrier board. Upstream-Status: Inappropriate [Configuration] Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-04-26toradex_defconfig: enable user-space i/o driver for hid subsystemMarcel Ziswiler
Enable user-space I/O driver support for HID subsystem (CONFIG_UHID=m) as e.g. required for Bluetooth keyboards. Related-to: ELB-5738 Upstream-Status: Inappropriate [Configuration] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2024-04-11arm64: dts: freescale: imx8m[mp]-verdin: Update audio card nameHiago De Franco
On the Dahlia and Development carrier boards for the Verdin family (iMX8MM and iMX8MP), WM8904 and NAU8822 codecs are used. Instead of module-specific names, switch to more generic names based on the codec employed on the carrier board itself. This modification facilitates access to ALSA card names, ensuring consistency across iMX8MP and iMX8MM, as they share the same carrier board. Upstream-Status: Submitted [https://lore.kernel.org/all/20240411161441.70262-1-hiagofranco@gmail.com/] Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-02-29toradex_defconfig: update after stable mergesMax Krummenacher
CONFIG_MMC_SDHCI_AM654 now depends on ARCH_K3 which is not set. The driver is not needed on NXP SoCs. commit da9eae2c1a45 ("mmc: sdhci_am654: Fix TI SoC dependencies") CONFIG_DEBUG_PREEMPT is by default not selected Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-29Merge remote-tracking branch 'fslc/5.15-2.2.x-imx' into toradex_5.15-2.2.x-imxMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: drivers/gpu/drm/bridge/lontium-lt8912b.c drivers/usb/dwc3/drd.c
2024-02-23arm64: dts: imx8mp-verdin: overwrite alloc-ranges propertyStefan Eichenberger
With commit 1263f108fb28 ("arm64: dts: imx8mp-verdin: fix cma memory region") we introduced a new problem for modules with more than 3GB of RAM. The VPU driver Hantro is currently unable to cross 32bit boundaries. However, since the cma region is at the end of the RAM, we have crossed the boundary for modules with more than 3GB of RAM. We set the alloc-ranges property to the same value that is used in imx8mp.dtsi. We do this to be consistent between Verdin iMX8MM and Verdin iMX8MP. Upstream-Status: Inappropriate [other] We use the kernel configuration to define the CMA size and don't use the linux,cma node in the device tree. However, we need to verify that the upstream hantro driver can handle 64 bit addresses. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-02-23arm64: dts: imx8mm-verdin: overwrite alloc-ranges propertyStefan Eichenberger
With commit 757e132269ec ("arm64: dts: imx8mm-verdin: fix cma memory region") we introduced a new problem for modules with more than 3GB of RAM. The VPU driver Hantro is currently unable to cross 32bit boundaries. However, since the cma region is located at the end of the RAM, we have crossed the boundary for modules with more than 3GB of RAM. The Verdin iMX8MM modules are not yet affected by this issue as there is no module with more than 2GB of RAM. However, to be consistent with the Verdin iMX8MP and to be future proof in case there is a module with more RAM, we overwrite the alloc-ranges property here as well. We cannot use the default alloc-ranges property from imx8mm.dtsi because it starts at 1GB of RAM and therefore does not work with modules that only have 1GB of RAM. That is why we deleted this property in the first place. Upstream-Status: Inappropriate [other] We use the kernel configuration to define the CMA size and don't use the linux,cma node in the device tree. However, we need to verify that the upstream hantro driver can handle 64 bit addresses. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-02-23gpu: imx: lcdifv3: power down imx8mp hdmi PHYJoao Paulo Goncalves
The lcdifv3 video controller has a clock dependency on the HDMI PHY for the imx8mp. Powering down the HDMI PHY before the drm display pipeline finishes after a hot-plug monitor disconnection event causes a vblank timeout error due to the lcdif clock stopping. Likely because of this, the downstream code doesn't power down the HDMI PHY (it was commented), leaving the PHY ON even on a disconnection event, resulting in the HDMI data and clock signals still running. This appears to cause issues when using HDMI with bridge devices (e.g. HDMI-->eDP) to handle HPD (Hot-Plug Detect) events from the bridge. To address the problem, the workaround moves the PHY power-off logic to the suspend of the lcdifv3 driver. At this position, it guarantees that the DRM pipeline has finished and disabled and the PHY can be powered off without problems. Doing this appears to be safe as the PHY is powered on again on imx8mp_hdmi_phy_init() before starting the DRM pipeline. The PHY is controlled by the HDMI TX BLK CTRL peripheral, but the downstream driver for the peripheral is not fully implemented. So, the workaround maps HDMI TX BLK CTRL register space to the lcdifv3 driver and controls it directly, similar to the approach used in the imx HDMI driver. Upstream-Status: Inappropriate [other] The imx8mp already has a fully working implementation on upstream [1] and [2]. Nonetheless, attempting to backport it appears impractical, leading to the adoption of this workaround. [1] https://lore.kernel.org/lkml/20240210204606.11944-1-aford173@gmail.com/ [2] https://lore.kernel.org/lkml/20240203165307.7806-1-aford173@gmail.com/ Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2024-02-23toradex_defconfig: enable EXFAT_FSParth Pancholi
Add support for ExFAT filesystem. Related-to: ELB-5583 Upstream-Status: Inappropriate [Configuration] Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-02-22Merge tag 'v5.15.148' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.148 stable release Conflicts: drivers/usb/phy/phy-mxs-usb.c
2024-02-22Merge tag 'v5.15.146' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.146 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-22Merge tag 'v5.15.144' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.144 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-22Merge tag 'v5.15.143' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.143 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: arch/arm64/boot/dts/freescale/imx8mq.dtsi
2024-02-22Merge tag 'v5.15.140' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.140 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi drivers/i3c/master/svc-i3c-master.c
2024-02-22Merge tag 'v5.15.139' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.139 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: drivers/clk/imx/clk-imx8mq.c
2024-02-22Merge tag 'v5.15.136' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.136 stable release Conflicts: Documentation/security/keys/trusted-encrypted.rst security/keys/trusted-keys/trusted_core.c Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-21Merge tag 'v5.15.135' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.135 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-21Merge tag 'v5.15.133' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.133 stable release Conflicts: drivers/perf/fsl_imx8_ddr_perf.c Used the stable fix Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-21Merge commit v5.4.132 into fslc-5.15-2.2.x-imxMax Krummenacher
Revert the following commits before merging, the sources have been heavely modified by NXP. 5a86ca588b3f9 Revert "perf/imx_ddr: don't enable counter0 if none of 4 counters are used" 56ad67babb7fb Revert "usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()" 50b3a42d82f07 Revert "USB: core: Unite old scheme and new scheme descriptor reads" cdcf46014f5ca Revert "USB: core: Change usb_get_device_descriptor() API" 2f2af6028f201 Revert "USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()" 9e168d3268f89 Revert "USB: core: Fix oversight in SuperSpeed initialization" 7e95107f9b664 Revert "PCI: dwc: Add start_link/stop_link inlines" d0bec10a7f796 Revert "PCI: layerscape: Add the endpoint linkup notifier support" aaf9dc6089bc3 Revert "PCI: layerscape: Add workaround for lost link capabilities during reset" Conflicts: arch/arm/boot/dts/imx6qdl.dtsi arch/arm/boot/dts/imx6sx.dtsi Keep stable node name changes drivers/gpu/drm/bridge/adv7511/adv7511_drv.c Keep stable code change drivers/media/i2c/ov5640.c Keep stable code change Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-21Merge tag 'v5.15.130' into fslc-5.15-2.2.x-imxMax Krummenacher
This is the 5.15.130 stable release
2024-02-19Merge branch 'lf-5.15.y' into fslc-5.15-2.2.x-imxMax Krummenacher
Merge tag lf-5.15.71-2.2.2 with reverted upstream (sound/) commits 339ba37942c9d 6f668d2cbd2e2 d62dd3e291e06 416f4b7624040 1c23070f17c59 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-15arm64: dts: imx8mp-verdin: fix cma memory regionStefan Eichenberger
The kernel should search the correct cma memory region. This can be achieved by deleting the property alloc-ranges. However, we used delete-node instead of delete-property. Because of this the property was still existing. For the Verdin iMX8MP this didn't have any side effects for modules with only 1GB RAM because NXP sets alloc-ranges to a value that works for 1GB and 2GB RAM. It had side effects for the Verdin iMX8MM with 1GB though this is why we update it here as well. Upstream-Status: Inappropriate [other] We use the kernel configuration to define the CMA size and don't use the linux,cma node in the device tree. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-02-15arm64: dts: imx8mm-verdin: fix cma memory regionStefan Eichenberger
The kernel should search the correct cma memory region. This can be achieved by deleting the property alloc-ranges. However, we used delete-node instead of delete-property. Because of this the property was still existing. With this we fix a mismatch between modules with 1024 and 2048 MB of RAM. The 1024 MB modules showed the following message during boot and only used 32 MB for CMA: OF: reserved mem: failed to allocate memory for node 'linux,cma' Upstream-Status: Inappropriate [other] We use the kernel configuration to define the CMA size and don't use the linux,cma node in the device tree. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-01-30arm64: dts: freescale: imx8: add nau8822 audio-codec to apalis eval v1.2Hiago De Franco
Add support for audio-codec NAU88C22 present on the Apalis Evaluation Board v1.2 carrier board. Upstream-Status: Pending - This change depends on audio being supported on mainline for iMX8QM/QP, which is not working yet. Related-to: ELB-5533 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-01-30arm64: dts: freescale: imx8qp: add apalis eval v1.2 carrier boardHiago De Franco
Add support for the new version, v1.2, of Apalis Evaluation Board with Apalis iMX8 v1.1 QP module. Board versions v1.0 and v1.1 are compatible with each other and should use imx8qp-apalis-v1.1-eval.dts file dts file. Upstream-Status: Pending - Apalis iMX8QP has no specific device tree file mainline yet, there is only a device tree file for the Apalis iMX8QM. Related-to: ELB-5533 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-01-26arm64: dts: freescale: imx8qm: add apalis eval v1.2 carrier boardJoao Paulo Goncalves
Add support for the new version, v1.2, of Apalis Evaluation Board. Because only imx8-apalis-eval.dtsi was available and used as the only board configuration for board version v1.0 and v1.1, it was changed to be the common hardware configurations for all versions v1.0, v1.1 and v1.2. Also, two .dtsi board files were added to have the differences by board. The .dts were organized by SoM and board version. Board versions v1.0 and v1.1 are compatible with each other and should use imx8qm-apalis-eval.dts file or imx8qm-apalis-v1.1-eval.dts file depending on SoM version. Now for v1.2, organized by SoM version too, the files are imx8qm-apalis-eval-v1.2.dts and imx8qm-apalis-v1.1-eval-v1.2.dts. Upstream-Status: Submitted [https://lore.kernel.org/all/20240125101457.9873-3-francesco@dolcini.it/] Related-to: ELB-5533 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-01-25arm64: dts: armada-3720-turris-mox: set irq type for RTCSjoerd Simons
commit fca8a117c1c9a0f8b8feed117db34cf58134dc2c upstream. The rtc on the mox shares its interrupt line with the moxtet bus. Set the interrupt type to be consistent between both devices. This ensures correct setup of the interrupt line regardless of probing order. Signed-off-by: Sjoerd Simons <sjoerd@collabora.com> Cc: <stable@vger.kernel.org> # v6.2+ Fixes: 21aad8ba615e ("arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC") Reviewed-by: Marek Behún <kabel@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-25KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cacheOliver Upton
commit ad362fe07fecf0aba839ff2cc59a3617bd42c33f upstream. There is a potential UAF scenario in the case of an LPI translation cache hit racing with an operation that invalidates the cache, such as a DISCARD ITS command. The root of the problem is that vgic_its_check_cache() does not elevate the refcount on the vgic_irq before dropping the lock that serializes refcount changes. Have vgic_its_check_cache() raise the refcount on the returned vgic_irq and add the corresponding decrement after queueing the interrupt. Cc: stable@vger.kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240104183233.3560639-1-oliver.upton@linux.dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-25KVM: arm64: vgic-v4: Restore pending state on host userspace writeMarc Zyngier
commit 7b95382f965133ef61ce44aaabc518c16eb46909 upstream. When the VMM writes to ISPENDR0 to set the state pending state of an SGI, we fail to convey this to the HW if this SGI is already backed by a GICv4.1 vSGI. This is a bit of a corner case, as this would only occur if the vgic state is changed on an already running VM, but this can apparently happen across a guest reset driven by the VMM. Fix this by always writing out the pending_latch value to the HW, and reseting it to false. Reported-by: Kunkun Jiang <jiangkunkun@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Cc: stable@vger.kernel.org # 5.10+ Link: https://lore.kernel.org/r/7e7f2c0c-448b-10a9-8929-4b8f4f6e2a32@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-25arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherentKonrad Dybcio
[ Upstream commit 827f5fc8d912203c1f971e47d61130b13c6820ba ] The SDHCI hosts on SC7280 are cache-coherent, just like on most fairly recent Qualcomm SoCs. Mark them as such. Fixes: 298c81a7d44f ("arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231218-topic-7280_dmac_sdhci-v1-1-97af7efd64a1@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sm8150-hdk: fix SS USB regulatorsDmitry Baryshkov
[ Upstream commit a509adf05b2aac31b22781f5aa09e4768a5b6c39 ] The SM8150-HDK uses two different regulators to power up SuperSpeed USB PHYs. The L5A regulator is used for the second USB host, while the first (OTG) USB host uses different regulator, L18A. Fix the regulator for the usb_1 QMPPHY and (to remove possible confusion) drop the usb_ss_dp_core_1/_2 labels. Fixes: 0ab1b2d10afe ("arm64: dts: qcom: add sm8150 hdk dts") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20231215174152.315403-4-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt typesJohan Hovold
[ Upstream commit 24f8aba9a7c77c7e9d814a5754798e8346c7dd28 ] The DP/DM wakeup interrupts are edge triggered and which edge to trigger on depends on use-case and whether a Low speed or Full/High speed device is connected. Note that only triggering on rising edges can be used to detect resume events but not disconnect events. Fixes: bb9efa59c665 ("arm64: dts: qcom: sc7280: Add USB related nodes") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20231120164331.8116-6-johan+linaro@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sdm845-db845c: correct LED panic indicatorKrzysztof Kozlowski
[ Upstream commit 0c90c75e663246203a2b7f6dd9e08a110f4c3c43 ] There is no "panic-indicator" default trigger but a property with that name: sdm845-db845c.dtb: leds: led-0: Unevaluated properties are not allowed ('linux,default-trigger' was unexpected) Fixes: 3f72e2d3e682 ("arm64: dts: qcom: Add Dragonboard 845c") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231111095617.16496-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: qrb5165-rb5: correct LED panic indicatorKrzysztof Kozlowski
[ Upstream commit dc6b5562acbac0285ab3b2dad23930b6434bdfc6 ] There is no "panic-indicator" default trigger but a property with that name: qrb5165-rb5.dtb: leds: led-user4: Unevaluated properties are not allowed ('linux,default-trigger' was unexpected) Fixes: b5cbd84e499a ("arm64: dts: qcom: qrb5165-rb5: Add onboard LED support") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231111094623.12476-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggeredDouglas Anderson
[ Upstream commit 735d80e2e8e5d073ae8b1fff8b1589ea284aa5af ] As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered"), the Qualcomm watchdog timer's bark interrupt should be configured as edge triggered. Make the change. Fixes: 46a4359f9156 ("arm64: dts: qcom: sm8250: Add watchdog bark interrupt") Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20231106144335.v2.5.I2910e7c10493d896841e9785c1817df9b9a58701@changeid Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggeredDouglas Anderson
[ Upstream commit 9204e9a4099212c850e1703c374ef4538080825b ] As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered"), the Qualcomm watchdog timer's bark interrupt should be configured as edge triggered. Make the change. Fixes: b094c8f8dd2a ("arm64: dts: qcom: sm8150: Add watchdog bark interrupt") Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20231106144335.v2.4.I23d0aa6c8f1fec5c26ad9b3c610df6f4c5392850@changeid Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggeredDouglas Anderson
[ Upstream commit 263b348499454f38d36b9442c3cf9279c571bb54 ] As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered"), the Qualcomm watchdog timer's bark interrupt should be configured as edge triggered. Make the change. Fixes: 36c436b03c58 ("arm64: dts: qcom: sdm845: Add watchdog bark interrupt") Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20231106144335.v2.3.I16675ebe5517c68453a1bd7f4334ff885f806c03@changeid Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggeredDouglas Anderson
[ Upstream commit 6897fac411db7b43243f67d4fd4d3f95abf7f656 ] As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered"), the Qualcomm watchdog timer's bark interrupt should be configured as edge triggered. Make the change. Fixes: 0e51f883daa9 ("arm64: dts: qcom: sc7280: Add APSS watchdog node") Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20231106144335.v2.2.I11f77956d2492c88aca0ef5462123f225caf4fb4@changeid Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>