From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A49140DB37; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=tUSSlRu+Ul4B8splHi1GXxwMsuIGW8grrtaDqHw8+t/YSp6bZYjG/u50DBHHgQ5HzmR/e+LzC465byu0P1OVG/vvuXADJwJZbMdfZBPJN823RR1arZ5NCumfyIr+cv+1LzjCE7oXl/hfbWHgZFfg8CjVDVYtoxtbnqol9x74nTs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=LSfYikDoqHEoxEu2HqS9POp3ebLZgDBY+1ET9FV+7jA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SE9dsBpG/xV32EJrz6OPBhICF6lS6/K1ZLiNg++zStVMnpvWvl7GVdIydwo3XBnuC6dI34IkaARjH6wj1siWL4i3i3A8Ecg//AtNDAOGzxgLf9E13kBFMfzlAxSqzyq6EmYc2KTpXkxLBGDKmKxIN2k8DHKlqK9+eEPuyHbtuKw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SlO2V2DX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SlO2V2DX" Received: by smtp.kernel.org (Postfix) with ESMTPS id 9F488C2BCF7; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=LSfYikDoqHEoxEu2HqS9POp3ebLZgDBY+1ET9FV+7jA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=SlO2V2DXA2WXDdzKd2Zmw2BlmlFZqk0P8voEk7AmA5CHvp1hUq4PtnTyDUMtq0PXr oXfP993ZNSrjJ8PwjYhXtSajqBIvDw5DJOokgouCMLvkCeBkyuxEmMeuaiyMV2GSik 2nWKwZOje/YzuXdK8GRyLyyJzT14eOgj2wCtd4yU0ygbGH7dVshsqpcj/a1eHnijlW /na8PIrWDCrgCZSr/OoRF8xamlKrxsVruz3DDfN1aZKFLrjuqq8rhBvIUx6C+XJFa8 NiaaE63HAaQwwlYltLMAzGF6qEtKdFczPL9f6z9k/uSWv+9MNWH4pI8prrjT8DXFZj R27zH24ylN7Gw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 798FDC5B56A; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:36 +0400 Subject: [PATCH v2 01/14] dt-bindings: phy: Document the Qualcomm IPQ5332 UNIPHY USB Super-speed PHY Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-1-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=3396; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=x/XHiKaOymN+lw7axxWZFamZVeggR0D96mkqLpOTeXo=; b=QaT7K2ge1/yTg8FOi/whyzpy6jxBvE41hSl6F+6pqHKy/8vz7btgew/2phtKJFFdV+Fzttmge L7fDr4dsVtyBWD7XfDRcIHaqb1t+k74biRnYt9B2vq1K+WQCqKTzmfM X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Document the Qualcomm USB3 22ull UNIPHY present in the IPQ5018 and IPQ5332 SoCs. Signed-off-by: Praveenkumar I Signed-off-by: George Moussalem --- .../phy/qcom,ipq5332-uniphy-usb-ss-phy.yaml | 111 +++++++++++++++++= ++++ 1 file changed, 111 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-usb-= ss-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-usb= -ss-phy.yaml new file mode 100644 index 000000000000..cc9eccac51dd --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-usb-ss-phy.= yaml @@ -0,0 +1,111 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,ipq5332-uniphy-usb-ss-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm UNIPHY USB Super-Speed 22ull PHY + +maintainers: + - Praveenkumar I + - Varadarajan Narayanan + +description: + USB Super-Speed UNIPHY found in Qualcomm IPQ5018 & IPQ5332 SoCs. + +properties: + compatible: + enum: + - qcom,ipq5018-uniphy-usb-ss-phy + - qcom,ipq5332-uniphy-usb-ss-phy + + reg: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 3 + + resets: + maxItems: 1 + + vdd-supply: + description: + Phandle to 5V regulator supply to PHY digital circuit. + + qcom,phy-usb-mux-sel: + description: | + Mux selection for USB PHY. The USB3 and PCIe PHY pads are muxed and = the + mux selection is done via a register in TCSR syscon. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle of TCSR syscon + - description: offset of PHY mux selection register + + "#clock-cells": + const: 0 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - resets + - vdd-supply + - qcom,phy-usb-mux-sel + - "#clock-cells" + - "#phy-cells" + +additionalProperties: false + +allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5018-uniphy-usb-ss-phy + then: + properties: + clocks: + items: + - description: USB3 PHY CFG AHB clock + - description: USB3 pipe clock + + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5332-uniphy-usb-ss-phy + then: + properties: + clocks: + items: + - description: Shared PCIe/USB3 PHY AHB clock + - description: USB3 PHY CFG AHB clock + - description: USB3 pipe clock + +examples: + - | + #include + + phy@4b0000 { + compatible =3D "qcom,ipq5332-uniphy-usb-ss-phy"; + reg =3D <0x4b0000 0x800>; + + clocks =3D <&gcc GCC_PCIE3X1_PHY_AHB_CLK>, + <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, + <&gcc GCC_USB0_PIPE_CLK>; + resets =3D <&gcc GCC_USB0_PHY_BCR>; + + #clock-cells =3D <0>; + #phy-cells =3D <0>; + + qcom,phy-usb-mux-sel =3D <&tcsr 0x10540>; + + vdd-supply =3D <®ulator_fixed_5p0>; + }; --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B0D640DB47; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=a31NFtOQ+Qih6DkmTid4O9bv5klyrCHt4iqT5kbby8jYzv5e8AyPMIKQglY1/6DI8yNl5UV1nL0PS+SpkqAmRkiXKJjfJ369A3re/RVKi/Xb0DVuQUhsP9Drd9B45T4j3zVOFP5svO2LnQXmF0Ot1D9QhRaVe/NmlxqGPo6aetA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=fNjCG8oTZvuKNtl9DTuCOUikdq25pVqeeP63+sAdOYA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=igBnHOYBLfHCrNtntKrrRyKkZNRvVBy3vTfZ8hjlBH0xlcAxpKQ0PHXsTEHDXStFKr0Rk4TA+IZ8QaaN5nEFOs7rB4XWiVYT2WPdR4edlIgfdurdIg6q2AZgEKe1dtQSaz6Xda5JNhwFWt1M0+mhM1Kn3Ch94/p7wlSuwbyjKgY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IVJcyqBU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IVJcyqBU" Received: by smtp.kernel.org (Postfix) with ESMTPS id AB772C2BCF4; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=fNjCG8oTZvuKNtl9DTuCOUikdq25pVqeeP63+sAdOYA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=IVJcyqBUJkzmbPFWfMXva2g4F1L15V3oUzwrwCJ6GVhZKCO+1kFpOPf3MDN7Vg1m5 8C9By9qHfGjukBDPZdJ5I7JsyeMSS6MPR1GBg0x9RGZE/fZWs3sykG21pxdxyInk69 JjgDSk5jguNsrv8bLg/lmVyR37fvOnwRdRGMLn5GNVyXluV8SLH2joODvd3fZDgDtx VnFDPyNQePdO4Fc5DApaB4w1lE786moGAcqSrgiMEkV8xN+nIvr8MQJ6QdyNg7fXXk UM0ybH4urxp7bRnwRFafR3iidQ19qz7irZMaWoBM+20MOiiIfxjSAnwMFN6wm0Oovw I5HV3wyyCE8tg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87425C5CFEB; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:37 +0400 Subject: [PATCH v2 02/14] phy: qcom: Introduce Qualcomm IPQ5332 Super-Speed USB UNIPHY driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-2-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=11583; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=+hWm9CYsEItAJZsaqGjCpdsTf7+SBtFnNoZuZXGKPcs=; b=mVV4i5YUp6deFEY9EshrtrNjE9Z8+TXiOa7SN8KxJMxMpK6WezoBS73yLvCO8hiI7iUYNPb5r 7q03INtUXd0Dc6BrPefHv0DZ2kj0rXnlR54yucJPdEX0YqGyNul4dTg X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Adds Qualcomm 22ull Super-Speed USB UNIPHY driver support which is present in Qualcomm IPQ5018 & IPQ5332 SoCs. This PHY is interfaced with SNPS DWC3 USB and SNPS DWC PCIe. Either one of the interface can use the it and selection is done via mux present in TCSR register. By default, the PHY is configured for PCIe interface and needs this driver to configure the mux for USB. Signed-off-by: Praveenkumar I Signed-off-by: George Moussalem --- drivers/phy/qualcomm/Kconfig | 10 + drivers/phy/qualcomm/Makefile | 1 + .../phy/qualcomm/phy-qcom-uniphy-usb-ss-22ull.c | 304 +++++++++++++++++= ++++ 3 files changed, 315 insertions(+) diff --git a/drivers/phy/qualcomm/Kconfig b/drivers/phy/qualcomm/Kconfig index 60a0ead127fa..1ceb04afe1e3 100644 --- a/drivers/phy/qualcomm/Kconfig +++ b/drivers/phy/qualcomm/Kconfig @@ -158,6 +158,16 @@ config PHY_QCOM_UNIPHY_PCIE_28LP handles PHY initialization, clock management required after resetting the hardware and power management. =20 +config PHY_QCOM_UNIPHY_USB_22ULL + tristate "Qualcomm IPQ5332 UNIPHY USB Super-Speed 22ull driver" + depends on USB && (ARCH_QCOM || COMPILE_TEST) + select GENERIC_PHY + help + Enable this to support the Qualcomm USB Super-Speed UNIPHY transceiver + that is used on Qualcomm IPQ5018 and IPQ5332 SoCs with DWC3 USB core. + It handles PHY initialization, clock management required after + resetting the hardware and power management. + config PHY_QCOM_M31_EUSB tristate "Qualcomm M31 eUSB2 PHY driver support" depends on USB && (ARCH_QCOM || COMPILE_TEST) diff --git a/drivers/phy/qualcomm/Makefile b/drivers/phy/qualcomm/Makefile index b71a6a0bed3f..295e8042e3f4 100644 --- a/drivers/phy/qualcomm/Makefile +++ b/drivers/phy/qualcomm/Makefile @@ -18,6 +18,7 @@ obj-$(CONFIG_PHY_QCOM_QMP_USB_LEGACY) +=3D phy-qcom-qmp-u= sb-legacy.o obj-$(CONFIG_PHY_QCOM_QUSB2) +=3D phy-qcom-qusb2.o obj-$(CONFIG_PHY_QCOM_EUSB2_REPEATER) +=3D phy-qcom-eusb2-repeater.o obj-$(CONFIG_PHY_QCOM_UNIPHY_PCIE_28LP) +=3D phy-qcom-uniphy-pcie-28lp.o +obj-$(CONFIG_PHY_QCOM_UNIPHY_USB_22ULL) +=3D phy-qcom-uniphy-usb-ss-22ull.o obj-$(CONFIG_PHY_QCOM_USB_HS) +=3D phy-qcom-usb-hs.o obj-$(CONFIG_PHY_QCOM_USB_HSIC) +=3D phy-qcom-usb-hsic.o obj-$(CONFIG_PHY_QCOM_USB_HS_28NM) +=3D phy-qcom-usb-hs-28nm.o diff --git a/drivers/phy/qualcomm/phy-qcom-uniphy-usb-ss-22ull.c b/drivers/= phy/qualcomm/phy-qcom-uniphy-usb-ss-22ull.c new file mode 100644 index 000000000000..089de7cebef0 --- /dev/null +++ b/drivers/phy/qualcomm/phy-qcom-uniphy-usb-ss-22ull.c @@ -0,0 +1,304 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2026, Qualcomm Innovation Center, Inc. All rights reserve= d. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define SSCG_CTRL_REG_1 0x9c +#define SSCG_CTRL_REG_2 0xa0 +#define SSCG_CTRL_REG_3 0xa4 +#define SSCG_CTRL_REG_4 0xa8 +#define SSCG_CTRL_REG_5 0xac + +#define PCIE_USB_COMBO_PHY_CFG_MISC1 0x214 +#define PCIE_USB_COMBO_PHY_CFG_RX_AFE_2 0x7C4 +#define PCIE_USB_COMBO_PHY_CFG_RX_DLF_DEMUX_2 0x7E8 + +#define TCSR_USB_MUX_SEL BIT(0) + +struct phy_init_tbl { + unsigned int offset; + unsigned int val; +}; + +struct uniphy_cfg { + const struct phy_init_tbl *init_seq; + int num_init_seq; + u32 pipe_clk_rate; +}; + +struct uniphy_usb { + struct device *dev; + const struct uniphy_cfg *cfg; + struct phy *phy; + void __iomem *base; + struct clk_bulk_data *clks; + unsigned int num_clks; + struct reset_control *reset; + struct regulator *vreg; + struct regmap *tcsr; + unsigned int mux_offset; +}; + +#define PHY_INIT_CFG(o, v) \ + { \ + .offset =3D o, \ + .val =3D v, \ + } + +static const struct phy_init_tbl ipq5018_usb_uniphy_init_tbl[] =3D { + PHY_INIT_CFG(SSCG_CTRL_REG_4, 0x1cb9), + PHY_INIT_CFG(SSCG_CTRL_REG_5, 0x023a), + PHY_INIT_CFG(SSCG_CTRL_REG_3, 0xd360), + PHY_INIT_CFG(SSCG_CTRL_REG_1, 0x1), + PHY_INIT_CFG(SSCG_CTRL_REG_2, 0xeb), +}; + +static const struct phy_init_tbl ipq5332_usb_uniphy_init_tbl[] =3D { + PHY_INIT_CFG(PCIE_USB_COMBO_PHY_CFG_RX_AFE_2, 0x1076), + PHY_INIT_CFG(PCIE_USB_COMBO_PHY_CFG_RX_DLF_DEMUX_2, 0x3142), + PHY_INIT_CFG(PCIE_USB_COMBO_PHY_CFG_MISC1, 0x3), +}; + +static const struct uniphy_cfg ipq5018_cfg =3D { + .init_seq =3D ipq5018_usb_uniphy_init_tbl, + .num_init_seq =3D ARRAY_SIZE(ipq5018_usb_uniphy_init_tbl), + .pipe_clk_rate =3D 250000000, +}; + +static const struct uniphy_cfg ipq5332_cfg =3D { + .init_seq =3D ipq5332_usb_uniphy_init_tbl, + .num_init_seq =3D ARRAY_SIZE(ipq5332_usb_uniphy_init_tbl), + .pipe_clk_rate =3D 250000000, +}; + +static int uniphy_usb_init(struct phy *phy) +{ + struct uniphy_usb *uniphy =3D phy_get_drvdata(phy); + const struct uniphy_cfg *cfg =3D uniphy->cfg; + const struct phy_init_tbl *tbl =3D cfg->init_seq; + void __iomem *base =3D uniphy->base; + struct device *dev =3D uniphy->dev; + int i, ret; + + ret =3D regulator_enable(uniphy->vreg); + if (ret) { + dev_err(dev, "failed to enable regulator: %d\n", ret); + return ret; + } + + /* Perform phy reset */ + ret =3D reset_control_assert(uniphy->reset); + if (ret) { + dev_err(dev, "Failed to assert reset: %d\n", ret); + goto err_disable_regulator; + } + + usleep_range(1, 5); + + ret =3D reset_control_deassert(uniphy->reset); + if (ret) { + dev_err(dev, "Failed to deassert reset: %d\n", ret); + goto err_assert_reset; + } + + ret =3D clk_bulk_prepare_enable(uniphy->num_clks, uniphy->clks); + if (ret) { + dev_err(dev, "failed to enable clocks: %d\n", ret); + goto err_assert_reset; + } + + /* phy autoload delay */ + usleep_range(35, 40); + + for (i =3D 0; i < cfg->num_init_seq; i++) + writel(tbl[i].val, base + tbl[i].offset); + + return 0; + +err_assert_reset: + /* Assert phy reset */ + reset_control_assert(uniphy->reset); + +err_disable_regulator: + regulator_disable(uniphy->vreg); + + return ret; +} + +static int uniphy_usb_shutdown(struct phy *phy) +{ + struct uniphy_usb *uniphy =3D phy_get_drvdata(phy); + + clk_bulk_disable_unprepare(uniphy->num_clks, uniphy->clks); + + /* Assert phy reset */ + reset_control_assert(uniphy->reset); + + regulator_disable(uniphy->vreg); + + return 0; +} + +static const struct phy_ops uniphy_usb_ops =3D { + .power_on =3D uniphy_usb_init, + .power_off =3D uniphy_usb_shutdown, + .owner =3D THIS_MODULE, +}; + +/* + * Register a fixed rate pipe clock. + * + * The _pipe_clksrc generated by PHY goes to the GCC that gate + * controls it. The _pipe_clk coming out of the GCC is requested + * by the PHY driver for its operations. + * We register the _pipe_clksrc here. The gcc driver takes care + * of assigning this _pipe_clksrc as parent to _pipe_clk. + * Below picture shows this relationship. + * + * +---------------+ + * | PHY block |<<---------------------------------------+ + * | | | + * | +-------+ | +-----+ | + * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ + * clk | +-------+ | +-----+ + * +---------------+ + */ +static int phy_pipe_clk_register(struct uniphy_usb *uniphy, int id) +{ + struct device *dev =3D uniphy->dev; + struct clk_hw *hw; + char name[64]; + + snprintf(name, sizeof(name), "usbphy%d_pipe_clk_src", id); + hw =3D devm_clk_hw_register_fixed_rate(dev, name, NULL, 0, + uniphy->cfg->pipe_clk_rate); + if (IS_ERR(hw)) + return PTR_ERR(hw); + + return devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get, hw); +} + +static int qcom_uniphy_usb_mux_select(struct uniphy_usb *uniphy, bool enab= le) +{ + return regmap_update_bits(uniphy->tcsr, uniphy->mux_offset, + TCSR_USB_MUX_SEL, + enable ? TCSR_USB_MUX_SEL : 0); +} + +static int qcom_uniphy_usb_probe(struct platform_device *pdev) +{ + struct phy_provider *phy_provider; + struct device *dev =3D &pdev->dev; + struct uniphy_usb *uniphy; + int ret; + + uniphy =3D devm_kzalloc(dev, sizeof(*uniphy), GFP_KERNEL); + if (!uniphy) + return -ENOMEM; + + uniphy->dev =3D dev; + + uniphy->cfg =3D of_device_get_match_data(dev); + if (!uniphy->cfg) + return -EINVAL; + + uniphy->base =3D devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(uniphy->base)) + return dev_err_probe(dev, PTR_ERR(uniphy->base), + "failed to map base\n"); + + ret =3D devm_clk_bulk_get_all(dev, &uniphy->clks); + if (ret < 0) + return dev_err_probe(dev, ret, "failed to get clocks\n"); + + uniphy->num_clks =3D ret; + + uniphy->reset =3D devm_reset_control_get_exclusive_by_index(dev, 0); + if (IS_ERR(uniphy->reset)) + return dev_err_probe(dev, PTR_ERR(uniphy->reset), + "failed to get reset\n"); + + uniphy->vreg =3D devm_regulator_get(dev, "vdd"); + if (IS_ERR(uniphy->vreg)) + return dev_err_probe(dev, PTR_ERR(uniphy->vreg), + "failed to get vreg\n"); + + uniphy->tcsr =3D syscon_regmap_lookup_by_phandle_args(dev->of_node, + "qcom,phy-usb-mux-sel", + 1, &uniphy->mux_offset); + if (IS_ERR(uniphy->tcsr)) { + ret =3D PTR_ERR(uniphy->tcsr); + uniphy->tcsr =3D NULL; + return dev_err_probe(dev, ret, "failed to get regmap\n"); + } + + /* + * Select the USB position of the phy mux before anything comes out + * of reset. Selecting it later leaves the SuperSpeed pads muxed away + * while the controller resets, and the SS link doesn't train and is + * stuck in Rx.Detect (USB2 is unaffected as it isn't muxed). + */ + ret =3D qcom_uniphy_usb_mux_select(uniphy, true); + if (ret) + return dev_err_probe(dev, ret, "failed to select USB mux\n"); + + uniphy->phy =3D devm_phy_create(dev, NULL, &uniphy_usb_ops); + if (IS_ERR(uniphy->phy)) { + ret =3D PTR_ERR(uniphy->phy); + return dev_err_probe(dev, ret, "failed to create PHY\n"); + } + + ret =3D phy_pipe_clk_register(uniphy, uniphy->phy->id); + if (ret) + return dev_err_probe(dev, ret, "failed to register pipe clk\n"); + + phy_set_drvdata(uniphy->phy, uniphy); + + phy_provider =3D devm_of_phy_provider_register(dev, of_phy_simple_xlate); + + ret =3D PTR_ERR_OR_ZERO(phy_provider); + + return ret; +} + +static void qcom_uniphy_usb_remove(struct platform_device *pdev) +{ + struct uniphy_usb *uniphy =3D platform_get_drvdata(pdev); + + qcom_uniphy_usb_mux_select(uniphy, false); +} + +static const struct of_device_id qcom_uniphy_usb_of_match[] =3D { + { .compatible =3D "qcom,ipq5018-uniphy-usb-ss-phy", .data =3D &ipq5018_cf= g}, + { .compatible =3D "qcom,ipq5332-uniphy-usb-ss-phy", .data =3D &ipq5332_cf= g}, + { }, +}; +MODULE_DEVICE_TABLE(of, qcom_uniphy_usb_of_match); + +static struct platform_driver qcom_uniphy_usb_driver =3D { + .probe =3D qcom_uniphy_usb_probe, + .remove =3D qcom_uniphy_usb_remove, + .driver =3D { + .of_match_table =3D qcom_uniphy_usb_of_match, + .name =3D "qcom,uniphy-usb-ss-phy", + } +}; +module_platform_driver(qcom_uniphy_usb_driver); + +MODULE_DESCRIPTION("Qualcomm UNIPHY Super-Speed USB PHY driver"); +MODULE_LICENSE("GPL"); --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B1EB40DB4B; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=tlayDuQC7VrelFZWBdmbukH8s1ceekiSSjpd4yzpxQJG+mEZVF46XL2aSTnS1qba/4QGUPPuwqFGk7cQfd9fHMrKcSmkFHnxr5tH6CGrp5WQ4B8meeDrO62Qt66DgIwPMQYcpvvrilOki4v1yPzh95+CjGnXhJJ1Okc9mFdfNLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=TxZEg/967MIvOveyPvlS6NGS5qBdrqXFzdbhFtlshy8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=epCARYkpvwTPNZltT7wt87bBON+hCNUYOGi+c8y4ljsVbkk7pWz7lUdD1ogKJAheaKbjbv653XJUg/GVj7X14vvGVAJwwvIxP1Yo5+c7V9qBRjcpO/uwa993Rp7sm/bJkn3Gf3XazmWR+i74EuN4Y2iBlP9ciGFHVPGOK6z16XU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ts/Nc7eB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ts/Nc7eB" Received: by smtp.kernel.org (Postfix) with ESMTPS id BDF34C4AF0C; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=TxZEg/967MIvOveyPvlS6NGS5qBdrqXFzdbhFtlshy8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ts/Nc7eBX8jYP6ChSXm+ZY+mqGRFE2ueBJcVhmYmrCOWqJZkUEEYOlEs9BvPPg76r 6r6R3XlsU/0c43qXr1DJNscFpT5KG/V97LBRVRs+V146WOgZIruUSeG3AA3JDgwW5D +sop/5BzcYjR+JYSjqyHTmVTU9s702Uy64wzbo+dN3RC2g5hCp0iCBSoZTtKzfLPDf 68XazAAvBAMGGTl65Oz9oRZmGPIP1TIH/7FZqb/7BtiriQw2cw0xBzRMJn9O7Xe1Ar pc+FFng3qQCr/CUao6FaBEzeGs8Ubuoo2UgbYP7+0v4Q1NSX8tc/1UTOULJLGbnzMe kUBwc7LSckYRg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 952ABC5AD5A; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:38 +0400 Subject: [PATCH v2 03/14] arm64: dts: qcom: ipq5018: Add USB Super-Speed PHY node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-3-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=1332; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=riheTfE3kh2GSOSS8RnJjpesQWZx6C7ohPUXJLruDeM=; b=MGGdMWSaw90KDhnG0Bo2qowHXR3DKAMO2S3WqejJu/XPmdeUVGpmNtNf3IrH/nLhiKJ1nGY6o ZbWxBWVjBVQCYSOx3kH1wVqDZdPde9G9MX2jjE3ynywxNAKgfJWTldY X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Add USB Super-Speed UNIPHY node and populate the USB DT clock on the GCC node for the GCC to gate the PIPE clock supplied by the USB3 PHY. Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qc= om/ipq5018.dtsi index 4fc627b47fe7..d259a841ad17 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -179,6 +179,23 @@ usbphy0: phy@5b000 { status =3D "disabled"; }; =20 + usbphy1: phy@5d000 { + compatible =3D "qcom,ipq5018-uniphy-usb-ss-phy"; + reg =3D <0x0005d000 0x800>; + + clocks =3D <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, + <&gcc GCC_USB0_PIPE_CLK>; + + resets =3D <&gcc GCC_USB0_PHY_BCR>; + + #clock-cells =3D <0>; + #phy-cells =3D <0>; + + qcom,phy-usb-mux-sel =3D <&tcsr 0x10540>; + + status =3D "disabled"; + }; + pcie1_phy: phy@7e000 { compatible =3D "qcom,ipq5018-uniphy-pcie-phy"; reg =3D <0x0007e000 0x800>; @@ -436,7 +453,7 @@ gcc: clock-controller@1800000 { <&sleep_clk>, <&pcie0_phy>, <&pcie1_phy>, - <0>, + <&usbphy1>, <&gephy_rx_clk>, <&gephy_tx_clk>, <0>, --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B3B540DB4E; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=Nz3ToMkpQv5yUmQfe1czs8NMjv+Spd7esmRJCIbhDpWtfzYqzdH0yj++R8FjcrI+O1AddvWNFxPTiW9bF7Y9muVho9lX8/Oh1zPEnA6wdcoa0xsqhENYW2pDzub3+qaxCVaSI9VCk3ehOix73hNBDDkitkVqIIwy0+YOTbfH/Ro= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=XGGg+wneQatG/AQkDerc/plwjABYtPGtPSkFlQvT5xg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EypcxGA8Sd4LHNtLSuR72QAWKPZV94YeNn3pAoUTeZ/EsC0O913llpNP35rfuFl8u9WCw85Gbr0hwuQ0Agr4sFHD5WdU2xU1OfBhO2/m4n1TcNCa6TYNarrOa9alqvjpz1Wnqw6MYJ7ayEEVMf0eJSB7zSBE5sp/JdlipqIKXPU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JPYqgSFR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JPYqgSFR" Received: by smtp.kernel.org (Postfix) with ESMTPS id C451CC32781; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=XGGg+wneQatG/AQkDerc/plwjABYtPGtPSkFlQvT5xg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=JPYqgSFRPN4RWJcYIe9epi6b+3tX5uK7DxEraidISs+195I1IMhI3MdL4qssPUY6x 6Fh5+EWVcLKGQF7DZwDJlypnwK6OBcYr2TJ6Pb9j8j61PtfTOtMrRb/CLFIGUHP/hO MnfIEn404GILL4oy2ITNCUcmsvNE1zEOU0mKs3hI/Mx1XwUOIKyr5tryc3vTTRfWqG eU7bNlJZ/2B9MHEfsgdUkGct4M0f6DO+jtA1d8M8+WkOV1bLeRBkOptCS++QqxH9cA zHZi9xDdZO1UydoKsPKFhAAFNsQDW1VuglhHlfBDVsgXZ2/3UlF+o60PKnkZ2xFhTL Chg9boJjCRCZg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2DD7C5DF60; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:39 +0400 Subject: [PATCH v2 04/14] arm64: dts: qcom: ipq5332: Flatten usb controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-4-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=3080; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=xMYvxEWuaJgLI2xWvqglKjH2h3PlSr0PrD5R6v8tOEc=; b=uv4AZGj2RWq7I0imlu8xno7WjLPQDByBz6jufaXWzZYASpgXh4mH3jvaIJK7cq+7XM+pyjOkG gI554vDMcP6BMSytgCyy1BE595+REfBeg1S0FzRfmC+DCnT9D3BHcmQ X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Flatten usb controller node and update to using latest bindings and flattened driver approach. Signed-off-by: George Moussalem Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 6 ++-- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 51 +++++++++++++------------= ---- 2 files changed, 24 insertions(+), 33 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/= dts/qcom/ipq5332-rdp468.dts index c224ffc65b08..25a70cd884c0 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts @@ -90,11 +90,9 @@ spi_0_cs_pins: spi-0-cs-state { }; =20 &usb { - status =3D "okay"; -}; - -&usb_dwc { dr_mode =3D "host"; + + status =3D "okay"; }; =20 &usbphy0 { diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qc= om/ipq5332.dtsi index 74d9de8d7641..83d0377455da 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -493,16 +493,9 @@ qpic_nand: spi@79b0000 { status =3D "disabled"; }; =20 - usb: usb@8af8800 { - compatible =3D "qcom,ipq5332-dwc3", "qcom,dwc3"; - reg =3D <0x08af8800 0x400>; - - interrupts =3D , - , - ; - interrupt-names =3D "pwr_event", - "dp_hs_phy_irq", - "dm_hs_phy_irq"; + usb: usb@8a00000 { + compatible =3D "qcom,ipq5332-dwc3", "qcom,snps-dwc3"; + reg =3D <0x08a00000 0xe000>; =20 clocks =3D <&gcc GCC_USB0_MASTER_CLK>, <&gcc GCC_USB0_SLEEP_CLK>, @@ -513,31 +506,31 @@ usb: usb@8af8800 { =20 resets =3D <&gcc GCC_USB_BCR>; =20 - qcom,select-utmi-as-pipe-clk; + interrupts =3D , + , + , + ; + interrupt-names =3D "dwc_usb3", + "pwr_event", + "dp_hs_phy_irq", + "dm_hs_phy_irq"; =20 - #address-cells =3D <1>; - #size-cells =3D <1>; - ranges; interconnects =3D <&gcc MASTER_SNOC_USB &gcc SLAVE_SNOC_USB>, <&gcc MASTER_SNOC_USB &gcc SLAVE_SNOC_USB>; interconnect-names =3D "usb-ddr", "apps-usb"; =20 - status =3D "disabled"; + phys =3D <&usbphy0>; + phy-names =3D "usb2-phy"; =20 - usb_dwc: usb@8a00000 { - compatible =3D "snps,dwc3"; - reg =3D <0x08a00000 0xe000>; - clocks =3D <&gcc GCC_USB0_MOCK_UTMI_CLK>; - clock-names =3D "ref"; - interrupts =3D ; - phy-names =3D "usb2-phy"; - phys =3D <&usbphy0>; - tx-fifo-resize; - snps,is-utmi-l1-suspend; - snps,hird-threshold =3D /bits/ 8 <0x0>; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - }; + qcom,select-utmi-as-pipe-clk; + + tx-fifo-resize; + snps,is-utmi-l1-suspend; + snps,hird-threshold =3D /bits/ 8 <0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + + status =3D "disabled"; }; =20 intc: interrupt-controller@b000000 { --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5412140F73F; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=LPUEQYCD8kefZwR8dIXo4cu/9sXMARhTzcJrcTFa/2u/6Tjuw+NY2/MUDmgviGwsBR6t+A+uva1KwOH1fwdXJH6DxI7U3R7WD2l86pXcHtt9E0tOtJw64lo5jSIrR7BvuMw8SrqBpYBBBZ3/n4z8s7tQFYj3lQIl3GN/h6f41EM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=Ty7v4bcF3F2SQUSl5hGdTzcuqo3n9jJTayOhkkrk5Ko=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QJti7O4uEqL4WkOTkgfX7o0I76FpQB4TP3v9jKmDUC3YufbjZDZYxw1SYtk2oCHg7KujaiER2ysYuHE4QEDwYU7VSzCE9XwdBrTpdFSdV5FnrZYbPIoTxbEn9q0tUiZ4fQYQfpQhy/IWP1s0REqZPM3fT+4J+sSPtktSt2Ne9Dk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Imv06mcu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Imv06mcu" Received: by smtp.kernel.org (Postfix) with ESMTPS id CC26EC2BCFC; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=Ty7v4bcF3F2SQUSl5hGdTzcuqo3n9jJTayOhkkrk5Ko=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Imv06mcuWdaQIkIM6Ss4w9z/zJAgZdv9CA5PEWqNR78VYcMvvIK83Ho1Wg50Gbqr/ lbx/MHiDaw9PeOWGprNgaMGIWubPqpAfYJs6lztUp2PlK/lH2Z2xabTqYzfeC7a7bk KW3Ej0s8IkXyEaJ2Bd2+Y0s5ov3D6yI5KLVd5g502Xuw9/jFm/MAN4P/cfxlHnchzx cW4jwntoLs2Pax1BmW8/j3KdQam08S5zXrGOyWIa/q1sWwoTZP27qIQuhQwJNffOqr aWXizpl4TuQW1XQRfhc371nf3wrvhLZSYN6EjcxUYsI/DOmXuzQxKFLYFfWYyTrzb0 uy5M7uauwbOFg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1FD3C5CFDB; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:40 +0400 Subject: [PATCH v2 05/14] arm64: dts: qcom: ipq5018: Flatten usb controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-5-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=2935; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=DNrB8MXu1ukgkKpzqXrnsAbInJtvBhBUAAQ7CYIOpsM=; b=r5nZHx096Af9bUJ84jmeNfz7t1jLMbj/DOeKmtrEy/JKW8HDXnTh8Go3QYy1DJ7cxSFeF32fm DXRsXg9zPXVB8BDtqxleMLapaeIcIwMUMJjR84rFyDnN7UMQhSp+9Np X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Flatten usb controller node and update to using latest bindings and flattened driver approach. Signed-off-by: George Moussalem Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 6 ++-- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 49 +++++++++++-----------= ---- 2 files changed, 23 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/bo= ot/dts/qcom/ipq5018-rdp432-c2.dts index 33eef92b19b1..8efb2b21ed9e 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts @@ -110,11 +110,9 @@ data-pins { }; =20 &usb { - status =3D "okay"; -}; - -&usb_dwc { dr_mode =3D "host"; + + status =3D "okay"; }; =20 &usbphy0 { diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qc= om/ipq5018.dtsi index d259a841ad17..965649db36f3 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -597,16 +597,9 @@ qpic_nand: spi@79b0000 { status =3D "disabled"; }; =20 - usb: usb@8af8800 { - compatible =3D "qcom,ipq5018-dwc3", "qcom,dwc3"; - reg =3D <0x08af8800 0x400>; - - interrupts =3D , - , - ; - interrupt-names =3D "pwr_event", - "dp_hs_phy_irq", - "dm_hs_phy_irq"; + usb: usb@8a00000 { + compatible =3D "qcom,ipq5018-dwc3", "qcom,snps-dwc3"; + reg =3D <0x08a00000 0xe000>; =20 clocks =3D <&gcc GCC_USB0_MASTER_CLK>, <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, @@ -617,29 +610,29 @@ usb: usb@8af8800 { "sleep", "mock_utmi"; =20 + interrupts =3D , + , + , + ; + interrupt-names =3D "dwc_usb3", + "pwr_event", + "dp_hs_phy_irq", + "dm_hs_phy_irq"; + resets =3D <&gcc GCC_USB0_BCR>; =20 + phys =3D <&usbphy0>; + phy-names =3D "usb2-phy"; + qcom,select-utmi-as-pipe-clk; - #address-cells =3D <1>; - #size-cells =3D <1>; - ranges; =20 - status =3D "disabled"; + tx-fifo-resize; + snps,is-utmi-l1-suspend; + snps,hird-threshold =3D /bits/ 8 <0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; =20 - usb_dwc: usb@8a00000 { - compatible =3D "snps,dwc3"; - reg =3D <0x08a00000 0xe000>; - clocks =3D <&gcc GCC_USB0_MOCK_UTMI_CLK>; - clock-names =3D "ref"; - interrupts =3D ; - phy-names =3D "usb2-phy"; - phys =3D <&usbphy0>; - tx-fifo-resize; - snps,is-utmi-l1-suspend; - snps,hird-threshold =3D /bits/ 8 <0x0>; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - }; + status =3D "disabled"; }; =20 intc: interrupt-controller@b000000 { --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58DC740F74A; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=hesr81A7MvHcIbWJDQSkqRXUJrv9QYpoXTdy6oM7hYjTnqph2k4xwjD52WRMC1mMx5J9AhzBvihb4bnSCFyGL2dJlNV5pSFT5BFC8YXegbGYCwi7h02apM6a0Erpj2B5XkHtCKxJt3xSPrTuecIOnoSWP4FVYtjbNA3WdgFDW4Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=pOMw1Eu8wnhIdeSjF6BvWPDaMBzo8BAut94HrKLQWS4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=p2pisgBKCB6rQEGX3jqj/794xjl99OxbTJQzPZCxZgeAhrHaTX3ypO8Ch0qls4UeHUQ9oiIakyD5j5h4FGkVuOclJysgaF4E5FeDld8Hap31MnJ2ITRzd1IC5BmpBWrC3knniM/AnizfDS/1Ty0CaSmDmz6BB8EihU+9ZybWvho= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FvRtW7DP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FvRtW7DP" Received: by smtp.kernel.org (Postfix) with ESMTPS id D4F65C4AF09; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=pOMw1Eu8wnhIdeSjF6BvWPDaMBzo8BAut94HrKLQWS4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FvRtW7DPlnsCVvoDoL/fPQi0xcpURitW+9klX2ztdf0JOXDC7VDslMRkaUZIzdKJh Fsq6cnhggdUaTcpME1EFDgTfaKcRB5G3JzH5Eg3MOHKmlhSoGonsEdsYKgokILPuPE 6R7HX+RSrk9F7jSt00xr/zxBY/n8+ygQ8uNWPCUwTr0Mj2qP8tlQhHH2wDqYt15sZ+ 4iJqXkhUtR7pqM2zayaVjdruP2E1AmluiMtKx3q/4FC/t8Vjc7j9i3YJbxTQkEwRDj ZXPG0RoHAi1psv26Sqx6Z08WbzS4jQRSb/7MNJUfCGAQVN2CqMhyaJJ73BaoQvCgmi /nUMCoc1ePk1Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF884C5DF61; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:41 +0400 Subject: [PATCH v2 06/14] dt-bindings: usb: qcom,snps-dwc3: Add clocks for USB3 on Qualcomm IPQ5332 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-6-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=1443; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=FrZ92+JY6xObNWk+ENo3Z1dORVi7W/FDONI5nxpufY0=; b=k7TduvLaDJNt/6eSZS3/emidYhD1YnKCkfcymUxouaifQGrT9SFN+TVO3CTGf7/uexHa9FQtk ATA5CChM5R8AEzasy2DuWU4neWkDIkEQB8OV7UUIPt6hMoqxEgDq6mn X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Add aux and lfps clocks in Qualcomm IPQ5332. These clocks are required only for USB Super-Speed support. Signed-off-by: Praveenkumar I Signed-off-by: George Moussalem Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/usb/qcom,snps-dwc3.yaml | 20 ++++++++++++++++= +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Do= cumentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml index ea60f7220afe..ce36109f5df7 100644 --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml @@ -173,7 +173,6 @@ allOf: contains: enum: - qcom,ipq4019-dwc3 - - qcom,ipq5332-dwc3 then: properties: clocks: @@ -185,6 +184,25 @@ allOf: - const: sleep - const: mock_utmi =20 + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5332-dwc3 + then: + properties: + clocks: + minItems: 5 + maxItems: 5 + clock-names: + items: + - const: core + - const: sleep + - const: mock_utmi + - const: aux + - const: lfps + - if: properties: compatible: --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CB9140F751; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=kPseS6wIStAxC1roGy8xF14Cwdf2tMS5TDOroKUwlJV07Ftc9ql1g8Xp0o9s8H0l1TzIRtaWrKpMFOX+Jt79TyuEHTzOQYA2dGe9M5hOt5NvGwRR7/oeq8gXnILxng4l9K3p7VKMdHFPbF2XrbizpOkgTr1SxDL789eyxR0tc1s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=OvCL+zOSU7N7PGMLWgTPNOmlMcLTSCb2DVrgYYczCPM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eTDXwo+sBZ2YWHHTjJWHetqWsMfcp813OKunTdSDQ7i1hmGP8w14JSqRTp8JH0aHtuadXJ38BAkHY9xSdcvsnNMsiv2vSWmdLW8Xma/HhVtThdXAYKKZoP6n6HNlToqeHW++Y2crIisgWE8VS0l42KkM61CcgFfdEEQtf8hPsPA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k6jeRFKt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k6jeRFKt" Received: by smtp.kernel.org (Postfix) with ESMTPS id E1349C2BD04; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527284; bh=OvCL+zOSU7N7PGMLWgTPNOmlMcLTSCb2DVrgYYczCPM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=k6jeRFKtlsTML8P+CQ5u7fWm/Y2g8hvbSUf2pwZwyV1AHSqcYYP64bTPCxoB7DsHC SOC389YyOcKLx8e5KRL/sQZ2JWQtQ+u8CuTrgNSh+JgVfJyAf56G2SX9OosyNStaLm WyGVs5OwDfvbGF8aCrxKe5jhW4EWwXCdQxRuGqD+vWy78zeo2WolgRv/qzjtsw6wwG xY4vL/pCFR+Rhm692LwYysBPIimsbaidTg2w4UiuOazOTTbn/5ToitvqaVEukpEzkm uiUa0SM5Vi5RZvP/lz7eSkz54N0i8g91P7ZYSLVkbwZqRKYsig8KbJahdxpAsJhQ5j wL00BTXpvOocw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD972C5CFEB; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:42 +0400 Subject: [PATCH v2 07/14] dt-bindings: usb: qcom,snps-dwc3: Add clocks for USB3 on Qualcomm IPQ5018 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-7-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=1433; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=KARoq6OCpDTtF+1+6T0u7/RZsl8zfoh1RCmTPcSabJw=; b=qx3/6CaTtMRbU1yODKQppI9/1qKK28Mj9CW4eY6YqpbFPbxHzcqyDfsxap00f07+jMZ6VYeYK vqSbF+xX8SGDY9E5Dz4meOg5+jbdef+hdQ8nCrAP2vozT1K55YcAx91 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Add aux and lfps clocks in Qualcomm IPQ5018. These clocks are required only for USB Super-Speed support. Signed-off-by: George Moussalem Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/usb/qcom,snps-dwc3.yaml | 21 +++++++++++++++++= +++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Do= cumentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml index ce36109f5df7..e87cdf41f5f2 100644 --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml @@ -184,6 +184,26 @@ allOf: - const: sleep - const: mock_utmi =20 + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5018-dwc3 + then: + properties: + clocks: + minItems: 6 + maxItems: 6 + clock-names: + items: + - const: core + - const: iface + - const: sleep + - const: mock_utmi + - const: aux + - const: lfps + - if: properties: compatible: @@ -304,7 +324,6 @@ allOf: compatible: contains: enum: - - qcom,ipq5018-dwc3 - qcom,msm8994-dwc3 - qcom,qcs404-dwc3 then: --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A3A040F75B; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=grNPi9yCYqXd7hDqVa8XdBxA23WOUTtq+npKhnksvdsG1kHG2raGKtvc7l7/DAAUPoJS7exgq3GN+gmAVTQ+f5+laObotUmsMvTvjJfUdiIug1OHMN9YY39FaIFxNVWbD/l7ifEjh4dycLAz5O3niNahlte3O2Wvc1RLoqXsCgM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=aRSE+94+ryw4vz/c9r7KLtfF+Twu0O41LCXAUzIQvo0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lCseioqj2coHgnhs7s3rvGuL6SZ7cYUUTbXe71G/Y8bAtTiX+eRclYsfclid1iK6sXXdNRFp6vld6f9BnoXBeHJkenHhG48AojL2+7GYCtbKFHUwWATvEeOGT5lntWMyNDINM53OZ/DzBnlxFWrguHLTzAVugHMO9HTG5nM5Khw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rTf4fiAU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rTf4fiAU" Received: by smtp.kernel.org (Postfix) with ESMTPS id F06DAC4AF4D; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=aRSE+94+ryw4vz/c9r7KLtfF+Twu0O41LCXAUzIQvo0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=rTf4fiAUCG4nLnToqhzROEZNiMaVcnDdkWDidxu/Ej/bUQie13eYfY0qxmrY0XqDb orBaC4JbhnOOUGoijyMSFW1YQeRl/v5KgMowU7QDDKePnN84QdPzzVNQP2cspWjadB /likiKsNrkZiOmZo12Hl0ZGJ7QV7fV8jcKbz1jAbIBSvQs9gH8M3P7mQb+ne561T+1 MDZA82tCMZ3Nw1dkIuH4kiNS4oxHWkyey/W7hoabp2UTjCDO2+WFSF7OzzJO3ItxEF DFkQC4G7Fs966fK+kV/cSkxDhckky05wcCeKsdRww+ssZA2nXaWIY1mj3Cqnt8nqJS cU5TX/02NyCeA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB51DC5B56A; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:43 +0400 Subject: [PATCH v2 08/14] arm64: dts: qcom: ipq5332: Add clocks required for USB3 support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-8-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=984; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=ahJs4DPyNLGX7SXzT58shCgWpJw7k4x2FzR8MZ0ny3A=; b=82/coOkgY6ouZWe9JkwUpLQLqRtEKxKuPfBSkHsCW6eCDPNKBPWUnE+Mk33E0s3h76cguttEL 9vSwe7n1lf5C7V/e2dH2O988bbTC4MvaUAwgRcW1dQbgJqau0W4l9V0 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Add aux and lfps clocks to USB controller node for Super-Speed support. Signed-off-by: Praveenkumar I Signed-off-by: George Moussalem Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qc= om/ipq5332.dtsi index 83d0377455da..664586979ec4 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -499,10 +499,14 @@ usb: usb@8a00000 { =20 clocks =3D <&gcc GCC_USB0_MASTER_CLK>, <&gcc GCC_USB0_SLEEP_CLK>, - <&gcc GCC_USB0_MOCK_UTMI_CLK>; + <&gcc GCC_USB0_MOCK_UTMI_CLK>, + <&gcc GCC_USB0_AUX_CLK>, + <&gcc GCC_USB0_LFPS_CLK>; clock-names =3D "core", "sleep", - "mock_utmi"; + "mock_utmi", + "aux", + "lfps"; =20 resets =3D <&gcc GCC_USB_BCR>; =20 --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F27840F8D0; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=VjCEMpg3o2x+/GIjCcz1lhw7KAuQw5mC+6svfAtsLXNN9mBRpQBvkjk//6WrEOFSSJl38+CMO149emkEzv9I3XLgUpCkBGxPdKs4JUJvIsXwIOn8FW71DyN0Uwo0QNGFW29XGgPo5Mnnqjw3Jcu+IM2HKTcZ8w/MJIdp1+JHnMI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=bdcHVjGUYXlwDPdIUGyb7URJPOBK/wdIe1BITYbbxZ0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SbhAgk8i1lHO/FNPI44QIyBIJX4pA1M6W0udPRkLIKoh/CGDRDrA37zov1raecFE9n41gwmNjL7UDXI9CJJ6rRg6l+xbcrlYdv2QQfLsWgGBxZl67yG/olth1nYxUo/1feiFkfRY4uy0zmMALTVzvgKDX39y1mt2sjpe7uXiACg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VwMUx0eu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VwMUx0eu" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0AC17C4AF53; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=bdcHVjGUYXlwDPdIUGyb7URJPOBK/wdIe1BITYbbxZ0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=VwMUx0eurBLMsHQQrzlRKk75Wfu8UDea9SImWA6kEZLDxoUzx97k1vHKtLdAIMVeF xaW8Q7KSiZKypCCjkw3SPwnJDHpfKaE16ZYrN9C+3QfSYjQSoIHM+ODwsAqaHheC39 Tl3iazBr49qc/VqQoEcBMG6/5UH7vnVOU6lO5u2UBVlS/7lnzb2D9HrlAtRU8YMrb8 PWfs9xKeIZB3O5BrOQBxeWftMefhSfT1Fap0D8wADczvoNoFLeY3nTzGZ88c3V04Ss +LzpTwxodEEtyXII0hJCLJx/bZ4OIuk9S1ETOHtJr4JpjBNdUliNNpU7k4sveUn0aP A7eJ3Hobju5Lw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8E6DC5DF60; Wed, 12 Aug 2026 09:34:44 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:44 +0400 Subject: [PATCH v2 09/14] arm64: dts: qcom: ipq5018: Add clocks required for USB3 support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-9-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=1362; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=cXGdcodsZoWixVoo93oDnydVyYvzvkTVsXin55/V6T0=; b=q8LqsvAPD9RMUfUfZ3cmz4YJm+UuhTA7CUNrJlRjIRe4IbzcZzUr7lq01dWZpUNOdvGLLJ817 qhAeEhYFx79B5PEqAE7Bn5NUBvmqSeea7adT76AEN7r2ac9x2JJZRI9 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Add aux and lfps clocks to USB controller node for Super-Speed support. These clocks are required for USB3 mode only and are not needed for USB2 mode. Signed-off-by: George Moussalem Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qc= om/ipq5018.dtsi index 965649db36f3..c98889a7c26c 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -604,11 +604,21 @@ usb: usb@8a00000 { clocks =3D <&gcc GCC_USB0_MASTER_CLK>, <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, <&gcc GCC_USB0_SLEEP_CLK>, - <&gcc GCC_USB0_MOCK_UTMI_CLK>; + <&gcc GCC_USB0_MOCK_UTMI_CLK>, + <&gcc GCC_USB0_AUX_CLK>, + <&gcc GCC_USB0_LFPS_CLK>; clock-names =3D "core", "iface", "sleep", - "mock_utmi"; + "mock_utmi", + "aux", + "lfps"; + assigned-clocks =3D <&gcc GCC_USB0_MASTER_CLK>, + <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, + <&gcc GCC_USB0_MOCK_UTMI_CLK>; + assigned-clock-rates =3D <200000000>, + <200000000>, + <60000000>; =20 interrupts =3D , , --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F39540F8D5; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=JDGI6LnyRJLiPndxr19OfsmfFzMGRLUuAwujQYoE8SS1VDOP7QgV9Oz7zI04ZTWKBNkR3xb/Ma/GkyuqhfzfOzK7lMiSyEqwUvRSz2xckeTSXY5zLcXi7bclJYcdDJyMJqr0U8ecOyd95xvXvO1toMkwEdfTg8fQhhQVKh5ToCc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=lPWoL23l+8iQd44dS0Bo1JaT1Zz2Qstnv2s1Mec3s+8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fc+JFS++LKYbopdFj7HDORpwaJjuS2OIMQrILHl52DQ4V9/OGOZF2GPtKZQ8FCXvTkuXyUY2/dXgzl276ItYAt+bjaQTuaFeOIaELoT0J8IFD11hHfQUvE0nmPdAYNvgjmQqP4rE+yTFOqU80jISPjvEROFJHTtilGHniLGHMt8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PrEiQf9Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PrEiQf9Q" Received: by smtp.kernel.org (Postfix) with ESMTPS id 161C2C4AF0F; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=lPWoL23l+8iQd44dS0Bo1JaT1Zz2Qstnv2s1Mec3s+8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=PrEiQf9Q2MEH4HgPCGa1H2FSY8ThQN+oSr7VprdHt+ejtJvlwvZlZXNBLIa797h23 xiF3KISCOYEUiF+S3hrS2m6AnuFpdDqcS+/g/KibT/AJQUfX3DAUznnHWDr/8lT70q QWLG3RhHPQCy1+afG9FtaqKvsauzaJrVcDJuXz5YUdEgqKfr9aUi2hslRcKwJ7+tyd LtOFKNWcUgYDQVNpu3CLlTNq4q2jJ9IBkaIc44tkXxLE1vMAmBKP8VAKWVG43N01Qg wLMbtDyUZu9aajfuDVjUULoowNNK84u/OM5hhOwyGAOurCM18kNROzxML61G3lhnEa BC2yleAnuJxdQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01CB4C5AD5A; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:45 +0400 Subject: [PATCH v2 10/14] arm64: dts: qcom: ipq5332: Add Super-Speed UNIPHY to USB node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-10-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=985; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=rAa8xnID9wmdueBQ/cZWnFq7q+M1tI3cAzU0GkmPT8o=; b=P0a3iZfEx04ciMLlDTrFS0/R6gKS905M4fKM5nH6/RFXWzZeQUUnR3kSL9kkVYSKMTcpf5TJf Xq8q8ZGTzGuCW+Fga3yqhOYtaz9zv0CxTAnJ3+yrUvWoMvoefa08B63 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Add the USB3 UNIPHY node to the USB controller node. In addition, switch to the pipe clock supplied by the USB3 UNIPHY instead of the UTMI clock. Signed-off-by: Praveenkumar I Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qc= om/ipq5332.dtsi index 664586979ec4..6253443c8d7f 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -523,10 +523,8 @@ usb: usb@8a00000 { <&gcc MASTER_SNOC_USB &gcc SLAVE_SNOC_USB>; interconnect-names =3D "usb-ddr", "apps-usb"; =20 - phys =3D <&usbphy0>; - phy-names =3D "usb2-phy"; - - qcom,select-utmi-as-pipe-clk; + phys =3D <&usbphy0>, <&usbphy1>; + phy-names =3D "usb2-phy", "usb3-phy"; =20 tx-fifo-resize; snps,is-utmi-l1-suspend; --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABCDE41169F; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=dKL+vD4G1zrpo3y1CQTin9U2MyYyMrog0P6v+GjiVKNIz5fZAk9Q3jCUTH8m5ziYrAQWVswweRkD6tuycoj+ftZzdqNUkF1ORcJDycspHeLUF8SLuckThyMguMIKjuyF5wRjuKv+HCLuCib018n3aY5it3ZSFyFUzVOW7wQVOi0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=CEJImADqksx/jnXCqycUUtZetr8Js6Q6vJkHmpvfFMY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iBWQzmQnmTBViwjBiBHvbJQjonODXQHX6nnMZQllX44Lsyx5PuAU9zpoo1YMjqu0V1fshqu355rD0njIKpagKxfHF4eIY9HqCyu8QUEvKtI9UhlcF06mJDCH2rrQZWu3xa2bTq/6NF5hXpK/e47mCIs6/8HPrwCsMQb4sDXcHXc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SglLNjLY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SglLNjLY" Received: by smtp.kernel.org (Postfix) with ESMTPS id 25F3CC4AF13; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=CEJImADqksx/jnXCqycUUtZetr8Js6Q6vJkHmpvfFMY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=SglLNjLYb7ZnTC1At5krlFVzjjPOcHrKdU1GWgBxXHO4Z4lOq9RlkjU1slYZrYHAM 6+y1KzcewjQlSZuzaDgu0gRhNElBz6AdPjqpRzVFZiUREKe7rxyuR3oJL4g6EphoRK M51HNTh7JriSAMh4S8Z9ndmL+wpDwulZ02SmuQ5ZVmwu02BgGJk2KCS6faQ4oUf3ee K31vg8y56QoDQNE8bVOGiwyIOcUgneRd+E70tL1Mw4T0fwIswaupatiivmGeHTxW9R P91riIDYaHEwFr4RCp1wlM+kocg5IkMDoGoJgN/GD8g5wYApS+5Xwnda3mw8EL9itA jRiVHL1fe9S+Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FA52C5CFDB; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:46 +0400 Subject: [PATCH v2 11/14] arm64: dts: qcom: ipq5018: Add Super-Speed UNIPHY to USB node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-11-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=865; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=8bhPK8flz4g64F9hoc1dqcAmebxhDioRZihPcA2zzas=; b=iOasZLYsfLMSMhH9mM8vLaYok33PTvlCo51GrOdO8jsqdez68kqQWKaAJxpHPR/pO1sskcx58 mnRboKr4eYSBm4XSpjZIl4xKcxLDwhOeFn4znV2GDxVVVaISZOc2vT1 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Add the USB3 UNIPHY node to the USB controller node. In addition, switch to the pipe clock supplied by the USB3 UNIPHY instead of the UTMI clock. Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qc= om/ipq5018.dtsi index c98889a7c26c..01b8181ffa40 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -631,10 +631,8 @@ usb: usb@8a00000 { =20 resets =3D <&gcc GCC_USB0_BCR>; =20 - phys =3D <&usbphy0>; - phy-names =3D "usb2-phy"; - - qcom,select-utmi-as-pipe-clk; + phys =3D <&usbphy0>, <&usbphy1>; + phy-names =3D "usb2-phy", "usb3-phy"; =20 tx-fifo-resize; snps,is-utmi-l1-suspend; --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A929241169B; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=oinG9TtI9jnhtuAKB1jmwWxomiToohBbMdC8PlYo+xfPqMsZJS/jwxq5cKmh+Fh4DnP5/GGGlfldd4AlO3ZpvQ3axFfjEip1jZGHiFLvN8pTFru9TYRVTguhzowclsGzfzLROBa4AaerXD0Z5NWjqNdJHN4Fj7i0QF1zYY2LRNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=1LiBzRWxvUcNljnnFnCp4vUdyAocy4/M2Upks6IqAE8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FaDitFYdqeYidJPPIVHugcCXIx3SEZqGx2fbnAtbXLA/ZCWoS7YzP5mR5v2T2R8GK3DfWRmFJkIJ38V0Ah1AkEICi8rbLCr80WqGz9T1XkDmRz6ATuG8Yb+9pTECk3iK1Qq2roWT+KB1RFjK0mzRD9gykf9UgqL9j1WRc1fY98c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pbksAYl+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pbksAYl+" Received: by smtp.kernel.org (Postfix) with ESMTPS id 33941C2BCFD; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=1LiBzRWxvUcNljnnFnCp4vUdyAocy4/M2Upks6IqAE8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pbksAYl+69M8oASp+ZhaKqTKgWDvbGZLz/ovX6amnatOVG82BpZX4rrTFWNn0p6kb a1TVH3BKWZuWhg+R5PLoDFeF1KNZxnvCY/87obFJkenLSYs1X2o5A6IP2NpJbtLwTx 0oyb6GR1gLs1Gsk4XJtp/plVS6ZYl5zK/VeAiZwfaJHI0ffkNjYuFtwj9HhlMLeIJ2 1JjeimcX1CYILKc71IJk8zx2W8zMuUlvTaL/oaF1628E9h9Z/ctROEe6yajIWVfv1h KOx0WyiFYqRZs8KdxgGS47FHV3NZOiDFHuzLunA8cFw+d+i9uzu1BeMa8l6A9Vrfuu zrliEOzIGWMjg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E8AAC5B56A; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:47 +0400 Subject: [PATCH v2 12/14] arm64: dts: qcom: ipq5332: Enable USB Super-Speed PHY Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-12-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=1218; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=4QodOwLvZBFpQJh/rbVs7oulaifWDwERoBYMxDOywh0=; b=Or4wpv3uHdshJMeNMhiS6sXik5KdX92OhBUuazDrm9R/jcwgLPY3HZleHKz8IeA5LRLeojaFu VS/ybAQtauRAZF9bPyyZUdF/Ff+wsR4u0faB7W9jM25vJ3Od2w/Z6jO X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Enable USB Super-Speed PHY support. The PCIe and USB3 PHYs share the same MMIO address space, so override the compatible string to use the USB3 PHY driver instead of the PCIe PHY driver and set the required properties accordingly. Signed-off-by: Praveenkumar I Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/= dts/qcom/ipq5332-rdp468.dts index 25a70cd884c0..164f9a9a6c75 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts @@ -100,3 +100,22 @@ &usbphy0 { =20 status =3D "okay"; }; + +/* this combo PHY supports PCIe and USB3 */ +&pcie0_phy { + compatible =3D "qcom,ipq5018-uniphy-usb-ss-phy"; + + clocks =3D <&gcc GCC_PCIE3X1_PHY_AHB_CLK>, + <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, + <&gcc GCC_USB0_PIPE_CLK>; + + resets =3D <&gcc GCC_USB0_PHY_BCR>; + + qcom,phy-usb-mux-sel =3D <&tcsr 0x10540>; + + vdd-supply =3D <®ulator_fixed_5p0>; + + /delete-property/ num-lanes; + + status =3D "okay"; +}; --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A769A411693; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=XBUhsA6ZcZ0RSP7CmYJ4y8kniVPBJ4T7HNPn2W8zKk6s24stwdO2eKLr2/v1VnUnBiiPZA3SI24UnlGFy/Lh+OYOGbTfEvBpSOo9yWhmysjLCxZBOSXTnhz+ebC8wOlK+3NhF+DuHO/Snix1DUyb0oFTP+7r5Zi93/mBLIJP878= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=7Zgspg2cpl6a219QZ8lKlBpC1rJx9A4XKCi4EwWakz4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QzyHRMbNaKVAXMPk4OpkWqmArzu/u523B+xpON1BvoNiz2MTpKw+A5QS3zEX92OKVhXc+aNx+ZIa1+6elE6mMTYdb2gExS/O8g1LmDibCbQhWq0N9WIsR5gyNp4A55Ox+z/qONiNtmInnIlIOGbl/PPKKUm+i+XQbSxTDEeWrVA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OerUFEAx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OerUFEAx" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3DFA5C2BCB9; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=7Zgspg2cpl6a219QZ8lKlBpC1rJx9A4XKCi4EwWakz4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=OerUFEAxmp1R9K2WcROdmtYEG50/RQvzrOp9B5RxAzjK3sQAIezncrTUgqZgaNn6T qxVTU3ECVjgmXcNzoV9GCW06Bn+71uO1SnI75NUIox6jPoe51XFM4LiMfuBYrHD4rb azWjRDDdJN7HB8yEsvr56eUzzQOyLwNnf+WQ+nERh0+6oTVklcVurW5/18rqtXtiGP MssRhuMZMShcf0oasjAr8276cWR2NAZxHidzfHnENZKw4IyY6Fqlif7UYZ6GX5jcoa hRrv2ZsSeoi8WNZVYIGfT3FEvALmWxtou7mcHyeR/YJKhvcvebyIpP2OrQfuzaHvYP 0M+NQlMDk7OcQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C3DAC5CFEE; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:48 +0400 Subject: [PATCH v2 13/14] arm64: dts: qcom: ipq5018: Enable USB Super-Speed PHY Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-13-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=1078; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=mqT4fUHiS6tNRhSdjnTI3aemIVcVL9vUJPPDNDpgcvM=; b=qybIHF+s5v1NyNyS8IxUiy4ByiNmC5uvk2E2MxcCfRck+On3NOjNpbgSzSuOLekr36997faes fk0HgB6X4OuBweXUd68uRBwhjQAcHkf+Cp2PaeVJ1IR7k9uB1GmwqU5 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Add the 5V supply regulator and enable USB Super-Speed PHY support. Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/bo= ot/dts/qcom/ipq5018-rdp432-c2.dts index 8efb2b21ed9e..ca29f271e673 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts @@ -22,6 +22,14 @@ aliases { chosen { stdout-path =3D "serial0:115200n8"; }; + + regulator_fixed_5p0: regulator-s0500 { + compatible =3D "regulator-fixed"; + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + regulator-name =3D "fixed_5p0"; + gpios =3D <&tlmm 24 GPIO_ACTIVE_LOW>; + }; }; =20 &blsp1_uart1 { @@ -119,6 +127,12 @@ &usbphy0 { status =3D "okay"; }; =20 +&usbphy1 { + vdd-supply =3D <®ulator_fixed_5p0>; + + status =3D "okay"; +}; + &xo_board_clk { clock-div =3D <4>; clock-mult =3D <1>; --=20 2.53.0 From nobody Tue Sep 29 04:46:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A461141168C; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; cv=none; b=UV8ymBeVUBfPHF1bb89cI2cupAoFMeUD68TIxIJqJRbtYLdsjTj1lMdakrtZ4dLFOaY+I1nuqK5uGtUA6aDFxzjVm+WhnVOEJIJX5KE0s9HBUxdjcI1sr5x8u0I09EZ/ugbCQ64D5zrSqHJvZOXRax4fEjvaVmH3ixmuxzpni/M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786527285; c=relaxed/simple; bh=3BaE5P2Yt8vo4lMA9XvS6KLHXerUNkBfKwoyVyjmA2M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pxzRyiQrBhncUTH9uehf+fzAz3Uo4vsZewwq9LLf7qhcvXntNPDYtvmNKUFTDS3WoJd4LPPbZd1VTSNYWxAjZRJjoNZwz7eR4HCb1ixZuigCDiaX3QRZzgX6Ywl+UJ7+RAH44h7iirg43K/gpl5x/V+hV1jsaXFqX+EQqlgFEss= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QOgtpdKB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QOgtpdKB" Received: by smtp.kernel.org (Postfix) with ESMTPS id 56E19C2BCFA; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786527285; bh=3BaE5P2Yt8vo4lMA9XvS6KLHXerUNkBfKwoyVyjmA2M=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=QOgtpdKBhUVwrobCMyHPpRFKKiJ8O/LvuV3+ZCE445xSr+8Uxw+0VBlOHmUP6ikef heWXkFmdnR4s2c0AfNm2DIE/8ZOH6IAQLD15u1q4JE8fqiAqKqkEQSbZAqYkJWDYBC C1oSjExbS/ks6cG0vyJqQ3Ri+l2m7RcC4P1GzbHc2j4nlIG+/BAcsdKM+R0yZ/UUSb DVH1m9RPVCtFzWV6i/bJCfvOtrIr6WrWsUeBeeE66hJG4gNEA5ZlQ3HCTDCR4Vyo2S GK3kiZ4vilPPZMX+q1KuQquLUo1E+Vfh+FKeQXphFbQ134bCciH9nVm0S2n/Kw5Uxo HAOTbTv/CLbYQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39C24C5DF61; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 12 Aug 2026 13:34:49 +0400 Subject: [PATCH v2 14/14] arm64: defconfig: Enable qcom USB UNIPHY driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260812-ipq5018-usb3-v2-14-8f355d7ff0ef@outlook.com> References: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> In-Reply-To: <20260812-ipq5018-usb3-v2-0-8f355d7ff0ef@outlook.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Praveenkumar I , Varadarajan Narayanan , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Wesley Cheng Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, George Moussalem , Krzysztof Kozlowski X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786527282; l=798; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=zrQ8Wh0YrykyPakfOtquLxPzDH9GvGWTD/vsNafpQc8=; b=e9MkbPrNY2YklKgVhYOaKoJ5dXbJojlUCPnLDcEhKBulG4jA8t21WWO1+DnxQQtgv0YiS6qxj ZDo7mraPW5aD8eNg1pBlWWiYj75/iR1D+A+LEhMhM5dMQQqD+3aVBv0 X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Praveenkumar I Enable USB UNIPHY driver present in Qualcomm IPQ5332. Signed-off-by: Praveenkumar I Reviewed-by: Krzysztof Kozlowski Signed-off-by: George Moussalem --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6ec8d3a69c98..301cc21200bb 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1782,6 +1782,7 @@ CONFIG_PHY_QCOM_QUSB2=3Dm CONFIG_PHY_QCOM_EUSB2_REPEATER=3Dm CONFIG_PHY_QCOM_M31_USB=3Dm CONFIG_PHY_QCOM_M31_EUSB=3Dm +CONFIG_PHY_QCOM_UNIPHY_USB_22ULL=3Dm CONFIG_PHY_QCOM_USB_HS=3Dm CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2=3Dm CONFIG_PHY_QCOM_USB_HS_28NM=3Dm --=20 2.53.0