From patchwork Wed Jan 3 20:15:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184829 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5241918dyb; Wed, 3 Jan 2024 12:18:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8T5VIgNk9GJDU3B7JggNS0r7ckSrCzZK864v7Jveak6gAAiWVswsVkmqff5RmaLN9iHdy X-Received: by 2002:a05:6e02:1c89:b0:35f:f394:f79a with SMTP id w9-20020a056e021c8900b0035ff394f79amr20644447ill.36.1704313087621; Wed, 03 Jan 2024 12:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313087; cv=none; d=google.com; s=arc-20160816; b=Jci5WeedNpGdrYzmAqz+YcS0gzEAH+MArdxfMMSKUZb1ELRcg82drn6iMKzDiDLkOj 598beHmKbVTBeN0m1OzDX3ohmvykWTUAcQ5cPZSq/AYtm7yhM8k6iBW5kFhHJDSBjs8I Aym0bXA5I4dRh08gsXYDUQUXJuBu8v2ihqEJX2dE5CC5kwzURFeHOkzl6WvKAw5cB8av PgaxpUditeyyd1mzZ+4MslF2OrSKXT+nc5kgzPqLxlxBnIvhY039Buz/LVMMBBb1uk0M N0j4n2JPNUZNdSsh52Y3CrKqGP8+0/sLTyCaU1UUV5FBhFT7Z11GIm8813Zns3yVUiho OEMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=pDBL+ZocNtOP6hdOYdCIjY2YelurQjTsh53hsAvej2s=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=faBdKiWBCLCSP+KoCEi4VMzffy22CGHAi1A1EALKAnbIwu16By8TV6lLWTYC20mgy/ kHPbFOPxMNwWDyJ8cnMzg1zea+eAZg67SJAYIFlZkD05ZfntgpMEV9kgFRdiCNO+FjH3 i9uNj+AEnBEbm1HFaLBXQAdCz5SR5Bbbrv2bvgL2wGiZsWidNtpwHOHsoa/1foHqq11Y XPFkipEWGoV1JWvnPLabb07dYEta5+NvJn3Dm8LXz/JI6kox5I5V5sjOY4t26WuUdV7F BX7vOEvf5wJVt66vX0GnpVlL9uDP36d28d7pXez12pYu2k9THX6WAuZIbEO6pneLfyki LS6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LaXd1qRG; spf=pass (google.com: domain of linux-kernel+bounces-15958-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15958-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e18-20020a656bd2000000b005c67da710ddsi23030428pgw.782.2024.01.03.12.18.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15958-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LaXd1qRG; spf=pass (google.com: domain of linux-kernel+bounces-15958-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15958-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 109AAB2445E for ; Wed, 3 Jan 2024 20:17:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0510E1DDD0; Wed, 3 Jan 2024 20:15:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LaXd1qRG" 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 C6B5E1D54C for ; Wed, 3 Jan 2024 20:15:53 +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-556ea884968so496114a12.3 for ; Wed, 03 Jan 2024 12:15:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312952; x=1704917752; darn=vger.kernel.org; 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=pDBL+ZocNtOP6hdOYdCIjY2YelurQjTsh53hsAvej2s=; b=LaXd1qRGQ0wa8uJINhDf0axDrJbOUQvQ2XG70f6OzCKJGjJ+iyaF3YQRf9Anc7+IN3 2FzUyvO3jjjRwlWWkdK1defGim0FtMZGON89EqchFS2+YIsc0K/eoVxb/Xk25wEVBPzU UU44XzMXayA7MOiOHw012rZwtcopXIgy2uuxffqJubXVLqk4xUhi1yxGpJ0sYSUmW4PW 5HldCB9RF25QsrSarbmOYf4J/Uwiu+fQuiaZy/EbOonlJWnlvkdqHJuZQxyVCgKXxXY9 wxhl/JfVM//YBOMSYsZwg7dNSqq2y7UtdFKF+X52KF5NrhpP1OuGlIcWvvKOp+BW2QVg wX/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312952; x=1704917752; 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=pDBL+ZocNtOP6hdOYdCIjY2YelurQjTsh53hsAvej2s=; b=FDJKcpgUqkVmM+Q8kGnqKJYddNGwASVpi+CpDPOntyFRML7nKTnE0cFiTmU9gXyvwP VLkwkbFIcYebI9kn/z7DVG1uaFI7Gx6ewQCRJjsUHHxsm7K99uwisW5Owee8dTZP066I QmnNA9SNz+R9T19fTLXuAR5S3kdxZe7hI6fBRXLyXneTgza3N8BHmJWWypT3n8XfNHI/ SgYI6IQeougn7i7k12tq4SipsDRH16ycsc1h/ficvCaOkbC6ws/v43neNpuUmb0ftA1Z Ln91prQzXBXhWtuEZBQ7O3RjA+lE7bhjlWpB7Je/UBsgPtS9RcUeycmcMEZCUyrl/5KC TniA== X-Gm-Message-State: AOJu0YyoL+LqGvX2e5mT7d/pVHkp3jAhlCaD/tp1WSx4iqXEJ+oJYVC8 JXcFOgI9Mq8uEU/MGqIc9IV7PE0bqZyTBYg0n9mC+pzJyX0= X-Received: by 2002:a05:6402:228a:b0:556:f13c:f537 with SMTP id cw10-20020a056402228a00b00556f13cf537mr104634edb.66.1704312952133; Wed, 03 Jan 2024 12:15:52 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:51 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:32 +0100 Subject: [PATCH v3 2/9] arm64: dts: qcom: msm8916: Drop RPM bus clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v3-2-a66e698932e3@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v3-0-a66e698932e3@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v3-0-a66e698932e3@linaro.org> 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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704312946; l=1623; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Cb6EkrvDlISC/vJRhBJBoI3xr7u+kqmI1z+hE1DNnAQ=; b=XAndl2eWyF+UJpGi5bb0fmCJjHBpe4Yha4R6ToFN5IPMmLxgOzRBBsv9MrICCEYrwn72ddNcN wciE6o3Ppu2BOeRkwg7Fb5h2MWLZLQbtRennRYZ5K7vDjjc50G5ELXb X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101800562628263 X-GMAIL-MSGID: 1787101800562628263 Some nodes are abusingly referencing some of the internal bus clocks, that were recently removed in Linux (because the original implementation did not make much sense), managing them as if they were the only devices on an NoC bus. 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 7f8327b0dbdb..e423c57ddd41 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -540,9 +540,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 { @@ -575,18 +572,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 {