Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6786164rdb; Tue, 2 Jan 2024 13:26:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFum/qFGTsdKq+6oWxiOBGJN5hBV48H9T1zbyueyZSgIWkZmKWaHCkZaaWIPzxvNO3h2iz X-Received: by 2002:a17:903:2645:b0:1d4:ca3b:ee51 with SMTP id je5-20020a170903264500b001d4ca3bee51mr1037555plb.13.1704230809515; Tue, 02 Jan 2024 13:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704230809; cv=none; d=google.com; s=arc-20160816; b=ej3GAvMX9JZdYdxq/VlsZ4ORDbtPS7AmpXY7s3+ssq90px3NDe+PqRAEK+tJ6X3CPh 2haiyC1J+Wl5crvGJiULu+M7Lp3rPV61mzWayAc04A2zDjySK392iPdU2QRqsgfPsMi/ 0SYGO8g17Uwr3ZL5ESspIsU/kJGTIBmItwT8GLJ8tpCmXaslPhTITwgYKEgxPmBc2O67 fLs0+HcVUP5GvuuGll7kr1qyahlfxwXPj43fuqT8Rdfmb/TSOCbo0KXbt1dAoz4fifU+ BsE3PtjF+EP7g9PJaWr4lenVDZfYtnqnJJc8flGEqd2D+r1Sw8ne2BjVFZHDyZ9iSWsr VW2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=70WpMPRh8OkpDBAo630WK0f/TXV5RK97tLldNT6In/E=; fh=deu2G7lTnTc0Qdisp4zcvTpdWDwoHX/Qg/vA8jgDPok=; b=XteWygG4FMTwM0cKofEGTBHo4mFce0jp1onmgiabsEHf6UJ4GOO11ncKR3fV1r/YT2 6DSG/UxWa3YwWotqYAe84uc1AH+vswApBe75aq4bA4uvtukBBuE7SP5/BSiMwZUwUtjO q+bhRxsMBzCaNl535vDLvFneqpircNoWQjxf7aQGIw26x6xfRWHrFhylNtL7upEwHt0N MOB3XDXeHofeHKIdZ5z+P/2LtM8Ox4aPtIPiJuGBjvS5iTZvJfE6fBH9ebKeXk0A8r2O /Gd0XMVrrpQ7kllILNkwB0AjziijHpa1w4DgmdMlykeIDVYERBUry/fH0GQwZKxnVKla sPwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14855-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14855-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id jj20-20020a170903049400b001d3b51b8897si20652490plb.337.2024.01.02.13.26.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 13:26:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14855-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14855-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14855-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2BF5F282DAC for ; Tue, 2 Jan 2024 21:26:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3AD4168B6; Tue, 2 Jan 2024 21:26:43 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [5.144.164.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C795168A6 for ; Tue, 2 Jan 2024 21:26:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=somainline.org Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id B6E5820145; Tue, 2 Jan 2024 22:17:46 +0100 (CET) Date: Tue, 2 Jan 2024 22:17:45 +0100 From: Marijn Suijten To: Konrad Dybcio Cc: 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 , 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, Dmitry Baryshkov Subject: Re: [PATCH v2 06/14] arm64: dts: qcom: sdm630: Drop RPM bus clocks Message-ID: <6b3eetuyhg6y6wgqgxn2ruovjfrg24dbwsictlryealtwtnq6t@xk6nm3mxwbeh> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> <20230721-topic-rpm_clk_cleanup-v2-6-1e506593b1bd@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-6-1e506593b1bd@linaro.org> On 2023-09-12 15:31:44, Konrad Dybcio wrote: > 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 This makes the USB and IOMMUs probe again on SDM630 devices like the Sony Xperia XA2 Ultra. Thanks! Reviewed-by: Marijn Suijten +cc Dmitry who was talking to me about this SoC. > --- > 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 { > > -- > 2.42.0 >