Message ID | 20221210200353.418391-6-konrad.dybcio@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1482175wrr; Sat, 10 Dec 2022 12:25:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5M2V/rjLsWo2W7kJBTOUR1qDw6EHUskgmW+FrFi2B6G2mfXkYvMTYmiK8iCexri1+2EDBF X-Received: by 2002:a17:906:c2d3:b0:7c0:ff72:e828 with SMTP id ch19-20020a170906c2d300b007c0ff72e828mr8638794ejb.54.1670703930467; Sat, 10 Dec 2022 12:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670703930; cv=none; d=google.com; s=arc-20160816; b=HQ8XSbPdXHUr0cl81fnPeAS7bpYHEMD2lqhSfVaX6sC/aqyqdX3u1jq3KsyGe+Lh5U K0HiC8UuDxXr6UbYiLk7GSKsQTYyR4Keq9cujIye9A9OCl3oX0iheEHAWppWIobvxGDa P1KL0qMt/DoGVBV0WXd5H5BLV+fwiP9eGfbWzaWIKQ53hUuMS5F+6LRucQkT7KU7Bfg+ tOsZ7JZxhcwG5fsfylFu4hSAQqfLhs0J76CS6hX06uTw+Pw6nW69S2scWGyhXIeFT+77 um7LxXx7jCr4qglSrSB1Is2zw0CpKwL7yBtfWjrAaEXSDi7i/xzPrvLi6jemXczYMGml wIEQ== 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=iI0a0GEkM+OEMminGresAON2Q/s+/NfY86fzKXWDTVw=; b=Kg24I7SThLcA2G+Md/TyQoqBQ5Vcp1/PJf2s4bKDqKqJXSI8wzKwCQ53kx6iJMStRx K3IRomkbVMJWhsGaon9A1+2B1rYx8i6c4Pfdz/UoIzXeZN6Ud6zboLIuKAj6JXWb+vOd d2wwq6sWXK9EK2Wad/P2XV6DQHvVwTjN5dA7Wre3tgn5gjLVeQvVArT2IMmvAfK0wiCe LGqGvfhWpDHB9i5f4UopeDfmpAFy8/RoakO+FcbyB7TBigcJ3fUHwlHzvgB555WElAWX kvxUa8R0nUk0U4Y9q2n5sRvarpEOO20W8vemE2UK/P8vw0AxGxNymrPqV3WFybOWiKIA hNWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=morpBfXA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg4-20020a1709072cc400b007b299051a9fsi2698713ejc.192.2022.12.10.12.25.03; Sat, 10 Dec 2022 12:25:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=morpBfXA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229793AbiLJUE1 (ORCPT <rfc822;jz.zhangjin@gmail.com> + 99 others); Sat, 10 Dec 2022 15:04:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbiLJUES (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 10 Dec 2022 15:04:18 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A94714028 for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 12:04:17 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id bp15so12199852lfb.13 for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 12:04:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=iI0a0GEkM+OEMminGresAON2Q/s+/NfY86fzKXWDTVw=; b=morpBfXAf66+6TMe3djDbtuV9+H4QQE2nu/zabEQ3yhmBHe+zwSaaq2svVix8I7WTe mEaiiBlObLnTB8VjMFjpWlcI64j2iEdr/03DSgNd7c7gvb4ezZH/jWUOG30jL5BGRuiZ RuLn4acdY3NsnKU2GFFq/dpljzLK9SFkFzfWYgW+7VBRQjOjsaeN4j6oxaC0tdibaHVk w/7y7dN/UHUJIMxxJGsnEmLe9C+y54rqroF5rON0Eze6hnRFXYTzbmnDkNrgRt4qYizX sF4BuxzwlZdYEq/BJFyJpxRgKb/jB8qWOpWpMNb8qBpSoy4Yzys9/smvCQNm1h4teRBh cWlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=iI0a0GEkM+OEMminGresAON2Q/s+/NfY86fzKXWDTVw=; b=kCBL22dM48dhPq8BJTKsKr7Z8bDYbFV4sFemWqmIBS1LuBJmR8CPqGa8vZcHna8A3h 6A6uQYZAMCgAjUQDqkTl2NOXfDxtgJwA0H8/4i9Ycx+dpxl3LYMLDEWlcQUiQzgIgAw/ Te4tX3piABsyzdc0OLX6cwdZgNhvE7GoQtYJYYJMx2du9vrymYJG24DxodERIu/Z5m1V XT/SRmLDqf9oKTK73/UTrwWuFfUaREncewinStpPBKzVtY5y6BeLwo93zceGPprMCItv O/pDnbmAksmlAB6IG1/Gmrccu+iOlSa39+HgJijgNGBwR0jktmkNITfOc3w0a+0fGpZJ l6cQ== X-Gm-Message-State: ANoB5plLdIS15Sst+6/OUAw9XfJEB5cn5rjGhGDRijIzXg9/sFwskw1Y KcWBzRNOZ7eXVWc09qW2ZRPLZQ== X-Received: by 2002:a05:6512:261d:b0:4b5:d:efb2 with SMTP id bt29-20020a056512261d00b004b5000defb2mr3978255lfb.14.1670702657093; Sat, 10 Dec 2022 12:04:17 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id h28-20020ac2597c000000b004b4f1ea713csm839628lfp.73.2022.12.10.12.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 12:04:16 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: qcom: msm8996: Add additional A2NoC clocks Date: Sat, 10 Dec 2022 21:03:53 +0100 Message-Id: <20221210200353.418391-6-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221210200353.418391-1-konrad.dybcio@linaro.org> References: <20221210200353.418391-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751860044604666100?= X-GMAIL-MSGID: =?utf-8?q?1751860044604666100?= |
Series |
[1/5] dt-bindings: interconnect: Add UFS clocks to MSM8996 A2NoC
|
|
Commit Message
Konrad Dybcio
Dec. 10, 2022, 8:03 p.m. UTC
On eMMC devices, the UFS clocks aren't started in the bootloader (or well,
at least it should not be, as that would just leak power..), which results
in platform reboots when trying to access the unclocked UFS hardware,
which unfortunately happens on each and every boot, as interconnect calls
sync_state and goes over each and every path.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Comments
On Sat, 10 Dec 2022 at 23:04, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > On eMMC devices, the UFS clocks aren't started in the bootloader (or well, > at least it should not be, as that would just leak power..), which results > in platform reboots when trying to access the unclocked UFS hardware, > which unfortunately happens on each and every boot, as interconnect calls > sync_state and goes over each and every path. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 95dc10a1deb2..616b5b1b1fb0 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -826,9 +826,11 @@ a2noc: interconnect@583000 { compatible = "qcom,msm8996-a2noc"; reg = <0x00583000 0x7000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; + clock-names = "bus", "bus_a", "aggre2_ufs_axi", "ufs_axi"; clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>; + <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, + <&gcc GCC_AGGRE2_UFS_AXI_CLK>, + <&gcc GCC_UFS_AXI_CLK>; }; mnoc: interconnect@5a4000 {