From patchwork Sat Dec 7 20:36:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 180952 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp2472903ile; Sat, 7 Dec 2019 12:36:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxq7wWxB3ZcePmmTlnK4z+QEg6fXrSj9vj75ocA+ov/E9x8T+lwPmmG7cbHv3yVBEWgo/9K X-Received: by 2002:a9d:798e:: with SMTP id h14mr15753789otm.257.1575750997907; Sat, 07 Dec 2019 12:36:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575750997; cv=none; d=google.com; s=arc-20160816; b=mNFgY63Qmoj68OAKj4uNMdrQvrETf46+8CPIApGKsrYCXmqgPWpk9PW46PdkUO97SV JTBYw4UWQ1JuIyQuz+y/UoAt8M7/m1znDCFHRlZ4vhCYaQR0J5PPHlkyhWqCqY0QT8Mp nuSQJTQzBKF4myYPJfiASHxdXRY+AKMCzc5xxMOiL5b0RCm/kdNd9ESMGaxu9FyK9SwQ dtBjs0hmVlS6OcR+mCiBidAkOPJvdrpxLUZNoXm/yzmf5+ggGoi+tMuOC813x8IbU7Cf QXAYIX0fNgjFuryQGxFdlTEqtYYSyR6SnoG5qcGkdLMDKl0Nv9CoQoxRPOBNa4rOMRxl qr7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NuLMD+vpCNoGiyyrC9smw6iJ6GTLCuAG8SiEJlfGjVQ=; b=jcHaUuZfgiT3HBPBdLuhM4zKc0DcmVQkBlRvcKt3QgRR5QgVKeUbXASykNXopV+tzP rBF5WbW6DVOwRudh2MSCkV1Ts0sHwAyR42BI9lXJDuQS4YtmH2UZ+Yff+sQYIYrB+lfk mxB7Bo3BuGk5He6vM0QPONAdjgJ4GA/97FE3b2w69cZZzytbrD7XRR7RVGUbPe9AdNF/ D2Idz87/HiCRaBTBZmxWAhfKtEaTLCtxCY3LFfpP6G38ACzVqBcTSE4L4QqZFX1CdoUB 2RsYvfVGUdtznI1OsJcZFMes6buVR312rDoalAi9/SAmID1AcYZ/zjqB/g7pV3oijGhN vPsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AYpKXKAF; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si9404067oib.88.2019.12.07.12.36.37; Sat, 07 Dec 2019 12:36:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AYpKXKAF; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbfLGUgg (ORCPT + 15 others); Sat, 7 Dec 2019 15:36:36 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46519 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727001AbfLGUgf (ORCPT ); Sat, 7 Dec 2019 15:36:35 -0500 Received: by mail-pf1-f196.google.com with SMTP id y14so5131582pfm.13 for ; Sat, 07 Dec 2019 12:36:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NuLMD+vpCNoGiyyrC9smw6iJ6GTLCuAG8SiEJlfGjVQ=; b=AYpKXKAF9cVhSOUeE0rNxEWXQ5UlDNg+Qn06frUuC/ydvfbPLUcDjnSBkeWPOwI6I6 LpRv7UPgVLO1B5pSDqq15EYmMOScSSqgHXr0Xv+Bbl1JqUDt7LoOs/NDE0/IvW/mXgQT bp0g1dANmQ33bqP6+EqCBbWMSjbzd0ActrShyNkp13JL4aifwdFx+IW3VHDX1z6z+G4N gOJsbHsep6T+JsCGxd+kxs3nmSPMIIMb0v6SIptBtkYkzBUauXSaXkD0GxrCss9fy9Nj htKVb1CrEsvyQHzBdzchJ/J6lC5Fl3Xt8Ptfp4OllahNkqVEFcSgngUvr1Jrkd+/n6Xa myug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NuLMD+vpCNoGiyyrC9smw6iJ6GTLCuAG8SiEJlfGjVQ=; b=aCIDLQMrM8ahkvkbzkaNL7NZAgfbuwzx49nCJdCd3MTiVz1yyb6Nbve5dugbZJgy7n UFjidMj50JdPLPqE0gytwUpyb3he/mWbNv7hF1xxnV6coirrVR+kCgAlP5fVWQCeJGfK VmR4rUtLwBTM6Z+wkhmkPrW6smcyMVkvMiov+q7PKvs5VS/cFK3lCU4PUgZ2kdLYZjd9 eHrTy4pu6aCLWXUPeiVjRZ76D8sf24i+37gkeg/bhbNJX5f1NVunFiSvYc3usPmfEj6+ Ze5l1tRJRpiN/B8LVMmzU2niZ5ZyyGDA+OaR+dQkKz7qac7mvMTS5euF9LJcWHwOgkAK xW1Q== X-Gm-Message-State: APjAAAUAbS2OLbFkRsW6uZSPWV06S/cvi+uLDbx8SfZGAgajE7iR9WU/ o0ZpSBSR8u6dWeAPEotb50whZg== X-Received: by 2002:a63:115c:: with SMTP id 28mr10660719pgr.6.1575750993877; Sat, 07 Dec 2019 12:36:33 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d14sm22982186pfq.117.2019.12.07.12.36.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 12:36:33 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Pisati Subject: [PATCH 2/2] arm64: dts: qcom: msm8996: Define parent clocks for gcc Date: Sat, 7 Dec 2019 12:36:03 -0800 Message-Id: <20191207203603.2314424-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191207203603.2314424-1-bjorn.andersson@linaro.org> References: <20191207203603.2314424-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The CLKREF clocks in GCC are parented by RPM_SMD_LN_BB_CLK, through the CXO2 pad. Wire this up so that this is properly enabled when need by the various PHYs. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.24.0 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 4ca2e7b44559..c9c6efbbcc01 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -635,6 +635,9 @@ gcc: clock-controller@300000 { #reset-cells = <1>; #power-domain-cells = <1>; reg = <0x300000 0x90000>; + + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>; + clock-names = "cxo2"; }; stm@3002000 {