Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1593038rwb; Thu, 19 Jan 2023 12:45:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXtz3BLWAc2ZcBi7/98Wn96JI6/shqhuzcwSGpNJezDbRoY6yPrzKmFI1xMp8koGQUYwsz/A X-Received: by 2002:a17:902:988f:b0:194:8fbd:1eb4 with SMTP id s15-20020a170902988f00b001948fbd1eb4mr12423842plp.1.1674161125075; Thu, 19 Jan 2023 12:45:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674161125; cv=none; d=google.com; s=arc-20160816; b=FiS7Vw+q0MAtb5bu86ffV8Mi7PIUcMzzALYIveA8ai6OQfhzCmUy+UnEVm4Ymmk8Un 1YuPT3A4QtoHhRcbfxeGCBM8ZNMRoHMWAxv8HPM0nCh5Fb2+qjcYbeGS6NphkT6M3zuI diH0H6pjjKNjeUqwHzjkLZZCv14ajax5NU9FOeyISYHbY439YeL5j5mmAZlG+MC/DRD/ wgohx7iZyogzfxInGMEy5rolmhslUNsJx2BGfqY6y+f3Q60oyelfx6lVxl1mg7+xsfi0 ezzv/vSQ9hAoX3lH00h1MCt5am+F8pz8jVI30RQZs9KiCY9pI7NaRzqPJCLiiBas31yF qTew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ettHXSku5Lnn2pb8UrC2GA3BFBY1curyqA+ekigINh4=; b=0ornZ8Jdm2TEATK7X3aUsXkJt1cbKaogSdNKIoN7uuT/62JDlJ3KlSInncR+YdKOqd cJ4a0BZMq++sUymyITp0U02lMzmOU1iCvbtuYjnazns07yy1t3fkMy/L5D72CGCu1f4g OHFTeZc3gNKQ2VKuU1NwTmvK0+7nbxMsUQeMYZZwlfDNos80B6z2ZkxNwRXHcpncbFdK 1mTC4hkcvwzKDNaEiBNVEuRQn5QrHr7/N6FFm8GxIxRoLT01WFoskObIFpo2SQY3EAVR plRGmsSO4IaN49XW0h7AOfbJHzDsHUAUU0NLrDKi0G+HQtQYE0q7fY6plhivcsBCnnqS 2Liw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ansari.sh header.s=key1 header.b="InlBn1b/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ansari.sh Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a170902a71400b00194b1c44205si6844710plq.523.2023.01.19.12.45.17; Thu, 19 Jan 2023 12:45:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ansari.sh header.s=key1 header.b="InlBn1b/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ansari.sh Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229696AbjASTIh (ORCPT + 46 others); Thu, 19 Jan 2023 14:08:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjASTHs (ORCPT ); Thu, 19 Jan 2023 14:07:48 -0500 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62EEC9AABF; Thu, 19 Jan 2023 11:06:38 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1674155160; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ettHXSku5Lnn2pb8UrC2GA3BFBY1curyqA+ekigINh4=; b=InlBn1b/ZJnJcs8MwGZFJe0Auk512vXeiGzUP4Gg3DK9rbslCxikFp32NA5Ds5TY9Izlnb 8mHhui98o7HeLuLyMSXHpn1Cx3ZoqM7aQ5rgTxd/xb61tyYukfwnJklVTKe/qjke4FmEMS Yh4aG2DFqILPZ3GVG8C7aiYCdlfwpsw= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] clk: qcom: smd: Add XO RPM clocks for MSM8226/MSM8974 Date: Thu, 19 Jan 2023 19:05:33 +0000 Message-Id: <20230119190534.317041-2-rayyan@ansari.sh> In-Reply-To: <20230119190534.317041-1-rayyan@ansari.sh> References: <20230119190534.317041-1-rayyan@ansari.sh> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the XO and XO_A clocks to the MSM8974 clock list, which is also used on MSM8226. Signed-off-by: Rayyan Ansari --- drivers/clk/qcom/clk-smd-rpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index fea505876855..42ea3bb37f63 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -549,6 +549,8 @@ DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8974, cxo_a1_pin, cxo_a1_a_pin, 5, 19200 DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8974, cxo_a2_pin, cxo_a2_a_pin, 6, 19200000); static struct clk_smd_rpm *msm8974_clks[] = { + [RPM_SMD_XO_CLK_SRC] = &sdm660_bi_tcxo, + [RPM_SMD_XO_A_CLK_SRC] = &sdm660_bi_tcxo_a, [RPM_SMD_PNOC_CLK] = &msm8916_pcnoc_clk, [RPM_SMD_PNOC_A_CLK] = &msm8916_pcnoc_a_clk, [RPM_SMD_SNOC_CLK] = &msm8916_snoc_clk, -- 2.39.0