From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1242AC5DF60 for ; Wed, 12 Aug 2026 09:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ycZNilNOqlqg1+E/jWaTd9ZLfiSkzDdSgN+KRdtc44Q=; b=x+t0sBddX65UsN pa1KlTMlS4XOReDgc2GaamKjmW1Ca64gKS/amO9kAgIA2wOCCP7Zq5oHKAvFhYBkyiN/b4ggSdBnX jILEJ6TMuLNmDLzRo+0cWK4fl5bRb3dKdjUG5EokDwY5cYmD0gbfrWhtVS4zWO5gJz1qWXkEe95Yk UUu2btuFIGCdafzCPcHQaEfpLX5POJDGQzXzFW4IieFW4mEg1opjcM1niRI8ne77whutUUr2eCYh7 7aXoQ9i9NO25YhjjmrLG1xCR1rpBxqgpeOS8bgHacBLHhotcLL8JtYWOnOHC5FQIhUA2ORhsujxAH hdxVR6Tl0+Whbzd6OYUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wu5MJ-0000000Flii-3OsX; Wed, 12 Aug 2026 09:34:51 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wu5MD-0000000Flet-3t99 for linux-phy@lists.infradead.org; Wed, 12 Aug 2026 09:34:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3251C42EB6; Wed, 12 Aug 2026 09:34:45 +0000 (UTC) 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 MIME-Version: 1.0 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 X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: george.moussalem@outlook.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org From: George Moussalem Flatten usb controller node and update to using latest bindings and flattened driver approach. Signed-off-by: George Moussalem --- 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/boot/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 { }; &usb { - status = "okay"; -}; - -&usb_dwc { dr_mode = "host"; + + status = "okay"; }; &usbphy0 { diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/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 = "disabled"; }; - usb: usb@8af8800 { - compatible = "qcom,ipq5018-dwc3", "qcom,dwc3"; - reg = <0x08af8800 0x400>; - - interrupts = , - , - ; - interrupt-names = "pwr_event", - "dp_hs_phy_irq", - "dm_hs_phy_irq"; + usb: usb@8a00000 { + compatible = "qcom,ipq5018-dwc3", "qcom,snps-dwc3"; + reg = <0x08a00000 0xe000>; clocks = <&gcc GCC_USB0_MASTER_CLK>, <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, @@ -617,29 +610,29 @@ usb: usb@8af8800 { "sleep", "mock_utmi"; + interrupts = , + , + , + ; + interrupt-names = "dwc_usb3", + "pwr_event", + "dp_hs_phy_irq", + "dm_hs_phy_irq"; + resets = <&gcc GCC_USB0_BCR>; + phys = <&usbphy0>; + phy-names = "usb2-phy"; + qcom,select-utmi-as-pipe-clk; - #address-cells = <1>; - #size-cells = <1>; - ranges; - status = "disabled"; + tx-fifo-resize; + snps,is-utmi-l1-suspend; + snps,hird-threshold = /bits/ 8 <0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; - usb_dwc: usb@8a00000 { - compatible = "snps,dwc3"; - reg = <0x08a00000 0xe000>; - clocks = <&gcc GCC_USB0_MOCK_UTMI_CLK>; - clock-names = "ref"; - interrupts = ; - phy-names = "usb2-phy"; - phys = <&usbphy0>; - tx-fifo-resize; - snps,is-utmi-l1-suspend; - snps,hird-threshold = /bits/ 8 <0x0>; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - }; + status = "disabled"; }; intc: interrupt-controller@b000000 { -- 2.53.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy