From patchwork Fri Jul 21 15:36:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 705023 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E45DFC001DF for ; Fri, 21 Jul 2023 15:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232036AbjGUPgT (ORCPT ); Fri, 21 Jul 2023 11:36:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbjGUPgS (ORCPT ); Fri, 21 Jul 2023 11:36:18 -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 95C4735A7 for ; Fri, 21 Jul 2023 08:36:10 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4f9fdb0ef35so3408227e87.0 for ; Fri, 21 Jul 2023 08:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953769; x=1690558569; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=yNWCdaJdpClcitMaIL9p7WOYWVXCxYwceUbe7OdUFQU=; b=KPnDZPYYz24xIjuhQDTvVyfwtgZoAkcRKUSpNvEi28AUyssfjyjRGx2AfDR29+iT+h jkXHyasxK/pCcDfxsplUs9Wfd2EIqFnOaTTvJkkJH50BGHcRhVGnn2QvjPwkbi/UZiDQ J/lORLm7/5zQM2HlGlef2I8j/n7AZrJNP4wkliN1M8/l0T+O48CtjV7GzQNd65dqWE97 1a6x/RQIW5Osilx1P7haYO2eoIWzbt4WY0BYVIyKIWphmggtdafTvFYt8jbbDLEuaBDZ rvVgipYwj58GaHvXBnlM7AOLsy1iqoKep5Hg9XxyNxm0GuQrgTbB2DfgyuuFRPaiG3OQ QmGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953769; x=1690558569; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yNWCdaJdpClcitMaIL9p7WOYWVXCxYwceUbe7OdUFQU=; b=LvXFaMdCf33o44cQyHYjan5D2o313+j2hyRT9znTcqpBny333ccJTTPDKvHRrtq4X8 3xwID/UL++rnLxH4urK/A1+9Q33+1Ydk6fhLGQTeKKhczmgsrE/DOmeUhgWiiQUEA/aO 4PTvIDhmbuLbhVvHL+cilaeSfnSUoOwjRG+6ymh5jPVHanXI/NFejgnd0yqImTnYdvx0 3DalAj3o8+Q0OGuwI02R+253trethYl+qI18xVz/S+TtAcip65+64XWNLshErUMP+8nG tZNQYdlPUO/6aTbvhzA/J3LKvKo8o8KIvIk671Xh0JioUjEEC0Z/PhQ+IyZXTG6WbRHU 6rtA== X-Gm-Message-State: ABy/qLaNLHsb7RYGX0YrEfO5G+TGcQ+JPJDiQAHaViLVwYpEVVfDF73J S4sw5qrOWwbDRmE36dsDw7KZzQ== X-Google-Smtp-Source: APBJJlEWsQH7vQXNdvfKKwzYrZg4NjS/CWHBzHmpytj3/CqqwwBopJV9EP+dBekKjX+CEaUD3BBYIg== X-Received: by 2002:a05:6512:23aa:b0:4f8:6ac4:84 with SMTP id c42-20020a05651223aa00b004f86ac40084mr2004363lfv.8.1689953768733; Fri, 21 Jul 2023 08:36:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:08 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 00/11] Clean up RPM bus clocks remnants Date: Fri, 21 Jul 2023 17:36:03 +0200 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAOOlumQC/x2N0QrCMAxFf2Xk2UBTBcFfEZG0y1ywdiV1Ioz9u 8GH+3AuHM4GXUylw2XYwOSjXZfqQIcB8sz1IaijM8QQj+EcCd9L04zWXvdcnj7hujakFKcTE+c xELibuAsm45pnt+taip/NZNLvP3a97fsP+NpVrnwAAAA= 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=2180; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=4fL61MHD0Kzh42mw3EY0OMR0foISpp2lD0Ucz/dWu/E=; b=3NHRlG5hjOMt1yY+y8JJLaNsK0ZsVpOwbUrA2J496pNW0yW124rAEN1I6lTvm1Dq6Lo6g7VQP YT5J0o7v0GACFWTXqLVy2EAGHf1TIGrnOxFV3YVRvxTCuD9HPv5Bl5x X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org After the recent cleanups ([1], [2]) some in-tree abusers that directly accessed the RPM bus clocks, effectively circumventing and working against the efforts of the interconnect framework, were found. Patches 1-5 drop deprecated references and the rest attempt to stop direct bus clock abuses. Depends on [2]. 8996 and 8998 remoteproc changes were not tested, they never worked on my Sony phones. [1] https://lore.kernel.org/linux-arm-msm/20230526-topic-smd_icc-v7-0-09c78c175546@linaro.org/ [2] https://lore.kernel.org/linux-arm-msm/20230721-topic-icc_bindings-v1-0-93e2bc728fb7@linaro.org/ Signed-off-by: Konrad Dybcio --- Konrad Dybcio (11): arm64: dts: qcom: msm8916: Drop RPM bus clocks arm64: dts: qcom: msm8996: Drop RPM bus clocks arm64: dts: qcom: qcs404: Drop RPM bus clocks arm64: dts: qcom: sdm630: Drop RPM bus clocks arm64: dts: qcom: msm8939: Drop RPM bus clocks dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI arm64: dts: qcom: msm8996: Remove PNoC clock from MSS .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 - .../bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 2 - arch/arm64/boot/dts/qcom/msm8916.dtsi | 9 ----- arch/arm64/boot/dts/qcom/msm8939.dtsi | 12 ------ arch/arm64/boot/dts/qcom/msm8996.dtsi | 43 +++++++--------------- arch/arm64/boot/dts/qcom/msm8998.dtsi | 5 +-- arch/arm64/boot/dts/qcom/qcs404.dtsi | 9 ----- arch/arm64/boot/dts/qcom/sdm630.dtsi | 29 ++------------- drivers/remoteproc/qcom_q6v5_mss.c | 1 - 9 files changed, 20 insertions(+), 92 deletions(-) --- base-commit: ae867bc97b713121b2a7f5fcac68378a0774739b change-id: 20230721-topic-rpm_clk_cleanup-1b2f4a1acd01 Best regards,