From patchwork Wed Jan 3 20:15:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184830 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5241967dyb; Wed, 3 Jan 2024 12:18:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVotH+IGcysu33cRYRoWlcONb0U8BI5YJl40zgJ4cDd2zfZEcHEnqcwbSTERWIfrT5TvwQ X-Received: by 2002:a50:d696:0:b0:554:25b6:8fc with SMTP id r22-20020a50d696000000b0055425b608fcmr1621131edi.31.1704313093311; Wed, 03 Jan 2024 12:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313093; cv=none; d=google.com; s=arc-20160816; b=xqUKEkW/b3uGvTbjVoOqqhKKD2D7H6j9W/CV1UKpF0AHRVxUiYSLT4Fcby7THZ9MS9 88jB7FQ8HWZaqQlw4LJShyzq8E9LPbV1SZhOmvrZ2oeHsSiqED3ZzeWKSfkvb447lj8Y f9auBNb9mpiOpLffCGBsKNJXYrx3aY6oDyR6EQtkjKr8a31HVukx5yGttDHDCwTQmYOP kR7z2Cy8Y23MyMBRj31CCzAuyLoRPsULO8DgLx6TKOl2P9N+hvPIHRAkiBghFxfxNFX1 0fl2GPHz09rj66Ho78JrmjJT36k5XEPPH9RSTgTSiXN76aocoel9buWjmXaoaEFkOZbb REpQ== 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=4Lh+gX4BfitGRmiyCa+I+reBWxcyX/LBKMQuNUp0UDA=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=V4JzOOAE+AV15qlaxPFH1yJ/TAbrkHBpO+k7auEPANXSxh5ctuXhLDA4nEkkdPsQgH dIVM7X9ioGSbe6FwaHdT643BOJgSfkslKdDrGrklltPn0U1FpbzQ99C8gWCxWUBnblBT xJMOLr7VuRarCIFtihLvhzIn87X5Ua9hl3XBv+iyYQYasfYpLJ0wUGzmJsjcVkYktW4H fRBZR6fHSWCNs7bQsmpopAuMXY2WWtXzaUG7O8AW4rTjI9jntQvmMj/H1FRxEyQ9Sb4Q Kl/qKRskTeB0F7wNWvsGEoLSIrj35f5FhpDm2UxdXRHUnkt2f87NADR0Q9jOiigKOrs4 wWuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hcsnh19l; spf=pass (google.com: domain of linux-kernel+bounces-15960-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15960-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id di19-20020a056402319300b00553db75eaa6si12532842edb.22.2024.01.03.12.18.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:18:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15960-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hcsnh19l; spf=pass (google.com: domain of linux-kernel+bounces-15960-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15960-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D6F1F1F25D41 for ; Wed, 3 Jan 2024 20:18:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C94A1F617; Wed, 3 Jan 2024 20:16:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Hcsnh19l" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 36F301DDD4 for ; Wed, 3 Jan 2024 20:15:56 +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-f46.google.com with SMTP id 4fb4d7f45d1cf-556ab8b85e3so1495076a12.1 for ; Wed, 03 Jan 2024 12:15:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312955; x=1704917755; 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=4Lh+gX4BfitGRmiyCa+I+reBWxcyX/LBKMQuNUp0UDA=; b=Hcsnh19leAkOapYDv0PoJGXelrH2ZPbC2xJYS3CM3EF4sFAReyi2PCBVSZVVWV28xT pBa+NLGE2W+csKxFvHB+3qOJfmzhVKMDlDUU3jjXWUKFYp0kbcpPc+Cx373vtGQQKli2 PcNHtByODljypjmqlh7IJTJlpi/IPy/E1cR+5EP8lnL/+Xg9ALpgz1U3n8OoKTR5riUG u85W+5a7BFXT1QpLjgH7OaMBnIRZAuBNWgHgMK6njWInKykT5YRwveRswgA8SUQ8gtTC ekaxA6v4/OnLA7wIZgBMPnMw4kty0BPg/4EGfn7ttgi0t12NgZy0JwNL9y0FdTLYwaxM +VYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312955; x=1704917755; 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=4Lh+gX4BfitGRmiyCa+I+reBWxcyX/LBKMQuNUp0UDA=; b=iStM84I5M2ue59oPUpQAMAvhKDTY6e+kD3qXwGvtd8sYshJLjzQghquCTCaaA3+Ydz ClOvzNA8aSsSDAS3/wQnd9nr7Nxg+VJBkQZwIfCaqEMDaKB97ujXqy28/o5SoVuNO4Sl q16mXYPfmWeDMBWkBbDnxroSe9u1Xw0iBaG2vWoMmhjCTM3sjRGTHvuPHGX3LWMeXe4F eKrwQIOlgi12N1/nbNfOSQyeXF2rUSUppLX2Tk0UTQS6cUJ4nqzEzDLmlSJnDvLlpNEp FsKMiHXDriOsrUXx6ya6zd56oVcPLFLdAbNgmrdsvya4/yuzWi0k+VlNv7ZXb2cYe5Lg esUQ== X-Gm-Message-State: AOJu0YxKlZnjk7jQ8WjENkw20LDpxo9Ke/n4PUW513X7QNgJipR+M67c 7UbWCmHA8QKmj+SCuAaAVpm/HPNEpQWnbw== X-Received: by 2002:a50:99d0:0:b0:552:574a:5390 with SMTP id n16-20020a5099d0000000b00552574a5390mr1581036edb.15.1704312955616; Wed, 03 Jan 2024 12:15:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:55 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:34 +0100 Subject: [PATCH v3 4/9] arm64: dts: qcom: qcs404: 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-4-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=1629; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=PsNkQMZIizOIi2f/yNcFOg+NCxoRsS9FEjGHx1dSF5s=; b=VxrgrvAwp05inPdPB+oyWRuE5+jWuGB4k/ubcB1SjcLwr5TQh1LtdeCAk3DBP24OxDi9ct7h4 BaEMKkjXx5HBFMvuoNzCdH9SPtiD6EAAEkIBzxMWsjcrWMunTUXQRwa X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101806028873703 X-GMAIL-MSGID: 1787101806028873703 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/qcs404.dtsi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 6ac64ce9bb68..2f2eeaf2e945 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -558,9 +558,6 @@ bimc: interconnect@400000 { reg = <0x00400000 0x80000>; compatible = "qcom,qcs404-bimc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens: thermal-sensor@4a9000 { @@ -601,18 +598,12 @@ pcnoc: interconnect@500000 { reg = <0x00500000 0x15080>; compatible = "qcom,qcs404-pcnoc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PNOC_CLK>, - <&rpmcc RPM_SMD_PNOC_A_CLK>; }; snoc: interconnect@580000 { reg = <0x00580000 0x23080>; compatible = "qcom,qcs404-snoc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; remoteproc_cdsp: remoteproc@b00000 {