From patchwork Fri Jun 2 06:20:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 688910 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21725C77B7A for ; Fri, 2 Jun 2023 06:20:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233747AbjFBGU3 (ORCPT ); Fri, 2 Jun 2023 02:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjFBGU2 (ORCPT ); Fri, 2 Jun 2023 02:20:28 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D0E6E7 for ; Thu, 1 Jun 2023 23:20:25 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f606a80d34so16180965e9.0 for ; Thu, 01 Jun 2023 23:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685686824; x=1688278824; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NdX8p/1XtE1nNIAntYrNLxuKcQs6UetH0iBitbHVzhU=; b=Lv0c957O6ldAS4DvVPNfIZZ6jY1YPQ3gf4q0Arrc8rorMBtkXpLx2SRTOrCUelLipx B++tQf40Dzl7vIeXpe+O5loh36OFXvSWSr4Fvq2MdNUuZlYkTivsFQzaWLgH7g73EQAI 74DdNGx/3DJG7MOQT8ajD82Hnb7wzBqn8hRZxcZBc8/N+oEX3eCPztD1Hs3GZnYTY9LK BwfHthJ7X9gmoYiEoINFtwCa3s4afYrubVmuSP0vQjMBtR08WW3vdVNG9cnKt1vMmv3x 6kDHFfpg7xdu4nYt2Eg0R1UhfdcU5R8BA1STT31xwWE4aR1X4MrZEknVCNgb+0U4rpNX 66jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685686824; x=1688278824; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NdX8p/1XtE1nNIAntYrNLxuKcQs6UetH0iBitbHVzhU=; b=GdC8hBvxh+oitvGalu01V0OxpksZw7rr3e1tFKtmyMoAWU+HIN9thFoq4AJT1NlAki 2C0dvBmhFhQ3wBerkMtGh4pkj94Od6R4HlVLnSP76LlL4kVLGisQYXKLpAp/YZhKG0r+ ojuCXr2z0WrS4PQuqg3n+fSE1YGDo70o1hFc1HiTI/hXIocF3uvdIaUQzD8rsLYD8yag wTx3o+3tEf5afopytF3bDkOsmNeIH19u1s6st7EIBlYfrlZdO/h0CyZiKHlIKGmTYAse csef/UtEJSy6Hj45y+EV2M0uX5Xwn5mwsx5EN+SCOr4FldAE/v8GLe2ecqZNdU4Z8gOP Gylg== X-Gm-Message-State: AC+VfDyn7Iu2uV/v/db4/N1kgCX4fGWfpD/JyG3hWHhd/h11Ksaqnfhp xiSNKl/10/f8u0AVevjQYaypSw== X-Google-Smtp-Source: ACHHUZ7wubS+z3hticHRRCk911XfHKR7MjkuX6BEjA/+8KHSGq6DIVlk45OrD3ZesYeG+kwriVdwOw== X-Received: by 2002:a1c:7404:0:b0:3f5:d313:db68 with SMTP id p4-20020a1c7404000000b003f5d313db68mr988006wmc.5.1685686823915; Thu, 01 Jun 2023 23:20:23 -0700 (PDT) Received: from hackbox.lan ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id 23-20020a05600c229700b003f42894ebe2sm4388213wmf.23.2023.06.01.23.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 23:20:23 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 1/6] arm64: dts: qcom: sm8150: Use 2 interconnect cells Date: Fri, 2 Jun 2023 09:20:11 +0300 Message-Id: <20230602062016.1883171-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Use two interconnect cells in order to optionally support a path tag. Signed-off-by: Abel Vesa --- Changes since v1: * This patch was not part of v1 arch/arm64/boot/dts/qcom/sm8150.dtsi | 60 ++++++++++++++-------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 197c016aaeba..50a21062ea24 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -55,8 +55,8 @@ CPU0: cpu@0 { next-level-cache = <&L2_0>; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD0>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -84,8 +84,8 @@ CPU1: cpu@100 { next-level-cache = <&L2_100>; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD1>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -108,8 +108,8 @@ CPU2: cpu@200 { next-level-cache = <&L2_200>; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD2>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -132,8 +132,8 @@ CPU3: cpu@300 { next-level-cache = <&L2_300>; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD3>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -156,8 +156,8 @@ CPU4: cpu@400 { next-level-cache = <&L2_400>; qcom,freq-domain = <&cpufreq_hw 1>; operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD4>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -180,8 +180,8 @@ CPU5: cpu@500 { next-level-cache = <&L2_500>; qcom,freq-domain = <&cpufreq_hw 1>; operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD5>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -204,8 +204,8 @@ CPU6: cpu@600 { next-level-cache = <&L2_600>; qcom,freq-domain = <&cpufreq_hw 1>; operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD6>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -228,8 +228,8 @@ CPU7: cpu@700 { next-level-cache = <&L2_700>; qcom,freq-domain = <&cpufreq_hw 2>; operating-points-v2 = <&cpu7_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; power-domains = <&CPU_PD7>; power-domain-names = "psci"; #cooling-cells = <2>; @@ -1760,49 +1760,49 @@ spi15: spi@c94000 { config_noc: interconnect@1500000 { compatible = "qcom,sm8150-config-noc"; reg = <0 0x01500000 0 0x7400>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; system_noc: interconnect@1620000 { compatible = "qcom,sm8150-system-noc"; reg = <0 0x01620000 0 0x19400>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; mc_virt: interconnect@163a000 { compatible = "qcom,sm8150-mc-virt"; reg = <0 0x0163a000 0 0x1000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; aggre1_noc: interconnect@16e0000 { compatible = "qcom,sm8150-aggre1-noc"; reg = <0 0x016e0000 0 0xd080>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; aggre2_noc: interconnect@1700000 { compatible = "qcom,sm8150-aggre2-noc"; reg = <0 0x01700000 0 0x20000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; compute_noc: interconnect@1720000 { compatible = "qcom,sm8150-compute-noc"; reg = <0 0x01720000 0 0x7000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; mmss_noc: interconnect@1740000 { compatible = "qcom,sm8150-mmss-noc"; reg = <0 0x01740000 0 0x1c100>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; @@ -2120,7 +2120,7 @@ crypto: crypto@1dfa000 { <&apps_smmu 0x506 0x0011>, <&apps_smmu 0x508 0x0011>, <&apps_smmu 0x512 0x0000>; - interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 0 &mc_virt SLAVE_EBI_CH0 0>; interconnect-names = "memory"; }; @@ -3547,14 +3547,14 @@ opp-202000000 { dc_noc: interconnect@9160000 { compatible = "qcom,sm8150-dc-noc"; reg = <0 0x09160000 0 0x3200>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; gem_noc: interconnect@9680000 { compatible = "qcom,sm8150-gem-noc"; reg = <0 0x09680000 0 0x3e200>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; @@ -3659,7 +3659,7 @@ usb_2_dwc3: usb@a800000 { camnoc_virt: interconnect@ac00000 { compatible = "qcom,sm8150-camnoc-virt"; reg = <0 0x0ac00000 0 0x1000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; @@ -3668,8 +3668,8 @@ mdss: display-subsystem@ae00000 { reg = <0 0x0ae00000 0 0x1000>; reg-names = "mdss"; - interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>, - <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>; + interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&mmss_noc MASTER_MDP_PORT1 0 &mc_virt SLAVE_EBI_CH0 0>; interconnect-names = "mdp0-mem", "mdp1-mem"; power-domains = <&dispcc MDSS_GDSC>; @@ -4334,7 +4334,7 @@ osm_l3: interconnect@18321000 { clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; clock-names = "xo", "alternate"; - #interconnect-cells = <1>; + #interconnect-cells = <2>; }; cpufreq_hw: cpufreq@18323000 { From patchwork Fri Jun 2 06:20:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 688420 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A377AC7EE2F for ; Fri, 2 Jun 2023 06:20:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233770AbjFBGUa (ORCPT ); Fri, 2 Jun 2023 02:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233742AbjFBGU2 (ORCPT ); Fri, 2 Jun 2023 02:20:28 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90E7718C for ; Thu, 1 Jun 2023 23:20:26 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f6da07feb2so16436465e9.0 for ; Thu, 01 Jun 2023 23:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685686825; x=1688278825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6pGoSQNUEtENmXvmMG8wo2zJ9RR3w0uIozwV1kxs298=; b=gDt4AF9SEvF2br9Horn/IyrzILprR7JvN0btTWGBaSek7yUTEKSiKF6jZCyCm18ugG fUP9lBoBoib8swSQbP8rnppDZb1Syu8wSpeD40hQA7o8w/ZJ2JpWxi0H3n7vdt0p4/7w ZYADRbLcHIOSmlvuZhes4ldGYm06vFl8j1hvtv6+vPNr2rtQSqznMp17jAmnxQ0Po9lS SL+uz9Qs8pJdEW+WFLdinDyCVGuyabZd8CNOipQIQsKhzBjESN2LKLcAB5tPT1tP2f83 HCoq7GR6TXUe6pOK2Oy2UdfA+Y4OQeyPuVe/4vKNq7ZcsO3wNn8GfUE5T0Tz+MbhNl5c I3ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685686825; x=1688278825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6pGoSQNUEtENmXvmMG8wo2zJ9RR3w0uIozwV1kxs298=; b=PUscva+j/0OVlGv8FmdduHbu9vglkjxr/0cmgSo7nBQE5EP89gExEcfQM+wL7Dd2v+ p+tcMwXIQw2cxq8eFmF/o5aKRu3lyQaPfQnpoeBi5OX7hEM2aL/oxyHkZQcrHlVj7jVA 6mRDjK4ab0JoAp9yRtcU7F53NssQNy+rd/NMi9QVKCpcPjKyVloD8dH+sTmCp55EvGPN aQPGqPHCJv6AXLBNDjIxlEwFSC7dsHSQ3mmihY7jt4Z8jbhUpg4qRBjiLymg9rLQ+jCt 42jpHSrqXv3SPfIO8bnBPK+bHDAkawtZercjppJ3/UQaY2fK01BKjJlDKJOL1CKZMWIK 5WJA== X-Gm-Message-State: AC+VfDzwZaiwIA6BYcYg6mADxeyrvyhDWrJuCUs7nDvMw0zqbwuC1uZb H6UQhcBHkm/beiq36dKCgkBEqA== X-Google-Smtp-Source: ACHHUZ4czJGb31gdf4WgrXbauiNzexD/RsY4uV4CvuH0EuexGhvrk/bf+yyzn42f6TPqy2mYDdhEsA== X-Received: by 2002:adf:e905:0:b0:30a:e499:e5ff with SMTP id f5-20020adfe905000000b0030ae499e5ffmr3684220wrm.30.1685686825111; Thu, 01 Jun 2023 23:20:25 -0700 (PDT) Received: from hackbox.lan ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id 23-20020a05600c229700b003f42894ebe2sm4388213wmf.23.2023.06.01.23.20.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 23:20:24 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 2/6] arm64: dts: qcom: sm8150: Add missing interconnect paths to USB HCs Date: Fri, 2 Jun 2023 09:20:12 +0300 Message-Id: <20230602062016.1883171-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602062016.1883171-1-abel.vesa@linaro.org> References: <20230602062016.1883171-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The USB HCs nodes are missing the interconnect paths, so add them. Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio --- Changes since v1: * None. arch/arm64/boot/dts/qcom/sm8150.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 50a21062ea24..18c822abdb88 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -3595,6 +3595,10 @@ usb_1: usb@a6f8800 { resets = <&gcc GCC_USB30_PRIM_BCR>; + interconnects = <&aggre1_noc MASTER_USB3 0 &mc_virt SLAVE_EBI_CH0 0>, + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_1_dwc3: usb@a600000 { compatible = "snps,dwc3"; reg = <0 0x0a600000 0 0xcd00>; @@ -3644,6 +3648,10 @@ usb_2: usb@a8f8800 { resets = <&gcc GCC_USB30_SEC_BCR>; + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI_CH0 0>, + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3_1 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_2_dwc3: usb@a800000 { compatible = "snps,dwc3"; reg = <0 0x0a800000 0 0xcd00>; From patchwork Fri Jun 2 06:20:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 688419 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B120FC7EE31 for ; Fri, 2 Jun 2023 06:20:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233782AbjFBGUd (ORCPT ); Fri, 2 Jun 2023 02:20:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233772AbjFBGUa (ORCPT ); Fri, 2 Jun 2023 02:20:30 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE34D1A2 for ; Thu, 1 Jun 2023 23:20:27 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-30ae901a9ffso1540184f8f.2 for ; Thu, 01 Jun 2023 23:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685686826; x=1688278826; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S23vyLlGFeLhb3KP4r0YPNItKCBQqYIT+QYfxUAegMQ=; b=hZiBtmBCz7VhsRYMjFsRBY/ZlGw9mfTL5i+sWmK9SLJATuA4+S4nmk57I+o4P/Mjws H0pZ2HM5sBKcObUaPsKlFOEyYoHlH6qiLtYSeeKiXYBkkoyqYRqXpm8VVUURBgmrXW6o B3GmiCLf2qqPOS50oBid2xC0Bx5Iey3pKCvrvVaBtKyRF0uWdOYG4OOYgQW8GL4cy+nz NqV3q+K7UIe9VxcXqCyavjZMp1Zanw4ZDAsDtPWjwbKREm5tpUhdsQy9BfId2B+v4sMh zid6ldm7Fk9T+T8kTgMtrXgwQPjoayGhzZqc6w4Lz+xRONVQcbXg6O8tzw3033OGmiQK /vZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685686826; x=1688278826; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S23vyLlGFeLhb3KP4r0YPNItKCBQqYIT+QYfxUAegMQ=; b=felFO4uQTzuPChG5tVAypVVc2mlam+DNRdd/kCna9d1OXNvvNsCZwEq26+kHcV6yo3 WmBbu7I3xI0wuMiJWW1AHV8dyM06x+Z7Ldys13/PvNKudRd/4tXaqLxh9ncE64DB4cC1 N9Z7IoVoEitokbmf5cbM56bTmnh6watIB1z53r0GNaXLKAr1eX2UaL/xkd8uf0Ygia9M HumMESq0261Ru1/0E0vPiAHkwmMuXuv0iF+UH9mmx3wSjXaX4Yo/bXcGf4ia4OQt3KyS +6T8MofHtDP0fip+ThSIUp7AT2LDV14A/ouWu0JR4JVbb1eY/Mg7rH820CdA/xfScAu6 KcnQ== X-Gm-Message-State: AC+VfDwpm6RbR4Y2RYwjFXd7pUnIbYD30frq4bCIp4ZBcSwB2BXtR8Qx ATQTfKrkZRP69MftUxzD0Dq1tw== X-Google-Smtp-Source: ACHHUZ5ux7MxklX9lx0Bs0z3XeOvPtjRGaMHSZJHT9g2O6IcWKf4WcVQc7RvvUop3Fu+jQGXDBWOPg== X-Received: by 2002:a5d:4487:0:b0:30a:ebe2:5e4f with SMTP id j7-20020a5d4487000000b0030aebe25e4fmr3786973wrq.36.1685686826365; Thu, 01 Jun 2023 23:20:26 -0700 (PDT) Received: from hackbox.lan ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id 23-20020a05600c229700b003f42894ebe2sm4388213wmf.23.2023.06.01.23.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 23:20:25 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 3/6] arm64: dts: qcom: sm8250: Use 2 interconnect cells Date: Fri, 2 Jun 2023 09:20:13 +0300 Message-Id: <20230602062016.1883171-3-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602062016.1883171-1-abel.vesa@linaro.org> References: <20230602062016.1883171-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Use two interconnect cells in order to optionally support a path tag. Signed-off-by: Abel Vesa --- Changes since v1: * This patch was not part of v1 arch/arm64/boot/dts/qcom/sm8250.dtsi | 72 ++++++++++++++-------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index e5c60a6e4074..c5787489b05c 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -106,8 +106,8 @@ CPU0: cpu@0 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_0: l2-cache { compatible = "cache"; @@ -137,8 +137,8 @@ CPU1: cpu@100 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_100: l2-cache { compatible = "cache"; @@ -162,8 +162,8 @@ CPU2: cpu@200 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_200: l2-cache { compatible = "cache"; @@ -187,8 +187,8 @@ CPU3: cpu@300 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 0>; operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_300: l2-cache { compatible = "cache"; @@ -212,8 +212,8 @@ CPU4: cpu@400 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 1>; operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_400: l2-cache { compatible = "cache"; @@ -237,8 +237,8 @@ CPU5: cpu@500 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 1>; operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_500: l2-cache { compatible = "cache"; @@ -262,8 +262,8 @@ CPU6: cpu@600 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 1>; operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_600: l2-cache { compatible = "cache"; @@ -287,8 +287,8 @@ CPU7: cpu@700 { power-domain-names = "psci"; qcom,freq-domain = <&cpufreq_hw 2>; operating-points-v2 = <&cpu7_opp_table>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; #cooling-cells = <2>; L2_700: l2-cache { compatible = "cache"; @@ -1789,49 +1789,49 @@ spi13: spi@a94000 { config_noc: interconnect@1500000 { compatible = "qcom,sm8250-config-noc"; reg = <0 0x01500000 0 0xa580>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; system_noc: interconnect@1620000 { compatible = "qcom,sm8250-system-noc"; reg = <0 0x01620000 0 0x1c200>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; mc_virt: interconnect@163d000 { compatible = "qcom,sm8250-mc-virt"; reg = <0 0x0163d000 0 0x1000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; aggre1_noc: interconnect@16e0000 { compatible = "qcom,sm8250-aggre1-noc"; reg = <0 0x016e0000 0 0x1f180>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; aggre2_noc: interconnect@1700000 { compatible = "qcom,sm8250-aggre2-noc"; reg = <0 0x01700000 0 0x33000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; compute_noc: interconnect@1733000 { compatible = "qcom,sm8250-compute-noc"; reg = <0 0x01733000 0 0xa180>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; mmss_noc: interconnect@1740000 { compatible = "qcom,sm8250-mmss-noc"; reg = <0 0x01740000 0 0x1f080>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; @@ -2260,7 +2260,7 @@ crypto: crypto@1dfa000 { <&apps_smmu 0x59f 0x0000>, <&apps_smmu 0x586 0x0011>, <&apps_smmu 0x596 0x0011>; - interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 0 &mc_virt SLAVE_EBI_CH0 0>; interconnect-names = "memory"; }; @@ -3693,21 +3693,21 @@ opp-202000000 { dc_noc: interconnect@90c0000 { compatible = "qcom,sm8250-dc-noc"; reg = <0 0x090c0000 0 0x4200>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; gem_noc: interconnect@9100000 { compatible = "qcom,sm8250-gem-noc"; reg = <0 0x09100000 0 0xb4000>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; npu_noc: interconnect@9990000 { compatible = "qcom,sm8250-npu-noc"; reg = <0 0x09990000 0 0x1600>; - #interconnect-cells = <1>; + #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; @@ -3837,8 +3837,8 @@ venus: video-codec@aa00000 { <&videocc VIDEO_CC_MVS0_CLK>; clock-names = "iface", "core", "vcodec0_core"; - interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>, - <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_VENUS_CFG 0>, + <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI_CH0 0>; interconnect-names = "cpu-cfg", "video-mem"; iommus = <&apps_smmu 0x2100 0x0400>; @@ -4122,10 +4122,10 @@ camss: camss@ac6a000 { <&apps_smmu 0xc40 0x400>, <&apps_smmu 0xc41 0x400>; - interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_CAMERA_CFG>, - <&mmss_noc MASTER_CAMNOC_HF &mc_virt SLAVE_EBI_CH0>, - <&mmss_noc MASTER_CAMNOC_SF &mc_virt SLAVE_EBI_CH0>, - <&mmss_noc MASTER_CAMNOC_ICP &mc_virt SLAVE_EBI_CH0>; + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_CAMERA_CFG 0>, + <&mmss_noc MASTER_CAMNOC_HF 0 &mc_virt SLAVE_EBI_CH0 0>, + <&mmss_noc MASTER_CAMNOC_SF 0 &mc_virt SLAVE_EBI_CH0 0>, + <&mmss_noc MASTER_CAMNOC_ICP 0 &mc_virt SLAVE_EBI_CH0 0>; interconnect-names = "cam_ahb", "cam_hf_0_mnoc", "cam_sf_0_mnoc", @@ -4182,8 +4182,8 @@ mdss: display-subsystem@ae00000 { reg = <0 0x0ae00000 0 0x1000>; reg-names = "mdss"; - interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>, - <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>; + interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mc_virt SLAVE_EBI_CH0 0>, + <&mmss_noc MASTER_MDP_PORT1 0 &mc_virt SLAVE_EBI_CH0 0>; interconnect-names = "mdp0-mem", "mdp1-mem"; power-domains = <&dispcc MDSS_GDSC>; @@ -5671,7 +5671,7 @@ epss_l3: interconnect@18590000 { clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; clock-names = "xo", "alternate"; - #interconnect-cells = <1>; + #interconnect-cells = <2>; }; cpufreq_hw: cpufreq@18591000 { From patchwork Fri Jun 2 06:20:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 688909 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 663F8C77B7A for ; Fri, 2 Jun 2023 06:20:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233795AbjFBGUc (ORCPT ); Fri, 2 Jun 2023 02:20:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233782AbjFBGUb (ORCPT ); Fri, 2 Jun 2023 02:20:31 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 008F71A7 for ; Thu, 1 Jun 2023 23:20:28 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-30aa1eb95a0so1723786f8f.1 for ; Thu, 01 Jun 2023 23:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685686827; x=1688278827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Nk7AcLH40bwRoPuu3w6H//B9z6ymjBrVk4u8ny9PuUQ=; b=tsqGz91YGyPP9bZzBDcRFITWNqjnBQl72UqM0QtfJTsxZyNE1LfGwu2ovQe8l48w2C FqeeWPhI9gSleVZoxp4YHhKED+VpmQgVx4WvDobtViLyXC+2KQfQ3Zhjpxz2h1tLCQ8q WEoC+0I4qOpAhKPWKDHKsFr5R7Gi7Oa9vnqD3vxbxO+OnxTrQdenloD4bOxMoXJFRC4K AWaKDCcX3UWWm9x0jFP5URtdY9lwFrHvw1t4i2ExApu1nGhKhcRbYSeO78VTBT/UrVsh shyCMC7b3cBqtZB/xRb8H58hKtGOJDUU8Orchnn/+p6zSk3+tOyM9PHgopzMp94C2xHg EM+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685686827; x=1688278827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Nk7AcLH40bwRoPuu3w6H//B9z6ymjBrVk4u8ny9PuUQ=; b=Xs12ITRoGUPMjHZQyPgltrqsOYVyXCgBQ2IjY4/F70Llo96sP5EY3Yq1kWpa6L0bDV KibaJd/E9cgSV6DpM9HI1cNPWVspmFXqRJuARXw1EbU8yqFeJ6jlpuwWlPNwvb5DoHqz R1bxks75GGp0sIwQxB9p1zW2Vle7Q74vuhu00KS90HLvhWYVIeluZnSyQS2IuBRku8s5 U6x2UMjM95iNy3rpS437+YpsDw5cQD29JaHNbdAzNNmXBWHCjwlIOxwYIgbcjRBvxODH 1fUiij8Z1bL/a0gOlXqPX5kne0vfi3aYdJU5O6jkyjuQISrmn3JQbx260jSwh6rBVlVd Ve3w== X-Gm-Message-State: AC+VfDziBIl7N4JgoIO9MsWUplIlhqlVBF9ZKp3Y89T61ayWBCJTTqkA dyjFeyjWkTzdlcE5xqDJy0C/GPPSO+4Ean8Miqk= X-Google-Smtp-Source: ACHHUZ4bgaMGzZp9AUtRDJsdbjaUmGj2oHv8ALSu55VqdPyzQOHPtfJ5wC5QM1TOsVTiuSAqqCNgfA== X-Received: by 2002:a5d:6408:0:b0:307:a77c:c16a with SMTP id z8-20020a5d6408000000b00307a77cc16amr3588468wru.29.1685686827600; Thu, 01 Jun 2023 23:20:27 -0700 (PDT) Received: from hackbox.lan ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id 23-20020a05600c229700b003f42894ebe2sm4388213wmf.23.2023.06.01.23.20.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 23:20:27 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 4/6] arm64: dts: qcom: sm8250: Add missing interconnect paths to USB HCs Date: Fri, 2 Jun 2023 09:20:14 +0300 Message-Id: <20230602062016.1883171-4-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602062016.1883171-1-abel.vesa@linaro.org> References: <20230602062016.1883171-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The USB HCs nodes are missing the interconnect paths, so add them. Signed-off-by: Abel Vesa --- Changes since v1: * None. arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index c5787489b05c..08ea6396d364 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3750,6 +3750,10 @@ usb_1: usb@a6f8800 { resets = <&gcc GCC_USB30_PRIM_BCR>; + interconnects = <&aggre1_noc MASTER_USB3 0 &mc_virt SLAVE_EBI_CH0 0>, + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_1_dwc3: usb@a600000 { compatible = "snps,dwc3"; reg = <0 0x0a600000 0 0xcd00>; @@ -3810,6 +3814,10 @@ usb_2: usb@a8f8800 { resets = <&gcc GCC_USB30_SEC_BCR>; + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI_CH0 0>, + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3_1 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_2_dwc3: usb@a800000 { compatible = "snps,dwc3"; reg = <0 0x0a800000 0 0xcd00>; From patchwork Fri Jun 2 06:20:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 688908 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B740CC7EE32 for ; Fri, 2 Jun 2023 06:20:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233542AbjFBGUe (ORCPT ); Fri, 2 Jun 2023 02:20:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233789AbjFBGUb (ORCPT ); Fri, 2 Jun 2023 02:20:31 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E793EB for ; Thu, 1 Jun 2023 23:20:30 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f6ffc2b314so22310715e9.0 for ; Thu, 01 Jun 2023 23:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685686828; x=1688278828; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Sxi6eBq2jAphc7lu/U7YdSiDsxFMsrJEc61rGlwD/7s=; b=olJl3Xlxv+LgPENysCwb5KbDCryb9p/IF/YE/Q6tjOD1OlwlRGqHfEFK+Ero+OyxXD xVSpxNckWV5UXQIFWZZVABCkckvdMwkY2l+qVsvZx23R2hvw4jPzYr4hHzZjjr9nOFi6 p2z3p0Xm8RmmEGYJe7L/ccr9EeM6nbQB9kb1MNxELua1gm7HAVGB3wcMuHiqkTJUrwZ+ 1trgeXpWZq9QEhnvOUm0kcet2scIIim5KnWtZquWVEIchmzZ4gj820hJx35mIrG8abcV MMfE8+lT5tvRbYqtCH24gXOIy6Snk3X8Fj21qiLeU1ZsXb7gP2vw6n63f0XH1kopd7V7 EqEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685686828; x=1688278828; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Sxi6eBq2jAphc7lu/U7YdSiDsxFMsrJEc61rGlwD/7s=; b=WRcXmLlP2QS17fNESFogNZXFWqyXjQ/7s6HzulQnvOELwFpVZNGedtbmGwbDGY4qfK btNq0dmINhomXZitu4UzeCgrXjfDTsUWhBo5Le/516Q0+gNVtTD1d/+N6/AHpfYap3sx VihO3tfufITWP8y0JMMnSpxO+XY0sfdEI/fy6SxiWefqhAVFJRqqv319F5KKtieBJ/11 dOfkR2KUw7V5GZ0JV6yQ0lpxc9NcyA2VORH4YCzYjZnbiVFnthwIZ1705DwtLzJPlzHh LSR/vgdUtNDp/AiElsyO+4z40g+5YEHQCSD4jkmgsJE1RgUdeROuLxVz9ar2JOeK3OWO sxwg== X-Gm-Message-State: AC+VfDxiuxVDQK0Fwp3pgrraIbKUpDC6M34XN7PJL3hNhcPhcjBnZ8sM Jr5rDfwgb+qb3quBqZI4rGcl4w== X-Google-Smtp-Source: ACHHUZ51FIa8CAzDZ/wVjNESoEwUB7SMLDC8difVTyRgvMOsSHMwo+6xIyF19ELQYO41s95/gqbN2Q== X-Received: by 2002:a05:600c:ac9:b0:3f4:27ff:7d4e with SMTP id c9-20020a05600c0ac900b003f427ff7d4emr933880wmr.9.1685686828764; Thu, 01 Jun 2023 23:20:28 -0700 (PDT) Received: from hackbox.lan ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id 23-20020a05600c229700b003f42894ebe2sm4388213wmf.23.2023.06.01.23.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 23:20:28 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 5/6] arm64: dts: qcom: sm8350: Add missing interconnect paths to USB HCs Date: Fri, 2 Jun 2023 09:20:15 +0300 Message-Id: <20230602062016.1883171-5-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602062016.1883171-1-abel.vesa@linaro.org> References: <20230602062016.1883171-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The USB HCs nodes are missing the interconnect paths, so add them. Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio --- Changes since v1: * Added Konrad's R-b tag arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 2798a5d6e5f7..88ef478cb5cc 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2304,6 +2304,10 @@ usb_1: usb@a6f8800 { resets = <&gcc GCC_USB30_PRIM_BCR>; + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_1_dwc3: usb@a600000 { compatible = "snps,dwc3"; reg = <0 0x0a600000 0 0xcd00>; @@ -2373,6 +2377,10 @@ usb_2: usb@a8f8800 { resets = <&gcc GCC_USB30_SEC_BCR>; + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_2_dwc3: usb@a800000 { compatible = "snps,dwc3"; reg = <0 0x0a800000 0 0xcd00>; From patchwork Fri Jun 2 06:20:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 688418 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71104C77B7A for ; Fri, 2 Jun 2023 06:20:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233850AbjFBGUm (ORCPT ); Fri, 2 Jun 2023 02:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233808AbjFBGUd (ORCPT ); Fri, 2 Jun 2023 02:20:33 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C0FDE7 for ; Thu, 1 Jun 2023 23:20:31 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f603ff9c02so16220705e9.2 for ; Thu, 01 Jun 2023 23:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685686830; x=1688278830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8SZlmBe4W9vLL73H/TTCi5vs76P5q4kfXo4iNUwpvog=; b=vldA/uo1C/WVXoGzKY60oskUqNZSBc5PIaJaSHedAZruZQNfEEC/5c7lC+IPwwKZ7B MC9xryptPH1N7ZnIkxCgLonLM9/+sYmnt8EC+K/HSUunMtNo4h876oxyQqYbjMOy9yNO wu11ICLWPUQNoy11RwpGO1xJUEmab1ItDVuUlq8jVNegl+vMwIXHnHluX0P/dOpQFRAi 0hiETtiw/gnNJOFtYu9R2rpDjma+exd6nlkH3+Obut/hYfSrhTd7Hls4wfjPRKzuOy6d VmEkPhqfV4kKAdRYmpPwc1gJzcg18pTJCm1W4DRfOdxVhW1vhHDYbzNZDsdv0OjxexHf geCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685686830; x=1688278830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8SZlmBe4W9vLL73H/TTCi5vs76P5q4kfXo4iNUwpvog=; b=RNxXdZglTSrrPwBDZAJIMw+Vfm8n8M0K2QtvltiM28bEN4+YGzHX0K/u4PIQopnC6u yORHnBx1BiSwFQlAj4d5DRdogkey+Qr0ssy64vxNoBFuY2RwgpLlamHF9mdkMsuDzqS/ jG84kqyOhHhsg8MdB3N1Syp//9QeeRUYVpkmPCbk9L12fAf+WJgIkPpRs35AN8rXHaNY qAd4z+RtmuTaSTXP+b5pgt1ijGqiRb6YHKRc1TDgmGm6fubHT0r36QQ3QzSQswD173Pg +gBhbYXjvu/jZ8bd29inFzeBmN4qMkvfGYGoVYjzsr58R8n82qYCoKVUPqENQO8s4jHr PhTg== X-Gm-Message-State: AC+VfDxOKYikGyRtFJslTplYoFSBExeF/EvRy4sadO95njXJ+tiDGiFb 8KdY8ZCJWl9BlaGr/XZ5V9PBChHN9l2urhlo088= X-Google-Smtp-Source: ACHHUZ4/ldsWeZTvk36B4VbWR7NbgEGMgA3p73P73jjsRLaF9rzYgCqJ8+hZKo55x6eQfrlgMRnbTA== X-Received: by 2002:adf:dd81:0:b0:309:51ec:9ce0 with SMTP id x1-20020adfdd81000000b0030951ec9ce0mr3321475wrl.69.1685686829989; Thu, 01 Jun 2023 23:20:29 -0700 (PDT) Received: from hackbox.lan ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id 23-20020a05600c229700b003f42894ebe2sm4388213wmf.23.2023.06.01.23.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 23:20:29 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 6/6] arm64: dts: qcom: sm8450: Add missing interconnect paths to USB HC Date: Fri, 2 Jun 2023 09:20:16 +0300 Message-Id: <20230602062016.1883171-6-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602062016.1883171-1-abel.vesa@linaro.org> References: <20230602062016.1883171-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The USB HC node is missing the interconnect paths, so add them. Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio --- Changes since v1: * Added Konrad's R-b tag arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 11560ec9f182..5cd7296c7660 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4306,6 +4306,10 @@ usb_1: usb@a6f8800 { resets = <&gcc GCC_USB30_PRIM_BCR>; + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; + interconnect-names = "usb-ddr", "apps-usb"; + usb_1_dwc3: usb@a600000 { compatible = "snps,dwc3"; reg = <0 0x0a600000 0 0xcd00>;