From patchwork Tue Sep 12 13:31:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138464 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp714372vqx; Tue, 12 Sep 2023 15:22:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqkiB0ks32vn5Y2z/Q/bgkOdnNJcoZl+C3ckr/aJ/61qWqPj5V6/fWcaLm8goSvy3FPj5u X-Received: by 2002:a05:6358:4429:b0:13a:4855:d885 with SMTP id z41-20020a056358442900b0013a4855d885mr1288768rwc.10.1694557325747; Tue, 12 Sep 2023 15:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694557325; cv=none; d=google.com; s=arc-20160816; b=f4blf21W3eXoOqYenMA7wGfe29K9U+iOYf/VArj6PBOD80i4hqpuf4zU5duH4XrafI YaUglL7l1TL84cFXgOS/J5b41YMyJja7v6PQAk0AqznPwgGaYYJHwWAXGCDXOsEsREIL JYouI3NfnM+QUgeSx52h3istwaykyl1yiw+UZWZiFodPnHjhQ6Wo0YPh8Kr71qptfD1a yhDuGfIxwrs7ACB/LPCd7wxvGteaVyi7XBejjziSyt6Pvn/6yECWmVJZPABebCHAhCSU Xh/xwXSfWOCemqkVMM+zwb3+zMUzJfeYA419NDZG2VaS28vu0n7zCANacuvlNwmwrL5F GegA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=DABEF/G0wTiJLHQeIezECcYyIyidOzxpzwuEiL5oGQ8=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=dM5uLTgnKPgm3S4itlJOo8uHHRDs1gmqK7lPyQVv6lv112HyOB95YK/jfUerR3Nn2E /YN60EddSMxAPnoF/1okEPEW7uiu61P0r3rh0YF0vxSGXjDy44pgybtOLS9cA2JCJFNU wrZn92wxUDVqlg14ZRCAcUdJeCOT5jc9N9khaWdE7y3ngjuQqnRoslH4Zi0kk5RZX8VQ /m6ggooM5YW3wyUffPBT5+3YlGFTSxHe66qLPr6CvP9X1paWxdVHdV35nFzRY6PTfASn CTcqkfjM4m0cxrqSBZs8m74MkXcOdSoI7K2lxPJqw80zp25LyBOPmsmiTOdZdFtCaxoI lTPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ls7Y6eo0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id m16-20020a63fd50000000b0057749f3cbe3si6163281pgj.289.2023.09.12.15.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 15:22:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ls7Y6eo0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 28C4381F9649; Tue, 12 Sep 2023 06:32:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235581AbjILNb4 (ORCPT + 37 others); Tue, 12 Sep 2023 09:31:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235553AbjILNbx (ORCPT ); Tue, 12 Sep 2023 09:31:53 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20B6910D1 for ; Tue, 12 Sep 2023 06:31:49 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4ff8f2630e3so9624406e87.1 for ; Tue, 12 Sep 2023 06:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525507; x=1695130307; 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=DABEF/G0wTiJLHQeIezECcYyIyidOzxpzwuEiL5oGQ8=; b=ls7Y6eo0R/OJO+QSvzvPGXPSV0pD4bmuETal5WCdxtytsEEN8fIWgdgKLkorLViub/ u6AxyonIbf4wZA9oD33jZuEGOeAhqMxqc5XG2Pv3Z34LtMArNfP9m5eSSmEayhUvoXt4 21mQrj1wNukCimt9Q7i+SqKVIos3ca88nYj9K6bmNSOgbt+lg7RV7GXfBTexJlP1pvsZ 0HVfzctEx2SQdqmSPvZn+2M9ASKbofr0au6bGNvvMXPkCiXc98uW8fQAyfTHT9SzIfaA 63pP4/KycIngObvzwi0+43Va8/KJfG2Fnr5EmMAOJcexLalWNTRMo3r6Tg68uOZwIm3Q D6gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525507; x=1695130307; 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=DABEF/G0wTiJLHQeIezECcYyIyidOzxpzwuEiL5oGQ8=; b=JoPRzSUQq5/iufZm/9gImqXy2sSNAO+t+Mk1LiOh2YQ5KWFfVqbjDutkcVgKXMdTwL c2joriHI9/FiRNJqz+DI1xLR6RzTy+3wR7DsNubtR9GzdX2qDe8KfSEdUALSvsTAryFm 2kNNHmf8Tv+4/rQGlB1RDnzewcX8rx/NWJmxGXE7UM8gQDk7tYd4csU1boDQavE/gq0c KDEcphcnynuu55DwIdaQ8qWOiIPWcm2q/Swt8F+nJcigy079UWvZk0LXDVCRvyCRy3Lj LOAOOdkQPCtawkCXgvIYFpg6vRBVBxciVDlIg4+z1Gp3APNp4kuHZSWpTeZP/3UPG2Dw fUZQ== X-Gm-Message-State: AOJu0Yz7rDjtr/U4kkhG+S17qiJps9TQkTDYoXZgmDAbBzI1KWrCEh6Q cPj7b0JoITQD9lWjwBZBzWUHRw== X-Received: by 2002:ac2:446f:0:b0:500:a08e:2fcf with SMTP id y15-20020ac2446f000000b00500a08e2fcfmr9054444lfl.47.1694525507137; Tue, 12 Sep 2023 06:31:47 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:46 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:39 +0200 Subject: [PATCH v2 01/14] arm64: dts: qcom: msm8916: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-1-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jgPLe87izszPiDVl35EMBCgsp6Vij2I7vaEdqKi1gBU=; b=2fKLEWzJA+nSA/bz6EqA9PkDhmKN7tvdi3UL3T8CJtwuqm+enkROCBJOZJCyfnGnGB+n0FMjD DM7sq1O8eOWDGxuI1JAPanQEN8YsRm7jUt5bJY+TEsyv1w4auLZg6gs X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:19 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776872142399411654 X-GMAIL-MSGID: 1776872142399411654 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 33fb65d73104..8c2ec09f57c4 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -519,9 +519,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 { @@ -554,18 +551,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 Tue Sep 12 13:31:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138221 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp451068vqx; Tue, 12 Sep 2023 07:35:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHVbTRMmqYDN7uUUgppCAGdb6nQcy9ODJ+Gd4nFXjVKQF7GrJw7lNMe32DRCMH/zKlKucaC X-Received: by 2002:a17:902:e889:b0:1c3:aef9:872e with SMTP id w9-20020a170902e88900b001c3aef9872emr7130560plg.34.1694529317180; Tue, 12 Sep 2023 07:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694529317; cv=none; d=google.com; s=arc-20160816; b=K36sqcomLdM+VW9A1+ReyCO063l6uHNrfAyqu9oqTUBFHI3Ekffvd9hcApu2lkm41v JH+faUmPZXJfo44W2Rie0xrvFLUg5kaSg2xzgpwT6SPqKVgtrGm8Pbei4Q0oMODMNtbd yHLwr42853MKfhm/cuLu0sC4jXGbySGJ1D0vnbFLgHZVOyYT9bv48z7OZWSAzZTb95dd TJVasOd9gpIsoTIZu69p4EboWhY/0uVMNkZNHit6aGcVXJUWs5/t2u70slqXhUbgw2Ql pFldNZ169Sz8WdE+fZAZ05kl3E3L+brz75HkeuGjIE6kPazuACM9IRlrjWkh94TZOjva ThuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=p/toa9pS9T5AtU2jODTxKlfzL37CYz7xztaxR3Kuerg=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=vwPkI7XjcscErLS/0mZShAt/tMK8aCKkGDFx0kYyV6xFIgBoXLcA7DrzYrZYS5vcDk RKTs3X7heZVjZiez1MqJHIOyoGeekOxumqTxKfjv+qcZxtQb5M82gVauXJ2x30xGxDPk JYoZxkD9e15hJoNjDdADNWxUS+RNlDn1xZ5dqhRke4JUt0Fb8ptBn9jFG20C9BHKrC0x zanBR14Z7zi2oTQy3bgR/aC5AuC5UpPrjsoj+Y2w65Fl7X267k2GHFKlYRVFq9EiE4NN wsQh+fTsIT01ZEXL5pKOZzskVIWj5gOK3X4u2lTtdGDqnE0tt/dfPXVjDWLAQH8+jwUC KLmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YV5yyIKC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f9-20020a170902684900b001bbdd44bbd0si6329205pln.176.2023.09.12.07.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 07:35:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YV5yyIKC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 037BA8227420; Tue, 12 Sep 2023 06:32:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235607AbjILNb7 (ORCPT + 37 others); Tue, 12 Sep 2023 09:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235590AbjILNbz (ORCPT ); Tue, 12 Sep 2023 09:31:55 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 570C610DB for ; Tue, 12 Sep 2023 06:31:51 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-501bd7711e8so9742587e87.1 for ; Tue, 12 Sep 2023 06:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525509; x=1695130309; 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=p/toa9pS9T5AtU2jODTxKlfzL37CYz7xztaxR3Kuerg=; b=YV5yyIKC8hN+BRA44ecdJTgtjnKOGo9U+oHjNu3u/YLzQvfIxG2mXnSP2XDV2DKybw uEeWXKF3tpUGf2RtHWYSEi8BTjG0XZicGZc2gmAQuiD7GsKuSF4elM4Xsi1uBk1lIamY SvPJOQ2NSIpO6oHJHlvKcooDW0MwLzQ8pI0Fxt4vRyrg2raDQ14L3Me6Jd93tZ4glKVd bSKxlr1iOc/jztozEv8irqOTU2lQqbmhHDC/ysZ82b4UZvDRqpnkpu9EPeYAal0h91ND CxcwAgla52RqSPZENDwbWZcGj8OORtm0IUr0G789NYPAB4MdsTMtuXUciXySA2iGOYds R1fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525509; x=1695130309; 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=p/toa9pS9T5AtU2jODTxKlfzL37CYz7xztaxR3Kuerg=; b=ZsN1KTQYcwWIsxGwMglQpwwTn2bMqPAwkwyuxo6b6igBTOISbrtgC3Oj79n/9XRKn1 KYmUaa1bPTPIl9g7Kc8dvAt6Ba8ypcA1EnM5dWz9tWSOgTU1PzTn/1BbjtaI7IBigdgN 9HUcZB74wIBHrmnDFVhdZD/ve4IuxZ1TNzHijLWI93Fs0DFNxTxkNPfRSnOTeHAS5QDy kW9be1YPfJTm8KgFVLzChQNyW5T2W89nyg+cC1vAeWMIPLPTJZCk+VeiejU89H7wim+f zHln2GlGMifXuLsfNYJ/csGFak1iImYx/Zcc/jAR9sWcdzbw7fjh8mV2BpZmNp8gEkUi NHLA== X-Gm-Message-State: AOJu0YwI8qR3IK00N5q4OmBSRKkDdQo39NoxSk20FDjrLeZIvAMUjS7m ENwnMRh3YpvvukGMgNFfaNIe7TEinJplaJreE6p3lQ== X-Received: by 2002:ac2:4bd1:0:b0:4f8:71cc:2b6e with SMTP id o17-20020ac24bd1000000b004f871cc2b6emr10936412lfq.33.1694525509563; Tue, 12 Sep 2023 06:31:49 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:49 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:40 +0200 Subject: [PATCH v2 02/14] arm64: dts: qcom: msm8996: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-2-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=2848; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=KJS+g8imvlGvy+iOWWG+njdWWumPc4ZACNA8m5X6Spw=; b=Vz1i6p0hf9j2AZfyi0h6+asFnDXhLuTcVphpFHzsboKbmh43+Q3f97QVxAybhbiljZYkaVDv7 qiu98Vd34ljDH5BRsx07Tkl03XAfchJAmv5vyIew+Cd4D4i6tdRn3q/ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:37 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776842773130952104 X-GMAIL-MSGID: 1776842773130952104 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 c8e0986425ab..acef67ab0581 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -798,9 +798,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 { @@ -851,18 +848,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 { @@ -882,19 +873,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>; }; @@ -902,19 +888,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 Tue Sep 12 13:31:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138232 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp466390vqx; Tue, 12 Sep 2023 08:01:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOUCo5KamHIredEC/36qJax1bObxwoiCk4qPeIrRGabPlk7eI6ZTeeD0B8ESrxkokUba9w X-Received: by 2002:a17:903:1246:b0:1c3:bfb8:8c1 with SMTP id u6-20020a170903124600b001c3bfb808c1mr5079085plh.65.1694530861408; Tue, 12 Sep 2023 08:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694530861; cv=none; d=google.com; s=arc-20160816; b=JTCOb1ocOuDjSuavNNW8CWK4jdoOfDu1ArKfIbU3fCmos//tk9pyZAAfA9LRzAmBg8 mCYtxU1+yBis4TjKSJJZpG5Xfr7mOdexfRl4a39tr1fRkVQbMAFJ9DrCCK2zCF4/BtXU JWQNDIM5YG+kKkSKpATUndO0UDWMRQTzEf9rI26DHTxmUGC/knhK5wLkjR/qC0R9Hyhu mFqbz+QM7tQU1DtJuaBHTVeC59muJ3dZLbao99H6bnuELoC3pw+hM6r3PTgK4vuiHsb3 iBoxQ9B9596b/pvltp+g/s06XIh1l3uk2tuaA7tKLyB2nNGndF2wFAP8M3ftlCJhN8bk i1TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=15fMag9VX7XAPE7WmbOLmSr+PWzruauhSVe+u6uS4NU=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=jwMMC+xbTtrjPsWlBik8e+OmKRg6OI2FOvq1Up+TiAQtd6Ccru/wWGYRF+a+QUcKk+ j9iniEKjqcrH0FE4UfFL57JefwG2zRg5HsqutNcSdMlZylSZdtE7MmVoc0Jfx+25K1+l d5tLiTSAjxD1NjqvRVsz8Qo11OPnkWY9eD80lEmj4GowwyzzHh5w1ju8Gc9iWt/GRb6C LPEf7RV/pX6HxyrSy11V3nbiUoHj0Iq4mEP0nJCMU2LPFL5b0g/aiM0cTgAUXbCd7y7j NHbdgYwZw2K0gV48IoIyG/S1QaC8f6oCmSfp2n3WoSq7vzlqurcr6cHRxR/KH9IDE2P4 RaUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tyJVniVC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u8-20020a170902e5c800b001b8921fbd87si8813693plf.490.2023.09.12.08.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 08:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tyJVniVC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1C27581829CB; Tue, 12 Sep 2023 06:32:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235553AbjILNcF (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235588AbjILNb5 (ORCPT ); Tue, 12 Sep 2023 09:31:57 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A61C210DB for ; Tue, 12 Sep 2023 06:31:53 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-401da71b7faso65730125e9.2 for ; Tue, 12 Sep 2023 06:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525512; x=1695130312; 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=15fMag9VX7XAPE7WmbOLmSr+PWzruauhSVe+u6uS4NU=; b=tyJVniVCLG7XFxxT6w81c+kkAR0T5+VVUrwidJ9KPC5MDwsNQplbwjll9L34vrCbq9 53jsdnX1dL/4W5cyc6lk4Tj6ZsnTBpUdtbdKLQUpFW5l3ZBLepE589kYxfP9eKtuyovA wQqudQ8exEedPRONHxshT/FWV5wtQrEQvjIot5lApVelBUY9DysPMEc5gzTUkoybwMT4 5PhzKN2vNWqw2V2KeouRP/1cNplAT1pI0ry8GFBVas6pig0gmmLA+sbhOmR7LV9+sYRt haTZ8TKDLCZoB6R1nLnHaWMpC2nks1utVCXNGEP9ONbasZSlcw2C9Q8tTYW3oWzU14gZ drXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525512; x=1695130312; 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=15fMag9VX7XAPE7WmbOLmSr+PWzruauhSVe+u6uS4NU=; b=W1dsxYJVH8BTL3iFigyPgn6+jaYG9zBWFaiiqFKcNAJUFkpj0HcfkdoU20bRlk/7GC KWessgUKR/pgDLHaHzqOhWBtaQ7lO/MEjZihBWKRRp/uAdwBZm656ygStSzbUiUAiriU iRB2+amnbPfeeFhqeRHOSHJXEzbCLUVvgc/aI/s5vDRbDpKiUpNYgXDgVF+REJnyJ6pl +yJJVnneDtwb0xAwiI9KLhKgfZw2xklM8CRNYkzNYHMFaRan+mJ2/wT/Heb2IV6jWYcL vTtl8IDTF4PgO+Gw8rsomXAqonyDcjYqU+wU9UMKcHtiHBraWuRvvXVgyiJeNbySjQmZ AIkw== X-Gm-Message-State: AOJu0Yyx4oEjMQO2DIZ2yfxM8By2nkT6rnrMg91BMhdmK/IZ0XP5cv1n N034pmLmfO4PKsWvUsLOrzxB8g== X-Received: by 2002:a5d:6ace:0:b0:318:fa5:d84e with SMTP id u14-20020a5d6ace000000b003180fa5d84emr10328320wrw.70.1694525512184; Tue, 12 Sep 2023 06:31:52 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:51 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:41 +0200 Subject: [PATCH v2 03/14] arm64: dts: qcom: qcs404: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-3-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1392; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=pDVqi5u1eyS8PF+LLrKBDGtxabkYLIBhlo/it+9/q/s=; b=eEGSlqgAFu1mD7wz/jcb6jk10/d5zKRZp1o3SpDMYtk0OyzPD6rNVhhHK0f3HqD1/bzDhdFIi AqQmWf6aqv4C1tlXP+J+YqtrCmf/Jp3XN73wYwld8apbiDkMHA3h8+o X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:27 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776844392365870107 X-GMAIL-MSGID: 1776844392365870107 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 2721f32dfb71..317a0df30b83 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 Tue Sep 12 13:31:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138763 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1032157vqx; Wed, 13 Sep 2023 05:03:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0MoOH9GYpEtQAB+Dnh7fhPiCUyh/AaId31Z0UaA8yikeBnWK19M8r7OykcReb/shiG2nN X-Received: by 2002:a17:902:ea0a:b0:1bb:b30e:4364 with SMTP id s10-20020a170902ea0a00b001bbb30e4364mr2937413plg.39.1694606584286; Wed, 13 Sep 2023 05:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694606584; cv=none; d=google.com; s=arc-20160816; b=s2hy4zwmRLfQsRchMatOlEvPPRSz//9AY/lT27gxhPhgUKdu7/HA4eDP287hcg0IbD LWbQww8ujuUh1nmiDkxRlHc297uLxJFmrk1ixEZGEUd2RAiNMpuVP9gcvfAwEKGX504E CSXezImJqQL0m8YtTQWdR0xj/SvX930drXVaBGC0MPthrgX43UbscsS3EARz68ynNXsX WtlU4b6IDqYivTsFH4XMdlw+ULk02HIZN4iDbzoTKPopqjuOv5GsFfcEt2AcDHgWOqYw JBS3MVLTIhqZqLGhWirQyzfPC+h5PZAegcEgaaeXZUI8wKbU7K2iRDaR7shE8OCvBxnz i+sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Aby31Dy3sRvYCseJbVFaOLlk+QjTt8y5N0c9zPR8ufo=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=nKWucq+/gO/J/+WJbDag4a2khEIOyMV8OvySZMLPTwGd2rslRAlQklWvNcagsQj2mL QqJFd6R2ATI6RjvSF6MSn5yBz8Ve3sLhQ0pujYSg4fXK5NfzEKFv5zPQ3+8Ss8/oz36i O50Ctw5l12T3WJ5CxSjujjFdmvaaIFq5kkznjS7MyPIFY9y/B/bZ5xk6TPN5lVVODLUL cdLwOnC9TtusJk1OElRMsdeKvT4Wi4HwadoD5SivfsIPPOCNhK3D1cexf/R57n+PNASK Zq/kksY3ckDqg4j4Bzf0l2HAoQP4nQilL+5IUtI/+GvsMHZ3r6agNr/MWluM1SNXL7ET YVrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GFSqj6Jh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l16-20020a170903121000b001b9e383bb34si10467473plh.120.2023.09.13.05.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 05:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GFSqj6Jh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B11118083ACC; Tue, 12 Sep 2023 06:32:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235714AbjILNcN (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235631AbjILNcC (ORCPT ); Tue, 12 Sep 2023 09:32:02 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1427E10EA for ; Tue, 12 Sep 2023 06:31:56 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-501be2d45e0so9485988e87.3 for ; Tue, 12 Sep 2023 06:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525514; x=1695130314; 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=Aby31Dy3sRvYCseJbVFaOLlk+QjTt8y5N0c9zPR8ufo=; b=GFSqj6Jhz8YAMbfbhs95DcdyYLUIo0JBtYfFJT7cuiOnUEMcA/xtu1TAuWznKJxl/1 z+0Hby1MjEkNFUNp9GNEzcabpWizCHvhII2xB9b2ZOxjq7m0lbt9aAp5fGpzvlH0c9iZ kqzJ+GR5Y69IFo2D3irTLsM2VtUIwqaYJhKeA2vHwUVtlS/OXJnUsR2wFQmaSpsEbi/B XHP8V4pYObYWKfCeLo8/PYPNhJCT+CrYNXJaE/6hyc18zTBgJ/gPvODOAgGGkOGEo1B/ zYTCN4b4M7DsKJ9lxzKbXnyaZe3zCH5hEfc+QOVilzGhbumFKoAizUVoYWX3cfbxibfH JePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525514; x=1695130314; 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=Aby31Dy3sRvYCseJbVFaOLlk+QjTt8y5N0c9zPR8ufo=; b=QaMhFkNibPK94sFsjdfxh6QHXkI62a3bio2rHKgI3y41XqjE6OakGd6ggGi8cUaczK 7mcXFxuNuKGN8dCtnTbYQpq5IL8kDeXJme9LQ1Dfjap2Lro9RrM28gXYQkP4QkzaZ0vz JsLZ+7WpQlwOdphWox0F1EtYUWAAWBqBT1Q9rQ9Sqy+7ulyCOsbkryUG4JQBbBl+4Vsz D7VsGZUp4fYSOjJo3rlfTmi15D6UQKylDB8tXda6J1RmAjIwByDZE5Dybn/j/G3vUKUS 9qegL+qOzLupdk5rTsUy61NuFnXDuOmGKl/ul8HTIbHA+XjBdo+O7RWAX/ZeTulhj+rQ PtYw== X-Gm-Message-State: AOJu0YzXQQgeJZKnWA59nLV60jRvCA+OyWUfaNNDO82x+ahlF1SI8QGf PqK5ts8T/QpDjuMixZd7Mj3+bw== X-Received: by 2002:a05:6512:3082:b0:4f7:6453:f3f1 with SMTP id z2-20020a056512308200b004f76453f3f1mr12382111lfd.15.1694525514362; Tue, 12 Sep 2023 06:31:54 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:54 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:42 +0200 Subject: [PATCH v2 04/14] dt-bindings: arm-smmu: Fix SDM630 clocks description MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-4-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1204; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xOXLCwUDc6wbp5lgmZN0L2nK0COMDmBWvidVIRQZaEM=; b=9rLnt5RKSrJMRFdngo5FKCbjpslTV8Cgk2lRTkIJu0MXN2kamhiEW4QKh2iqUto0uklN8jmmB RJYZYYDcHW/DK8tejnqcKw+w+Nc+bm6mUhq241rpD7dt2X/C+0XTq7z X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776923793494449106 X-GMAIL-MSGID: 1776923793494449106 SDM630 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. Fix it by dropping the bus-mm clock (which requires separating 630 from similar entries) and keeping the rest as-is. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index cf29ab10501c..b1b2cf81b42f 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -270,6 +270,7 @@ allOf: contains: enum: - qcom,msm8998-smmu-v2 + - qcom,sdm630-smmu-v2 then: anyOf: - properties: @@ -311,7 +312,6 @@ allOf: compatible: contains: enum: - - qcom,sdm630-smmu-v2 - qcom,sm6375-smmu-v2 then: anyOf: From patchwork Tue Sep 12 13:31:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138314 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp538383vqx; Tue, 12 Sep 2023 09:45:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGS8UNCGqXvI3mzAMlMWPawRrOCDx0YIMpBqeeQK1kijyPBO2bG9hdXwkRFJrJiqyBGGxyL X-Received: by 2002:a05:6a21:798a:b0:14c:d105:2d16 with SMTP id bh10-20020a056a21798a00b0014cd1052d16mr12885729pzc.32.1694537111510; Tue, 12 Sep 2023 09:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694537111; cv=none; d=google.com; s=arc-20160816; b=H2qGLkk6Y25a58QWVd7cnHZDT8yZKPP13rFS4BcSJRJRS0Rfx+r/QPsR+n3I6NgBK7 ClXDRdvPOQLS5dZZPv+vGveujesexkJwjTz3gsXdbSAAB+yj69lgqCSNyJHnq/JpJNta OPnXjJkJ3Co2FDynIpoGCfgN1aYVt3CrUyVQFCF0mes344IGIr9orZ3NZ2EAk2Nh/HIR WXZOmE6KtEcFjNVujzd5pCJCh9tQV3ylw7TCQM/xe2EgDRrKcY6NU7sL4jVVmyUPTi7t pGSRkrJ+wsnT6e/l8LuurgedONTsK88I2p9BcZkr75KFwJpf72gWL8hGijSRt+91eMIK Q+Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=hprXduSERdcXr8fQPDcH/kOBSydAG/66jnnLTNoJnrQ=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=xlYQc9q4H5YVKeE+Z8fyKnuGo7uudHlEsNXuuNWvNDD0u0vuwLWvDftKc9fdN8uOKe TpVoFJrksD2V3KJ5gEBOEN+w0UlFbd/VEAaJRyvYZ4QByGfIJ3kTrr6GZpLodCb7XTIX eExJ1/DSGeFgjjKCe6OmynJ8tBE32jerX8HH9DWwwKizVtwj0dUisoT2WAEJNZ5OZF0F sMCWLmxFcyI3FuM+Jqb9jNegfzOljY3F5jjsbfOZ2bwY33Gtwv2v7FeChi+8UpotqXMu LM7kDymfA12ia4eEhJiRo8cH91Jx5lSehtmU5HMED4lHpFLFLTDvXkXXGeg1tj7TqCNh a1ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nl27IWqi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id le6-20020a170902fb0600b001c0c86a541asi8107998plb.375.2023.09.12.09.45.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:45:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nl27IWqi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 76DEC8227414; Tue, 12 Sep 2023 06:32:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235588AbjILNcU (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235672AbjILNcL (ORCPT ); Tue, 12 Sep 2023 09:32:11 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ECA21704 for ; Tue, 12 Sep 2023 06:31:58 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-52c4d3ff424so7303477a12.0 for ; Tue, 12 Sep 2023 06:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525517; x=1695130317; 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=hprXduSERdcXr8fQPDcH/kOBSydAG/66jnnLTNoJnrQ=; b=nl27IWqiKLhE5uIdAcKZuax+8oxpllZxIiHmmEpWy8q4x4MgqsRZczvXDHNveEHWs2 1o1Kbbx46Bd8ZLuGtcF5Ema1uY3hdvytE/CjpmAI0I+S2IGJsl4B1Bj/rnRD01bsx4OM HvvRHrrD+MBzAM2XFg+tj/qExR52hiiTcMvi8+z/Lk/agFM7DfhzIh/enKT9b9oaG5E3 BiqUbMzhmJeW9p2bzy6u5q0/H4MX+2DdiTd2NQqTqw/i8fEJ9hAwMVVx6blqVGjozSkr ZlrrWqqCsop7g7gGxNznZy4gsooey6+kvMxnVRCgih7C8HIttTIIrw5DLHv9zplYiAV4 Rzag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525517; x=1695130317; 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=hprXduSERdcXr8fQPDcH/kOBSydAG/66jnnLTNoJnrQ=; b=X+JduSKU3pnc3lTwE7hD7jiIvz2MYAQzgUcMWnfL030EmOGJ5eIKnI4WBQpzkEYTsZ /8qSoYQDwMXTb6r9uuQeFYCWfnUd72K17TRXrT8J+eNV2ZKbLcLzwpmJhV1Y20yf+zlQ viwnlM21BIreloMlUtgsdflqENOmrCupkhrQVuZh1GRGns7gno9HDj/PSYfm9m0uvOsU i7jMAiR+9Jqy1pNuYYOahW+v9hXu96leDwxzUAbJhvaaYDZ5QLjRKkgbscvwT5DQShoU TXoGBmV2gwxA39NsqpWo9tdQFAWtTFvoTnM9ovKfcdMxTgGH4GZC8wrGaZ/hVtMYWGTR zPEg== X-Gm-Message-State: AOJu0Yx0054NSGpnwLFA0WH5y6Wu9sOWcPGrh7m6KzpMBT7V/Oe3Y01T K+N+c2RI9kqDb0bHhL4hec2rMg== X-Received: by 2002:aa7:d58f:0:b0:52b:d169:b374 with SMTP id r15-20020aa7d58f000000b0052bd169b374mr10440089edq.3.1694525516691; Tue, 12 Sep 2023 06:31:56 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:56 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:43 +0200 Subject: [PATCH v2 05/14] dt-bindings: usb: qcom,dwc3: Fix SDM660 clock description MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-5-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1330; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=oKjuNkgzsVv0G3/eKjMFGrCERVPsFFgQT84K83ka8+U=; b=MJI6Zkjgyl4e/MBwCcdEzH8lpMhZ2KVzQxUnEtjyLeHGmT6e7heMAaUtUwnoDHT26EvzWZBNP +YNiyOZcIsxBUbOqbN8aA8+DhPq+d1np3mYs4n3yRdSyzMq/mH7fMiD X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:39 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776850946027553384 X-GMAIL-MSGID: 1776850946027553384 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 --- 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 67591057f234..820878031d47 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -283,8 +283,8 @@ allOf: then: properties: clocks: - minItems: 5 - maxItems: 6 + minItems: 4 + maxItems: 5 clock-names: oneOf: - items: @@ -293,13 +293,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 Tue Sep 12 13:31:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 140024 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp760815vqi; Thu, 14 Sep 2023 19:39:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGW+SwEl7PDEsNL5AIFDAtUxl5Vwnd4p54JP8VassPq+chvQ2UtwQYBlObTvW8P83h3BoMc X-Received: by 2002:a05:620a:1aa2:b0:773:af20:43f7 with SMTP id bl34-20020a05620a1aa200b00773af2043f7mr119673qkb.54.1694745547359; Thu, 14 Sep 2023 19:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694745547; cv=none; d=google.com; s=arc-20160816; b=vY2Nj14kfreY/nc0oO8rxYNb2viPr7KVYhUgYb9PtwtKnGseZaD1zdIXTip/AqjA1M +6T6mXbsl5wtSH5jLCm5lv8xH5KZE/AP9Jg3KmrdwAeMijD7OKrK3qv7jSNhWjPoAdnb SL4dBYR9vzv4/9O0DpdI7xG+NhnE0ogzKCAp+gL/bglQwmmZTlwL91lvS4STAwMKs5Bv pK7hr+Uv5/lxru48pZAoAM2cgZo+3+Ln75MG9PFMsQ0Lp7jEVBY6L30vuAmfgdhPPJ8M ENR5EuCXOg8SuDWZZ7vM/1bWxJc8EMnbKrWAhzCQJWiT6sI5P4fk3FJQgHcSmOeM41ZW JmhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=9cAUp6iqIfoEYwT2Ywlf4KbJQ18NYneTc7cMa1vlC9U=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=X8/q2K+hzb3l7mndyV0TjJJB0OrLFIJF2xnFOCO4+Md0PvxDKD4wtfpfIueyXkmUB2 8UtvcNeOV89hwG2ajs/QBKJHaCpSq/pvfOEFa0ZnX+TmMX4w0tvCsANZP3ghc0uAIHHa YsqBHS3e5bWCR4dG0x1AyF+Yhd8+B65KpGW0y76SLXvUEgdeuLJ4nea5Oa6A+E5eeHlx XXlVVbkRo8GKpYqJ68Wdf0ov3z5O4TKBL3pTXF+PLhaYclUGJtI3ndMxWBrWyFlqvFmV 8iKEryLdf71oCmPlcMTY5RkZFiXqvos4rBXK2C/wZSQVAX6hr9E0jyi88eAFp4h7YYCw 2RCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zxi+hvkS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bx33-20020a056a02052100b005778dc6a841si2847112pgb.178.2023.09.14.19.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 19:39:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zxi+hvkS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2418280755FB; Tue, 12 Sep 2023 06:32:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235728AbjILNcY (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235661AbjILNcN (ORCPT ); Tue, 12 Sep 2023 09:32:13 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BB621727 for ; Tue, 12 Sep 2023 06:32:01 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-522dd6b6438so6813217a12.0 for ; Tue, 12 Sep 2023 06:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525519; x=1695130319; 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=9cAUp6iqIfoEYwT2Ywlf4KbJQ18NYneTc7cMa1vlC9U=; b=zxi+hvkSz2Btoi44cltmtH+GgjwmH1u2CqeBGEbFffx/FV2twdWtYC/c1K6qQ05Bi2 8L2wYRTpbJYuDeXRzMGLRHfqQM6lS7vVkAUDPX4ki1iH0+Iuh5uQVjEpR4lqL1tOUNfG snecXhaghQ4MbwZB49T1ACO6LOCxDT+t9xAt8aTfUS0TMQN/UX+NWzFQI84QELa2JAkz 7dOtJ9N/deoyg345Llovtu0Qe0ZB8i6YyI8Dlg5+tsyRIDpCc5+k7Bpjt12E4iScqtXk KVHqoZKY83mCYLldeYAtV5V5Ywryp2cirsFRoFxa7aDdUHfo24/o4CiTddCn1H6vwBH1 lwkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525519; x=1695130319; 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=9cAUp6iqIfoEYwT2Ywlf4KbJQ18NYneTc7cMa1vlC9U=; b=YJOH4Nz3c6MKgVeGo++ZV/LlldaogqLssXq3rGUcx2lxFTVzs7lZv+QqHOpR5d5CTe H91CuS8IK5FYHhzns21LysKPXTe9PuTCIVffVl+JNio1Ml352Od6QVUV0jG+gUK4oJuW WUHGwrpAMyye/1FdX9GjTR6tXMrp20OC0VUiLFpolSUSdOF6X5X3qeNEQz3Oicxekj6X rIYOHqivHtjcKZ4XzPg2Gq9UBibvDWXwwee1MIyYvZCbyXrkmAEGi9ltb8lDTdJvCcub D2bUIm5efoeY2KEKoA3oWCUFRtNB2VREOktSm3e18RUJMhBpC00JEv3y+quPo45Wo7w3 oGhQ== X-Gm-Message-State: AOJu0YwQAGKkrIXaTVcx8D/TYZd4M+oVacGdOscSbljnlxEHOcRL+Ol1 z6PaQkrJaLCtyNhEEavkQg0RwQ== X-Received: by 2002:aa7:d3d1:0:b0:523:2847:fb5a with SMTP id o17-20020aa7d3d1000000b005232847fb5amr9100271edr.40.1694525518977; Tue, 12 Sep 2023 06:31:58 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:58 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:44 +0200 Subject: [PATCH v2 06/14] arm64: dts: qcom: sdm630: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-6-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=4386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=sfSwBRR5enYP/jva74He4iYb0xqA+8EzRsqTAivm8lc=; b=alB5BmdWnE9xT/JxFw3plJfN4oBVJBWyH/BVrel7Aq19GlTTN1KjMGBe4rU9ZDoyLdNTjNQGM TP7Ze06lhfbCG3qZI+o+IfoOiGCLS3T9jh2pHa0YjDzQGNiD3dTduQS X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:31 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776946163294188936 X-GMAIL-MSGID: 1777069507389505711 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 Reviewed-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 49 +++++++----------------------------- 1 file changed, 9 insertions(+), 40 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index ec6003212c4d..f11d2a07508c 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -605,9 +605,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 { @@ -619,28 +616,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>; @@ -685,16 +671,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>, @@ -705,10 +687,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 { @@ -1228,20 +1208,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 = , ; @@ -2144,10 +2120,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>; @@ -2264,12 +2239,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 Tue Sep 12 13:31:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138569 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp818553vqx; Tue, 12 Sep 2023 19:58:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHiBwmXcyLG8cwypfUdOxN4pzSH+c/47aMSxh1wVbNE1LjfX6KuYwZAok8z9i4/Q4f8Y9c X-Received: by 2002:a05:6a20:428e:b0:148:9ce9:2f2a with SMTP id o14-20020a056a20428e00b001489ce92f2amr2145626pzj.8.1694573913224; Tue, 12 Sep 2023 19:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694573913; cv=none; d=google.com; s=arc-20160816; b=Cnvm+GFT4SWmz6rb/PV5UFZW3S/1Mo62WTJYzYBgNXBJwMjUc5KHXV80iO3188Buiy xnNam+BiNi7nig7hcNvP1Z3FTjwr7S1/Axomb12PcV0mB1jg51MWEM0OKWpb5PDFI0ck UKlJnC7CaskROBi6pa8rNak7y+ys2mHD1B/YAVhDyJurSF9yMT/T1KEnxQhToGXFTpfV Nd3J50/3dU/cQVq1OeYp21Uq+oHaGFX+X9eFQ7pIQVFAqRhKoD3EUZouCwDIk/3aq8ZI 5Quawl/u5xxfXF0+IWHmns+3Ci/RdKxB2e/iKALWBol24W8c7BTefQNumqQcq6HUnqSJ f60A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Y15C8Fv8QHJExv9aOHGDEKpdbaBfEIqNr0Cf6pow0Ag=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=pZc+Kx0TGAJDkEhHtWS8Lb+7qeTNO+K6T6kM1IHEwkuSWc85J/Qui+eR240ZNMRZh2 576xnQdEyPuq07L04NHumpXDDBhIbY/MtidMrw+wtSnXoDlhexJRTFA4ayg7GdjPkqCi /GkQH4AJkh6RNLIQyK/4Wr36tcgZZQN47bmS36I84KzIGEGx0qHIrPMFPIAkM4TWuSex SjzXpxCQkEFbJ1UF3pkLBY7/DmV5KlBbTPn/4hsaeIGw1jFDlB95l5PyomPQHVrKTrs6 2thHKHSOOKxMy78ql1QEBSyiZwDE3K/PJOffU5ws4AxBVPgAJpT4Wa5r4LZYnsoDGVaO 6F8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nI91iwqJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id fd42-20020a056a002eaa00b0068e40491f6esi3219941pfb.270.2023.09.12.19.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 19:58:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nI91iwqJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 200D28227405; Tue, 12 Sep 2023 06:32:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235833AbjILNce (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235742AbjILNcO (ORCPT ); Tue, 12 Sep 2023 09:32:14 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B8DC173F for ; Tue, 12 Sep 2023 06:32:02 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-52bcd4db4e6so7351555a12.0 for ; Tue, 12 Sep 2023 06:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525521; x=1695130321; 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=Y15C8Fv8QHJExv9aOHGDEKpdbaBfEIqNr0Cf6pow0Ag=; b=nI91iwqJIH1SjoS5i8r+kXQCiccUkhQ7ewjeK6z07T9NvenxGlsVu273mQGCAQp3av 2JW2LiR+yk0KEb4KXGLmQQmVFeVUjSkOA6IsROSSExxspjyeXRc+t22k+W2jHm9qGohI +zJHg4zGlSKsVe2LTHBPJtLcPWRWdJgmZoUT6QLeoyrUTXQ1ZVCyW9qSrrWhLqgPbNBl AmhBfuewRF9H5O+RrexSceiBlvddffaZOBN9Eqvgi/yebc/wNYabeatgkqHFmuKrOt54 Z5c4n37r4k9AdIrTTCMTjvvjnK0sB9cmm8XJefOiL3Kv2P6JXNeXSgRnk0u63Rxpzkyr niPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525521; x=1695130321; 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=Y15C8Fv8QHJExv9aOHGDEKpdbaBfEIqNr0Cf6pow0Ag=; b=xFwQtHoYZ2czMYMINFfbhFdNOHNURQp2sK3xWLLlFCEZ67BMfL8ptRFOWPLbJqhbhO yE1rHaQvJcN1CQXb/VwrDWkcqWEiYz2vYB6VxSHdAUqUBVDXN07fuiRhv5cumTA3EzaM vMRKvadobAVLMIKZE5F1RRGf9V6FFNdB97ZYvhuragDS7FGFqsjH+pW8ANMwOoQRdNkw pbDpdrJmGCTi7AQLn+AJaUZbM80QrqJc8W+pdtPyyF9547EbjTi/AmnzxRXPdt1NSLX7 jtUZ6Zz9NHkEMvAcBcjplRABQTS9851w4e3LqZjKYoQfqwBF5mBQm1NMwV+w9u+kWrW3 w6dw== X-Gm-Message-State: AOJu0YwRCk6zNtVRZxiHonsU29ntpnoCphIuEQ6HZFgmh0EO4z3+9vkU pjqDorGHnYXhqFwTLShfa4ReZw== X-Received: by 2002:a05:6402:7c7:b0:523:3f45:5678 with SMTP id u7-20020a05640207c700b005233f455678mr10703279edy.31.1694525521218; Tue, 12 Sep 2023 06:32:01 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:00 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:45 +0200 Subject: [PATCH v2 07/14] arm64: dts: qcom: msm8939: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-7-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1626; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=hTGKHTrH0J17CafSs4xXiO5hAXDwGff4qsoi0JWwbnA=; b=l+QgN/I9sJ1LySbRwaJMmRSPxHrlPgUlyioN0ie8QDsjFp8u6rYg+lKqT3jjZ7Apm7mhB2dgS PSf1efuodKDA5yu/qkP/pv2fKUCJuDLwADDK3n+SXTx671DVTtqp0Da X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:58 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776889535788802093 X-GMAIL-MSGID: 1776889535788802093 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 Reviewed-by: Krzysztof Kozlowski --- 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 6e24f0f2374f..e3d1eb7dd289 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -581,9 +581,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>; }; @@ -627,25 +624,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 Tue Sep 12 13:31:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138403 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp639924vqx; Tue, 12 Sep 2023 12:42:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHyeW6rhEWGMiD+gpRDoG9QBxdjrTw9CumNiSazI7B/ecHksB93Tt2a5g/cGt6T6n/+8wey X-Received: by 2002:a05:6808:1b20:b0:3a8:512a:41b8 with SMTP id bx32-20020a0568081b2000b003a8512a41b8mr922260oib.21.1694547729079; Tue, 12 Sep 2023 12:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694547729; cv=none; d=google.com; s=arc-20160816; b=qutnqiwaSjsmmaNbuFeuIOQyxXG3tJOw49EzpYkGAsrJJLc8b4lG2lkF03J1rTyaii /vOjF7W+t27Eb5MMCa7WKx2UEutD35ZgVve/dU47hm1Y9JWGK43q59LJI9ut9bpmqwUv 96xJ1aAORiXdsj6Wt9lJfwCXKJizs294CpC+yRp77Q20vjzhGlux2zEVuWrpzfm4wvym HCxwOKe82BsDq46i39+U/f78DBjbZBUx8YZbRbnYJ7CpVSNuHQF9anVk6ozSqtDEmRUD AC81eZfqO2vXIRp56+MCG1ah4pWvGZe8rqJ42Q5aSWhsGa7epARgKYvJMMnqFYMt3ewR zRDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=7fIbXPUxOgaRdqz8db2Ih/LEJAu25y/8yx2Z1zWWYkc=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=oGJcdy4gPmzVXs9ga3KGxZyaqwdXTYAdeU9U4kIb4ZZL7hVO4APohl8F0VHOzIA9jI RTOr7cm/p14R1pwQw5CwS+TZrpGjzFLL9tPwcm9jw6nJclJwxsVhWW8p0AyUPt0Z09wu TJl/ygi6vyij3uGTKto0h3yTlQXnKAj37PQFnjvCGfObBCuf28WQt24oRvDO1lZPe2J/ Qg60CZJ7yZnZu+Y6VAuC7WxYp+KWVUYKmc5oAl6eFkfkqpkBEnPpz2peMahT/SMcGkBf zRNMuzF2Nx80HUSKPPCdTZypsn+V7HFjyXCQXJ52HQdWl2flKQftLC4h2i50drakqCGU OA/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+VXIbyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c11-20020a63ef4b000000b0056949c3eda8si8121423pgk.119.2023.09.12.12.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+VXIbyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id BB3258095D89; Tue, 12 Sep 2023 06:32:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235775AbjILNck (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235780AbjILNcV (ORCPT ); Tue, 12 Sep 2023 09:32:21 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F11319B2 for ; Tue, 12 Sep 2023 06:32:05 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-403012f27e3so37063555e9.3 for ; Tue, 12 Sep 2023 06:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525523; x=1695130323; 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=7fIbXPUxOgaRdqz8db2Ih/LEJAu25y/8yx2Z1zWWYkc=; b=h+VXIbylKDiTqHIReWFnyM2iADHgbBv+i1XpXVekNobbAPZ2W2XIzZK+Tjz4y6YA2W GS3SM9ZFUdfJgVO5dokLOT706d7X8t4xwU1Yq6Ca/LyQq4rHhXWAncDTjtPoojQuldGP PPuL6tuZQ14m0iLV1uVigooMGCYR0VCTS55glBrUlCG/KKFYydi3u+qMKeOE7OM3dicC 3GQHgoMcWQSPjVqINUdyGG2BdBXsw9WPtM95mCISqTPE8iAszz/btUT4vKKymkrkiwdx PwU2b6no1yivQ/RAV391143ufIg3PkzB6kBoe3s03ZDdifGDcNBqpLgoVXjWWiEUBc3b 4NTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525523; x=1695130323; 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=7fIbXPUxOgaRdqz8db2Ih/LEJAu25y/8yx2Z1zWWYkc=; b=sKuv2BQ7Xu9+5SYAHf08u4u91yg9lAWR+KXU0kbavJKO55Y0K9uGLEBf2sjSn+OggH H+e2cgo7xzP2+Mk37kwHUEQfIiklGGyoAlf5HJNNWtyuycioLE6ANIkFmbk2eyVoOyDH CigXdqOvw0C2Fxv8iEfz7g84QHlKoPbRbUiV0LFwUlnmZbY7N6FzHd48jaqGlp90XCwe OQ9G4qJ7NMW/MeyM/GAJkfAAw79hMMa1feEa72Ti2OIBLuC4oNCe8QZIQy/IF5d+DwNV AVGdoFd9kfkl3zW0CWyINEho9TDyI1tTCvMkvVuyIR8PbgkJ8ZZhhu/inkuTdZBHTulp 2lug== X-Gm-Message-State: AOJu0YxX+ZVy6WolvL0vOPtwkrOKUzuHgCKpusbtG8PaFLuyHFbo9SRk 94TBDCn0WG7fpmEFZ7vWxntV3g== X-Received: by 2002:a5d:448c:0:b0:31c:7ada:5e05 with SMTP id j12-20020a5d448c000000b0031c7ada5e05mr10020874wrq.51.1694525523578; Tue, 12 Sep 2023 06:32:03 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:03 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:46 +0200 Subject: [PATCH v2 08/14] dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-8-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1615; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=nFM/c4yhEW/1Dlnb7a6ypwnImP1sGtGxirXiBz1eak0=; b=JDyPUD41UqorWQJn/tchpJ3anwshIH4V9EmIuE8LBebXP25/DZMh3KXg4CQrOMQ4VZ/xrZfs3 iIhGTWcO1/6Aymi8D5hrH5z4wKppS/IuNsDm4BZdJkVbXR+2a1OMcBI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:52 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776862079589575062 X-GMAIL-MSGID: 1776862079589575062 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 Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index a2b0079de039..661c2b425da3 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -66,7 +66,9 @@ allOf: - qcom,msm8953-adsp-pil - qcom,msm8974-adsp-pil - qcom,msm8996-adsp-pil + - qcom,msm8996-slpi-pil - qcom,msm8998-adsp-pas + - qcom,msm8998-slpi-pas - qcom,sdm845-adsp-pas - qcom,sdm845-cdsp-pas - qcom,sdm845-slpi-pas @@ -79,24 +81,6 @@ allOf: items: - const: xo - - if: - properties: - compatible: - contains: - enum: - - qcom,msm8996-slpi-pil - - qcom,msm8998-slpi-pas - then: - properties: - clocks: - items: - - description: XO clock - - description: AGGRE2 clock - clock-names: - items: - - const: xo - - const: aggre2 - - if: properties: compatible: From patchwork Tue Sep 12 13:31:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138684 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp912387vqx; Wed, 13 Sep 2023 00:35:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEuJmz7IFAyIqRlQBp3m/V7pOipvjUIgzim8Z5xH4Js71E9SAtOd2oumdwxU/UGWXYi5c1 X-Received: by 2002:a17:90b:303:b0:26d:1d0:4f8c with SMTP id ay3-20020a17090b030300b0026d01d04f8cmr1487047pjb.9.1694590539871; Wed, 13 Sep 2023 00:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694590539; cv=none; d=google.com; s=arc-20160816; b=akhZQKMQYNs7PYsM037SXTyYA3LXSZZ3bu9IHQxSvb9Ik4gS3CLj6Jxcgmox0eCC9D h6ezzSFGFvTX8Z1ooS1pA0ATVlIGrTxtRNUELgLMoysDRFBsgJ1SffLIwMRDo3YfdMT4 ohs01tV1SqqV3Feh+am5CS7x/8PDgaJpjIjSTrrMXtqLIqputBoK9+rk6ew0ELKyOTJ2 OHfkmH/Eutd8zEU/PLTyfTmeUwtypTKM5T5ECmMpQYJcAgn2LY7DsNe3OncPPGjH/OYO sDCRytiYML+p1TH4OUKkMyFFF26M69rRjJGYngkqoLwpcPs8iaRl0zDIfKlfaJf4w0Mk dqpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=B5TUXFOv6yn9qpDAW3kO5jAn0DGFePw29Rv/Qa+Dofg=; fh=lOaqgNFEUd5RF4gDbeg8IgeZIn9pEXvt1//x/58tkRU=; b=zDW90HHgE8KEB1EDRGuACkqaUCAAFNEn6kcCeIhdyRpi7PfriK9KtkYjloUFO90wG4 1OnQd43ovo7CCBSCY6C7Ejk+Ge77ksvFO+W3OZ705QnW/dyK7BgYwxr5KwV2jTaC1zUQ 6dT9ODeeB5LS7zfKqjhxiBqDEtpBmFbgP2ck2hrvPPFWQBJoGstr2DIr1WwhNg/tAyBx x2HW9gzFSGqXTEaaZCXavARJNY5ufyLUE8mcjYs5e8YwgstfpwEaJ2ELROVN+4FjJKoU PL0RwLbBff+6pSn4J2CG1DC4KOSgp5KDquU4ycEvcmidYplXpR8K7Efyf5PD06545eOc gwJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GUwYvW7T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n5-20020a17090a9f0500b0025bdc2a0b15si1000325pjp.135.2023.09.13.00.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 00:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GUwYvW7T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id ECCD781BA66C; Tue, 12 Sep 2023 06:33:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235799AbjILNct (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235797AbjILNcb (ORCPT ); Tue, 12 Sep 2023 09:32:31 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7E3210E6 for ; Tue, 12 Sep 2023 06:32:07 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50078e52537so9505511e87.1 for ; Tue, 12 Sep 2023 06:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525526; x=1695130326; 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=B5TUXFOv6yn9qpDAW3kO5jAn0DGFePw29Rv/Qa+Dofg=; b=GUwYvW7TYXpM+51IA8ioyZdjor7F0OmR1JTfRAZQ/hSfoppZmd1R6meXI7tXnJMgJZ EwUpoHUrVroJFg8diOJBHvOURrK2u/OUWCGxKPY57XFCPxCkWGdSLvrmsUa0h393VWj+ OjsayCgCOdzloxGL5BTE/Z7CVtmctum0NdPMd8XXwJ2HpllCqx14pOJBjdOjnKUxYCwt fspcGpDByO7y4qdf0Vaz/ikP3H1w8BZzfIs9FamWD452gd5qgtAn78S7nsK/9Am2QA9n OlFk3N/HqEvtbu52L11eABDp7CPoWoQ1z+8GSUnLRkMCjc/qetF7x/jM6BRGq1fX+aq4 am1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525526; x=1695130326; 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=B5TUXFOv6yn9qpDAW3kO5jAn0DGFePw29Rv/Qa+Dofg=; b=NUuZWbPGAETbUt7/2eLVjIhPNk/P/W5DdAfDefQ4Mv1TqYhTYU81VNiPUUCIcx1PPB rLfeNbeVB6EuB+Pa7Wj9atvBSw/sLhNUqQv5Vdbp/MUxwWnUij9T3RWQzRLxj9Ghmmv4 B2HhhdoBIBjAp6pe/MEGgqbzw0jvqIFMh4e5k3v26maTbNbYRutIiB5CnfBT3yvTPlhI T6gB1x0I5FPpCPT0MFpWaxgbohEn5TwKlqtOM8FPMD9JApOCEoRi4zEld1oPbI6dLptu GkK23FY18CAf8qFVIqT3dbST2gbWj9a5wygCZA6QW/91MpvzjTWD6GSLtig80gVXU9eD 8JyQ== X-Gm-Message-State: AOJu0YydeGZ63rgVajmSwv1ZQIZ1+mmTC6eTNtz/MTVwhubi6ez1GYqS tecnKzy7knaOIF3OxMDe4+EK/g== X-Received: by 2002:a05:6512:36c2:b0:500:a2d0:51ba with SMTP id e2-20020a05651236c200b00500a2d051bamr8884352lfs.44.1694525526211; Tue, 12 Sep 2023 06:32:06 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:05 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:47 +0200 Subject: [PATCH v2 09/14] dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-9-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1303; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=365nLiorSKhklpxOJKGzrpOJcjkDQ3JA1L7vx8xj8ao=; b=ySRL9bhp5qv2LV2atLTYfW8bK0jq1ULmiT06RNxNxp7RXo7yb3yJDGE30x8jvAVd8tI2P5hSh SmOedpd+V+SCvsris2NdjIHKDtQdhxNuBTsCKDJeGhS4i0WUKkpGulP X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:07 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776906969898078808 X-GMAIL-MSGID: 1776906969898078808 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. Acked-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml index 0643faae2c39..971734085d51 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml @@ -220,7 +220,6 @@ allOf: - description: GCC MSS GPLL0 clock - description: GCC MSS SNOC_AXI clock - description: GCC MSS MNOC_AXI clock - - description: RPM PNOC clock - description: RPM QDSS clock clock-names: items: @@ -231,7 +230,6 @@ allOf: - const: gpll0_mss - const: snoc_axi - const: mnoc_axi - - const: pnoc - const: qdss glink-edge: false required: From patchwork Tue Sep 12 13:31:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp536756vqx; Tue, 12 Sep 2023 09:42:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkHIJLzs58Pf3aW7nXZ6CaTASLLT0ST7/HVZNcLC3memt0fTDQPbWpx3ZhiTmcFedUGNOj X-Received: by 2002:aa7:8881:0:b0:68c:2be:67bb with SMTP id z1-20020aa78881000000b0068c02be67bbmr310110pfe.20.1694536947072; Tue, 12 Sep 2023 09:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694536947; cv=none; d=google.com; s=arc-20160816; b=T1P/cazL4VDKdgexqWVKPcI/2GM4MnlmChd5k53oA6QcAtOoFMUtANqx6JW/UPu4DY HjlIz+KQNGT2l04woqj+CvuXQAnbzrAKqxk2T4VWbkJKWyaapwCuso5NcKYmArS8D+Lr k2QPob7oC01RlWOESq9hcbvhsuLN67BKppkuZ8cHucpSHMR3GPFqcaSEw7Tdjvf0BMeE qhcpDOEV0x8JExYs2Wt4k8yTkbJStS0NaoAlTAnGjLFz0+jr+1cIzrDbtrplqfCAGDTa WPflFdQ/XYORC2MlSz7Vgqw1Oce1sPlSW6WtPSrFpWa39M10sG405Y84Etp6JDEkmsMi OKrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=PiGJwPcZWY5VFG9v0qbCB9581xCL0QMtTuQflRx2rlo=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=k7P/g+uNnGNl+Q20wv8WceFP2+bSfITkmSpJPNU5sX6aGQDhxwF2DvaGO88h6N/ylT jf06W8c5TMc5W3BVFPmH5md4SW50HCmg4XTrBTDwMWV1hmP3Eds1HwApRbBGyZPqVVAH UnNJ4lu/G+S9q3SLj9cK/Bag+VzvqURzIfHedMGiTRkvq9KLIwsP2KH9ZVu9JxIfqeeC S+PEdYUl5kp62EPi4qUHfY0t6XhyprlmeYu1avDLEY13uFDL9gUGGZHwVTDWcpII2Zfc PDKfo6fEjWptwUlSpBGwInwEUAEUEzTvSMhVQkIamY+hav42R/ZDcCeDD+OkGAbJxDjB 21Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rwlspgKb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m1-20020a632601000000b0056417c8a310si7950211pgm.204.2023.09.12.09.42.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rwlspgKb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id BC44381DAAF6; Tue, 12 Sep 2023 06:33:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235831AbjILNcw (ORCPT + 37 others); Tue, 12 Sep 2023 09:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235827AbjILNce (ORCPT ); Tue, 12 Sep 2023 09:32:34 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6082E1706 for ; Tue, 12 Sep 2023 06:32:10 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-502b0d23f28so4595159e87.2 for ; Tue, 12 Sep 2023 06:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525528; x=1695130328; 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=PiGJwPcZWY5VFG9v0qbCB9581xCL0QMtTuQflRx2rlo=; b=rwlspgKbTHeAoR8D5UGzJVuOKstVV9HkEf9GzwtQFU3ksup5wu4ZdwN3B6oDHDcojo lXihjRpbymdTbRHaVPz9+KEQskfGmIpNGRd+L8qzvhWZ8PuuIpXCu+wumDPGL/OZCjVo WwmFsCHbif5j1L3ItbbOf07t4LeBQ0iwnPyc5omlyYGXZ+4VTFjFfFP57eHXSDk0g/yG iRwyqkarTuOMKwYChxOnfwK8ukAmRLweuhamoBLRROZIMvTWz7XnGCQJFQOYvHuI8Jf5 isKkOjwvLGmNE6oab3KJZTXOw2toU4H4Fits7yT30C1ceKK2BDbYQnkeZKKswodKMV0n Cmsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525528; x=1695130328; 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=PiGJwPcZWY5VFG9v0qbCB9581xCL0QMtTuQflRx2rlo=; b=U2wT/7peMrPyn3x01kfI8ECWKfWptxTziYm4YYRBp4TV468RC/2tt+PRg5prkmV3LU miPKAiakt0FOQW2auo59YPeXMtc7Gp+8h2VKqmu3Gd1QwtTHCcFY+Q7ZuH3B50lJ6sp9 YYfeNEqmhEBfNPhANcHmtVnO9FPF8NC/FOa4aipd6vckfEUHNm8cgPhNOOcd+Mg+v9MJ z2BIw55KxsjUvJXqLLuuOIW+aMz1/iDj/Y4SDqNBtvGnhlMP/r+b/UHSnHw1vUxerfjU ZSPa+Na5XNB+CU7S4veDPJGnkIyN3ZAIJ/vrJm8auYs7itdxs3HCOTLwA4L/gi89jeBX 0rvA== X-Gm-Message-State: AOJu0YwEZCjhGau9Y0TYnNp+yPmBNsn+YlTsswW6M7kT1QI5Tp2A4mP2 B+D+2ayzqO2AafY+qh9D7ZqOFA== X-Received: by 2002:ac2:48b4:0:b0:500:ac0b:8d51 with SMTP id u20-20020ac248b4000000b00500ac0b8d51mr9236642lfg.37.1694525528735; Tue, 12 Sep 2023 06:32:08 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:08 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:48 +0200 Subject: [PATCH v2 10/14] remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-10-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=688; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=aEImegp4VH04wiEIbWvbE829Mpli30o1nbaGMff5Zgc=; b=AVtSFIWouOh61cF+kWzE/4pk4pk1JFUIbhy8p+mvaicS0P3Fv0cisTztSIqBouk5Z2VD03M5t DbdGLDFX0efAVTM0Ehd1vRbWtAp8k8qq+I2pe2bSWW3P6lQurp2F3iQ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:32 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776850773785412677 X-GMAIL-MSGID: 1776850773785412677 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. Signed-off-by: Konrad Dybcio --- drivers/remoteproc/qcom_q6v5_mss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 22fe7b5f5236..394b2c1cb5e2 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -2322,7 +2322,6 @@ static const struct rproc_hexagon_res msm8996_mss = { }, .proxy_clk_names = (char*[]){ "xo", - "pnoc", "qdss", NULL }, From patchwork Tue Sep 12 13:31:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138239 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp474875vqx; Tue, 12 Sep 2023 08:10:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLcW565x++MetGfalEzYY1yeHc1bajYpz2Ih2hSHX9BIOEXASK6S1gjyrVFw5eVo/mFhDn X-Received: by 2002:a17:903:230e:b0:1b7:f64b:378a with SMTP id d14-20020a170903230e00b001b7f64b378amr53044plh.16.1694531444890; Tue, 12 Sep 2023 08:10:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694531444; cv=none; d=google.com; s=arc-20160816; b=BJKKoAn1rTz/KUVycAsT6xIyupLLmpu3FIET1aUoSWHJANPM6uIcdGrvefJZKlaOdk FNIHMLMVDqwavHRTKZED7WstjrZ2k3WDV9FpR+8jnuC6AK50tIFIEhOz8FoWp8MiPwYK 3bYzolM/sEDyqRqETQk8tM9k/AhTZOeoAH3ueqtLgQE5ezwQuAQmNHE8zjxMTX5Yp84n 4y1BIC2fIUODnmG2f/l9ZNMVsF9SipgafjpVTsRQxdGTm2LO6rtUgicMhf4BzlnjiaYh M7pkl+MuwyOkbSFexl+2C+8msj7oYcLDhjwDme2K4+H9RecWK79wwHzdvJCwqoEVLmrD agBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=UxtccacpBwGixpSIy230e0q5PgRxGFascOoiViGLP3k=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=DLkdD9JgQe1KyRWNPCe3IUss7zEA/gJhvhmikwsaT+6O7pDnWuw4gbGz71CzZA6u2w P2A9T9FPAaS5ccR3kDAXRzUq95NtPDh9WWyyRpLtv4pvo+5fiizJqMTv3e0NV+rZ2U60 kT0I9fKKYrPE+L7FHcdeUpnf7+Nv1dA2J4pCcpio5jOA4i6vD8QxulTT+yWCBMMly6td goT3MRz4sZnzr5BnL/MS9VzLz76YyLltk8Atr0NRZOq54BCR3fUJTljaCDqD26/8xw25 dgOJcqRluFM5l/CO5mkzeQ/nlx79e3ClYPdtzEWhJHJGUaeGBouqdMgVXU7irv18GGfe EQuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qAJM56Iw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id kb14-20020a170903338e00b001c3845d008csi7530651plb.424.2023.09.12.08.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 08:10:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qAJM56Iw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C69B48233532; Tue, 12 Sep 2023 06:33:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235854AbjILNdB (ORCPT + 37 others); Tue, 12 Sep 2023 09:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235853AbjILNcf (ORCPT ); Tue, 12 Sep 2023 09:32:35 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CDF01FEB for ; Tue, 12 Sep 2023 06:32:12 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-52c9be5e6f0so6806183a12.1 for ; Tue, 12 Sep 2023 06:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525531; x=1695130331; 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=UxtccacpBwGixpSIy230e0q5PgRxGFascOoiViGLP3k=; b=qAJM56IwJ4yiKwdjx6+cf4c3RGogvlLXWHdXGE1PgUUovkc0nCuV4I4aw0eWOzzjtO L5/DKUrsX7YsIr4vbwipNwsuMrSDZUHttczUieo/gRfVmfPMv4ZM2UE/FMDQZ1ysQmI0 me8oQRZGukNzU4F7eDILek9Y0cdqS8IP/f9DGeS3iWPZxJNLd2GIhHh5FqJwgKESJX5j XIN4/KIgMZhSwq5avsrhSKnEYnW9X78oCKCpw5z61EhRxYsZ6nXJJVf0RZkumYvEIAld fvmNYWHiJyNVND+EXM9rujXY8dhtLUDzxD6I1zVksO+a3iYswoKeuK2a4S+83W91ddll q0Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525531; x=1695130331; 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=UxtccacpBwGixpSIy230e0q5PgRxGFascOoiViGLP3k=; b=TmUTzm6nv7w2dZqZFc6S+Yyg6i/HQu2N9+OQURw+0Tw0lkpqgmtwUfzqIvSmI+i2Gn W8UmrPmHwwUaRupA1Kzv3TdIe2vy2DUOXXgBHuy9VOrdwUHozoL++rmGODm5nhDZeTNq XtbHy6/tWLf2iULhwhzHf1j8wNuANEQYqVimNpb/kBVJPMwoH9u5MkWnmK//G1unF4N0 s6PFJr6sb66ru87YBbGrUy2bpzJd/Y7x/HTNH8jydzSDglMGgFcHUYnPYByk3bkcQ/UV 3RrVCiUwH4Pee14ulk4OtcS3Ne84RY3KxenR5mPieLyUwYMn0iUXaVs/4jqJidW5it4Q q6Vw== X-Gm-Message-State: AOJu0YwuvkH9ed+MH4+tpnA8d9IR/syTacNdWAyq0b7LuVNthSvZcAzR pllpDGDoxJJfvtwRA6uS2NPnPw== X-Received: by 2002:aa7:d508:0:b0:51e:ed6:df38 with SMTP id y8-20020aa7d508000000b0051e0ed6df38mr10476262edq.13.1694525531150; Tue, 12 Sep 2023 06:32:11 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:10 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:49 +0200 Subject: [PATCH v2 11/14] arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-11-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=889; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=APDJWKGv0OM8xkXbz6kn7MnEY9F1MTCZxMvBScddrP8=; b=fm7ExDvbRT0Sd/IS/guUrW0VKUsM5an7PF7RCJbaYOVZf0humdCmaqSivS8PZcBVQ8jHJJVQP gaA9Ee5eVxDCUutCLYzu7eMoDF6RCNm3MutO/ynMxiuRHlPqxZGgrxS X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:23 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776845004239173330 X-GMAIL-MSGID: 1776845004239173330 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 f180047cacb0..5667ffa83ce5 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1618,9 +1618,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 Tue Sep 12 13:31:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138861 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1126273vqx; Wed, 13 Sep 2023 07:29:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHX+dpiEP2dx2Dorcp0K3e6AiwqrNriw0Rk1cGxIHOD/yZqAmmDLcsVJGnfgviVeBvZbvvX X-Received: by 2002:a17:903:1105:b0:1c3:8679:6ed4 with SMTP id n5-20020a170903110500b001c386796ed4mr3142286plh.8.1694615347356; Wed, 13 Sep 2023 07:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694615347; cv=none; d=google.com; s=arc-20160816; b=Sp5WIwkMv0cJ+m344FB2hweNjcogGDfJwrmWAalk/sLumEZ/y9byiPjZOJGHiWbQXu 1qwGHAffS5f7X24vP+elu2r3mw03Y0SXjGEjmEw2H9Sox929rxho+NYUJ2TdsE53zDHz Q9IUs5lgxwlGK4lSYFFhmgFmcDWXh0MAdgvlvItqoAuUyYgUW/Pd9tH7PPwf7WLYzn3O GP0LG5oBqtwl5iLi7DDTwkj+3cXGl3cauvZ8I8aAajOzxuZZcdhvsudd0Qh4MRu5d4kh 6xzsM9HMeVMMCNdVnjER+FuhSwjSI6sGDKCClLvlu96r6Dmx5SJpONlGh5Nz/29efJMj +WOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=45YFU5JcmronSMHtWIJchtM2DzmSuCT4y1WBsd7RbnI=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=AWu+nV06bOSmavtVeL6REflvQicdbw4zEBVnXRRGyQVfvO6YRRWEaWhyn41yO1AHIA zB7frKIaK0/LEPyx1kGJfoDTXmt6fbx3Kx/o4RkJxOQ54r0qNFipFbfkzNF/7uQ4YUQk 0gOLniF3zldvX8VGnAUZxH3WgRI4ibAl89FXQw50+z8dH7Q69I0R12LDIwkGQVCrmylu U7t1e4jwOkIlSuYYMO2sOlMOdepMtF5OjxBoedq2yObdrI4rX+EmswrASon6KACU07RB B0Op871i7qEnqDMe/FxcacaT6HLAW2KVcHQtoJWUeyVDdHoHSutJGUIrAhZgpx8sPOV5 fp1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g26vSFBE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j5-20020a170902f24500b001b8ba81d04dsi9890432plc.395.2023.09.13.07.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:29:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g26vSFBE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7894B81DD7F6; Tue, 12 Sep 2023 06:33:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235880AbjILNdF (ORCPT + 37 others); Tue, 12 Sep 2023 09:33:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235594AbjILNch (ORCPT ); Tue, 12 Sep 2023 09:32:37 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECD872116 for ; Tue, 12 Sep 2023 06:32:14 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-52a4737a08fso7115534a12.3 for ; Tue, 12 Sep 2023 06:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525533; x=1695130333; 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=45YFU5JcmronSMHtWIJchtM2DzmSuCT4y1WBsd7RbnI=; b=g26vSFBEi982CZiaJtFxJug3FsOi1RP+p3SsgR3dX7flpKK3UEB+o8Fa3Ky8xym3rl +XP3tasvcMfoYtL8FakGHwXnttTtVMiK7ChCWmBX3WSTqpV9qqBEaDalAFoKL7bzy/tA Fv6j6TxG51u26x+uWMeAw3aKJk4ImEbCMwvH5pF/Y5V+RJHFUhrPRDctCLQbmY6Cetzp VB57eY6Nx8CSBVcIMavThavCWPyRsoE4UkB4fVVhz307Awto8UQ6k3b/mdL61zAlill7 z7H34vbZd6JNMDljiFZFmwcNHcW2Y+wFu+/f7787BfuS6qTGO90GtYUhfWzpa7U7sNkj LCyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525533; x=1695130333; 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=45YFU5JcmronSMHtWIJchtM2DzmSuCT4y1WBsd7RbnI=; b=pCI0eQO2H7Ubj8qvYxpvwXGyN2dF3yLkU6xAev9eh8SIPzePcF7wajTOb+6X3XMghw zJd1ES1fQVFJOf760OaF97hKBf2UdXehAcbr/lj8a1FYqi5Vj5NsLmrOfemjxrAdtQPy jCIqjjRMyf/HsCNDilakqn5AnwUdTXfnuGeQ95vfc4KCsHeuWLboYMsbN2QMwphcZe0u ucDUBi+B3hgT4U2NWESURT/qQk1YmwMAIN7yIlaw/uE957emjnSJtVjiSvWteD3QGhtp MGeZlr3l/ymM1cHmB+hbsJR0TWrdDAjTpD4t8tq5jIVg3QoR3h4z1Q1apX7Fu99VFQzW nkDQ== X-Gm-Message-State: AOJu0Yy/pp7XjHygeaU8B1VrP0cOM09MEj/bhlwqvg3ZaE3/E+P8GV+z PZoYPU2XhVZxNYYl4pJoxkBK3Q== X-Received: by 2002:a50:fe8e:0:b0:52c:84c4:a0bf with SMTP id d14-20020a50fe8e000000b0052c84c4a0bfmr10274612edt.30.1694525533476; Tue, 12 Sep 2023 06:32:13 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:13 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:50 +0200 Subject: [PATCH v2 12/14] arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-12-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=853; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=lSiwdkbvQabczgwyXIMk1Ll81JJNyjV8OASMQGT5ls0=; b=FbB1+RF12wYQcbxElETqL0vcuCj9+AfFrDtI5q+xrU73UuBoobmmh6+VIjF0kpYJwu7InjkhH Q6L3caabD81Be/2QZCyXYTsVkF1cq09ZG/XMoNlJ1Bxc+C2QeyTW8C4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:31 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776932982356702262 X-GMAIL-MSGID: 1776932982356702262 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 acef67ab0581..7061a8e12c81 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2433,9 +2433,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 Tue Sep 12 13:31:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 138322 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp546477vqx; Tue, 12 Sep 2023 10:00:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFvnx/qbVV7f46nfcM3PPmt3Jz+IWKZysVy6nmOwsp6tXqTOHqwZJ8W+8v/3VGq+QAhCcIm X-Received: by 2002:a17:90b:3791:b0:26f:a180:8675 with SMTP id mz17-20020a17090b379100b0026fa1808675mr10811174pjb.19.1694538011860; Tue, 12 Sep 2023 10:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694538011; cv=none; d=google.com; s=arc-20160816; b=iTW9sFR4NHLqGslzbONSOLQPHR5wu37VTHhGuLZlNDf3e7jPmDSHVuGKlgie337EC9 kuNpmS5KmBCX0E5QF6i2NNG0pNyF4nAre3/l+A6rvxm16CoK16Bxw+nysLYzP0xTCQKA rjgWdS4btrEtaaPKGtTy/GjyOjZGlZg1Vgg+qXSzhQEhLyhXYwtsvAlIwVf9CvqAPQUr Yrk15p839xkCVbadTa3JHxeJtbid4R7bdzjtmJULDuCeY96ngmHUsurSPIR0xRw1KfEk iSvgIJwjLSZ/UF03ygqZT1bXHVJkJ2BP8cRJ1mod3vzQ1N4+noZqSXdsckkzTh+F+AOE 0kSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=MKOk76xGHFUbMYlGoo5EB0SwWts0yrobcw5xDMLmD9M=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=Waqn7aGfxFtoiue/xdHOTK5+g8Z9i6ffb1AeFVZ9rttp4Uf/EWMU/CgwekNukIK3vB R0v7jXoI/VRD+y9z9GB/x616GriqX3562wPbM4NH24XWJLz3whANI3NphU690kfpxLQ5 JnWYDScfG1Dg2Yo16gRs1Sy6/zdQid8znhgW/KNODhrE4vAaZC4ORTk8MjzBVPAKFXiA eMaf5uskvWFBMoxJBXRT/uXvGOtBC7/VW9G067FWLi7YBsOeYNoSUJeb8uyJo0boSvza PKiccOOVOqNwVY327uKZ/1C90Ws8JrhXR0MaK/QhR1FqYVgyciQrTE+b4MXlZrK6Xxyy GyBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XVj6QXH9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t19-20020a17090ad51300b0026b6c520ec9si5706076pju.6.2023.09.12.10.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:00:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XVj6QXH9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 711AB822CB0C; Tue, 12 Sep 2023 06:33:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235744AbjILNdT (ORCPT + 37 others); Tue, 12 Sep 2023 09:33:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235716AbjILNcr (ORCPT ); Tue, 12 Sep 2023 09:32:47 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 098CF213C for ; Tue, 12 Sep 2023 06:32:18 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so7264056a12.2 for ; Tue, 12 Sep 2023 06:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525536; x=1695130336; 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=MKOk76xGHFUbMYlGoo5EB0SwWts0yrobcw5xDMLmD9M=; b=XVj6QXH92SrvFrwDvpwzI54xw4bGEUXwxs0jz699Fwhmzc8oESrgenGPbpdmnx6xLY dKP04NtASgWt58Qeuhrw18SZA19iU05OjnTbgH9chv6Uk3kIW9z3SYhZVEAgJyt9/67U BaFTaTe0oByyQMIFB9pqbmBUo5SmZGCC+/bp6lsbQUDPaIuubl0awak/BnnchDMtlZ6E BGknaWYRPtp0YbjNG/c3JN4VhXN25ZbeKA+tEpkm0u6ouGsN5fGOCOPO3v8mJPzKn6zF WSPBjlhhsjiGYgO2v/8gkLDCiInq+1/9MgMeAMxeLU4wQyETFPhD3BYsUsrf8e9faJwM qDqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525536; x=1695130336; 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=MKOk76xGHFUbMYlGoo5EB0SwWts0yrobcw5xDMLmD9M=; b=htASk6B+L9FPi6S+FDK7xxUSAxDkZPao3A8qqgbOvToTY88clRNLXNTo8VBzNsE10w VTHu+ijsV6FiytaR2acVPfyGA9EcNFGx1GH+Nd7BYkaSCUc0l74mpplOoIve0ownyUUT N4QAD5p7s5eaUfdHxKJefyI7ECpnQbm0PIVQ5iRxfJ5do7LpkUuwevfhYs8BGxrmBFd6 WYhhyZPPfK6Cfbw/Mwjx4GH3ZW4Jkhr9NSjMy2AmCINdfaFuHdDUbDJeO21L7+GmxEgX G957ugMHkkGSPNfyZOCdbav8FrfA5DJ8xAJST0R/foMvBhahv8oZQMtoajiNhJ+Bhp3q JLKw== X-Gm-Message-State: AOJu0YzVUrw50opQLBWZ20HsMY0bOCUQA2zso9UlbgtDLqU6O03ISR6q R4NB2MIH9BYh2MQRLdjsBWak9g== X-Received: by 2002:a05:6402:1d99:b0:52f:a162:f4c2 with SMTP id dk25-20020a0564021d9900b0052fa162f4c2mr1789820edb.22.1694525535894; Tue, 12 Sep 2023 06:32:15 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:15 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:51 +0200 Subject: [PATCH v2 13/14] arm64: dts: qcom: msm8996: Remove PNoC clock from MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-13-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+4AEIxoF5np+WSzLavg0MzIg1Zm1W4ES6peXAOsQrzE=; b=a/q3ZM5c50UH+82ZWPiBaAUiYrtUYjAebMJvulsLiD6VOw94VYmKJaM0WeTyoWQN1YRB5vfBw ZsM5Pv0GBp7DTKfRmFqB3PphmdxTuw8TSaDyJgglP3kYtV8O3lbpD9p X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:52 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776851890463156386 X-GMAIL-MSGID: 1776851890463156386 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 7061a8e12c81..51db5ddcef88 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2479,10 +2479,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"; From patchwork Tue Sep 12 13:31:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 139125 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:a8d:b0:3f2:4152:657d with SMTP id gr13csp123298vqb; Wed, 13 Sep 2023 15:29:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFt/R1fpeTpRqXk3kR1Gjr9otiCLwO/fu+qoy/A8HfPFBRwCEOFeMxFONhoYHIOBPSYPnIJ X-Received: by 2002:a17:903:24f:b0:1c3:5159:af00 with SMTP id j15-20020a170903024f00b001c35159af00mr4588375plh.44.1694644170984; Wed, 13 Sep 2023 15:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694644170; cv=none; d=google.com; s=arc-20160816; b=FB/i07Ea45U3aDSud3LV1XrTD9YsHVAXYxv7OVLNIG1GgcMOvuK1oKMJ5a30jNudOK M2LTQd0IYMwvZ0EmhsmDx9q2AETEMD7tuvzmbj6TEO6DYlmVrGilJkMI8h984vSO9D3N 3nCuKIiWIFTB5M3Jmg7vA+u2PYT7ENYmIJn8x7DmEL22OtzD1ColS6PrNchXyaHKo3re ZXFemXHvZ4MuUicsOy1CoiuAeY45ShGMiK4hYPoK0i5I4sG+twqz8naML0iAslvEpDvU Sv/kuDeeDxSSEslCA371RNUQEhbMtntw1LProqQI8Xnfvd8876xHHHGYhUDwgU0waPXV luJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=QbXnoaG8UM/xnuGoKiBDSZrOmSb2jf1llCbQVLffVMo=; fh=mkez6VR8lOATQ6cYiO+jyWxTIPmkXmiQpQkxvsVL14Q=; b=VIvcckcqddj2WW1Fu9yl4EHmt64rZBkrK5dC2shISkLw6nkPJESsu9UZ/yoUHkCBuz yLommIXTOq4houMIcFBeMgJc/uPClDGClQi77rfyq/rX04h2CauQQ83yC8/nZOBcCX4Z dfyvgpgGtlbDn6CLShsbac6K9TIyId6fE4FQED+ODuQrwzhCx84C4XFOiVUGrMyiCqHP oEBOosGCOGf50gf1I3BFhwcZ/99w1SxnLmqTj/uvoT+6GNLgpfG4NINIct1gP9t0YNm6 8cCbve71xT8DlFTLUj90H6l0S8Ne1njHNEUx6qeJ6s2Jcc+MnBf2J4gDGicB/3OMyghj 7jwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hCQcTHvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h14-20020a170902680e00b001bbd83490efsi253309plk.138.2023.09.13.15.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 15:29:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hCQcTHvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BAA4681DD7FF; Tue, 12 Sep 2023 06:33:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235644AbjILNdZ (ORCPT + 37 others); Tue, 12 Sep 2023 09:33:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235743AbjILNc6 (ORCPT ); Tue, 12 Sep 2023 09:32:58 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 676682695 for ; Tue, 12 Sep 2023 06:32:20 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-52683b68c2fso7375082a12.0 for ; Tue, 12 Sep 2023 06:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525539; x=1695130339; 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=QbXnoaG8UM/xnuGoKiBDSZrOmSb2jf1llCbQVLffVMo=; b=hCQcTHvAJViXwhhNQyHwZ6I4nV/hzy0Cm0pLsGSixn4we5e/BJB8sP5pSd1dO+Pl9B 9VZ2vxGEE9YwutNZPp/ktkOR8800LC0R8V6FtBDSRziHxAjGV5bpgdNXN3ZLDm4i9CDw JqIfowanFIvid3UHF8BBxeVIZs1vpPWtmEitEYVrFhe9t8qUSMOLxG7JsISB0+5qF7m9 WVndscGNLi1q0FS8Gm0EdMJsOR20HDpcxihBAuZpXXmfzepytqZiRnm9V8o41Aj2D9eL moHjuGuTCsS8KOhhEQ/EYMNx22qk5yNk3BWg5JkpuMUKnvRMlfiB5bV0tEvifX/cHssh DCOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525539; x=1695130339; 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=QbXnoaG8UM/xnuGoKiBDSZrOmSb2jf1llCbQVLffVMo=; b=psAnCflT+xE3d836Ogj7H3x8zL/TzBqagUT2eTRnCO3EYTE1ZiM96kAFEuTXrjJ29q cMRGLpFX9Z2VyWFUCyfvAcA5xHmsjysd4j62039ZxFrkL+FWlfbQpP5BX4UnmkzWdbmk bB5ZUTdh7eu5+3Oi7xnMez3JidnRVqQr+WvTrcfs3mvpXVDvt7SSmGMhgd7CpCkDVW64 EQjMEJ+bvgaqWmF4znHJ5/EQkLNdJ7scZtJ1XrYz0sYMS6mom4zMxaxOM0yz1FPsI5U7 Yx4xnuXgdjmYQ8QTuDI1xBDgyramRGxYFX5Eu1CS2Ie54ozoRHZiC8dceyOWCV54VvLS 1f2g== X-Gm-Message-State: AOJu0Yw5caMxzfbPRElQ5pgpxfi4m6mqTI2nUakPv5iuaDg9283KERJ2 gAiEd1tWEJo/TCd5AGOOSbOJFw== X-Received: by 2002:a05:6402:c07:b0:52f:bb0b:57bd with SMTP id co7-20020a0564020c0700b0052fbb0b57bdmr281117edb.17.1694525538846; Tue, 12 Sep 2023 06:32:18 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:18 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:52 +0200 Subject: [PATCH v2 14/14] arm64: dts: qcom: sdm630: Fix USB2 clock-names order MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-14-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1150; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xV/ZqPgMqaXSG0vXi80ddqfx5e4u+5Uywuqjc5SC6yQ=; b=JcTmOePKvRMjpiooocOU71gidr0+FDs8aF2A2fYneNgn3SUS4LV/RsG3oSoeLzyRJR5ZUAxgN oS5s69VDs47Dt+cXpXsmvMD6uFQgNYxxFQObqf8CfQ8l2zMKddqof+k X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:41 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776934929591697262 X-GMAIL-MSGID: 1776963206487478018 The last 2 clock-names entries for the USB2 controller were swapped, resulting in schema warnings: ['cfg_noc', 'core', 'mock_utmi', 'sleep'] is too short 'iface' was expected 'sleep' was expected 'mock_utmi' was expected Fix it and take the liberty to make the clock-names entries more readable. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index f11d2a07508c..316c8fd224e0 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1394,8 +1394,10 @@ usb2: usb@c2f8800 { <&gcc GCC_USB20_MASTER_CLK>, <&gcc GCC_USB20_MOCK_UTMI_CLK>, <&gcc GCC_USB20_SLEEP_CLK>; - clock-names = "cfg_noc", "core", - "mock_utmi", "sleep"; + clock-names = "cfg_noc", + "core", + "sleep", + "mock_utmi"; assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, <&gcc GCC_USB20_MASTER_CLK>;