From patchwork Fri Jun 25 22:03:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 466863 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1894569jao; Fri, 25 Jun 2021 15:03:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHNmr4VqLSqRMVo3lae0Q5flnEZsePGGAzKu5GRZXX5xwrm5zjxaV35Qy4twQUpIlULmIZ X-Received: by 2002:a05:6638:380b:: with SMTP id i11mr11127714jav.57.1624658610838; Fri, 25 Jun 2021 15:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624658610; cv=none; d=google.com; s=arc-20160816; b=wCmWlxAFF705YxR5ZsqMtX62o1RSfPuVgH2qwYZ3Q3+/1yxY8CVat2iZkPbaThsWA5 cjicYaFN1CcOv266AEAvfR1+mVWtGzxJSi6Y6bJsgeLEdn8j4z2SYyTOYUvXGppl1DwD oAXBNknNE5/nxu/hWxRreZlMYprzDOyvwOTBTSYPNXxAu6et1RAajCxVEWitskmrYkxW S1/wyqMcIROYUgpjH1+mBax2r1C91Xf9TPPCBIwJWeUNijhs5bTsXErM80u7jb8EaLL/ HIKB7jedH+JN7/8recIp3vOYECuVBr6F2hqu4aALEgs7+Jntgfbybw4WfTJgPLlIuFnz zigg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=prINlRYKbu6XDrHyKyHoo1qSGCIglO6qKAztYX5cZo8=; b=Snx/iEfwI8OvbpY5OUW4OYecLCjo3Nl9VJ1LmzvpWktmjWp5UcIe9WOJEwXYyw25Fm dj13MPrqm093JYOLKrRAceLxgtG+L8G+LXE/l5EMyF+02FySxna3fINWx47jv5Pmhwpt iquwRgBWVULiZFuSm3j0dUdU7EmyRkkRlBgrCukffG4ZO3w+zXjEnESN6gmKx4ZVszk7 uXhs9js8F5FYgaGKsd1SMl2T+WfttEXYVvuWqnyWZ8MDZClRjgHDt7QCHuzLM7Avqh9M fz6JPVZ8QG5MQPJ2gti/AmDvQc8fCdOgWGmnpuF2eoAS4Ri7luG7zzVxXUNS48E9BLnr INmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xWYLw2kh; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si2745348ilo.141.2021.06.25.15.03.30; Fri, 25 Jun 2021 15:03:30 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xWYLw2kh; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229940AbhFYWFv (ORCPT + 7 others); Fri, 25 Jun 2021 18:05:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbhFYWFu (ORCPT ); Fri, 25 Jun 2021 18:05:50 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32CAAC061766 for ; Fri, 25 Jun 2021 15:03:29 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id p9so9303700pgb.1 for ; Fri, 25 Jun 2021 15:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=prINlRYKbu6XDrHyKyHoo1qSGCIglO6qKAztYX5cZo8=; b=xWYLw2khe8It1X9JVjVczrT6j1lvc6UnQfSriGM7pNd7BLvSkliyqGOCZWqN9KMcyp mRcmMhFK0NMZhQzJE60KmRV8NL5d0S3E4an+hK6VaGHSoRkfOBR7ICP+FDOKs3N16KWu aJ/J2Bk2jDgV+Gdpo3PkSP+rhmXgl/vb5VuhpeqVf4G7qZ3C3/8Ku6d+epb7Z3mQvb4t IrjUR4DIPQdC+4bTAYpMWsZvOeRBGpFwfZS9fcnQhsYwmwf8e8MOYjfteSpmy3x9QI10 UVhQXRhnUapJO5Rby7U7nwT/Tw+k7cC39gydGp/QonQ4R/Cg4SW7b2HVaHY34QZoWN9d JpmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=prINlRYKbu6XDrHyKyHoo1qSGCIglO6qKAztYX5cZo8=; b=ThrRgXmd1MrJAnoOYPY3PuqNYIRKSYkEK3hB5pvrPg0L2UzBRPS47DQl+0Kbc9FnXa AJRxfmUC57eaLRxTgGn2UbNNInMrokI5GJDTtnw0Ds0eVAPzxVEZZchF/+UvfUT24sTG FdqUpi9h/u+sYJ0Z4a7iynJfczWAIq+HrFlUam72+rkQ90cTqAyXOuLSFak3qsP0CC4z D3LxtXuZzoOmArT7edu4izHx83HIOvTLuXxQVtBBLebCDQ4xHxt5Y/pV3jztDR2Pf5tn 8J6gjWeh2M2KdcVy48zCJALgcFLbmWyC9vVFJY/kgqglCNifKlk94cOlJwP3rX8kpdfH brTg== X-Gm-Message-State: AOAM533Xf/aOgwiZ22WHJAEacOoLGdTWs7yCx2KAgXHGocGXTP1LG+zh TxW0GXo3fZIrzK/MKM4QDxsuEA== X-Received: by 2002:a63:5809:: with SMTP id m9mr7251692pgb.170.1624658608772; Fri, 25 Jun 2021 15:03:28 -0700 (PDT) Received: from localhost.name ([122.177.20.255]) by smtp.gmail.com with ESMTPSA id d9sm6374040pjx.13.2021.06.25.15.03.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 15:03:28 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, balbi@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, agross@kernel.org, Bjorn Andersson Subject: [PATCH 1/2] arm64: dts: qcom: Use consistent naming for dwc3 usb nodes for sm8150 Date: Sat, 26 Jun 2021 03:33:10 +0530 Message-Id: <20210625220311.527549-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210625220311.527549-1-bhupesh.sharma@linaro.org> References: <20210625220311.527549-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The dwc3 usb nodes in sm8150.dtsi are currently named differently, leading to some confusion when one sees the entries in sysfs or dmesg: [ 1.943482] dwc3 a600000.usb: Adding to iommu group 1 [ 2.266127] dwc3 a800000.dwc3: Adding to iommu group 2 Name both the nodes as dwc3@ for consistency. While at it also arrange the two usb controller, hs-phy and ss-phy nodes closer in the dts for better readability. Cc: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) -- 2.31.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 612dda0fef43..3be6d093a99b 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2205,6 +2205,20 @@ glink-edge { }; }; + dc_noc: interconnect@9160000 { + compatible = "qcom,sm8150-dc-noc"; + reg = <0 0x09160000 0 0x3200>; + #interconnect-cells = <1>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + gem_noc: interconnect@9680000 { + compatible = "qcom,sm8150-gem-noc"; + reg = <0 0x09680000 0 0x3e200>; + #interconnect-cells = <1>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + usb_1_hsphy: phy@88e2000 { compatible = "qcom,sm8150-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy"; @@ -2266,20 +2280,6 @@ usb_1_ssphy: lanes@88e9200 { }; }; - dc_noc: interconnect@9160000 { - compatible = "qcom,sm8150-dc-noc"; - reg = <0 0x09160000 0 0x3200>; - #interconnect-cells = <1>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - - gem_noc: interconnect@9680000 { - compatible = "qcom,sm8150-gem-noc"; - reg = <0 0x09680000 0 0x3e200>; - #interconnect-cells = <1>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - usb_2_qmpphy: phy@88eb000 { compatible = "qcom,sm8150-qmp-usb3-uni-phy"; reg = <0 0x088eb000 0 0x200>; @@ -2344,7 +2344,7 @@ usb_1: usb@a6f8800 { resets = <&gcc GCC_USB30_PRIM_BCR>; - usb_1_dwc3: usb@a600000 { + usb_1_dwc3: dwc3@a600000 { compatible = "snps,dwc3"; reg = <0 0x0a600000 0 0xcd00>; interrupts = ;