Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7336994rdb; Wed, 3 Jan 2024 12:16:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpRcivaEwNUPg97u1oOZmO1Pbgja6dJtQiPPHZHBPEM1V7q6iOW/3qryDbsE3Toutt2eEn X-Received: by 2002:a05:6e02:1e06:b0:360:5d3a:520b with SMTP id g6-20020a056e021e0600b003605d3a520bmr1468836ila.49.1704312975003; Wed, 03 Jan 2024 12:16:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704312974; cv=none; d=google.com; s=arc-20160816; b=UGE0CLynsmX/UyoQ4h5ejxWQt2LfqlG8NijfAr0q7I3F48CBymLqWLh2vplbIN/s4+ DbkfwjGrV7XDk/JVwhbrHQUGkBUc+zYscHu7P2fFrnhtKEw/zuKv5ENt9Bje1VVhvYle W9P9OBHRxcak0ul4zcqTqu0Po7hpSA7Zoet3FRVLxpUQ53ASEsp6s1SwqWBFBkarg/KP KY1Zr7Jyp9GyKNxCRtKvYyJPsN/cu+ncmGGi0RSrT4gi9iHKtGv97Pdl83j4qhsaWBFd 89dUfMljqCAA3hJKzuS/QnDpA1i3MBKBbKAeiX7EhbP6C404H0CJ0JzuGp40oKrglDIE d0jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=frlFf1yHOjc2m+3mY9Ype8aRhYMmKV1ncn5sHLfJ7ZM=; fh=AUYCOwYj97CyY3/33B2MOfjOb5bg7RfNFhasSXMX6Uc=; b=bqmQZp6KcwhVgbc1rgMoCQQW50Ky9tHrlERK6I2SVjCo3ZtezaH9i/y6lq7ma9xx58 TOM72l+Xg5zwp5PMLABTzwlinBFqSYumIC6ewUGat9rrQ0wDG6/+DPtj0Jp78OeN937q 4cBXDe1d3Ie7SXyCKs8jCuXSIJfZUDHqr6bdPyD+WMJ06zc8POj1MdPp6ohJpvIfX/ok W5R9Sxhb03ER75UCx1udX7iXJMJwZN3l0iLJ4HjuEcEH7/HHR6T6kAFFA3ilbIgiIRm6 Cohn3hH80oyhnuyA0SFOU1wtzdun+Xi26Zmd+CaU34f86kckELfDszCfi7yeW0mjrNUg QtXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XmGrxayA; spf=pass (google.com: domain of linux-kernel+bounces-15956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t9-20020a6564c9000000b005cdfddfe6b8si19174837pgv.725.2024.01.03.12.16.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:16:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XmGrxayA; spf=pass (google.com: domain of linux-kernel+bounces-15956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A4D6F284CF8 for ; Wed, 3 Jan 2024 20:16:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0B571D550; Wed, 3 Jan 2024 20:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XmGrxayA" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBD061D528 for ; Wed, 3 Jan 2024 20:15:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-55539cac143so7680824a12.0 for ; Wed, 03 Jan 2024 12:15:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312949; x=1704917749; 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=frlFf1yHOjc2m+3mY9Ype8aRhYMmKV1ncn5sHLfJ7ZM=; b=XmGrxayAYdH+LAtDTAoX34mbYD6YqhesdUg5fgLUR1Kfz4yn8uSquR8Oa3PKuIKRnt QYoOKMsHp4vPJgQxSdLm5dNWFlimWF2O2sp38vO8p5kC3pSN2v/WVyig9/uMDX4cmIks ng09apJbn+9eokXw8Q8snuKO1bxqz0rNe9kGrbH/yOuLwg4mtFGQWCsmPKV8qRY9Lp1e +m9JprjepEEPH7u2uqIdyN7uKhRD4al/b0fG2NoYYWr2N/xS08rwJYn+AZzUIOKT1B9U UDzTI+6ekGB4UCx7T5cvvmVNTWteXMh2LmZrEtgZZUGYE3oQiVfXGZi7qo0x92+06bp9 oamg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312949; x=1704917749; 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=frlFf1yHOjc2m+3mY9Ype8aRhYMmKV1ncn5sHLfJ7ZM=; b=eas7/9JFpao3VPeQasxBaTnyU3JipsexXpDV2IGQib4AKQhtpZ/JTPddE7W8ZidNEx Xa/6iGA0JvbwtYC7zalpgWEzNe01Z4+k+WMvRqXhNB85mjJwRqQbG7tDlpohJ3GYxFPh c5Y5sshc+KzadY+A+OlnbQehVgX3iZ/X8UnAFmSaHdFWVLntPlmfXYJWJmG+nv0G13nu PDssBZ22oiigP2qaofFlKUN8AbmBseHnZQ9HgF2ULCkIYZ865uMoaAUPBz7ExZJPw3RY 882PYrg0Wcvk7TCkuIHc0f1gzgrHflELo/ol8XMv99P+KM7fAPab9g3LNloH/j7djqAt dIQw== X-Gm-Message-State: AOJu0YzE3cKHKjGM0ZoY+mmXc4FqNSfYXmJqUO3dQoLormEfgXjhVD20 te/AyoX8vsfnNcShxE+XJZr4LssfsoSHdg== X-Received: by 2002:a50:cd56:0:b0:54b:5a6:d083 with SMTP id d22-20020a50cd56000000b0054b05a6d083mr11064235edj.11.1704312949058; Wed, 03 Jan 2024 12:15:49 -0800 (PST) Received: from [10.167.154.1] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id fg9-20020a056402548900b00552691fc7f9sm17549670edb.66.2024.01.03.12.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:48 -0800 (PST) From: Konrad Dybcio Subject: [PATCH v3 0/9] Clean up RPM bus clocks remnants Date: Wed, 03 Jan 2024 21:15:30 +0100 Message-Id: <20230721-topic-rpm_clk_cleanup-v3-0-a66e698932e3@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGLAlWUC/42Nyw6CMBREf4V0bU1vsRhd+R/GmL6ARmybW2g0h H+3sHOli1mcSebMTJJFZxM5VzNBm11ywReodxXRvfSdpc4UJpzxmh050DFEpynG510PjxIr/RQ pKN4eJEhtGJCyVTJZqlB63Ze1n4ahlBFt617b2fVWuHdpDPjevjOs7a+bDJRR3TbaCN1wMOIyO C8x7AN2ZFVm/peGFw1YwRpxqhUo86VZluUD7LJLWhcBAAA= To: Bjorn Andersson , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704312946; l=2657; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=vcpSnXL4yowR+xiN+vXBWoVr/0DyVhhGOHn3Jv5gA4A=; b=QDSEbOyON0M80R7etdM2PmkFfnsciPE+y+b2cOkUUrYFzgcH4/vcB+t1LiigLdpDNhq3nYTAu 2OsohE6UBxFDFPbFKQi56Mvu+AVGNdnbDaegOdZqXPF5HrT9hE/xjKu X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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 v3: - Rebase on next-20240103, drop applied patches - Drop "sdm630: Fix USB2 clock-names order", Krzysztof fixed it in meantime - Improve the commit messages - Pick up tags - Link to v2: https://lore.kernel.org/r/20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org 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 (9): dt-bindings: usb: qcom,dwc3: Fix SDM660 clock description 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 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/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 | 53 +++++----------------- 7 files changed, 30 insertions(+), 107 deletions(-) --- base-commit: 0fef202ac2f8e6d9ad21aead648278f1226b9053 change-id: 20230721-topic-rpm_clk_cleanup-1b2f4a1acd01 Best regards, -- Konrad Dybcio