From patchwork Wed Jan 3 20:15:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184828 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5241684dyb; Wed, 3 Jan 2024 12:17:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFH5iSyPvWkeu9I+eO18rpisXd8eivztchWQrc2lGDMYvcM9+q7VrCfl4YMiOrwVzg4oIL6 X-Received: by 2002:a05:6e02:1b87:b0:35f:f035:3237 with SMTP id h7-20020a056e021b8700b0035ff0353237mr25970701ili.88.1704313053983; Wed, 03 Jan 2024 12:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313053; cv=none; d=google.com; s=arc-20160816; b=0ggiZwy1OOT9xTz7HDAFNQ3a4nGeRsjzLlGPv4oaePWB8lhrgv1DNp0npBXoIIXguw VCvarn6k935mLEmeTrh3jV8NvqfGfmhcCqMVMGZHgRiPsZNvtRT7RoTG5LqnYpAStEtj em6UfRVMQFgeDs9ick5J8hiH+jKBebt97YKUmiOW1n8J/vL6mubAgyrf4a1e1V6Hhi6Z n9z8aVgOHpqhN/TgV9NcjMIT+7fNBl5tS5rD1gW2uFNXBcz4CzEWUOLwL9nfm0XBwXjf SW2NAafRA3o+5Ia6aDvxeEbZhTN3l+V45KAczH8X9zQ3RJI9Biloxkg0YjIEToanz+cP 6UVg== 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=kA0goKiU/w/eOBM3jnw0mpxXWTxX87LBykvS1BaWQpQ=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=zVOagi7k/FqX6ROMZW+JXHf4dow4GMR/IxMaaFiaj+8u9Jwkx3H578eOWm16Lt89BD fWyZXB1WAf3dTkzdhUc0gZzKUWd5jKUmAfTEYSv3e6QaZQ0fpaXg4YuDew9vJaIfb5eI wB29x3tmS6ezhOKO2tPcUpcXoVvmP3eba52GmCb2xUJ3XUF9TVhezoVlEMoohFI9glCO Gxq/5Gtic/koziL52WSFXYTM/aTfKHKdgk3rQKrFV+7VO53fi3fZ424sRBkn9Jw8qN39 a44TYzCi17xiGQBFUrWSB5QEiNIaChCRD18eLUg+oJjhS4NAZBfC2UnpmJSX9r0AiYUR 7A5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dOm3VXUt; spf=pass (google.com: domain of linux-kernel+bounces-15957-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15957-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 bs123-20020a632881000000b005c688ef7549si22258470pgb.98.2024.01.03.12.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:17:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15957-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=dOm3VXUt; spf=pass (google.com: domain of linux-kernel+bounces-15957-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15957-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 53DBEB24589 for ; Wed, 3 Jan 2024 20:16:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10D831DA3A; Wed, 3 Jan 2024 20:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dOm3VXUt" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 058F21D525 for ; Wed, 3 Jan 2024 20:15:51 +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-wm1-f47.google.com with SMTP id 5b1f17b1804b1-40d8e7a50c1so17395495e9.2 for ; Wed, 03 Jan 2024 12:15:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312950; x=1704917750; 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=kA0goKiU/w/eOBM3jnw0mpxXWTxX87LBykvS1BaWQpQ=; b=dOm3VXUt/EeoIsMTvSAnDt/XmoLhalSCRx8G014/9eMD2CtkoIgCpNibv09ZWATFMU Vg/2jRcWgIc8+ZslYud81p0OpfjW7YA1T2dKtQPAhPgu5UtMan1ABaLRZU9q6+w3M9OU 70wyWjgOrt54Cih4a1LGIj+/7Lyvely+s+HRQpnWR31KnpypX6c8gg6qdnytLcRI4hqa 5VzAjrEyaKqsWIMJnRnUKMXUQ7A0HigCEtoGJn6yiEfcTYx7HVidtuvpkw8huyMpUKvn uxsTHyD86Fkt2Nxlw2APJy9zW+FByCYfMGWgVbzlyyTIU3DRWf62hN2Pj/4MTLUN8ex8 2pLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312950; x=1704917750; 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=kA0goKiU/w/eOBM3jnw0mpxXWTxX87LBykvS1BaWQpQ=; b=S31x/ZHA1Bey38qDD0HZZbc5WIprqdyL6cymlkfQ/AbgPq1xf45NpQnMEDW1rveMU3 oPETudrfHkcqaaJS8ZkpcO2azIFXXYia9xRrtWaagEpGUAW1FyjA/Ugbked2br4J9/44 3JAmBbRNoWUIqXFVFodcRCk60+5nH/2ncW04UQ3OfYe1VRg/+jQXU3keCp7SNlVIcka0 idZrjOAbpE+AhkBGE10mPi0BeOqVpk5xVLLFMTE3C8sLPRQT3npWb67EQeWFt0g2nHa5 ujImsqYiFPtGKHjFKQec6aot8sWsNrDL3MGoSB4iyIWRkG9AIog1jHUlH56zYYLeRepK MwOA== X-Gm-Message-State: AOJu0YzyjvSiN2lFrglEaloNBfWa/FsVKatXQWO3+nHPIUZjeVJwHt/A 1qIVR6ElrcGgWYy2WcgECA66Oj2oX4mA/Q== X-Received: by 2002:a05:600c:3d8c:b0:40d:83c4:ff34 with SMTP id bi12-20020a05600c3d8c00b0040d83c4ff34mr3624896wmb.133.1704312950359; Wed, 03 Jan 2024 12:15:50 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:50 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:31 +0100 Subject: [PATCH v3 1/9] dt-bindings: usb: qcom,dwc3: Fix SDM660 clock description 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-1-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=1330; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2zYtbmnPKi8lLyIi803aWMWnlOZwvsMRdhGUfkJMl0w=; b=Ouo9OU8f7I6J1dCDUCpa1GERSaWBKioAqR3dCOfE7I3avHasuEWB2EY+44edvTFHYUr61p+bf EGvqd07Mxp1DSnrryk+PoSgSVMrzaWXPbXLwU2u4YWIZciYElrAoae4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101765028393074 X-GMAIL-MSGID: 1787101765028393074 SDM660 was abusingly referencing one of the internal bus clocks, that were recently dropped from Linux (because the original implementation did not make much sense), circumventing the interconnect framework. Drop it. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 473c4bfaf8a2..967cc6db56fa 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -291,8 +291,8 @@ allOf: then: properties: clocks: - minItems: 5 - maxItems: 6 + minItems: 4 + maxItems: 5 clock-names: oneOf: - items: @@ -301,13 +301,11 @@ allOf: - const: iface - const: sleep - const: mock_utmi - - const: bus - items: - const: cfg_noc - const: core - const: sleep - const: mock_utmi - - const: bus - if: properties: 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 { From patchwork Wed Jan 3 20:15:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184827 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5241674dyb; Wed, 3 Jan 2024 12:17:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGv+162PAN7fPjoTpBY7wO3w+ksNq46XZ/u/CYEZCY0994oeNTnskbjDgG3AxYLa/ykGoW/ X-Received: by 2002:a50:bb45:0:b0:553:2294:816f with SMTP id y63-20020a50bb45000000b005532294816fmr10621535ede.3.1704313053158; Wed, 03 Jan 2024 12:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313053; cv=none; d=google.com; s=arc-20160816; b=Y33dIMRpmEO314RDtjKajqkFcGj9atfdN20qaMq8nSdQmMqrXq5t87+ocr00Jn0JZL EEcpVVEo01s/IzpjXQHhq9yWMw4bTjPYnHeWUBpEaiQ0r8CCjk+Zln8V0ExCNaLsq6/l kZpZHlAglSi3jUTmEC1FvZz6V6fENJxXtkRGgNsdQ4f+5LNbp8zaqUUAHWB12bSmsMSU GTJaRK/KbCvE8QVycazPfu1Mo2Ltl8Dft0e+B49BRQgDQOoY592Torzv5tB8BzE1qtWo O/6HQe+g8BIs6o/Y8m9ucykkH+azgts4Vh8Be4gE1wtSoszoTNZCUSXQlxlVoAnBYsiE EM/A== 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=QG+rGUp/aDbPyreho5pBvmK90jeiza6JiQ/BR4I5Rh0=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=02oW+01qluTj2QrjQklHIPOF2Qpu0qTIoo8YV+gM/ybGH5L0B366VBkwidjsQ6rGLf fL99bzBaaXUDbvAjfxRN9tL8jWZ3VPwaNCfyIpR9RfPSFm9pDZnVTLys12UFPd7zKOi6 rPX+g1OgN8m5Dww7xcgs/WJHAdbzEUR3y3h8R98bxDjBy0EdCIvWUyoDkORo+nB4AeP3 CZ5oggtaoPzxHzIxEQ4YXVbOZGu89W/kr1yLIcnWJnhoB15FzgMMtVoP2Ds+GMHAiej8 oudwDtiVYC6sncm/j3cryG64mIVBb6pIVJeF1BCav6Z+XdLMlRP+18KY/iCaaZCym8hb xHaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CUcD8wsR; spf=pass (google.com: domain of linux-kernel+bounces-15959-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15959-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 bl8-20020a056402210800b00552dfd96128si12479138edb.174.2024.01.03.12.17.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:17:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15959-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=CUcD8wsR; spf=pass (google.com: domain of linux-kernel+bounces-15959-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15959-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 A799A1F25BCB for ; Wed, 3 Jan 2024 20:17:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 971951DDFF; Wed, 3 Jan 2024 20:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CUcD8wsR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 6AEB41D69E for ; Wed, 3 Jan 2024 20:15:55 +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-f41.google.com with SMTP id 4fb4d7f45d1cf-555bd21f9fdso5203912a12.0 for ; Wed, 03 Jan 2024 12:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312953; x=1704917753; 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=QG+rGUp/aDbPyreho5pBvmK90jeiza6JiQ/BR4I5Rh0=; b=CUcD8wsRiXRm8uk694dGxz53rBzS8E5Nz/4HYu0rx9Wgp3IRcK16XxXtNXsg/b6GKN VEzgyuLeTLoXoAN9p9sDT9Agw7ZeQHI5Q0bC5Li2fhVAf92nVCS5j+HjPxb4qkWe/07+ J8lhucf04ZJp8jdzShh0DJdfjP9MWHo6tm/ramzycPe6ZhfMh9unIlu+lDIMv/Lwn4yQ 5SlDJXZ1Dvgd8GRZglFAafVc4xjXSp/pBnmj541ILaE0Gma6qkJHVfu2aE7Qy7TsheAy ub71iEyorLOOcoT/2Qm6VTV9fby0MIKFdFllgmZeWI3wtPdkwt89HRdIDfVw25ky83u0 FEIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312953; x=1704917753; 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=QG+rGUp/aDbPyreho5pBvmK90jeiza6JiQ/BR4I5Rh0=; b=Wd1NZpUDAH1EhVp8J9R/cY6T2K+rlM5hKf1qAIOod0/Jt4mhFP7phESA9bO9teK6Qs FgvQ0bPojgkazCDDDl70eP53Jpw1hJMe1rPDLOCBqeS1eMi5Hk7Nx0sOz472v+P8MQ4T DJ2YTQJnd24xnE1thRbjbN8ddZeVd8cAY//Fbl+thoUl1FmVrAKYCyHlnGu4AknvWnlo eFyxqdhcdyrPzEPp7fXOlf1IR+WWkci4QURIPKHS2UskLFKUwo5w7kxHNouIVylOAxkv rziTi9b8SZZIpHoGP91a2/kUdVbfZ5IeQVqBqTHrt1NnWI5PUeJsHOvLbet8T2nC34rD BlDg== X-Gm-Message-State: AOJu0Yyp0YzySgTFH4e3D2i6KDUb8kUHS8qh7yUDrNks/0rARqeNYY+P e/xud/AGkiEudXYVPejkHIq4T0Pu6N2lBA== X-Received: by 2002:aa7:d997:0:b0:553:9c31:b4ab with SMTP id u23-20020aa7d997000000b005539c31b4abmr11520614eds.19.1704312953788; Wed, 03 Jan 2024 12:15:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:53 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:33 +0100 Subject: [PATCH v3 3/9] arm64: dts: qcom: msm8996: 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-3-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=3085; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=YxJ1U7v2W6bIKmc1zORJCie36EHFesuD+RzyvvnJwE4=; b=Ib8hCQrhv5eBT49OArc3ay46lRUDtnr9udu3AJdS6d3VAK2bMeZkXVIvdF0bukxrsE18F3G7n NAeD35/S/gBBR5+my4I/uHa0PK4B0qdbzzrwKmEVwhVxhZRsJeRajGV X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101763648669389 X-GMAIL-MSGID: 1787101763648669389 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/msm8996.dtsi | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8c6a7efa90c4..4f465ac573f5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -838,9 +838,6 @@ bimc: interconnect@408000 { compatible = "qcom,msm8996-bimc"; reg = <0x00408000 0x5a000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens0: thermal-sensor@4a9000 { @@ -891,18 +888,12 @@ cnoc: interconnect@500000 { compatible = "qcom,msm8996-cnoc"; reg = <0x00500000 0x1000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_CNOC_CLK>, - <&rpmcc RPM_SMD_CNOC_A_CLK>; }; snoc: interconnect@524000 { compatible = "qcom,msm8996-snoc"; reg = <0x00524000 0x1c000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; a0noc: interconnect@543000 { @@ -922,19 +913,14 @@ a1noc: interconnect@562000 { compatible = "qcom,msm8996-a1noc"; reg = <0x00562000 0x5000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_AGGR1_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR1_NOC_A_CLK>; }; a2noc: interconnect@583000 { compatible = "qcom,msm8996-a2noc"; reg = <0x00583000 0x7000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "aggre2_ufs_axi", "ufs_axi"; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, - <&gcc GCC_AGGRE2_UFS_AXI_CLK>, + clock-names = "aggre2_ufs_axi", "ufs_axi"; + clocks = <&gcc GCC_AGGRE2_UFS_AXI_CLK>, <&gcc GCC_UFS_AXI_CLK>; }; @@ -942,19 +928,14 @@ mnoc: interconnect@5a4000 { compatible = "qcom,msm8996-mnoc"; reg = <0x005a4000 0x1c000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "iface"; - clocks = <&rpmcc RPM_SMD_MMAXI_CLK>, - <&rpmcc RPM_SMD_MMAXI_A_CLK>, - <&mmcc AHB_CLK_SRC>; + clock-names = "iface"; + clocks = <&mmcc AHB_CLK_SRC>; }; pnoc: interconnect@5c0000 { compatible = "qcom,msm8996-pnoc"; reg = <0x005c0000 0x3000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; tcsr_mutex: hwlock@740000 { 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 { From patchwork Wed Jan 3 20:15:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184831 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5242128dyb; Wed, 3 Jan 2024 12:18:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+ek6MRuTB9nNv6Ln4I+0hg+b6TFbJiU+Vt+UHQs7wKEIBcTy+XhNusmK8gosOSOIdxjsZ X-Received: by 2002:a05:6402:8d3:b0:555:f8d6:3958 with SMTP id d19-20020a05640208d300b00555f8d63958mr4461297edz.55.1704313115342; Wed, 03 Jan 2024 12:18:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313115; cv=none; d=google.com; s=arc-20160816; b=oZlTGmCZRuq9y+Zhv5ydSEpTaYkgaWHkNW9d3Cm5EJtEs6pTI1oDbgLzfAaewE7g7V nTCSRtcScIwmqi8TWzv4UMA1u/yZIhvMdxZqZBTsbGh0QZMBGMy6+aEnd1zrk9BrR9hK nwx3pVXyApvXHapaiXuwxQ2OPUOJZ6i/J2yNzhL2pEXNzqJCD54AD67+gy1HyA3Xpoqo /7Zg2Fozy4b/OmGjMzz3TDIJFtL/cctB4MoVab48LsqzdcyMOmY7ZoSllEe9kxynJLh8 w5R6MYBjvY8hY2oNqHAacybb2HK8qK+JqOnf1hrRunPyYzilh17pmUp4mrwY4roZABek WP+A== 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=WlRGkSxspqLt8e6uj4TsPbjrXxLpOwfPHKo5tpzsP1U=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=DpykNC9sGB6JSpA4T3YzzvzKI3iSNHtLF6MF1Qvm+qMJC8XIUgB1rR8a6mlWBURJWm ecoYlzB6kYaBd4LJ8Xj9a76xALTjGG01w5YEdxJ7z6q70Vx844EDyJdMtzvz1pbOTV1m 1ecBVYJGAGZStD2qML9bBOc3cyplYymMwbGUT+TR5hriqM/17o8iRgTgRpDUUEf2RZzP rBNLONZKr4/2a2pRVNvGvdKVTwQO+mN9uuATLjszP25Fn8q5yvqBX/fAeoZ6oxqfGoqd 7b/P2UaKOAyE89X5ySfp7zx08RCG/Vz+AkNQ005+z+8TUHPxjlC8aGa939gpi5BYjyls t73w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j0n2mIwV; spf=pass (google.com: domain of linux-kernel+bounces-15961-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15961-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 z30-20020a50cd1e000000b0055410efe35fsi12497051edi.445.2024.01.03.12.18.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:18:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15961-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=j0n2mIwV; spf=pass (google.com: domain of linux-kernel+bounces-15961-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15961-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 C4EAE1F25C5D for ; Wed, 3 Jan 2024 20:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C64E9200A5; Wed, 3 Jan 2024 20:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="j0n2mIwV" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 1B0641DDEA for ; Wed, 3 Jan 2024 20:15:58 +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-lf1-f42.google.com with SMTP id 2adb3069b0e04-50e67f70f34so9523892e87.0 for ; Wed, 03 Jan 2024 12:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312957; x=1704917757; 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=WlRGkSxspqLt8e6uj4TsPbjrXxLpOwfPHKo5tpzsP1U=; b=j0n2mIwVTvGSqDWyYser0LZwVW95yXczmYnenMlGuJOClM7NXi+3c8E/gUopyfkB7n idLW0Y/ECQC8kzuMvNbI2v8XIes6SWAR5FtfH67pJ/N7gFEQoYJCdwTgIEx0TfWpl/Nt OrOnAIg8lYGDWrLDGsWy6S9KvRMBo8bKYPghWHgLLT08utjbfyd+oRJsqFDV4euUB4m+ YKpyR2Ee3mRfgvzI+GihQsDBaLGDIF6f7oJT5IbMIIoINGSyC1T/0AMYpFLAxQvfKsJE oBUMjZfF9fDraSKyd+dflxywqoY6u7NQF+Z5zGlMGeCPLdKn8Q20kL+K5f9Z1STxYMlM d0hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312957; x=1704917757; 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=WlRGkSxspqLt8e6uj4TsPbjrXxLpOwfPHKo5tpzsP1U=; b=HVNnnvtcowp9ADlRt6gtony9fXcmddxmbfO90oj6sOpYhfV12ZRh0fIkWEQtM+oLz8 QDVhKDOWrraUCzPZgKwIe9OKJOqV2R+v+mS5KvgvXwftTlde9PNI5Lc02Xzumncd6VqR vrr7kWs00DlAwxJUutjp2P6YAEyCEwMf2Kz9eCn62VDjpxGgI6oX/uyo+iRjOs0EGRvO pRzKJtbzOYKkuFRna153+5JElCXmaZ+xl+kTh2+2ljnqWTmEKjxrZ6360rfKXDqnqaFv 9japFKmYDtvLZlkcVSY+ZoiUuvZYbkZi7/mOVIvH9Jc+gjmp7V/aSRenKve7My+Y7QCE mXdQ== X-Gm-Message-State: AOJu0YyRp37w5IpbM3HMZvrIi/IxwoJQk9Uhre+pwI+qO9ZrOzWmpovT B3jIm8b3mvn8b3GFdN5XI5uF7Qqjx5hN3Q== X-Received: by 2002:ac2:58d7:0:b0:50e:2737:f603 with SMTP id u23-20020ac258d7000000b0050e2737f603mr7182940lfo.48.1704312956978; Wed, 03 Jan 2024 12:15:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:56 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:35 +0100 Subject: [PATCH v3 5/9] arm64: dts: qcom: sdm630: 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-5-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=5031; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=cl8sg1LTCxzGU52mzB+vk83BznWR80LOUN+g9wXpRf0=; b=pvj8+pAQlY7Mrw9NDRswB7bRzDGoa0CzPM1aqi5SgUUCLigue33wE/7OY8OyV9EaJGEsyVmEu RxTOKHepsBQCfIH8MRcYuTLSVHAyZ3EilGt6Q2fSgp7YQK+vvmOC7jk X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101829432380875 X-GMAIL-MSGID: 1787101829432380875 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. Reviewed-by: Marijn Suijten Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 53 ++++++++---------------------------- 1 file changed, 12 insertions(+), 41 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 775700f78e0f..513fe5e76b68 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -606,9 +606,6 @@ bimc: interconnect@1008000 { compatible = "qcom,sdm660-bimc"; reg = <0x01008000 0x78000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; restart@10ac000 { @@ -620,28 +617,17 @@ cnoc: interconnect@1500000 { compatible = "qcom,sdm660-cnoc"; reg = <0x01500000 0x10000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_CNOC_CLK>, - <&rpmcc RPM_SMD_CNOC_A_CLK>; }; snoc: interconnect@1626000 { compatible = "qcom,sdm660-snoc"; reg = <0x01626000 0x7090>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; anoc2_smmu: iommu@16c0000 { compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; reg = <0x016c0000 0x40000>; - - assigned-clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - assigned-clock-rates = <1000>; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "bus"; #global-interrupts = <2>; #iommu-cells = <1>; @@ -686,16 +672,12 @@ a2noc: interconnect@1704000 { compatible = "qcom,sdm660-a2noc"; reg = <0x01704000 0xc100>; #interconnect-cells = <1>; - clock-names = "bus", - "bus_a", - "ipa", + clock-names = "ipa", "ufs_axi", "aggre2_ufs_axi", "aggre2_usb3_axi", "cfg_noc_usb2_axi"; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, - <&rpmcc RPM_SMD_IPA_CLK>, + clocks = <&rpmcc RPM_SMD_IPA_CLK>, <&gcc GCC_UFS_AXI_CLK>, <&gcc GCC_AGGRE2_UFS_AXI_CLK>, <&gcc GCC_AGGRE2_USB3_AXI_CLK>, @@ -706,10 +688,8 @@ mnoc: interconnect@1745000 { compatible = "qcom,sdm660-mnoc"; reg = <0x01745000 0xa010>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "iface"; - clocks = <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, - <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK_A>, - <&mmcc AHB_CLK_SRC>; + clock-names = "iface"; + clocks = <&mmcc AHB_CLK_SRC>; }; tsens: thermal-sensor@10ae000 { @@ -1186,7 +1166,9 @@ kgsl_smmu: iommu@5040000 { clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, <&gcc GCC_BIMC_GFX_CLK>, <&gcc GCC_GPU_BIMC_GFX_CLK>; - clock-names = "iface", "mem", "mem_iface"; + clock-names = "iface", + "mem", + "mem_iface"; #global-interrupts = <2>; #iommu-cells = <1>; @@ -1288,20 +1270,16 @@ usb3: usb@a8f8800 { <&gcc GCC_USB30_MASTER_CLK>, <&gcc GCC_AGGRE2_USB3_AXI_CLK>, <&gcc GCC_USB30_SLEEP_CLK>, - <&gcc GCC_USB30_MOCK_UTMI_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; + <&gcc GCC_USB30_MOCK_UTMI_CLK>; clock-names = "cfg_noc", "core", "iface", "sleep", - "mock_utmi", - "bus"; + "mock_utmi"; assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, - <&gcc GCC_USB30_MASTER_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - assigned-clock-rates = <19200000>, <120000000>, - <19200000>; + <&gcc GCC_USB30_MASTER_CLK>; + assigned-clock-rates = <19200000>, <120000000>; interrupts = , ; @@ -2204,10 +2182,9 @@ mmss_smmu: iommu@cd00000 { clocks = <&mmcc MNOC_AHB_CLK>, <&mmcc BIMC_SMMU_AHB_CLK>, - <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, <&mmcc BIMC_SMMU_AXI_CLK>; clock-names = "iface-mm", "iface-smmu", - "bus-mm", "bus-smmu"; + "bus-smmu"; #global-interrupts = <2>; #iommu-cells = <1>; @@ -2324,12 +2301,6 @@ gnoc: interconnect@17900000 { compatible = "qcom,sdm660-gnoc"; reg = <0x17900000 0xe000>; #interconnect-cells = <1>; - /* - * This one apparently features no clocks, - * so let's not mess with the driver needlessly - */ - clock-names = "bus", "bus_a"; - clocks = <&xo_board>, <&xo_board>; }; apcs_glb: mailbox@17911000 { From patchwork Wed Jan 3 20:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184832 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5242157dyb; Wed, 3 Jan 2024 12:18:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYRn8L3CRFNvreUqXzBBtZInuut7lVYmiN/FjY+CN6HcnkSb5aTb09/dBjmjlsayPb0Vy/ X-Received: by 2002:a05:6214:5006:b0:67f:4f8b:8f31 with SMTP id jo6-20020a056214500600b0067f4f8b8f31mr26727197qvb.31.1704313120083; Wed, 03 Jan 2024 12:18:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313120; cv=none; d=google.com; s=arc-20160816; b=O6DbzlaXg1sgxYBDYJgy3s0Q+gpDuk1RqSUKalBycNmHMyPj+q9MhpE784Dh2wM99p cy+RLa1EsTg2hkwzj7M2BCfhT4ZSrPepUol0xkIHwZJ976epcyMkoxJoOjUsSJAPo/Xz xi3kD0shmoVR8iRgcqzGD5iVhb8P35u+kSFEizpuR2dftsQjbosv8zdWGPsjoik/MQBx LZz/8x5j1BDMQeOMgYpDNFcKoghYVVQxZqzRkJgOg0pqKJ/MiRyHGfvHBrf7aYB9mJ4Y KnbwcLyqAy1kur9+MBhr/iqWbb+xF9aRfWmbbwnE3zx0T0ceyccPjKmEEX6bWA5XxndA S0Qw== 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=9hbiB6tdnnMQ24hCb1VT6gYRHp21EZ3VUAmZLEGkw/Q=; fh=AUYCOwYj97CyY3/33B2MOfjOb5bg7RfNFhasSXMX6Uc=; b=H0gAtljSqHctdC0dhdlJpq5heiGbGLxjJkMDLGSgbRvw+bzyLlg0KR21Cg3PB0T+J9 KtGDcvMpisXRVcGM4sKjrjUGBoulAu5Q8n2AX/hxPAnl3KhHg+0PPEiLo4sMf18+ccmN G2DKWSF0q85VlQSr5Qc+EXBpwmJznNujfGdZiUGYRGSyxmUywyS3tojZvObEWVENwHM5 sc3CWuMbqaZ7mcdt1RtfEvhMsouaKM/m5tJ1RZ76roTVbPqPmyS0WBt3NXs1czXgKIMr NarWFA8BLLxxeOWfvjdQH2Nx4K3e7qvSY/OXb/yq4w2WK1agOLHi+y07ADCJh6+9yYT8 /8fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=je0E91ZM; spf=pass (google.com: domain of linux-kernel+bounces-15962-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15962-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s7-20020a0ce307000000b0067f056ee1dasi30759413qvl.68.2024.01.03.12.18.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:18:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15962-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=je0E91ZM; spf=pass (google.com: domain of linux-kernel+bounces-15962-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15962-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DCBA71C243AB for ; Wed, 3 Jan 2024 20:18:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C31F200B8; Wed, 3 Jan 2024 20:16:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="je0E91ZM" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 0B7FE1EA7F for ; Wed, 3 Jan 2024 20:15:59 +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-lf1-f48.google.com with SMTP id 2adb3069b0e04-50ea8fbf261so854228e87.2 for ; Wed, 03 Jan 2024 12:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312958; x=1704917758; 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=9hbiB6tdnnMQ24hCb1VT6gYRHp21EZ3VUAmZLEGkw/Q=; b=je0E91ZM5QdWXGqCP9KoguqCBQOyUD0YD+nDpCmDqMrMo/kcJ4dZWT9nrNX2Xt+HHV OFelW/zKjM7oa1mnLaxKgBwN4Pa24db6zwrH90O2LtK7o14RxzmmNY6M2fKYzwoCR/Ds be1kynAGADWA469HJif653hdxEGUmcdnjT4yh8dT9xxW+OXaJbiwxb1A2Jg/+OnTLaCY zeA2fknGSgIs+J9fceJnaXDvYRuvB9iJIxisS2vPklcBFp6f8AmTTp5RtihCgOPfugyb bt7HohvOKZCS3IptkzfrgAYkAXt3L5S8I7WJsHm+QU6iLlv23n1EoJXYRbvDkN6rEF0Z Pv6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312958; x=1704917758; 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=9hbiB6tdnnMQ24hCb1VT6gYRHp21EZ3VUAmZLEGkw/Q=; b=NaK1uxXkxMwTyjO6alsF4zs0C22VWm94hK/vp9H3ByvVXm7e3XFqD9ZxmRwQasPE34 zmE3Rh7v+C3I9O4t563MbYxuoAmz06VKLPna/QSOKtMFtQLVpU6k03vNLMO+zlVwKFIE uY4MQrlClCQaapsmRvyfwaa5NsjAd3HrOt524nNKuWu6DvCHd9EsXpOEGyXHLxZJoPgt slwCAp2wHmg+L3T+Hcjei3hFV7PTOURTPWFuA/TpFlZeAAQvCaG7/FOWPpyfQQowWPG8 YUKc8JtZdU9ynOXda9w/0QlWVCB9WvbbFsuUiBWo9zjDKzzjIaVQLMFD3LR4oTUvDeiT huvw== X-Gm-Message-State: AOJu0Yzi3+tvui5LCp8e6WviOew/icL+MWNC3qnY84xGIU42ycwevLIc ns+j7+dchDgyQEgb1kUELnJL6ewJ2zeIFg== X-Received: by 2002:ac2:4e4c:0:b0:50e:5aab:a287 with SMTP id f12-20020ac24e4c000000b0050e5aaba287mr7355382lfr.8.1704312958294; Wed, 03 Jan 2024 12:15:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:58 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:36 +0100 Subject: [PATCH v3 6/9] arm64: dts: qcom: msm8939: 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-6-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 , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704312946; l=1930; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=iAST6Bi3i5Py4hFCq2uz7LHvVl/s5kvpbNjyyM0F4x4=; b=2R6ks9a76Dvsfe5auiqvqhip6ClBOvXKYnTJ/pC1kYCapQIL5V0+tMo0rRPly12pPuyHEcmVG iL8baUaPiu3DK2b7qA+EF263xvgEHrlXW/wWUiNYedw8B+8WEeBL2hc X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101834178179453 X-GMAIL-MSGID: 1787101834178179453 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. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index 29f6bd9df2eb..82d85ff61045 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -602,9 +602,6 @@ rpm_msg_ram: sram@60000 { bimc: interconnect@400000 { compatible = "qcom,msm8939-bimc"; reg = <0x00400000 0x62000>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; #interconnect-cells = <1>; }; @@ -648,25 +645,16 @@ restart@4ab000 { pcnoc: interconnect@500000 { compatible = "qcom,msm8939-pcnoc"; reg = <0x00500000 0x11000>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; #interconnect-cells = <1>; }; snoc: interconnect@580000 { compatible = "qcom,msm8939-snoc"; reg = <0x00580000 0x14080>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; #interconnect-cells = <1>; snoc_mm: interconnect-snoc { compatible = "qcom,msm8939-snoc-mm"; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SYSMMNOC_CLK>, - <&rpmcc RPM_SMD_SYSMMNOC_A_CLK>; #interconnect-cells = <1>; }; }; From patchwork Wed Jan 3 20:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184836 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5242948dyb; Wed, 3 Jan 2024 12:20:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpfINnPewSK7mlTuZEekbmUABOnVp8agkwMkyxEnEqxM6XLmJ0dINC4ziJ23qoI01qe8Ww X-Received: by 2002:a05:6a20:6a85:b0:196:106e:9d7d with SMTP id bi5-20020a056a206a8500b00196106e9d7dmr6348871pzb.51.1704313231967; Wed, 03 Jan 2024 12:20:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313231; cv=none; d=google.com; s=arc-20160816; b=mZ1l1FA2HY2/JKlIFTt5c8pM9qyd5CiE6OM+ibZz95aVfZQmQtMGpC6xbPFL+MImze JSdBN7tEooCEjTT+qJ7AYhIKYAmkdShMfhejSI11Ejwo9MdLjvU9f309mQttbVN5Ww4A dGXdUkExIiFTcil62odFBQ3h1hLBF9eAo4N5dKxLI961hkyvMWEPo0Gxea+7eg1SfQ3C TN3xfuqzLjtFQS+qO5w0b+iS+mpUwD+0GrC8op5MDAtSS9AEJoDluMyvnIatFzDUfUme Ulih7z4YgglTHrGmn5a1DPi5PSUc8zkcLG9ckdH3w+18Jp2htn0BgeV3G+Z3Itl+dXrI fK+g== 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=yKEX12Nc6DjhIWZVWWjaSHZ/t3DyThSHvq2IuZgMy9A=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=gaF++CHlb5Hper+h7gBEjOGCoDXVei7ojz+7+TtgiRHaGRDjTDbhIdjMTHAK3uw4gY AtCM0abuQROX/3okNAeTFLXa0mcpqVsFi8msZ5AdQ24Ig4vnarODowr+FyLbDusWS+U2 3XwkzMC5TganbHicM1xFmSrNsGPxcOaLdyyv6gr83Sx3ZvvANYgdu5HjdUYkh63KLVLX Pizjdk9YXIdmC6Y/z5nc79vTyu9liOE6iL/W0LQsRxXGEzUD2wLpQzQCTx7wsNE8wwq1 QsuzApf9jV3uNZyF0XDUllSKSAPjbn0fRcFKt6t11fDIkHbumZ70Dz6TatPOjwWNRoag wgaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HzbOpo2c; spf=pass (google.com: domain of linux-kernel+bounces-15963-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15963-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. [147.75.48.161]) by mx.google.com with ESMTPS id jw36-20020a056a0092a400b006d9d2ba8557si14757382pfb.308.2024.01.03.12.20.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:20:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15963-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HzbOpo2c; spf=pass (google.com: domain of linux-kernel+bounces-15963-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15963-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 22F2CB23AD3 for ; Wed, 3 Jan 2024 20:19:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A65B2031B; Wed, 3 Jan 2024 20:16:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HzbOpo2c" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 E36091EB58 for ; Wed, 3 Jan 2024 20:16:01 +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-f51.google.com with SMTP id 4fb4d7f45d1cf-555f95cc2e4so4247534a12.3 for ; Wed, 03 Jan 2024 12:16:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312960; x=1704917760; 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=yKEX12Nc6DjhIWZVWWjaSHZ/t3DyThSHvq2IuZgMy9A=; b=HzbOpo2cyGZFFT6+WlYsqlA+5C1WdLM34TYKq76XxxqDS4JxZqOeZ/CGm7K7iTTZWF syxLV/iSHp6ZYWg4X+DALhlAsB8iIozeQ4d9dXYyZgM1Ok9yimpkPxFWa0nAr0epGjd/ hqV/8IGycZF8V0Qg82rKbYW9w5IxXi411XLCBfv7v8aWEtym8Od9oQpdm/F5BarRJwgA rKXFWILNLVxMpsITZ6lVgAR6un08Rj5Z5XsAymxq54Joq36izl8dZNp9qJ2KIMNK9ZPw vxo5GqNWkGkZ9zsxSbENE6d0Kw1IoN+2Em4oEv83PY5GH1qOHtSRgssakvim8yKNtEBj cYSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312960; x=1704917760; 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=yKEX12Nc6DjhIWZVWWjaSHZ/t3DyThSHvq2IuZgMy9A=; b=wqBhhJ5T1RXVUup7hJB2RXGpSUybsMc/IkNyBFRcbscYvI5LnbRIE3uusOjpSQt3wF 28D5ttobrGpSK6CHVNNePY4zclopM22WuG8xzOOndmgWzOWBpAwUtWU0n2bDWS1W4I0V YJt9qUsAK2oFEu3W7uvw0iwnrhAqkHsng4fTFCxmQ96RKBVN0deALQyWl+kyjpLhnMo/ kKSb1fxEDdwn2wiZvI1AKY3+7UYrWHNZ1KXcJ1rrv7qAuONHsoxmSz3GPcwaEOXTTvWK XR1nnyZ3eYy8wDpi5fdv6qNVby14Xj94J8nRCN26gbN7cFXnUtzZIRob2e6qOQLGgjS9 Yf3g== X-Gm-Message-State: AOJu0YxI+rmtlvKxi0FRl7kDK0ebTgq0pGhVDEtGPrk0548Zbu0cuY0J L74qKZx5R/Q89ItxhyeCXEGDEkoAJ5RpJw== X-Received: by 2002:a50:eb0c:0:b0:552:d00a:2837 with SMTP id y12-20020a50eb0c000000b00552d00a2837mr10533229edp.52.1704312960076; Wed, 03 Jan 2024 12:16:00 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:15:59 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:37 +0100 Subject: [PATCH v3 7/9] arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI 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-7-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=889; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=QUVffHTCSnWfsgGf1+xud40WCLg0YN+mizl7weLMh3w=; b=F9SiuNHQoFhocMEUUpWIY06aYxFlcou+Qit2pKRbW8/aBdr8x3BX/URHRZ0Z1OVahQFaFYvZA y6LzikAvXx8DrTM0qgTxDZcR5Qu63KADCZLgPyDs/EaxS3JcT5zIS2l X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101951825787665 X-GMAIL-MSGID: 1787101951825787665 The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index bb591c6bf573..2793cc22d381 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1605,9 +1605,8 @@ remoteproc_slpi: remoteproc@5800000 { px-supply = <&vreg_lvs2a_1p8>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "xo", "aggre2"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; memory-region = <&slpi_mem>; From patchwork Wed Jan 3 20:15:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184833 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5242443dyb; Wed, 3 Jan 2024 12:19:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpnUSReW7NYDhSPlJAtLVfKRs414KCQixA3VxEVKxWnuEDbpCYLzbSvV2gfS/Qx4ZUtdFL X-Received: by 2002:a05:6e02:198b:b0:35f:df6e:b0c7 with SMTP id g11-20020a056e02198b00b0035fdf6eb0c7mr26893288ilf.39.1704313161159; Wed, 03 Jan 2024 12:19:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313161; cv=none; d=google.com; s=arc-20160816; b=LwRWiwGyXrnAqwm73LzX+zYxuLYcAPAwwOzaXSE3QwwFPYB82g38fCZj08a6LFujr+ PjDX1b2osTPw9KyC7kdvVLh6mnWzE5O0ulnTioeCvLXCAUuSgdh0SqKLCB7w3R/oWycx snrr5tJWULPplz5EPu704jNNS1GoJlbNwEuhNveaxoiy7YZc3MIp8w1r1QUNaCpmpZSM 3JUhuPCmKEY8bYDPUQvDn/JMnZmJJ6f1RATABf6qNOQzAJVoFvMUQVZcrnlL/L4/Hbzi 1X5xr+iDQOj+YDg9x7jLxXTgShtU3N/WkVa1JBSqZzc8G3KT0tty6NbfpwVDSssy0Npd 5EQA== 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=dsVDDOKbbcbcVH/q5yPVUfnBtFtphc4WlPKZOWq+eRk=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=yTd1lFkeRtnjP18vl+JJOBWvxPcl+X1LpuOLU7Ahg9/VNvGQ/m+4s9/nbdsArFuRYB rBh6PpVBLzkjqkusFJ0lF1kNQJk7CYWwoCql+WW2U8jJlwbbLup/vV7OKNGgJ3hJrbKs etDUVEcVfJXsYthzeRKDHkg9K2Whwk91cot5E3tvi1QqoXj35lxXNOreATEuMyIBjdFp ml4AeILJu8KPKHpGjzavey2+4dky3vSmFM224gvA3Ev1eyi5BAfzVAZGvgZ7W9Ve5lxC dWXe+WgtcfND9KaqzaK/GNlGV/AWT9ZfGMf7wbvij82oBkrzD2CA8dan4uGH9pABKvow c3JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wN/8VzZI"; spf=pass (google.com: domain of linux-kernel+bounces-15964-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15964-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p63-20020a634242000000b005cdf4899a56si20232445pga.658.2024.01.03.12.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:19:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15964-ouuuleilei=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="wN/8VzZI"; spf=pass (google.com: domain of linux-kernel+bounces-15964-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15964-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E31BB2852DF for ; Wed, 3 Jan 2024 20:19:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A34A20335; Wed, 3 Jan 2024 20:16:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wN/8VzZI" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 3E4EA1F94D for ; Wed, 3 Jan 2024 20:16:03 +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-f48.google.com with SMTP id 4fb4d7f45d1cf-5569472f775so2329910a12.2 for ; Wed, 03 Jan 2024 12:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312961; x=1704917761; 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=dsVDDOKbbcbcVH/q5yPVUfnBtFtphc4WlPKZOWq+eRk=; b=wN/8VzZIyd809Z/kBBBYZEZHZfAUXZitd5Vy4oH/DrwzxGoUGPi3rzS8jDvoFzvljy w1mlPSKPzIrz+YRppdunMVEihFcRF8nHnj4ae4wJTF7YKiFGwxHQ3iWcU9T+lGzvGHej ucNFHr9pqxip502r4TomjOjCbrcUvt4lgMSfrai/CYyIrx5LJbDrBmzU87TCADvGTjLd k9oHS9rlxsDE1EezXQDBGfROHrGJxTa5a91xG4G+dBhrWr5fEuh3sKijH7a8KRBRXZCd b/fgp96NOCB88Uz0GWVeWivvb4orDXelcwB/4FPuiVDCMuRndDYHscHcfHt/TfRT5oIG UEBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312961; x=1704917761; 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=dsVDDOKbbcbcVH/q5yPVUfnBtFtphc4WlPKZOWq+eRk=; b=TMVTtvIC/SSXm8GEOHvIzOYXl5bm/9VdJo5FoZoA1vhBTgZ1qmll6d+lo0ZtMb5d51 sT02q3lvrDrDhU9R+IlmRaiPEpj3wskIby3ObCk0+kBB8YMOPRqBAMAujGUcxS55n8a8 ZRex5WmD+hCoYUAbQpkTCJwEJlH9fxkGorm8RBiek4g5bHNxN3pbNb+gu+CYWecwCW6b DHehybH6+IeZSpkJnisPntdCETEpdqlULBdtM9/y/6aalqBuJYiIjENngVmwoWioZpqZ pgZhigl84Gr79arikEC18GDXla9D54hvAyrQK0Me9MBQqy1MX+0977TVOE/ltzQhn0N9 iURw== X-Gm-Message-State: AOJu0Yx90QWHExsRa9l1oURkuzPlaCrU6pjEYFPq6fNlJ5+FHKxIb1gu Dw39I0h/dTnXut1cZaDjXaKyv417s9NOAQ== X-Received: by 2002:a50:c21a:0:b0:555:5259:956e with SMTP id n26-20020a50c21a000000b005555259956emr6606293edf.20.1704312961685; Wed, 03 Jan 2024 12:16:01 -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.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:16:01 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:38 +0100 Subject: [PATCH v3 8/9] arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI 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-8-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=853; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=HHArVul1RHFFQ6r2bVO5FLrY8PkiyEDVDWk91JfzQ5w=; b=vBPyfWgMfR5o5L1Rfy+7PloGMzFVW/bj/nam1vYaO9GqVWnZ/eFmERwC0iC+MHqQZ8NUCtJTU erdzs3CaAnJClw7EVgK/WdnQSCrXwXOHcCfAYPmd/YgE5j541COiSbm X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101876922805346 X-GMAIL-MSGID: 1787101876922805346 The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 4f465ac573f5..174eb410824b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2467,9 +2467,8 @@ slpi_pil: remoteproc@1c00000 { "handover", "stop-ack"; - clocks = <&xo_board>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "xo", "aggre2"; + clocks = <&xo_board>; + clock-names = "xo"; memory-region = <&slpi_mem>; From patchwork Wed Jan 3 20:15:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184834 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5242566dyb; Wed, 3 Jan 2024 12:19:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9M13LwUHbTI+miW+WeuHO5+RqLqA5KTfxIFYjZ9hQNr7heE/7utpmO6QqLXMYsn30Scqk X-Received: by 2002:a05:600c:45d2:b0:40d:7449:96f5 with SMTP id s18-20020a05600c45d200b0040d744996f5mr3243462wmo.212.1704313178748; Wed, 03 Jan 2024 12:19:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704313178; cv=none; d=google.com; s=arc-20160816; b=frgu34dxvEBUYr9VAucECMpUqEu+TLyRkXa9ouD5k+rrGR86XWDuIlC//vQh5Z6tab iGa8lmZEtI9rH4Gz8IcsxMiFSR5F3+BOx7bnpYIW/fZHaX0wv1zi3oUf8066eIlVyjI4 GVme5t+oSgdAhsdQGHkXJt6aHZhUiN0V+2LM8cppLtQ6ocZgrh/P7ehBcgESQQSzKYld 8bL+eBQuvH/dvxc5efwaQUKfh0Ry4fZubA+bucsVsvoxsr15eLmKK0bTeCkR3FBCpVvd NEBNgJzYiqNymV9lZ+DnvDHdNtWhZED3UVDq4o4Z0WpXmqWq7ZMFqDRDwrKCX9ZCWPrK Qg+Q== 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=agWOk7w6rgV8y2OB/j9TiP5HID7PZwKq37+MydcMd3Q=; fh=34sKDne9oSCKFAi7FmigZhjIz4mewUGDG3NaxDengN4=; b=GBYpvD2K6U0kLpG5tYjg6u/uJNwI+csHb0La4iu/wBM+qoPrIt4TQsOcik6cKRhGdY rIiujU9sED0expQz5e4UZu2M+lpNI6s5dsKanEsZo+hA7vib1R9yY8ZVpFi6vM8LDYbS quFiruybixtryTccxa9XAhmlXm2AIeYY8LY0YqF0JIn2LbkJPb/MB2tVMBgJmwHkVI79 SMivOMXfWGZ03f35kuWOnUKtrChsh/pwrt4+YcL56OAYQ9m52sEjcUq1CmVPtIqZhxrt fwLkVNoxzHkJz+IXbMrHAB1+LvmKLw7bhLc1zv0BH57137nYEKmbMQNRHAqmNzVe37Bc wWlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yaH2ymto; spf=pass (google.com: domain of linux-kernel+bounces-15965-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15965-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. [147.75.80.249]) by mx.google.com with ESMTPS id lm3-20020a170906980300b00a27c5d135c3si3619155ejb.855.2024.01.03.12.19.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:19:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15965-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yaH2ymto; spf=pass (google.com: domain of linux-kernel+bounces-15965-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15965-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 564B51F25CFB for ; Wed, 3 Jan 2024 20:19:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24EA8208BC; Wed, 3 Jan 2024 20:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yaH2ymto" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 2A6A9200DA for ; Wed, 3 Jan 2024 20:16:05 +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-lf1-f53.google.com with SMTP id 2adb3069b0e04-50ea98440a7so624316e87.1 for ; Wed, 03 Jan 2024 12:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704312963; x=1704917763; 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=agWOk7w6rgV8y2OB/j9TiP5HID7PZwKq37+MydcMd3Q=; b=yaH2ymtosQorCjffDM2nq133azvGr/KkHcFP2jkaXGKV3hh+uqJV5wI42eNBMnTHGb tEjGWN3xgf8s07+C0L4KsA+8tSh1gPVHuUh+JlFWUJnEUcnXwCvi1yta/ZsFV1qGDn0l upDS8XYcVQ7PcsSSHr+15vt9k5GlzE0x/u0fM6d6SWDpSOtyu1KufVMOv7DaEZcJDnuK DfVAgLpog2eZUTtufVi2SR9N71gZF/s9w6z2AVrp3LU7J43qW1t2w+Aqdqj7JH46ZE/2 QDlhqoKKNSEgTmgmm6ew9kcZWmWInVbqCHd1iLDFGu/URiotvGZmVUsBl2elb+ir2P2U mlzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312963; x=1704917763; 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=agWOk7w6rgV8y2OB/j9TiP5HID7PZwKq37+MydcMd3Q=; b=Rvj+87Wh1wJ4H0I2w2rdIDmwYy4BwrkoEEucVaBZZ6UtotENsUKd45ksdm2hXdimY2 v2i77wMea5AIq8MavSJiXtvu2Lz7dbiS9RrZZOi7/t1w3/tAY1CmKKgpX/f5sMFBnTc8 WhzV6C9HqqPmW/zk0+bXQaz+7dpb33A6AiOFaiE6p8ebC2lUwjUGWPT/WGfemOix8Jzg zRfCfamyfn5uXSouCVeTabUZ95FNLIDQ9APJJvJknRqcCn9QuN5lMe4X0zUElhNSKBl4 h0YoM51FBtYaRJvmLjpuEcZUzBuhnCd0C3tq0OXynT84RR4u8OK8hAVSQ5jRq90gLFLU tzaQ== X-Gm-Message-State: AOJu0YyPuKf/flEg8arigR2+xBBzAIVxEVlsOdH15lsTDDk23L+xOyeY ztEEkgFfzR7j0SoRLxzYD4NWFWdgN4g1fw== X-Received: by 2002:ac2:41c2:0:b0:50e:7044:704b with SMTP id d2-20020ac241c2000000b0050e7044704bmr4312375lfi.90.1704312963418; Wed, 03 Jan 2024 12:16:03 -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.16.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:16:03 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 21:15:39 +0100 Subject: [PATCH v3 9/9] arm64: dts: qcom: msm8996: Remove PNoC clock from MSS 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-9-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=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=lDN9I443Hl2d8DVCOQ4aNKeHtWkZFlxqcP4xR6KB6zk=; b=EL7JckzCpuqfY1C5Jg62k+EicmGHKeLrQolwseYXNXDeyuOumzO8IUKBRA1/gjGZHSoJP9ld0 vGGnQXQ6jTrDDzjCYW3tjwB9ltzeS8AaO4BPUKpSSvZ2h7SNgJOFm1t X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787101895655892200 X-GMAIL-MSGID: 1787101895655892200 The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it and take the liberty to make the clock-names entries more readable. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 174eb410824b..8d41ed261adf 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2513,10 +2513,15 @@ mss_pil: remoteproc@2080000 { <&gcc GCC_MSS_GPLL0_DIV_CLK>, <&gcc GCC_MSS_SNOC_AXI_CLK>, <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>, - <&rpmcc RPM_SMD_PCNOC_CLK>, <&rpmcc RPM_SMD_QDSS_CLK>; - clock-names = "iface", "bus", "mem", "xo", "gpll0_mss", - "snoc_axi", "mnoc_axi", "pnoc", "qdss"; + clock-names = "iface", + "bus", + "mem", + "xo", + "gpll0_mss", + "snoc_axi", + "mnoc_axi", + "qdss"; resets = <&gcc GCC_MSS_RESTART>; reset-names = "mss_restart";