Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp958268rdb; Tue, 23 Jan 2024 23:41:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZ/4UXNVqnMyYQt465jTQtyuMcgg+4NqOBx9s2WVHuhjHA71ciQBqAhXs+Mqfp8EjBll6c X-Received: by 2002:ac2:548a:0:b0:510:14c5:3360 with SMTP id t10-20020ac2548a000000b0051014c53360mr41535lfk.65.1706082076343; Tue, 23 Jan 2024 23:41:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706082076; cv=pass; d=google.com; s=arc-20160816; b=vA/+EL7CdaniuCK6lCWYPC+K19j8jSkhdmuznwEXAL3UN2x1wkc172W30fx3o1s0yY 56vm1brD0xY3+KoO5TI76ULlF5TTEqCSz8S6x89/Pt7BuDl/Tt5YsAVl+gXGaiX7jceT Foyyqy2gTldu66DQJ+/51bEOK8s84u68XnAzi4BL+iKYwHsYBSJxqQ8MTmKwfO6Ilfxu A03ByxKL0A+V8i2WyicbnMMgl5JAz6qe4EE9YOLIldkv0H23SR23rTOst9QYYakj9u9P HW7rWI7B6Mv5o+IROFS0mheHCdmKDnH3cIEOFaXm7v0Pl0AESHdjNC7bBKIEz6riFr8m MGSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=DJs+PMBAGDBvXkVQNcVnd/NTo5VAtnKOcQ/VzO4TVvE=; fh=URzuBkYDgttHqT4caDiYqlUau8FxKJHkC8IVArcgaN4=; b=IEofDxlQ6rV9BSymFhZPes8tyJ6ZKB2Bbi9i5R/vQyPBBYzIMm9VL33G8KZY4/8fzp LqoUA9VnS07QHtFNBRfdr0TlEkxRp+yJERU9cckAXEOpeVz7Kskrb61A+kZPdcRVnv7f ak7by24GSePLg6Q76JSzMw+4RaMAEbJZW0OhnzKyWWkciYnTNxzSYSOsTpifXiip+BEA h87I494q2j2cj2dbVQ2fMBdXA92TpfJkg6ZqeEgMkOwPjqd9x8EjC0fD0FVGIFwp00YG BsJhtS7/hPWzCOHgEYavnXkbfD9jzd6SzakvUucV+cxchPGXIIXswXO8Q9iT1Ynk0gXZ 3z+A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BUMJTqUT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-36569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i17-20020a50d751000000b00558262b60e3si13639184edj.551.2024.01.23.23.41.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 23:41:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BUMJTqUT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-36569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DD06D1F214D8 for ; Wed, 24 Jan 2024 07:41:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E9AA175A1; Wed, 24 Jan 2024 07:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BUMJTqUT" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E38318E0E for ; Wed, 24 Jan 2024 07:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081879; cv=none; b=TJ05lh/6sHzRhAOJHZ3+5ihm5Q9/rkndr0Cl62/nrMTFkj5V9dJT1GaJeGThfWwYWBlqo1o9whlxrelC497/2Ms6P3eW4wWWqGfi+qI1J1mha9EXWA0ylFmWkfLv6oPFfw/a86h4B6nbJte4lbtiRrIcUTkkNcoxgdWyvOvXwPQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081879; c=relaxed/simple; bh=AV0AQVKEuKDRIth7QZV7qLd22LfBtighoMaozbvkXAg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VMugxCtAoDom/Xfal87d1STkhaPDTlBqT5VurG9OvsjIJUyPJg0By1crKyrDjZgw1f8yBz80TGXdr/xaACsroBlOMxolMvS+/Z6+dV/8J4WQKf2x/dIFIu/MHa+ICum2wNRLXbr99gfBmJyFPw7ll4MEHz9GOZ2AWsYECidnNaA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=BUMJTqUT; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d746856d85so17837955ad.0 for ; Tue, 23 Jan 2024 23:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706081877; x=1706686677; 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=DJs+PMBAGDBvXkVQNcVnd/NTo5VAtnKOcQ/VzO4TVvE=; b=BUMJTqUT5sRYVUQaeLoW2vTU7TuokWuQNP1M2NMeHj2u1OloZTp5TEl2lj7m0deM4e 7I5nro+ldwNoWH77gLGlQmMSjxTMmrMR/8+sNutxZLD1usBZUVpY/LpxtWJnWxSbMQhi YoUdZwZwByYseX4q9vjy9Ko5QaA3P2PlQEa0UmafhyMMsklkh9Jt5but1NoXdBTY4IzO H5bnqrC6jOJdVaVH3WVHOdtTogpZvqywCXRwTzckR2xeZpOTuNAID9eOSv3X5+osqGGI y3rZVlUX3c42Fg2ew7/xSuOvsNxnX18oJs3vzcTl4Ix25DDOj/cZ039MWzGJMnp9d3Fd n5Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706081877; x=1706686677; 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=DJs+PMBAGDBvXkVQNcVnd/NTo5VAtnKOcQ/VzO4TVvE=; b=HEEl03GLIwm6pxpcYV2NJ/10cW9EtBYQp1JU/urLsSNugThLpR4kfor/XQHH+jIcJT H58Fu4jOmX/rfVha1/wnIhlghE3oinjYYiR7MzANbQ1e05HhQRHd216OpKgAwqZ6rJm4 3IqMVuKAHkPaaWd65/Mv6oXh5PV0ErwLPVYCtSipPj+0tWdVp3mpj0QLH78Qtlp6zhEg 8NCwZSzkRCHZvqHoqUMgCSn3rEiUOE3WPVnkvhyJNofWjLHybrib3XdhGNvxhqCKq3ye Si5BrFtXf75JBss9c4ZNKiqJHzEh2V4WkPxNM7HwXowPNynXf2gzP7kSl60qA8rxMEvh qhEg== X-Gm-Message-State: AOJu0YzbjQBfAF+0SgexUsk9/DbVh3mlbprXpw/wFkP4HKrtbEnibeOO pRkleojY1zBRFlIaw+q/F8O2CIv4vvxund+KqPPGA0vKJmfW8+FV0MfyoRuqcw== X-Received: by 2002:a17:902:728c:b0:1d7:199:cfb3 with SMTP id d12-20020a170902728c00b001d70199cfb3mr292163pll.70.1706081876913; Tue, 23 Jan 2024 23:37:56 -0800 (PST) Received: from [127.0.1.1] ([117.217.189.109]) by smtp.gmail.com with ESMTPSA id t3-20020a170902b20300b001d726d9f591sm7386982plr.196.2024.01.23.23.37.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 23:37:56 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 24 Jan 2024 13:06:42 +0530 Subject: [PATCH 14/14] arm64: dts: qcom: sa8775p: Drop PCIE_AUX_CLK from pcie_phy nodes 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240124-pcie-aux-clk-fix-v1-14-d8a4852b6ba6@linaro.org> References: <20240124-pcie-aux-clk-fix-v1-0-d8a4852b6ba6@linaro.org> In-Reply-To: <20240124-pcie-aux-clk-fix-v1-0-d8a4852b6ba6@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2114; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=AV0AQVKEuKDRIth7QZV7qLd22LfBtighoMaozbvkXAg=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlsL4Fhhiw+ROelMo4VRCj1+Kx7T9cS2AThYZkc DknKia3ul+JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbC+BQAKCRBVnxHm/pHO 9bthCACRQjvyFRVJy3hTYxwCqypCA959YVl640Spi+/5TQUxSwUS5HOza3ZjI6ZCE6ZAV0awrPp Ma31wRRoKSgL0QcvLroRMpG1W5pN5E1/CJq/7joMoTGV0Gytn1w4fGIB6/kSXkiPqOPMbNMCVFF Ngelg4E2chxrplR8oOICcl/mKuhw922a3poiiA+oCWhEqfmYWYYtsF2apAswH19tebHdmBaK1SZ R6CuqE5X5TaD+C9YLOpC2/R0IwNZhXa5IF44UqN+Z2XWohLPbBrvLIpcPH81pLIQtrGgFaeeM8N gbnY/iNcmWsx9j3N5iilOXhEMCW5MWYCIzifzYfgmlKRHqBf X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 PCIe PHY hw doesn't require PCIE_AUX_CLK for functioning. This clock is only required by the PCIe controller. Hence drop it from pcie_phy nodes. While at it, let's also rename "phy_aux" clock to "aux" clock and move it to first entry to maintain uniformity with other SoCs. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index a7eaca33d326..b99626c52800 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3590,16 +3590,15 @@ pcie0_phy: phy@1c04000 { compatible = "qcom,sa8775p-qmp-gen4x2-pcie-phy"; reg = <0x0 0x1c04000 0x0 0x2000>; - clocks = <&gcc GCC_PCIE_0_AUX_CLK>, + clocks = <&gcc GCC_PCIE_0_PHY_AUX_CLK>, <&gcc GCC_PCIE_0_CFG_AHB_CLK>, <&gcc GCC_PCIE_CLKREF_EN>, <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>, <&gcc GCC_PCIE_0_PIPE_CLK>, - <&gcc GCC_PCIE_0_PIPEDIV2_CLK>, - <&gcc GCC_PCIE_0_PHY_AUX_CLK>; + <&gcc GCC_PCIE_0_PIPEDIV2_CLK>; clock-names = "aux", "cfg_ahb", "ref", "rchng", "pipe", - "pipediv2", "phy_aux"; + "pipediv2"; assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>; assigned-clock-rates = <100000000>; @@ -3690,16 +3689,15 @@ pcie1_phy: phy@1c14000 { compatible = "qcom,sa8775p-qmp-gen4x4-pcie-phy"; reg = <0x0 0x1c14000 0x0 0x4000>; - clocks = <&gcc GCC_PCIE_1_AUX_CLK>, + clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>, <&gcc GCC_PCIE_1_CFG_AHB_CLK>, <&gcc GCC_PCIE_CLKREF_EN>, <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>, <&gcc GCC_PCIE_1_PIPE_CLK>, - <&gcc GCC_PCIE_1_PIPEDIV2_CLK>, - <&gcc GCC_PCIE_1_PHY_AUX_CLK>; + <&gcc GCC_PCIE_1_PIPEDIV2_CLK>; clock-names = "aux", "cfg_ahb", "ref", "rchng", "pipe", - "pipediv2", "phy_aux"; + "pipediv2"; assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>; assigned-clock-rates = <100000000>; -- 2.25.1