From patchwork Tue Sep 12 13:31:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381660 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1BA30CA0ED6 for ; Tue, 12 Sep 2023 13:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1ig6u731kqIVBRkMNEziklZ8utCQfXMOE+CVu4+3+oI=; b=VywPnFksjhqStE DADPGzKd2Y1QoH+dE5g6+hV3m/5g7+urF4p9YPRQMgd9XJw9yKEa6XJz7wE8HDTKbvXZ0RwhtExoj RNxU/7V/6K8WHIG1K+mRKlVSdt4pxnkvHrYhVzAWzLlGGIVj/7+14BWY55v8pMYz2flV41TumxQDU NdiXyUjt0E4LpUiAfLtdr9iIoMvSmRqq7m6AOwvZpben/PcikCeK/Zcz10l+Ezloqp61O3ILSuBwr Br8x2JWKUN3WTbwCEu/4tyE88dZ6FYBIfR6+N7kGb9tmF0y+kowCqtQUeWw99zMpWcMmD4gibyZBF 4LKXcR/KSoz5khSENhEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg3Ud-003Qhv-0W; Tue, 12 Sep 2023 13:31:51 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg3UZ-003Qh1-0t for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 13:31:48 +0000 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-52c4d3ff424so7303103a12.0 for ; Tue, 12 Sep 2023 06:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525504; x=1695130304; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=pf7Q0JvYFIlne7PDYjwGZfU3lmXNj3gLNrHRp1Eh2cc=; b=v3/8ge43P0uIcXdntlHElteyHV6EZ91YRr8OrH7UmH6mzhQarNuvwkp/0kf1Y2g7Ns RZYNLK2pu1p+x7HCqyMHNEd6CKyjEnAFbnBonfTpix2eCngIvPd7dgcCE1wKAM4X1imm ZewXEqR42q5vyBTg3o1PGPZSYzcGSm3c7uJ6JE4a7kXJTx47iiN/ILrWrw7Es6lwApto aAgFgHrxlxbwrhHquKmdGoPLlJb6STNezErVY7JvxVKop3Z9hjlszkUtfpI0LYdeVEYD SaRcCgIz18G5B5TtyjbTmoLPEuOOzyloRtxJXyTKe2V040HV6UxjOdkAjY32WcTPKKw+ XusQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525504; x=1695130304; 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=pf7Q0JvYFIlne7PDYjwGZfU3lmXNj3gLNrHRp1Eh2cc=; b=cmUnW6kY/nSaB4CqpJgCVyH6vJnhseqXE3AeufNJTIwzwFDvkLF2vNyrfhfRNKfcyE HWZ5aC3Z7ntkJPj9E0yne76Rsd5Ej+JxqWD3LvJsmOQ+N7HJjNULP9a/uu4qFbwKAZHR X+WbMDRNaDqWwUgcjmcC2vAx4FRQ0e5dP7tGYRwNHRzXM49xeCPwZ1cWp/BiWWKm67/O e9AGf69sBXx8m3h2wDBzWR55RQNWb5eAz9ysp+cIOw6ayckqHgIhCiNoUadybSwA+7L5 7XtSH1efZEBJ0TuCHznEfmfvSUMYXpd1KCMOAUdJbTfaxq5G8DT4YtDGBr2VaoF356xQ nK8Q== X-Gm-Message-State: AOJu0Ywfd3MwA6wPu1QpF+AcqfooE5vuuDJtqfjJD79txZbp4qRGqluO R8bYwkcgCCrf9vv5jNE/qkG9UA== X-Google-Smtp-Source: AGHT+IHs3WNmvXll913Vtl7VEMAeUTqwDBcvXIxvRE7XHalmFOO8Jj4DA8k5vfr1c5fYL8bYrgKVGg== X-Received: by 2002:aa7:cb52:0:b0:52a:46a7:4597 with SMTP id w18-20020aa7cb52000000b0052a46a74597mr11050775edt.33.1694525504563; Tue, 12 Sep 2023 06:31:44 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:44 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v2 00/14] Clean up RPM bus clocks remnants Date: Tue, 12 Sep 2023 15:31:38 +0200 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADpoAGUC/4WNQQrCMBBFr1KyNpJEW8GV95Ai6SRtB2MSJm1RS u/u2Au4+Iv34fFWUTyhL+JarYL8ggVTZDCHSsBo4+AlOmZhlDmpi9FyShlBUn49IDx53sY5S92 Z/my1Bae0YLezxcuObISR7TiHwGcm3+N7j91b5hHLlOiztxf9e/9lFi2VhL4BV0NjtKtvAaOld Ew0iHbbti+Y0PxF0AAAAA== To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=2936; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=CvKjOth/TKTTVZAvkrUVTofGQmTgRncGfe147qHke1o=; b=Tci9qXx/tjv8ZOMsqCVXiSQ42Qi3ElBi6aWcjDlQOIk1Sg0zL92juBFDyp074pEuEfUZxjsZE p76V4XQ0yCRAKl1Pb5rneYNsCvWvfQ9Kz0tD4RA1w9DPdhHpBTn6P6q X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_063147_334281_0AC927E9 X-CRM114-Status: GOOD ( 10.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- Changes in v2: - Incorporate [3] into the sdm630 patch, add required bindings fixes - dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock: Merge entries (krzk) - Pick up a-b (krzk) - Add "sdm630: Fix USB2 clock-names order" - Link to v1: https://lore.kernel.org/r/20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org [3] https://lore.kernel.org/linux-arm-msm/20230719073520.2644966-1-alexeymin@postmarketos.org/#t --- Konrad Dybcio (14): arm64: dts: qcom: msm8916: Drop RPM bus clocks arm64: dts: qcom: msm8996: Drop RPM bus clocks arm64: dts: qcom: qcs404: Drop RPM bus clocks dt-bindings: arm-smmu: Fix SDM630 clocks description dt-bindings: usb: qcom,dwc3: Fix SDM660 clock description 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 arm64: dts: qcom: sdm630: Fix USB2 clock-names order .../devicetree/bindings/iommu/arm,smmu.yaml | 2 +- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 20 +------- .../bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 2 - .../devicetree/bindings/usb/qcom,dwc3.yaml | 6 +-- 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 | 55 +++++----------------- drivers/remoteproc/qcom_q6v5_mss.c | 1 - 11 files changed, 34 insertions(+), 130 deletions(-) --- base-commit: 66d9573193967138cd12e232d4b5bc2b57e0d1ac change-id: 20230721-topic-rpm_clk_cleanup-1b2f4a1acd01 Best regards,