From patchwork Mon Jan 6 08:05:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11318785 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 97DB0930 for ; Mon, 6 Jan 2020 08:06:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 765E821775 for ; Mon, 6 Jan 2020 08:06:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WNFeLVY8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbgAFIGg (ORCPT ); Mon, 6 Jan 2020 03:06:36 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42058 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbgAFIGb (ORCPT ); Mon, 6 Jan 2020 03:06:31 -0500 Received: by mail-pl1-f196.google.com with SMTP id p9so21568583plk.9 for ; Mon, 06 Jan 2020 00:06:31 -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=FYRccObnk82yOuczGFINBWdofPbLBtY0H0yJpULHPjk=; b=WNFeLVY8U/lxitGZj8Rc0L8mcEsI22Phr3Tf2fkYMix/CGW1nlayn8f4GbLzDCDwdn gxyXGEq6hQAXX/fh27mDoV09ksfcoJ3FrWFgiILeP+cP8hyjkZyIfwKK5KIHedp1iqMC RRt/7kvuzNG1/34ksAGwg0HoFZMoCWR92PYM8dXKQOrFQCpeA9UKR06+p6XHwSMk+VxR 1bD7kKmYTzKQ4+X9azfGP4NrxXKnB/ihSelJkOsgPgkdki/OUyNroCH2D83Sc8CaB+5v iS+Mr8LlCu9LidwZaa3Zc3UH6m5Awa8utZyMieI14oNw60p7g4CcQAjsylIQIoeu6qvc 0q7g== 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=FYRccObnk82yOuczGFINBWdofPbLBtY0H0yJpULHPjk=; b=sAuJ0t3tjp319GrbSM2knYZ8MkUJ7bBYp3bCPME4avpUOg8eiNCopmDXW/KASASa22 F+caBDcAzStmmN9UYfO3K0CuARi7XAFIZIDLNs3RR9Ia3q8Tc0bfdz5H52E2kUY/Ynbi LgRwe7BBw4WRbhGcmoqRZNj5UiESbGz5n5BNfPxZBZowPpimgrUfIJ0j+AnIoDoUAxt5 MnSW/QD90lv5acQ6O9/MofuJNxtbW5FasqSYVMoGnjvKXkui4WQ7WDckKoW1cxs+FZdk jps7DgKORG4s86/p4upEe38Hvhbp1IrplyFnVGhFoTPT9WI5AQNTUjfD3ANQluar8G+2 YRAQ== X-Gm-Message-State: APjAAAWv816XvPfEI7voeY81zhq0ETGOFNOhERj+GPewpGvIia7JiQJy sw0Y+V+EbfS9ZtrDpDT542krkQ== X-Google-Smtp-Source: APXvYqw+lIGuD+A4LDdzWoXK1cnrFoom4bHZhnFIZo0rynTuP2KhlLmKuZzMGvJqe4Trr0zPwz8P/Q== X-Received: by 2002:a17:90b:1110:: with SMTP id gi16mr40017182pjb.110.1578297991310; Mon, 06 Jan 2020 00:06:31 -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 y20sm11916038pfe.107.2020.01.06.00.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 00:06:30 -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 Subject: [PATCH v2 2/2] arm64: dts: qcom: msm8996: Define parent clocks for gcc Date: Mon, 6 Jan 2020 00:05:46 -0800 Message-Id: <20200106080546.3192125-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200106080546.3192125-1-bjorn.andersson@linaro.org> References: <20200106080546.3192125-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 Reviewed-by: Vinod Koul --- Changes since v1: - Rebased patch arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 023dafc6cfd4..b22a1b9cb9ce 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -443,6 +443,9 @@ gcc: clock-controller@300000 { #reset-cells = <1>; #power-domain-cells = <1>; reg = <0x00300000 0x90000>; + + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>; + clock-names = "cxo2"; }; tsens0: thermal-sensor@4a9000 {