Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2903153rdb; Tue, 12 Sep 2023 16:22:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhBQ9DYnlvcu7WroJ6kCryJriqc8X1r+KYW9ABydM1C0+vFWb0E5yoIU7C0oGMzgBM3hL/ X-Received: by 2002:a05:6a00:248a:b0:68e:496a:7852 with SMTP id c10-20020a056a00248a00b0068e496a7852mr1424426pfv.27.1694560929971; Tue, 12 Sep 2023 16:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694560929; cv=none; d=google.com; s=arc-20160816; b=ysumG9bbDgtbXZOi8E5XkQAV1VbbZI+/iNMC4D8x/bgBAhOJYSfLOkNMN2fj2ylVTb CXgLYVsjypfC7RgTB32LtolwoxwyITMWY7GK8qMSj4dGipqf8rHehdBgMfG545OL68XF +g7/2EmWna4Nke7GO/gE2Faj8Ue9AI5zF/veknr/3l16WQ+Yoqf/s5CQbSGGnfBTniuS O/ulWkmN4Y9CLk2W2T6nTpzAG5OVcxts5skrpwi0mRsTCxMiipH0jt97ZNc1/uc4bcUr hN9lOkb/3ZuNKBaXg94Q0Z28Iom+BRuJDZK7/yqnuoARc+kraWlAL9MojfiEeklKV9mU +VOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=pf7Q0JvYFIlne7PDYjwGZfU3lmXNj3gLNrHRp1Eh2cc=; fh=lOaqgNFEUd5RF4gDbeg8IgeZIn9pEXvt1//x/58tkRU=; b=An3wEucb6tp/O9QO+SVM+fZIOvf+y9OughZofvadN9mFvcUr7IB0+e8vgdo2Qai6tL lEIsKWZGQBNsKtUilI4ZXgY1bWXl5RXMaa9aH//NR3s0kkHwVd+1C8Sx90bZ9PVLH09O P7DRIvhTmFYFbhA0T6fTQGQMC3QX+n/bs6hoIj81Y8Q0YxsbY3CCuVFGsnp8DUk02WFn xINqUARxGe4olPsDhGvasU2F2h7KYDBGncVyz732sr65P6HFBJk7wIXiv0Vyy7iIc2/k yYdizY+GMVLZDyVYpnsKAhRorGHf55ESTHT91FfS23HBdJ8iO2zisCni0/9Bo8uwGUQQ S7iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xio4Opqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b0054fe295d487si945345pgp.434.2023.09.12.16.22.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 16:22:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xio4Opqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id DF2448215764; Tue, 12 Sep 2023 06:31:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235543AbjILNbx (ORCPT + 99 others); Tue, 12 Sep 2023 09:31:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235526AbjILNbu (ORCPT ); Tue, 12 Sep 2023 09:31:50 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3474E10DD for ; Tue, 12 Sep 2023 06:31:46 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-52a49a42353so7287739a12.2 for ; Tue, 12 Sep 2023 06:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525504; x=1695130304; darn=vger.kernel.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=xio4OpqoETQzdxJCXm7wN0Snnu5/5J/4vQykM2uIA52jQtugvlj1ydkG95tgTMwple 5eN0B+ZAVXNLgbfrG1Hn0613Ho36gqCXoLabk0wg5n67DMp8bk18KNxv5tnQCX4gmnNv rrDZDQ2T2a6ENPpKvj9g7BvcLLqQfi6XGF23jLeyluTPgsx6CVJgHOl/0qCQtxsUlfqh 75/6M5ddCahh4K0htcs3RpOm43WPvtqUZN+K8W9vQvLI2sdRJHQ5iRsm6iANEokQd9qI uzdgQRrPQtYvnDjKcrLGLJZh5XNrHtmU0CWwbLo4JplfmyKyjXLNnygipuzjivRcoWr+ +fCw== 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=GxeLJP/PSc2Bpx0wNIw3X3OHNeVEz4jQ04b9UAd1qlXto6uAFHK4NL9kVzjSOhq6Jz pOv4hRHPFFyjeotXrgQHy4FtYcVakpZHm7I34uNogRz9lyFVTUA3norb/dCNq3ktzPHA QVPtA+9e6bFy8yHlXiSp12BEMBI5fV7mfcLDhiFYbcjA3qUy1vzfgOwgcTq2/fdhpPjy +eCdrToFrBocJj6BW9D4Nl9njY9Z4PNM4fguKXVO/wvrDC3/K5NNGMzdlxMwgtjupcex Vv5IzjOC3L/V0i6peU3GSbIUfXT2u8+9d/AB4/FH2Fvek+U2VvonS7okTvq16P/ee9JD 5LnA== X-Gm-Message-State: AOJu0Yw7dwhtOqzirTln6VP/OGEVGVMDLj3rBxjf1iUI7KAxgiJgIXBU t/319/+pYo+nph9B5ziKfULzpQ== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:31:55 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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, -- Konrad Dybcio