From patchwork Fri Jul 21 15:36:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123927 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp289692vqg; Fri, 21 Jul 2023 08:37:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlGqCkF8nzLcNCqbrf/olozowxdeQ86dDpIvFibzHCsQ7bHNHoAoLWAWGvil3CgSrD9iRNr1 X-Received: by 2002:a17:906:64cb:b0:99b:4668:8666 with SMTP id p11-20020a17090664cb00b0099b46688666mr2300601ejn.6.1689953855173; Fri, 21 Jul 2023 08:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689953855; cv=none; d=google.com; s=arc-20160816; b=KaQHX6ARA0a52AikR7Xqfk3ohuv11rRkrUvOaRwUdqgBjVbehC6UixA6pw/Gi+voQf EMTxExYx02KzofRu7tH91SqpCcRXdg96lb8575p55bd0Y5v+mW/3/9Y/jH49uANwEeN2 qB95jVozQY3swvaxREyxwZiSlC/Ox483Yc3ix3HWt6u1wKcr0affbh9IXl17S0FwyoMl sj4B5TDREzlPhEy3Cy1xYqjs6oT7SeHtxUOEwrSopqw+9N3qFR/Cu/Vo8cKh7USwTqNX eQ05TlO3YJR2fDMXO5Ct4Uz6BUozGxBt/ts90ZeiZWyvFaGglFzF4KeFst7AtDnDT/0m ANSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=UTjKmbTUoKZtW5LXWjKkpdkle/49HkSEc09M87FklNo=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=lkIRfPnM3IRU/IbdZQrAd60SpKn97+ah+/t4GL0sY9B/6UErIP5HlLEbjAntOOpy/P ORu8QRaGbXUtOQRyuq+0vR5c9xNhFT0dp7liIa5xffxJBIh0xcHwpvrrbfG8xbBffCBv QSupKfzpOXArqWDdYOy5ukDomU67M0/4nctfiq3B2sJ5G5JH8yj8oF/3k1iJCEhoIe8N GtVUZ3ldrTissULHzpxT2bv2tEScWwhKXHGdIXhJiEaJkvOnpartAF28OCrdmo8Hl5Bp mQb66yUg+kicoMD68yABjdG73+O6kyJCXRC4fR2bMUMr13fFxk0+FaZLj2S54b1KGq2P s/dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hlq0hxQU; 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 c25-20020a17090603d900b0099b633adf35si1484962eja.454.2023.07.21.08.37.11; Fri, 21 Jul 2023 08:37:35 -0700 (PDT) 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=hlq0hxQU; 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 S231997AbjGUPg0 (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbjGUPgV (ORCPT ); Fri, 21 Jul 2023 11:36:21 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 306AC3A81 for ; Fri, 21 Jul 2023 08:36:13 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fddd4e942eso3000963e87.3 for ; Fri, 21 Jul 2023 08:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953771; x=1690558571; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UTjKmbTUoKZtW5LXWjKkpdkle/49HkSEc09M87FklNo=; b=hlq0hxQUQmlpWkpjMS/jk9PyaX0Ik7KQwX8oy2OZUdcTwuiYNRECG7UkKxH2ABPysj vWvwhSGhDYvs++GCrr9t2E5H9F3+sWBA9+uuo3CYDngcdX6mjO6G6Slpo27mRQQyzVuD KFr1XBqUegbnX9ykut5XuXuHKvsAhghfh8kqbNIBfnEAesF0fp+KErDtylCtVKVw6Plv 47VGq4iaeGLaeIfIxGoq+HMOG9sLopDMnWJndJ3EpqxJ4t85wWa4fAwJ+IqkqhIhLFwt XOnnjz+G1W9GTAqTParvahWzMjoVzRH82Yn3TzcQsgY0pC7/aWeGBflqhfTR00wBt+GR G/NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953771; x=1690558571; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UTjKmbTUoKZtW5LXWjKkpdkle/49HkSEc09M87FklNo=; b=VB978w1p598RAkUiEm5QSNboQkCnFT1gTZDw89gNL0JkoTR5jR6Dblg5I4K3Ip57B6 57JWNQS6s7C16tlkVI/EtqSZLJ8d0rmFE/HfR0vmD1kK42+ev0B451/Ok2RIxiXAvdop xlga6rWZcxDr3vtStVqpatGEfNqzmGPUHAtjiwbQqxvE6u4CU+qzbEpiRhHXDZrh9QKl 9LDCBKCPXG6ATS6oYb9bFsKyp9IcMCc2zCZHvMIz/hOLiXd7isg1OYZk0b1nJx9IBtYn l/tNZ6ervx0Zu94zMPyfd5v067ASCxafzFv5M393eltZB9IbMaURPqZmsYIi3oAkpPSS Fd+w== X-Gm-Message-State: ABy/qLajDnuVyHqrgW4gLB6EPH1gRj2oFAR1JvcGSpZUoE2PHktmqVCr IK0wQMo3OCiEGdS5aYTd3Dc/wQ== X-Received: by 2002:ac2:58db:0:b0:4f8:586a:8af6 with SMTP id u27-20020ac258db000000b004f8586a8af6mr1539094lfo.4.1689953770865; Fri, 21 Jul 2023 08:36:10 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:10 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:04 +0200 Subject: [PATCH 01/11] arm64: dts: qcom: msm8916: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-1-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=1386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+PfDB+JO1ckaONFZ5XbEDUUOVQudNaE7JPqu+DdyCuA=; b=oRqZ6bfcsvDVVyCCaM2/xP8d81Wrkj9U8zvNE+TTofWT7DIaecb3U97xNpFWLS4Ht4TR8YEB5 qU9L/iOANl0Aq5TMOw2WHPffz22Kdqf5jcoeuQy+kLQk9nwNf1vwePO X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772045053596472008 X-GMAIL-MSGID: 1772045053596472008 These clocks are now handled from within the icc framework and are no longer registered from within the CCF. Remove them. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index c4d673904698..ffdb620f6a70 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -519,9 +519,6 @@ bimc: interconnect@400000 { compatible = "qcom,msm8916-bimc"; reg = <0x00400000 0x62000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens: thermal-sensor@4a9000 { @@ -554,18 +551,12 @@ pcnoc: interconnect@500000 { compatible = "qcom,msm8916-pcnoc"; reg = <0x00500000 0x11000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; snoc: interconnect@580000 { compatible = "qcom,msm8916-snoc"; reg = <0x00580000 0x14000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; stm: stm@802000 { From patchwork Fri Jul 21 15:36:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123968 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp337961vqg; Fri, 21 Jul 2023 09:55:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlFQ0HF6O/AlxZQOfoWZCIK1hr2ySQqN+R+YcRyzw6opY8HPHOniu5jHdXsyBF36kuIFJ96v X-Received: by 2002:a05:6a20:cd:b0:137:48ed:7a38 with SMTP id 13-20020a056a2000cd00b0013748ed7a38mr2647148pzh.16.1689958547145; Fri, 21 Jul 2023 09:55:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689958547; cv=none; d=google.com; s=arc-20160816; b=Z5vdesL2bNv2HqEFr2F4EYsJb3l8YcsHuGchVs145BBWEbVLux2Se/CkQ3vA9Hxvfs F3YLtsVuA9FU1dLMMwB9LwZSZolwqISiVZWsDRNS0Xb7oGsmTZSUUerYctpA49CCj5A/ 8MsX0+u+Gw6Swk4Gkg5XUg6MAuC2NsTD8IxKcbqjNyMRWzdJa82ANQsEFX5Bx8/RlqJP +2dZQR+TQOGJDux1JW4YE1uYmkrpr/GBVqfT6zLn3PMuKoPpZIK0a8vUTQ1LmmOiFdT/ IrbAy6h69euNLuleUJw8Nd67ru8rjpg/vTQpJ/i9jywarVp8cxmL59SLulRqlmtvKoJV iNJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=G3NPnuiSNZUn11LWRbZ2MODGSya3GaAu8O7pEYeyDVM=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=uP3i+hEmWjyNjZWdtyWhoF+IiOe4nhiSrCPPjGCzwCykK/3rNkKAx1bdka61lT0TN7 Bt1WK9uyEI49PvFePmt0Vdzz0Z5SRCHcenHbfoQQ8OzQ8cl0DJBP1NGIG3YU0428WiqX nwbokMvJVpIiPOT5g7Lrgoh5/q4WwaF9iHTwvsVAoAI/g8EFL4T85jrfeXCbCAncf00M iyAipNEX3ukcDnGtCwVzG/0GMSEhVKDBMpAWdUbeUfQj2jM36OOMuVmGnNy/YhTJSTAa oTpxzgtizLqeqJaaiWYgOqF1QXn9ATAwqgGHRteNyiTGd3nheWozDpaJ8HZD9Us8Nb/x ujTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DE/ZPdRa"; 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 v62-20020a638941000000b0055c3e870ad5si3372913pgd.269.2023.07.21.09.55.32; Fri, 21 Jul 2023 09:55:47 -0700 (PDT) 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="DE/ZPdRa"; 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 S231778AbjGUPg3 (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjGUPgY (ORCPT ); Fri, 21 Jul 2023 11:36:24 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1F3030E3 for ; Fri, 21 Jul 2023 08:36:14 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f4b2bc1565so3322385e87.2 for ; Fri, 21 Jul 2023 08:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953773; x=1690558573; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=G3NPnuiSNZUn11LWRbZ2MODGSya3GaAu8O7pEYeyDVM=; b=DE/ZPdRase7WTfWSEA9TOdQZa3d38SY0IUuQ+PtXCunHKthoPsnE5NACVmx5gVyR4y ga8k6/EXKLnQPtfmffSXaQ9ZlvcA0rRW6ld99S41Ua29vvqNwEOEcqPM4PU/m8zBG/mk qWwMrWVggOhmWe5Ae4sezHC2bb81SQ3LBkb7N7WQTjj9SODdH7HGR3hznVdoSlNYBNFz z73MF+myvNYlaRdgveXAyU97ofvtOpsNOXldKY9cRQQMk3AnkQzQjVXk3loM1SX6mGI8 Urng17AibZyc2HgwW1+JF4JwlHbHclRLje24JQtTtWQuoErwoDbm13eu2ziY4E8Xbxp5 j6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953773; x=1690558573; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G3NPnuiSNZUn11LWRbZ2MODGSya3GaAu8O7pEYeyDVM=; b=FzG5fRgk182ZiLXxpz4VOP48j+1k6mEG9o8vrW5fjaD8AZLeUTOpHGgUDT7Lu8+XYM nj2nwrCNOWeV/xKVP4sTW1itNjasCJV0FVUPhZAd/4kODweovPhrdlyRsB6h8wy6XZEz S/JsHEaaLoLAXIAVFbt8jnS3JNC2+Pjy2VCdnfYX93oJ1GuK3k/4sbQH2qZpYwe+vClJ uBRO3CFgkjpopXv43xWPnqJU5ionlQE084+lH4odC6nBpcVX4ldaGpmOVCMC4pci883H eJH26gpS0EKnw6CHFK5yOBUWT2sgR4xW1ZTmM5bGWsVxYafvcSQc0VEmKOv8ErccvMeS pS6g== X-Gm-Message-State: ABy/qLYLPNH48Gl+FUVHTOpBErWSwxgA7IOsYIEtXqVj8ZDHmFQboFhl mZ872UqjyiUsCKb4uszp9zuSFQ== X-Received: by 2002:a05:6512:b97:b0:4fb:97e8:bc1c with SMTP id b23-20020a0565120b9700b004fb97e8bc1cmr2051339lfv.54.1689953772699; Fri, 21 Jul 2023 08:36:12 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:12 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:05 +0200 Subject: [PATCH 02/11] arm64: dts: qcom: msm8996: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-2-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=2848; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jEC2qszgf6wzq6do5/+vqhfRa/a+2pz+WPIQyhPAgwA=; b=ZEFbgKrCPxnNy+DNrWd/Cxs9ehtwTfhte9Rt3QZRVcfa8eIiUIO8Vy6IKS7MmwtY3rGFqSWZu UmMd6EO2I0yD/mp+TkCVgMYGO8pAayTPawhiV9pfW6HhAzZBxUXCVg8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772049973360398660 X-GMAIL-MSGID: 1772049973360398660 These clocks are now handled from within the icc framework and are no longer registered from within the CCF. Remove them. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 440557c8eca4..0e1cdb5335eb 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -798,9 +798,6 @@ bimc: interconnect@408000 { compatible = "qcom,msm8996-bimc"; reg = <0x00408000 0x5a000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens0: thermal-sensor@4a9000 { @@ -851,18 +848,12 @@ cnoc: interconnect@500000 { compatible = "qcom,msm8996-cnoc"; reg = <0x00500000 0x1000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_CNOC_CLK>, - <&rpmcc RPM_SMD_CNOC_A_CLK>; }; snoc: interconnect@524000 { compatible = "qcom,msm8996-snoc"; reg = <0x00524000 0x1c000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; a0noc: interconnect@543000 { @@ -882,19 +873,14 @@ a1noc: interconnect@562000 { compatible = "qcom,msm8996-a1noc"; reg = <0x00562000 0x5000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_AGGR1_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR1_NOC_A_CLK>; }; a2noc: interconnect@583000 { compatible = "qcom,msm8996-a2noc"; reg = <0x00583000 0x7000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "aggre2_ufs_axi", "ufs_axi"; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, - <&gcc GCC_AGGRE2_UFS_AXI_CLK>, + clock-names = "aggre2_ufs_axi", "ufs_axi"; + clocks = <&gcc GCC_AGGRE2_UFS_AXI_CLK>, <&gcc GCC_UFS_AXI_CLK>; }; @@ -902,19 +888,14 @@ mnoc: interconnect@5a4000 { compatible = "qcom,msm8996-mnoc"; reg = <0x005a4000 0x1c000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "iface"; - clocks = <&rpmcc RPM_SMD_MMAXI_CLK>, - <&rpmcc RPM_SMD_MMAXI_A_CLK>, - <&mmcc AHB_CLK_SRC>; + clock-names = "iface"; + clocks = <&mmcc AHB_CLK_SRC>; }; pnoc: interconnect@5c0000 { compatible = "qcom,msm8996-pnoc"; reg = <0x005c0000 0x3000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; tcsr_mutex: hwlock@740000 { From patchwork Fri Jul 21 15:36:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp295078vqg; Fri, 21 Jul 2023 08:46:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlGHvZ0n2YPOcQLUGvQpnWyxOQB5nRv2iN6JTYMDKm4qrOvGMUIsp53YZvqZZILFrcGFcp9p X-Received: by 2002:a05:6a20:948a:b0:133:1a76:6bab with SMTP id hs10-20020a056a20948a00b001331a766babmr2086771pzb.47.1689954417348; Fri, 21 Jul 2023 08:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689954417; cv=none; d=google.com; s=arc-20160816; b=oJjJCp0cBi9pckae2SqoHcaZseDWTR49AFXVHiKTN/45IIUMfB3RQ4j2tmLaM5DRP6 sAyfuYg0Z3UqsMFgMWuVcXuenypZlrMj11L8LyvMO5H+HR/9U5z+mfKi/dGtQKis+IcK ftcn34a78HhPZOTJno2JMd/RTYaPi8RqarRhnmMQ73kePdzTBW2uPJ1rBUYpXn+JtEPz CrpjjBp0ootRjU9AI8t6Gg2bG3ZS+0BDi6+krH4yEpxURRCazOsQ9wvppRABLv4x5PkC RgHLghM8S8inJNnGYkwRhEtpuTtCvet0fOQExegfs2UbOxer1IsYXbCPP8mHOLQvCmHE Vsjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=b23eYzPRJKfj2P2RQ046hOn1VBXib0tuiz6T1ABTWjw=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=bYfjcnNTrEq9rHC5R6CsN/0yCKpBRnMcwwcbVMjkscsRtJK+PaLa6M+afQlQjSKSeb nzZVjsmBntIM379oGSPYpRPk0bX/hy+gQDNfzhHb21E+bO1YjAq0SgF/G9zOsey6W5vf ISrOy9tUavm1IVOymVuUvPrkEmtK3X+6KKR02mnJv9EnGZRjoSnQ2rFc6PyFCW0nIBnk O0gDQZOD09py3x6vRdw4E/c17Qi2V0JuCajTnI5+s5q8uo4pjW32rmi2DS+G6b8fb780 aD2Ne70QG5HGoDxTt6NgJGsN/LXZJCLVISOE761jf7SP45tiIaE2sq2njGolW28V2jSF RRiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="m/ZLkxH4"; 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 bv14-20020a056a00414e00b0068250f2627asi3241403pfb.61.2023.07.21.08.46.44; Fri, 21 Jul 2023 08:46:57 -0700 (PDT) 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="m/ZLkxH4"; 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 S231981AbjGUPgc (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231951AbjGUPg0 (ORCPT ); Fri, 21 Jul 2023 11:36:26 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92837359F for ; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fb7589b187so3288469e87.1 for ; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953774; x=1690558574; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=b23eYzPRJKfj2P2RQ046hOn1VBXib0tuiz6T1ABTWjw=; b=m/ZLkxH48+U9U5MMEJdxzIG2BI5fvCGMs4be8OrtxsS3A6KfNx7MfsTxM8vTccfZg0 BK9EfqH7EnU9UO0o62YN1dfCd9SOC4lVA1zlE/BY8g2JfMPtmfyr9OJz/BFtTyMp9JGF yTUYSL5EU95d0LAImaT9nt/IgMGmxcyWyE3cQkC/yu6FiHn1bN/lyw7q6XIsDqjW9nMb obOqRoFyUlWRB6GOdcZj65qMkjAQkW6EE0wNxfKjjpdnt6/Xnlz8KNeUHwDDVirSd2iY qS1wiXNMKP+mRklwjfEK/Z0vm5wTIqG+iSdWb+Qfn8nqhW723YaO8it2UB/4g/UiIe8K GNnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953774; x=1690558574; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b23eYzPRJKfj2P2RQ046hOn1VBXib0tuiz6T1ABTWjw=; b=lsBNwXNT0ffAZqzxWdt1j1kA8RE4aCyuOLKZyFVZmz9VfkcsqB6QSY71bKcN43YBmQ PqFrSwb/yb++F7LwvCo41cAMp1EoOkVhHRsdfIA+f01hr1SMQ72i+UFfgcsEWB0HGlsZ T9HF4/n0+potGDqNHAPyAcOpDq7KUXPSukRQl5cmRtfEIUOiwx1tuc6zTpsWswsHZJIe KELJp5N3PQqcJW9Cx9tIqYZb4o3CknFBhajuvBIBhELNrXaerFH6HVjeNUjpwlOZB09n TrImZ9+uazumtn3d7jZGzWpZ+C2LGw1I/Av9E6yIozOzgAKfMQHTlIixUYFfJZWCep6y GGgA== X-Gm-Message-State: ABy/qLYVbYlMSdz+v5zbFOBGmb16TFkcUmy+PTYHZ6b9vY7615q0piUg lUK5aHvIbohzjx7l8GaDxaYRjA== X-Received: by 2002:a05:6512:3132:b0:4f8:666b:9de4 with SMTP id p18-20020a056512313200b004f8666b9de4mr1484270lfd.20.1689953774519; Fri, 21 Jul 2023 08:36:14 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:14 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:06 +0200 Subject: [PATCH 03/11] arm64: dts: qcom: qcs404: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-3-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=1392; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=elZw7s7ezQcQPS08Afo835usJgWljovasVimyqG1X8E=; b=E0x/lqoRdgU6x9IiGi7wJmdN9MbG1T7aO90Yhahxt2aQ8J98bbw6d68Gi8wzE2p2u6YBOGyjK SH9hSUtq64gAdhLtrdGiAedsdebBYvjGb21swEvXT6fF2gcWQN3S8HI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772045643218747203 X-GMAIL-MSGID: 1772045643218747203 These clocks are now handled from within the icc framework and are no longer registered from within the CCF. Remove them. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 2721f32dfb71..317a0df30b83 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -558,9 +558,6 @@ bimc: interconnect@400000 { reg = <0x00400000 0x80000>; compatible = "qcom,qcs404-bimc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens: thermal-sensor@4a9000 { @@ -601,18 +598,12 @@ pcnoc: interconnect@500000 { reg = <0x00500000 0x15080>; compatible = "qcom,qcs404-pcnoc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PNOC_CLK>, - <&rpmcc RPM_SMD_PNOC_A_CLK>; }; snoc: interconnect@580000 { reg = <0x00580000 0x23080>; compatible = "qcom,qcs404-snoc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; remoteproc_cdsp: remoteproc@b00000 { From patchwork Fri Jul 21 15:36:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp291532vqg; Fri, 21 Jul 2023 08:40:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFN70Sc7mBFbSdL/VKx6nsKqgrv06QCw1rOhm65HeLKmEzs/EqD2yYUfaTCxPpnNXvZQ8oA X-Received: by 2002:a17:907:a056:b0:965:ff38:2fbb with SMTP id gz22-20020a170907a05600b00965ff382fbbmr1896082ejc.1.1689954051296; Fri, 21 Jul 2023 08:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689954051; cv=none; d=google.com; s=arc-20160816; b=psuGU4Z1oAkHHnUWxUUVR2U+kfYEHOglRRHZGfJQk8+qPmGneGULxcNTiMCMAcpo4l v2VWQNqRvtSlt9K7y276kLyfdNJVMrvNCvgpyXmKGwndSccIdVeK0KaJhDNPxhL5ILwM io1D1K+RNFAqWcNlMvl8BkzmBlmp9PGobl0R9dsQRu+mC90jPhjQ9ReCq9+WvDvLZjps riRfZNfyr5oMuWR7iP9ir4YTv+22IYGtwSDDTlL3tSCn+W+fkgzRMfpwHiu4YfwN2B+r 1s2yKyVo7zV04ix7/otninrtFS3W/U7TY9v02YTbTuq1qJEYSJ2CtOtNKE9+EO2QlS0C Bd7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=pIlHw2ogZ0XgpyT5a2fQLp9T4Ff6liHxHgKRmU9UO68=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=POw8DdBTQwiRy4ZrO/7/ZK5Kc0mrQ4hCNKd1uZfWKkwqXlRgmiE2Z+9RDkNrKWB9BB j7UtNIFCpr+UVnQO28Rqz87TP6lr0HxVawm12UBjPQmFIgwdhvZji3EsqJZVbxfvyESh UvH0tWmeiM8Qp50GfUpjL07lLfQG807LFEUjQ3jo5LbnoHW+ahF1YxloL81pp+8QszXS +IFms8cliBg+v67P6zsYVMfBvlMchLThlgpk2WmJanwzKbMY/ELyFURKAUwFb1JjJ9jp SAaCBltF5dl3sF2tnopcCDoQ7CKNbkTrSvFsijg//pu1HqwigRNBVcTPxofVRB9g93ah m0gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zy50hu4y; 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 x20-20020a1709065ad400b0096f6faaaa93si2337194ejs.223.2023.07.21.08.40.26; Fri, 21 Jul 2023 08:40:51 -0700 (PDT) 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=zy50hu4y; 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 S232101AbjGUPgf (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjGUPgb (ORCPT ); Fri, 21 Jul 2023 11:36:31 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 464693A97 for ; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4fbb281eec6so3435566e87.1 for ; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953776; x=1690558576; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pIlHw2ogZ0XgpyT5a2fQLp9T4Ff6liHxHgKRmU9UO68=; b=zy50hu4y+HXxueSAWqaioPZ/HFVq9tak5ikmr/0sSrA+Rq7AVZIzMyzn9qscOMoQqw zAFvVgiee9jeBgQoXpm5O0HPCLJzAFUcSOZo0z9dWjrze0gJbVdxGsUdzRmeKEK0nxZ5 dG0POU+Ua2mBA1fCF5m9wmAJBnUfh7zURSmBoyn2A0HHCU2kfFZIAQyFl7yZ4x0EYHNk B8eRaHV1r7t+4Ztl9FxQzJNENo/UNoTycthj+JOKLyynaK8ocardD9swvkVahbyAcKCh pfkID7HYWMtOkcpyFrFd6/WYHfviDNRbfIRKMa+3EKs6DmNE7t+6oyBKPMPUfeJeleQb Sdbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953776; x=1690558576; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pIlHw2ogZ0XgpyT5a2fQLp9T4Ff6liHxHgKRmU9UO68=; b=H5YLEr2gN2p3q1DBA+hjYHs+3iRCqVrNrMsGPoQg3j9RqSWhCo50h/btm47eEN31LF HulWoN3ZXcARNCPl8vqqFZwc4ilk0NEvfLwgQA9vXqF2flFF4lqrlVuQ3tOWJEKXSJPx ZrJy/OzQzhU0of/pT/FqWCXqF2cwhoMk5P5eZeIuaq6hFHUaxxXma18RZnyBEic3sFIC y8i2CBqZxz2SNXR/scTvCYPnO0nKQxfYMjkQCToTR6kTIqOT5z1gchdayJR0C2NhQ2qN RT6GE+X/p2Aq4VaWhdRdIc93TZhUQuvGsBx0vkq3pYkj1mOrGwPFGoeWaJjWLx1buuQE +U6g== X-Gm-Message-State: ABy/qLZnUxEOk01b63sqshgG4sTPZ88proBc4ey0lNRznCjkvmR+crM5 E3SszbnnC6bHIjWN0X2cCxtiBQ== X-Received: by 2002:a05:6512:3603:b0:4fb:8574:a9c6 with SMTP id f3-20020a056512360300b004fb8574a9c6mr1443838lfs.10.1689953776279; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:16 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:07 +0200 Subject: [PATCH 04/11] arm64: dts: qcom: sdm630: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-4-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=2861; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=x5jUKaqsfGb3BGvxA5arDndONjNA8AMW5HZIIU236+s=; b=i1jiSPly79RK6N25LvtFawjoXWgSozuAiQ8RdGoVUcl54Qspj5vQRhhzy/1arkek4JIHsfQuj c7iiqgymNtuCg7nHYgC4qlsgQT8RKPTJC+c4fktay7gFsWJNMFSactu X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772045259523739520 X-GMAIL-MSGID: 1772045259523739520 These clocks are now handled from within the icc framework and are no longer registered from within the CCF. Remove them. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 83afce56a7b0..5403e34c6cdd 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -605,9 +605,6 @@ bimc: interconnect@1008000 { compatible = "qcom,sdm660-bimc"; reg = <0x01008000 0x78000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; restart@10ac000 { @@ -619,18 +616,12 @@ cnoc: interconnect@1500000 { compatible = "qcom,sdm660-cnoc"; reg = <0x01500000 0x10000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_CNOC_CLK>, - <&rpmcc RPM_SMD_CNOC_A_CLK>; }; snoc: interconnect@1626000 { compatible = "qcom,sdm660-snoc"; reg = <0x01626000 0x7090>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; anoc2_smmu: iommu@16c0000 { @@ -685,16 +676,12 @@ a2noc: interconnect@1704000 { compatible = "qcom,sdm660-a2noc"; reg = <0x01704000 0xc100>; #interconnect-cells = <1>; - clock-names = "bus", - "bus_a", - "ipa", + clock-names = "ipa", "ufs_axi", "aggre2_ufs_axi", "aggre2_usb3_axi", "cfg_noc_usb2_axi"; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, - <&rpmcc RPM_SMD_IPA_CLK>, + clocks = <&rpmcc RPM_SMD_IPA_CLK>, <&gcc GCC_UFS_AXI_CLK>, <&gcc GCC_AGGRE2_UFS_AXI_CLK>, <&gcc GCC_AGGRE2_USB3_AXI_CLK>, @@ -705,10 +692,8 @@ mnoc: interconnect@1745000 { compatible = "qcom,sdm660-mnoc"; reg = <0x01745000 0xa010>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "iface"; - clocks = <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, - <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK_A>, - <&mmcc AHB_CLK_SRC>; + clock-names = "iface"; + clocks = <&mmcc AHB_CLK_SRC>; }; tsens: thermal-sensor@10ae000 { @@ -2264,12 +2249,6 @@ gnoc: interconnect@17900000 { compatible = "qcom,sdm660-gnoc"; reg = <0x17900000 0xe000>; #interconnect-cells = <1>; - /* - * This one apparently features no clocks, - * so let's not mess with the driver needlessly - */ - clock-names = "bus", "bus_a"; - clocks = <&xo_board>, <&xo_board>; }; apcs_glb: mailbox@17911000 { From patchwork Fri Jul 21 15:36:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123935 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp296896vqg; Fri, 21 Jul 2023 08:50:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlEyul4RpSE6BXc5z2NgJfwiN1hk+Cbm0DduJj8OOf+uts6AnVRQqa6pY+jZ0zr97TAQC8cG X-Received: by 2002:a17:902:ed43:b0:1b6:89bf:4db7 with SMTP id y3-20020a170902ed4300b001b689bf4db7mr1664525plb.69.1689954619061; Fri, 21 Jul 2023 08:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689954619; cv=none; d=google.com; s=arc-20160816; b=qw1Bcybcv4BrBwSeB2BkIuGnHb1ML3XSBFxtyE8dyBeX4pbVBDaCqacpBXH/arXrVl IOhfzJ6ZbCKQbrqCnSrfdOAmc2tPOjJRZGsTyJgi0KIeIt0ca/VBocuNzxHpZzXfXedg INbjR4QvYdkvJ9QiXZgHG2ONhxbalpG5blxdNbhoMo+b9kbqSHqCzchQOnqJrhUMID5W M9Dh3dkDUTmKRUEG9QTYRCXo/mWRwMtKHHrNjhULpyGAptKvB/5LP9nyA4ru+U54CyjP 6agrsX7udjsEsfIzkph12X91joDoTwNqNfuBmcH3fAIxMzHs9zo1EUu+vetxfHMOT593 CwDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=MB9Hz9FYPbHP1/W1q13iV8rm76UZfJcQNXKd/dkkVV4=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=dzThvsiY1M2n4a2uwE6Zux3Xab+yTW6wHXaNJMzLklPCtesXkzMVTk8g+coTxHsbi+ Z7cYL7AyZ1CyOPjQ+WO74CLZvb6pq1E+xsmcvWBseuhTUDuaThCGDAsKYptOEujeC5zj YbDAVQAwhIJF6d20dMerc7tH3+1aSl1qBxtJbZvRac8VnsHUxwPZ/+ZKX8wAaUUbb3av 48tvVxwzwPvU9aEeMuKt7v9ZQW1Wq+Fh2mAxiskk6Is5bXiJa3L+N3rk0NhfyvRq9prv AstBpDATETPS+483+80p8vCoWgHfBzqAk1lHzUvYgm7bPuW1XbSaL/G/IYFsVTZZAxYb ZRrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PBwgqH5U; 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 x6-20020a170902a38600b001b886cab00fsi3046259pla.247.2023.07.21.08.50.05; Fri, 21 Jul 2023 08:50:18 -0700 (PDT) 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=PBwgqH5U; 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 S232110AbjGUPgo (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232102AbjGUPgf (ORCPT ); Fri, 21 Jul 2023 11:36:35 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E72613599 for ; Fri, 21 Jul 2023 08:36:19 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fbf09a9139so3422164e87.2 for ; Fri, 21 Jul 2023 08:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953778; x=1690558578; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MB9Hz9FYPbHP1/W1q13iV8rm76UZfJcQNXKd/dkkVV4=; b=PBwgqH5UsJ2Tir9LjymDjGIGJh7NpbtFg1oe6fWQPBpo4ZJvupNFBFkcblcl/aHcFM ixQyEd6V+58qPVE5KGsykpCF5VZt8y+3xqWmgMHjkmPs2s82pDvAv5zqhPbQRaanH/Mb ariCTuIiP+TxpBUXnblBxC7e1KsvlMZDhrMx8Eu9P0ZABovbk/xdj+sSFtWX3YNrSITP 1WApMUG61hJUq4mw/uyBjRt9/eguw0gnI9FR02sb0Xw/L0C2virGAWHt6Z3PSf8sBYiR m8y12WO7g71kY0WGgVnPphyo6svrUgabEwdu8tQgHucW80P+LO2F5QUA3w4KI4f7fEKO h5Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953778; x=1690558578; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MB9Hz9FYPbHP1/W1q13iV8rm76UZfJcQNXKd/dkkVV4=; b=KukhD0GBqrk1aj+GJutLoMaL6GaWjImZZFSf2ZN3csucQPWC9vry925USvtXLeuBN4 IpDIqXcMIruQUFUw2zRE6PC1KW2DNvfSsUfgxCT+xUv5xwVQh/es+IUkW15ezOlY66K3 inlv24X6kezOgksIAXj/VpRz7QmWgQv6KQaEb/1hpNYQiHjzr19WOLvGIqNJZvJLFwTm 6mN5aY82XIw9xr0IV5Y6F1awjSDCexrKViVCgolwDEF0q5ZvwbSbrA30bfo0LQsCBEuh s1f/Rgh/Yw+Xz5xKjTB/tPW+JL3djPADM5NR20N98UPECiZG2UHNelva3g+RqeCnxLIf usmA== X-Gm-Message-State: ABy/qLYVLUz7csUKyfXe76qRP1GgqfmZkV9nUjixGgDMIjVV1RDofcAf 2OnLcCkhhJgNubbaWlHOQaNhcw== X-Received: by 2002:a05:6512:318f:b0:4f8:64f5:f591 with SMTP id i15-20020a056512318f00b004f864f5f591mr1857858lfe.12.1689953778114; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:17 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:08 +0200 Subject: [PATCH 05/11] arm64: dts: qcom: msm8939: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-5-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=1626; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Qeg4jsP0LQ/xvq/rRMXQUJjcZLqeOYzSjY7Gfujapnc=; b=02lxiOlL+/xa6zGsUINMMoPp+4N7qV1gFmQPH61era91armyXFuLHVVIQGitrFPRQLNrQ/dy5 UzE7nxTsWSQAJhLa8OpmKh5dgD4M5DNQtWgNTqIi7hbpdBjzO/YPWGL X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772045854914017719 X-GMAIL-MSGID: 1772045854914017719 These clocks are now handled from within the icc framework and are no longer registered from within the CCF. Remove them. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index af6d644a5d38..a1fda6db0854 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -581,9 +581,6 @@ rpm_msg_ram: sram@60000 { bimc: interconnect@400000 { compatible = "qcom,msm8939-bimc"; reg = <0x00400000 0x62000>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; #interconnect-cells = <1>; }; @@ -627,25 +624,16 @@ restart@4ab000 { pcnoc: interconnect@500000 { compatible = "qcom,msm8939-pcnoc"; reg = <0x00500000 0x11000>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; #interconnect-cells = <1>; }; snoc: interconnect@580000 { compatible = "qcom,msm8939-snoc"; reg = <0x00580000 0x14080>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; #interconnect-cells = <1>; snoc_mm: interconnect-snoc { compatible = "qcom,msm8939-snoc-mm"; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SYSMMNOC_CLK>, - <&rpmcc RPM_SMD_SYSMMNOC_A_CLK>; #interconnect-cells = <1>; }; }; From patchwork Fri Jul 21 15:36:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123980 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp340982vqg; Fri, 21 Jul 2023 10:01:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlGbFq7JJ1lvAY2lkbEc157FSesQ6ud+ASEgtkW0Hh7Y48KC/2GrbLsJMAs+YWhOxRDFR6tJ X-Received: by 2002:a17:90b:d95:b0:263:f648:e6e1 with SMTP id bg21-20020a17090b0d9500b00263f648e6e1mr1666868pjb.14.1689958878545; Fri, 21 Jul 2023 10:01:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689958878; cv=none; d=google.com; s=arc-20160816; b=fK6rRQSp1W/9tptbrMzxTShtYK+8fMf9o/XQecojrNIwheMsBV/hzjL39McDZlG7RG W7oe0zPDwfwigBcF1iFwyiFfOmNr51QUltDYg4a1//xJerG6ugmppxsNuRYXDHCFhR1R UlflgWJ++g4A1oA2va0KVAdcBsRQd3hxOA3uG2gl08y3C8oHAbAYgNqx0QRClS9Phan7 updA7aKuqqL+Yh5G70rwQcO1XTw2IZznKvwZXppZ+PY/JhhPi6FUrhcNpcbrj9qoPrMn YITtPRc43M5HbYZKRV3yhhzyImxCxyggzMWL3Q99pW1MdcgmaIVmwac7osLf4tMChSlx SmZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=p2sN1njN3aeHCAhuuWcfUvrdjTvaL2oixQsZ2bpyQ1g=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=BdZqG5Q/SfTwhMFZ061Zog696EygKobi8qFpt9fzK/IxQdVhEEU1h3Ybpp22YoSaeY +yb4zVDFYklMEugkMk+SUroiVov30vPhJ7TEjKui7tbNyg74ePnYwMV5H8c16BOSVbuU jC4fcusKfuNiNX22wIlHGTaFNHPc8wVQiQuzmAVH1BlTTAyMlrPe33LR8Am6lgN7MghE eNy7HPW+h/lrIUfd8V6jUMo4wHtKKJrsUGKCE8SHPF0BcmuUci9Mh/fh3LPZmMoDnnh/ pWuu6CTBtOSuEurQF1m1U5/0796foSHmoUXdybdF7pnSY6bO7W0zNCO5hR96J5CQF2me ZX4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nwWa2FU+; 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 ng13-20020a17090b1a8d00b002637eb7c214si4011607pjb.80.2023.07.21.10.00.58; Fri, 21 Jul 2023 10:01:18 -0700 (PDT) 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=nwWa2FU+; 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 S231783AbjGUPgr (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232084AbjGUPgl (ORCPT ); Fri, 21 Jul 2023 11:36:41 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D2F3AA3 for ; Fri, 21 Jul 2023 08:36:21 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b70404a5a0so30871181fa.2 for ; Fri, 21 Jul 2023 08:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953780; x=1690558580; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=p2sN1njN3aeHCAhuuWcfUvrdjTvaL2oixQsZ2bpyQ1g=; b=nwWa2FU+6xGFTb3c0+5Rw12YB2Orvv6qTfFZI+1rqyCYs0UHMtNYhrd1kVNvf20sQL +aTOI9oVRWdgnLBM+PgX31KzW8GwdzgcEgdINEvgc7zVjLfck8nQlnmbHSROPhTXz96S BcMgpaPvOuyBeTdfmRtPvsDARzSPNSeTnQ0PSQS64nB9fJGyrFdX5OVM5/53n/ylX7fO hwKnFylzoklJu5Ge0CTpmbSmsVqRotjye4r5mXDdq4CJWwGuntiZouKbzFrqclu3mh+d G8yPSxe/FPLyfGRkWgRDdRGlSBLBu6A8KuOlCHHWKDFbkiv1P6yVvDmVOCdbufE3CXzx e/OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953780; x=1690558580; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p2sN1njN3aeHCAhuuWcfUvrdjTvaL2oixQsZ2bpyQ1g=; b=kJZnSlfRaQN/4kIFWTf389s/RX6sjMNWf3nEX8qzR6zTMRJDAve65tUyTdglHqn74G H/xACeUcSJ6EQWhiRIh6/pqs9qH7LcC6jjGdBfFR8/G7bvOtz7Q3KhvpiaxNQkLuB4Xq 09ahqGoXw2+lHrBeduxo8PsDp/I7Aysvrz2L67M3xDmTGHQTrxq75pXb3SB3Fitx2mjN 7l43CMq7Apg9rvKnOAV7VWvboR/Gbdnx6992qF+v5MBBEXk17UfWm2pCZJf6x7JnXvzq us+MSEAEcm0v4CFXPiVaI7fa1rJAUgbm8TTtLpIkTGaI4BHLZBIYm2veekNUOAgPPm4T IYmA== X-Gm-Message-State: ABy/qLZSR2pkEeh+d5nYsEqzalLFbHixlHcdVI1JSOOIFU8FWohUmBiG MOZsbndfaS4/jGETPtHkcd79pw== X-Received: by 2002:a05:6512:542:b0:4fb:a0f5:d88d with SMTP id h2-20020a056512054200b004fba0f5d88dmr1448884lfl.42.1689953779916; Fri, 21 Jul 2023 08:36:19 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:19 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:09 +0200 Subject: [PATCH 06/11] dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-6-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=926; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=L25Raewd+bgyg8nTW2NMSC0ps463tC/549ws6HCFPTc=; b=0HK9G06u6teuw92h8C3XGl3h5n6kyB7MQf/OmcF0h/Z/U9wvqekT9QS+HVI6yorSL5dKuRvsO trc0ucmNv7gCj4PY4L+1ekZFitQD63iNCSEqxRxirHFJ7y3NONVTzor X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772050321108524473 X-GMAIL-MSGID: 1772050321108524473 The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index a2b0079de039..af78f76734db 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -91,11 +91,9 @@ allOf: clocks: items: - description: XO clock - - description: AGGRE2 clock clock-names: items: - const: xo - - const: aggre2 - if: properties: From patchwork Fri Jul 21 15:36:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123981 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp341037vqg; Fri, 21 Jul 2023 10:01:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWEwgZ3XwqwJw5/KY0rEDm8g+jLoX/UWs89+ysm0bTifMsm/6y/BEqYV2rKJ00BUz+y5Rs X-Received: by 2002:ac2:58cc:0:b0:4fd:d213:dfe9 with SMTP id u12-20020ac258cc000000b004fdd213dfe9mr1614004lfo.5.1689958883293; Fri, 21 Jul 2023 10:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689958883; cv=none; d=google.com; s=arc-20160816; b=iXFEguO7WKJ4na40fj8yUIuOcUTf7fPbZ6drcHQz9C0O64Q2s+K5Zk2gaownhWBHTr LFmGQtisI8hwpCuvowkX5F0o+4kveGhDJ+XuQzP0WgSOkVFygxxjoaD82IWHk7KW4lVv hWIuv+i0FkIu98LTPJXSYRloacmiH3UG8mDO2Qvdr2h3c3KyzCYbBh50fpLphu7vEMD1 mdljHA2yhtCegrodBVSMAEz7ndvAlfjg//6+1UGLxEfmKrltgotvWwvWEvUUQ6Huayzn qEqfNgeKcOgsbj+fP1i1Hv7UDYq0zwC1ackH/2ogx8j7FBtvTEMwn43ozt982GoxIizu s6/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=MNUICTxnlbcuu6TsxJcDmPsv2jDduZwKIbr4jq2nPiE=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=Cnb61N3uUAo6n467lgmqLmwE+BZ8YmQrVRHyvsIpEzBqO1G4QwboGKTUE8UpMy/+OM n10XkV5JXRxUJ6pdziP+zToVF3VSVrpyHB2Zsu4vfRloAuWOSBGc/WWEAH2qXRiNzUNW 34eU6z13W8wlwMHyrX/lg2xr0XZz8USsqk9j6bzLcJcnowM7RnxBKYSUnIm1oy5BrO5g StIim8byO8GnTR3kmVKmClE7Uc43fcFFm7vQN0uH8UrLCXK2/27vTHUl3f0xddcjHX4J uUmjwE2jJfP50Im5dzuxIWETOaNbLR1RVBOqGJ9fnr6tnYTNuUxF9xa4IK8QFPb0I0cY cb0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxO8nHJ9; 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 a5-20020aa7d905000000b0051ff3c2d707si2548110edr.172.2023.07.21.10.00.51; Fri, 21 Jul 2023 10:01:23 -0700 (PDT) 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=FxO8nHJ9; 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 S232157AbjGUPgu (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232118AbjGUPgm (ORCPT ); Fri, 21 Jul 2023 11:36:42 -0400 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 823273AAE for ; Fri, 21 Jul 2023 08:36:23 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fb8574a3a1so3356547e87.1 for ; Fri, 21 Jul 2023 08:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953781; x=1690558581; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MNUICTxnlbcuu6TsxJcDmPsv2jDduZwKIbr4jq2nPiE=; b=FxO8nHJ9tGXbB7IfuT1CmevZoQZXsNk5VstzgldyuWmH8QjicpW5JXPIu9xtfvLm9a suUn7BufbjSbCYuTfPRR74yso2UY7LrNZ8H7zo5UOFdmZFf/wZSyDsDTO3bIVfHmFEG7 Tb+i1Fimkhh0Sk/GKrfyC7a4HW4tgbbpcVcyMn3LqPwK6wP9sCj8T2ThLR+EjQrn7tr+ XTxDxLLt5Pg5UGTNWS93n/+BShi7kU9qD0Z3MCr2q+oTljrjTnGPtJU4UMPBtArmtLlM ByYdk10cMuPejfwfrmh3Ezo7UzhNye/KNP9uy6sQnPE0m2GVsHv4xbcD6flxKDxxxoEk cjVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953781; x=1690558581; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MNUICTxnlbcuu6TsxJcDmPsv2jDduZwKIbr4jq2nPiE=; b=AhxEIm6BVRU9VelQRNTHYSx1etkFsa7uPXGHZsMLQ+9LAXdXJ+MoG4n1gwiBj20xWi /KQVse/IhDmCL84YD6uH18tCwF6+/nNSudVNQ8+MMlovD60oeSprBSKhununTwakdUvC Pgrlnn+pKw4T2w/ipUqDawmoGZzFWzvQLSNltU2emSTFMt8TcwQCkdPpDxahuOAWkumX YUFJFxEESiNcH4p2ZfkH3jpWkgH3+8zSEMKa2Wt7GRPqqJJBvW3m49/gqoeZNhTlFoJ0 5v03XS6W0EcJrq0i7t2S6H0lPj0yWdg+WHli3lbN3rHzb7Lz2zd5PPBMpruY6kWa20HC CBkA== X-Gm-Message-State: ABy/qLYlMYMbrvC+O4fQ01tBIT6rjO1DIOucM2X2ra8ADsAfvNmBLUJf 5BWVqT/qtLBerqJreTwg5z0/2w== X-Received: by 2002:a19:ca1b:0:b0:4fa:d522:a38e with SMTP id a27-20020a19ca1b000000b004fad522a38emr1558937lfg.35.1689953781726; Fri, 21 Jul 2023 08:36:21 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:21 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:10 +0200 Subject: [PATCH 07/11] dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-7-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=1239; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jKrBSqmQqDi2ZJyNjrxGcg/2wJRcACv9okZf11mQ+SQ=; b=7CV1L2V2H/dnJ6ctd3ChhF6D1IGCFWOas9FFBVWupM2vsh9QTQQm+vwKIQ/MRsBI8VBtz9Rn/ EN3vk9syzBUDZMsg+F92NGAADpPy4u0EmxltXCQYU2tWBS4jCrnp+Mv X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772050325787741592 X-GMAIL-MSGID: 1772050325787741592 The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml index 0643faae2c39..971734085d51 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml @@ -220,7 +220,6 @@ allOf: - description: GCC MSS GPLL0 clock - description: GCC MSS SNOC_AXI clock - description: GCC MSS MNOC_AXI clock - - description: RPM PNOC clock - description: RPM QDSS clock clock-names: items: @@ -231,7 +230,6 @@ allOf: - const: gpll0_mss - const: snoc_axi - const: mnoc_axi - - const: pnoc - const: qdss glink-edge: false required: From patchwork Fri Jul 21 15:36:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123932 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp293550vqg; Fri, 21 Jul 2023 08:44:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6AapGjGgjYeG9pvrx/mnE5WZK+zqY3OdfkfQBciSEA6588YySMqVHW8g5NrXOHE7y45+p X-Received: by 2002:a17:903:1c7:b0:1bb:14e7:4fdc with SMTP id e7-20020a17090301c700b001bb14e74fdcmr2675879plh.61.1689954265008; Fri, 21 Jul 2023 08:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689954264; cv=none; d=google.com; s=arc-20160816; b=FDzG/0p6z/4tGpZ1DFr++GSDxLrSxxrrN3zvG8iNwdzk81rK6T+XR0/iCqH/KYtMxC nr5yWcOnlmQcjEVniy92rnDV9hGqK9s+NSRMbw5R4/Z0/fBKKRf7XRjNfdrebKjblwfp EqpFZLLOiLr3wRsG579SbPDutVh9D4dOmn099GhglB0Hyq+BWs/UaVQFdrFCkO509t1w TnWOkVNNV+IM/ERk3lsP8rSPibHS8mBllL6rA7lvnvimT7k9Zf1qImDsl7ydPAK/PXFa XP+ZVJ3gJfb3UW5VWwIs1T1DHihH0QB3UHQnNyG7Sqnmx2QV4vrsX0Uk6w9U1BqEKjJx XnBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=6rR9bzwL/2EkjM64V2HNSB/hpDB3lc0to9f2fDn9XL0=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=b9hPrset6J7SElLJqw0D1r/hTU1fMMvi19U94E9XGrBmPfU4g8qcKNNW1QoVHmqDqF 9fvxMjGxMisJvzWya0WX2TjK0cGBVWI68ywvgO6F9yYt2g+7gTvlV0Ica4nB+M202BuA O/Gj0qAZxdCpC9l9YMgMc0/BtLYb2MqyIxVGBMmB9gZllUrie+9ZUio7o9RcNwUcD/Oo +djP53D6GdugC3HJ652xNgRawZde1xmaiMndxmAXPmdVMYjyj2+CPOOr3qDMeQwTlm+y lJR1+r5QFvKZUm2ZBfkiMepWWhA5cvn+RpwIGa7yawvY/AZizC1PxreAN4Tuca8k0669 vNpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LzF+FGPm; 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 q2-20020a170902a3c200b001b89b7f68b2si3101365plb.42.2023.07.21.08.44.11; Fri, 21 Jul 2023 08:44:24 -0700 (PDT) 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=LzF+FGPm; 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 S232168AbjGUPgx (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232106AbjGUPgo (ORCPT ); Fri, 21 Jul 2023 11:36:44 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61283580 for ; Fri, 21 Jul 2023 08:36:25 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fdd515cebcso3292012e87.0 for ; Fri, 21 Jul 2023 08:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953783; x=1690558583; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6rR9bzwL/2EkjM64V2HNSB/hpDB3lc0to9f2fDn9XL0=; b=LzF+FGPmInmULJlW7yDmvDB++/MvRzyeazoEDUmCXBJyaJRnf7rvrXEpLPHM7s5gog XWdqhIZwheqmaD14OfyzBqFJoAktX75WHALLYU5SzrqnXS/qYz/xmrZG4DP+Rs9lAAud dCh+6eIga/xcW7LVO4Z0suVU1xck/FAbGIyQ+mPE/isw7ME1tWV8b4fCq0+SUuICcK6p YbmmmyskhBK11jBZpUqqph7kZ6mB/4sV9+ay4lq64zuGCuNuTiOVE8eKCrT1bOpcAYdF TfHrAZh5Au71pBCnnBq1AxCUXpcd+PyNq5tLHOR8T4mhMSym2J0ouzN9XQbToF30CqlQ 1/9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953783; x=1690558583; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6rR9bzwL/2EkjM64V2HNSB/hpDB3lc0to9f2fDn9XL0=; b=Iw3TkkjhaXmXmOFVstYMNMaIWl1ranlXOcZTTveiuVjZQQImMuSa4kE4fqbN9zlsGM HRE7rjKQIAbUVfEMvDF9G0Bq56HUckisf0dG9wMztsCXV/UE19x7RWF0jRzUNEDvQWXr vKniZDiZOoAYvniPDy0fF4lj4EZkFJ6GQrRD7azCV+GQWfCdR3wa6gVnmWLypThoVpkz MBRjybjLzcjKWKAIZIhVzCDfcdutNc9J0ZeWjKvM55YCLaBW2whbJkg5YLZlCdGDeNV3 8NneSjcepqffjBlm7WwxuCWGtLUeob93g5P+Z0rIDsa2A0A3AOYqdPJixCAWAjJygkxC sXoQ== X-Gm-Message-State: ABy/qLYbwjAhXN3SYeXautXjCVMrY1cJzWf4YKrIfL4rTcQgxewb1JWa koyK3+EcLFCgr1sZRQKdP4oziQ== X-Received: by 2002:a05:6512:702:b0:4f9:556b:93c5 with SMTP id b2-20020a056512070200b004f9556b93c5mr1625685lfs.40.1689953783658; Fri, 21 Jul 2023 08:36:23 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:23 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:11 +0200 Subject: [PATCH 08/11] remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-8-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=688; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ByX0ALLp37/DmAcaRsF7N8pVxnlU+a9qrdni9EQxdYM=; b=7p9bN2xgsTSOoe6mRmgkKaeIuKX3I7onaaEaaEH3tcMwnDer0NB7Tf5/plVjt2RYiyYxCUXjv oVegS/72310Cy0Hjat0h50d2oPqaAYLvdpqEB5KIcC2M0QMa5DjzgGI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772045483191477535 X-GMAIL-MSGID: 1772045483191477535 The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- drivers/remoteproc/qcom_q6v5_mss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 22fe7b5f5236..394b2c1cb5e2 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -2322,7 +2322,6 @@ static const struct rproc_hexagon_res msm8996_mss = { }, .proxy_clk_names = (char*[]){ "xo", - "pnoc", "qdss", NULL }, From patchwork Fri Jul 21 15:36:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123945 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp300386vqg; Fri, 21 Jul 2023 08:57:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlHZDsWYDgJfbsX1le7OT08R9RNhJfz0Sr9R50vHAluFW07izvlVFKumWSHnC/0I/nMUq7ie X-Received: by 2002:a17:90a:7543:b0:262:ec04:4ff7 with SMTP id q61-20020a17090a754300b00262ec044ff7mr4375593pjk.16.1689955034204; Fri, 21 Jul 2023 08:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689955034; cv=none; d=google.com; s=arc-20160816; b=EnMt4bImqTXkmfWr1uBXHzkPcRfLPZSCWY3BGrmyR9NCZMrNFsfpesm8tfJBtD57mD WltI0RfZD7hiOS02A4/BnvpOaUtge/xXDws0yZtI5LCU4mV3W3TDu/ikzUcM2/bMd5J1 gZRLThGGDBhd/pFC1IPMkyiyix1BEm0Q354x/KJQ+UWfC9Hb4zx1WhZLqZAaWAMcyMG7 wT0+Cx1N7A3JEEJ6ktjNQ/zq5aEmaMjd/CGxjqImq6UBZF2uJJLTf0xI4Deq92KUIe+s YQvigytaC/bCb4VzysQF24pe764nIO3v0uC1hECNkS/f+0BKGeGEJEkpvX4NoJYYznzL iDzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Ytx6skollgD4Zg1m5VdiBVnUPGosx4aLRWdCtyILU8I=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=yXVpjPPWnL/ukCvNXywFADlRdE8xjRRZzH9Ylcdhp7C/olTO2b59XqfWLN3rNqa6zP n474ejCPH++sFL8fDwA7vkHHF6+qVkrFemV53IuQBr/DkiRf3fSGWgVr8iPRlweQAoRf LpzsMr5m3RmijL8JrecC5RY/XRiDjkB9MABQ98VnMRoY4zWqNHy8dkuyKwJpk3NZyfq3 6spEeiFiIuGJf9c9qnGOyP9CA9spJhB4baun7SvtzypwZdNFSdpgTSDdSrTtVR3GSEfe cm0YvxbaF/KOT39xJF+/OHh8lOOSmqOHL4w+Kx8IrZPWU7K1fVx8zxmHHasmo9YNDsQP snwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bJ2VhiB4; 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 n7-20020a6543c7000000b0056387def1cesi1219312pgp.102.2023.07.21.08.57.00; Fri, 21 Jul 2023 08:57:14 -0700 (PDT) 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=bJ2VhiB4; 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 S232062AbjGUPhB (ORCPT + 99 others); Fri, 21 Jul 2023 11:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232139AbjGUPgp (ORCPT ); Fri, 21 Jul 2023 11:36:45 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F18930E8 for ; Fri, 21 Jul 2023 08:36:27 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fb5bcb9a28so3429737e87.3 for ; Fri, 21 Jul 2023 08:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953786; x=1690558586; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ytx6skollgD4Zg1m5VdiBVnUPGosx4aLRWdCtyILU8I=; b=bJ2VhiB4MPs4/cBw/DhYOWkp86OW+Jklj4kSu6REZPu6cyuBahnV4yU9CzAB8j9Won 0QJd6/d/wU7/UvV9ezY55CuerAmFwKpFte62LGBUI6xnySv8ixAikibWOrYOxVil2Z+M 7Qn0Oi6XDJfHip4fDt3qxo2RvLbP1q78pmjjAvKpiwOmrAGWVT77EV3cUgeMaoWd3eah kk4QX9L7H3hMySjcnPW7br+sfPXxjq3b1NmTjqs6PsDD5Hguev+Ugf78S74l+wWCz9jX 3PFRGwrAtNzRMeb17W1ULOECySQbJ4qEq8biDFjQK9Vo8Bzu13U6/aKWmwcVd+SKiS46 t/fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953786; x=1690558586; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ytx6skollgD4Zg1m5VdiBVnUPGosx4aLRWdCtyILU8I=; b=NyBcukxlAvwAAqvMUt53q5oG+2HudMxQSk93AowuG7Z43KZKVciAoI+4NjuoTG5kgU cp04YRDLozX934kiEVhdtag2mFYH79hb3F63W13UHbrNqwBThqcME3sHpIRR4nogT7EF YCuvcw+A+FtZOPoBICJhBulMu8hbYSqt/dJT++99G93NLDZyLgIhXLFUU6WFK2fCYnni Db0QBs6CBZ5Vx2mq4U/v9RuqQerzQutaGD5wgghcpAZMuaccC8J9sfDuf/TIt5g4VrsG fQfUOs32uYLFZLRyezgsyCcPG/bVho5rXVtnd+W3f8N8TSMExfFDNkoXhydC9/ZzKIo9 V8hQ== X-Gm-Message-State: ABy/qLankokI9f/Mp6nouFl66QdvWeuc0/2R+NArJqNLyfh6+YgP2ttz v3J4UZMXjRG4QiRlH2aDn0ggrQ== X-Received: by 2002:ac2:44c5:0:b0:4fb:85ad:b6e2 with SMTP id d5-20020ac244c5000000b004fb85adb6e2mr1570162lfm.50.1689953785787; Fri, 21 Jul 2023 08:36:25 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:25 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:12 +0200 Subject: [PATCH 09/11] arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-9-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=889; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=yoWJ6GJyGYGui/AX8S84WLQnnG8TcTYdKofjI0ZYPxM=; b=sOTxyrH/SrdxXhWJ/GGTUPkJKWi2aeEF4LleEEjzYHyZQp8h2j+VrdYpbCzqLlQIzfaFHn7YB q0/mOioPakXDdWdhGitCOCXbjVgOF4uz32zBf81FjD/dNXKo5Gzn9ci X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772046289888574180 X-GMAIL-MSGID: 1772046289888574180 The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 360fe3edcc08..547c3f9654a6 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1599,9 +1599,8 @@ remoteproc_slpi: remoteproc@5800000 { px-supply = <&vreg_lvs2a_1p8>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "xo", "aggre2"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; memory-region = <&slpi_mem>; From patchwork Fri Jul 21 15:36:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 124013 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp347231vqg; Fri, 21 Jul 2023 10:09:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlHA7c9rFb/Bhwf2SNxK3LC7byY/cfvKB+rwmzmpdoHvgdGG7ACdSwTpJR/exGbDUbsZ/KCN X-Received: by 2002:a17:903:2305:b0:1b8:a70e:8a7e with SMTP id d5-20020a170903230500b001b8a70e8a7emr2829644plh.66.1689959352197; Fri, 21 Jul 2023 10:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689959352; cv=none; d=google.com; s=arc-20160816; b=x/er0ypsdI19+7Wb8qExLVudxVwlTEt38Ze61YqCP76xNIbUbjOgBjVWo1c75Qt2Im /mxchifDKmtCOPbh0WtyU0GW508g7/RaDGJ3NJw9hUWBF2r2qOuTse0CokRaj4/7XRhy xgAei2C+KapHr2sC9XKF3PUFuyOyj8uIS9ovM2d+lT3SJu4y6xCigmmXkJSXRSLjszeV xLQNvvFXEJSHFZmbwaMoX+iSXGXm1YbttSwDk2FUceXhbaIWA51GxE+b1aOz4kMbvvfj sgbNY8wk0nXjifvugHPGzBmrMu69iWH1T0wIdU7yAzvxjKVJaehfT6y2pzT+ZCn33JBO rpXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=13Rk7PvVFVgZK5/Lw6qbyP9+OCjNsRZI/rlhzen0zEs=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=aVvXrfBOao7XMPD94Z8/53V/i/SbkltE3Mud9oFBREO5pSpO1Udeo2Tmfd85iCshKU 1PP5oPb1jqnKLADIPP6ygL2Pk1Kt/IEUKg/Hky6SSwRbXQ1hcFeuzPRfZMhkA9Z99kVH ixDNU04xReSzdJP3TAp3bN+DOjlr3SDFRKWRxczydNj7LMR8wd+Qo/Vnj48hXG7rlbYe vQ4p0aiYbqYKq+hkywS7LH0r4cD1Dn0n6USHCgYmcfUxdpHu/owYfkxHdUHBNFm26JSE X8AWGf4SfVDDmrU0t1EmjLk9vb9Qe6pGWcgGh2GaLU2BGf/Stlai4WC46hX96276sCPl yK1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bFqce4tO; 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 n9-20020a170902d0c900b001b58767a0f7si3150910pln.60.2023.07.21.10.08.59; Fri, 21 Jul 2023 10:09:12 -0700 (PDT) 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=bFqce4tO; 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 S232206AbjGUPhF (ORCPT + 99 others); Fri, 21 Jul 2023 11:37:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232158AbjGUPgu (ORCPT ); Fri, 21 Jul 2023 11:36:50 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB5003A8B for ; Fri, 21 Jul 2023 08:36:29 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fbf09a9139so3422420e87.2 for ; Fri, 21 Jul 2023 08:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953787; x=1690558587; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=13Rk7PvVFVgZK5/Lw6qbyP9+OCjNsRZI/rlhzen0zEs=; b=bFqce4tOxRhS79xNa8XdfoI8bfrfZj7bVLuLQJ997jH83CCHETDazhJLM1T5cdgxmM mn6WfH2AEocg42ZQUfZsqGTRl/vTr/VBHpMsrFaEp8BkW2BpJ6nX1HxlNTnd+Qh6C7ZB 8VclWolHj2b1BLXJh+0dk6YS/yRvnwQdZHWNQASWlBjTKBtgfARQJP8IGLqo5UXkePU3 ITm65ItIj2eYO3X7bBmteeZ1aZ7Ket/3ghR4Me7jv1+wS5sTvsufRNJP376S48Jp0o2C Ldkjjqd47kwjpfQgTfJaDIltr98Wj16ENfqPxTmKEmMTfP5m1nRKQQLbEWvK7P/4g437 g+Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953787; x=1690558587; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=13Rk7PvVFVgZK5/Lw6qbyP9+OCjNsRZI/rlhzen0zEs=; b=dQfT1IthBHMI0WVhXnmRAX331Pzz89LxE2bFfQW4MNWGTbxUDnmRYfZV5B84A3fHyg +hlEE4cLKTWTs8KwsEhO9iDOEcitlqOYZvaJrZ2sv43M9ECmoal0yazrdYEn9x/AduLM fZ7PM3e2i3TBeBooEgu2J83oDWpEl0s790+ibevqVINqPYAB2PtNdFt5oacOE+QY1dFJ 2QYl6uLpm90KN6InWhRU8pKvhmzMEMx8as+PeRlBoI0LF3C/9BLDMGquy1sEDCEJa0JW 2gsd8S8f/IHTfREjBk28/J1h5Pm3o3Wv5CudBbQP4S+63sNLlF85aYZNceaThPqSAZUU h3NQ== X-Gm-Message-State: ABy/qLbcuXAjjv9M1Oq49DYY4Wqq0eXFovIss31emlO4pRakLceT7ulk mv+mOnzCOQwpr6LSzHgdBfOYbg== X-Received: by 2002:a05:6512:1095:b0:4f8:cd67:88e6 with SMTP id j21-20020a056512109500b004f8cd6788e6mr1581174lfg.44.1689953787678; Fri, 21 Jul 2023 08:36:27 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:27 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:13 +0200 Subject: [PATCH 10/11] arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-10-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=853; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=UyucyOzYTTTxD70LJmIkWWdISyHLh4eJOt7zI+SIcSc=; b=SGaVWPNOwmDWM5smDku4+YSzJd6XCRol8QjB7HGBG4KbxEUG8XuLd31PXbP1vd5GvmUWy5bJ6 05VGfY5ItaxCHgSeRCPhqSn2qdl0YCnUhPDoeVgqC6r6XlCP0W3gulg X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772050817295458130 X-GMAIL-MSGID: 1772050817295458130 The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 0e1cdb5335eb..ea383cf178e5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2433,9 +2433,8 @@ slpi_pil: remoteproc@1c00000 { "handover", "stop-ack"; - clocks = <&xo_board>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "xo", "aggre2"; + clocks = <&xo_board>; + clock-names = "xo"; memory-region = <&slpi_mem>; From patchwork Fri Jul 21 15:36:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123976 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp339459vqg; Fri, 21 Jul 2023 09:59:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlExD2jEuZUbwkIbeYfP3rWof9sM6/wPNA1tw9Owfg7NtL5nErhD+80pV6k6upOMsrugPG4+ X-Received: by 2002:a17:906:8a67:b0:994:673:8b00 with SMTP id hy7-20020a1709068a6700b0099406738b00mr1884146ejc.12.1689958746909; Fri, 21 Jul 2023 09:59:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689958746; cv=none; d=google.com; s=arc-20160816; b=u9sqAXHvKGtArhGHPN/Pysgdt3UwOTaUZP6jNnXfFZWEVYJSaOJKKkF9n4t06bblxe 3zUAfq0YVWIF3//hFI+86VbdV+FmlkfJIpFlX5m56fqR+FXj2TXyOJSNitiRoeS+HX8O MgNbBT8mOjmgVqvHl9em1CppCmdTinWbq4CzpuVohAFKFtFoCX3uOoq6gsOFjE5wi5sl uY/IFXUR2o/RQX7RWzSGr1XJ3geHzVClb3lrWsV476Kci38PCFpZqFIQRbERt+Uwo3bF 4+3IJ4i2lO2TIb/ds6XO9HWdxgI1pSkmKlUmZYqu1hpPH00x0NHwSsV7ZjsKbGTCmRJn YmiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=THWAX3w743THTEhVYC5N88ez3dLwO2Lk8YrPTbQ2uWQ=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=EEODOcwedEP5VzkSCQGMlU6sKpMoBQEDIu6pSnro1sOCILclv9OA1ZY2UOM3PGU4Nw 1Rwyghx24h9xcSnzdxe4JMI+C2tklxktU7nqzk0KnB3QhGGCzgQofcUgQSlCCtG3u3+o AM3r//YcJ/V/XOoUQ4iezzIDAocrwJPmn5JD2aYZ6VDbb20+wegxrKKg9Z/cgn5LSyXY CQi8Zg5b/TwfupfoAixT8l8fjDIUU0LbDe32a+TfdT7BUHOALALsx88jKmbdBJcY1mj+ Eo3zxG+UfUPZcRTfwZ8wqp/R0AGmNS3Mp5Bvd6thiXjXGuiLROSg8d4iK8l78xFky4/o IiDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zc2pDHMn; 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 g6-20020a170906868600b0098df1cbe2acsi2423520ejx.997.2023.07.21.09.58.42; Fri, 21 Jul 2023 09:59:06 -0700 (PDT) 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=Zc2pDHMn; 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 S232208AbjGUPhG (ORCPT + 99 others); Fri, 21 Jul 2023 11:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232130AbjGUPgv (ORCPT ); Fri, 21 Jul 2023 11:36:51 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 625ED3C0F for ; Fri, 21 Jul 2023 08:36:31 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f122ff663eso3271464e87.2 for ; Fri, 21 Jul 2023 08:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953789; x=1690558589; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=THWAX3w743THTEhVYC5N88ez3dLwO2Lk8YrPTbQ2uWQ=; b=Zc2pDHMnn+104eUpBLq+IK/vl5PgS4HF7L9+eNw2EtkAJcuH8mb9D7G/BuWx0gcFvu 06uV3Id7PyGHg/C/ZDo7AnVSBj+w2NMPvzZRSCh49MShJQ17hgRrRpV9FHGZd6kAZoOW 4dsrtaeQupndBerbg8lRZ+NmIEUgN5/1HJGLHD337h9neNPms1bRaZrUW9HNKxxPuG1n msWDEuhsrAPu67IyYMdsYgCLANkqzLZS+o7iXhgXamtXqrySAbaYa7KlFgcPG5+JuGkJ QLi9jy4o9EMOXL65mRewfPQW56Z+WbE93NUTmQ+Uc1dfDE0XA1p9JxmEXNziaUSqBgC3 igXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953789; x=1690558589; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=THWAX3w743THTEhVYC5N88ez3dLwO2Lk8YrPTbQ2uWQ=; b=YJs7DhUXK+UZbChxk4n3Xto33fnU4dOCz0Utdk0aS76zRwF2r1/sYmqzEgkSkam8S9 NzXWcGvEG5X4pkNhkcehRVY9CKB6l3SaAvVGr1hj1zxMaHPkGxjvg3cg2ki2W8/1Xm2M yYwFHgzzIQmxE2vxkFSRf+ct1+uQGIQfZhd74owR6R5vlN0MPKe9SQN60vqV1+YR74ZB /OYQQApneOwFJrlhhRXqav/jg7Kd5VTUuAF0hBsupG93oVC96PCbYiECEm8MCucKcF7H wamv3noncl70VtoiCmq8ua77ETRF5dVWK0HMc3jqABjsdkEBQSLXyK3K0CMx5wuF/R/s eQsg== X-Gm-Message-State: ABy/qLaXan/sE7aRRjeKCIBJzfK36hDdUaFYzhrh+AanzNazE7w8HB7u F0yGYe18FSN8QXm5ujdpErOk5A== X-Received: by 2002:a05:6512:702:b0:4f9:556b:93c5 with SMTP id b2-20020a056512070200b004f9556b93c5mr1625835lfs.40.1689953789515; Fri, 21 Jul 2023 08:36:29 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:29 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:14 +0200 Subject: [PATCH 11/11] arm64: dts: qcom: msm8996: Remove PNoC clock from MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-11-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xqAfmjv9xDFyldEQr9RhjbH5IIr8X8QxVfvrmazKooA=; b=3lyZ2+1Q8TRZMiUiZuvJKYOES//5KM1Ad8U/fm+UjV9QIYWZex0N+CGh9q2FjP3VxOyVP4X9x SNYkK+emC8NCHZ7e5boM8NG4dOLFGKHU+EMOdAT7h56v4f3Yy/xClW+ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772050183183440568 X-GMAIL-MSGID: 1772050183183440568 The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it and take the liberty to make the clock-names entries more readable. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index ea383cf178e5..3526a88bfa5f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2479,10 +2479,15 @@ mss_pil: remoteproc@2080000 { <&gcc GCC_MSS_GPLL0_DIV_CLK>, <&gcc GCC_MSS_SNOC_AXI_CLK>, <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>, - <&rpmcc RPM_SMD_PCNOC_CLK>, <&rpmcc RPM_SMD_QDSS_CLK>; - clock-names = "iface", "bus", "mem", "xo", "gpll0_mss", - "snoc_axi", "mnoc_axi", "pnoc", "qdss"; + clock-names = "iface", + "bus", + "mem", + "xo", + "gpll0_mss", + "snoc_axi", + "mnoc_axi", + "qdss"; resets = <&gcc GCC_MSS_RESTART>; reset-names = "mss_restart";