Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4374264rwb; Sat, 21 Jan 2023 10:33:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXtfMVMdj0QtJqWkktM58exmHHbfUuz40TX9kLP80KqzgTN96qwFvR8LaBYQgNWh9co7FirS X-Received: by 2002:a05:6402:3224:b0:45c:834b:f287 with SMTP id g36-20020a056402322400b0045c834bf287mr22744141eda.4.1674325987469; Sat, 21 Jan 2023 10:33:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674325987; cv=none; d=google.com; s=arc-20160816; b=rEc1RpZk2FN0UtAyBqdv9/w9xUfE+zaW3oLdjQVVjE9IJQqOwJJb6ZyQhRT7+qsc03 9p5twbg6iyD0JxePdFu+dKv13qQu+xWzDNIK0VmTMZ4U9eX6NxYOQhPc3NXu1bSJ9kSK FMiSjLysdWeIHY7Wp9svqCFfsJJd3GxonYX2/5nR6LOaIvEgg7r/2SYcatbw94u13Hg6 FPajAMqnlXZd5N+/gZWG5QLPuKh36F6XFmVItPcjxqujOeJGO6Ux3rsFOJWpNWbS+4kn 697hbgtQSbnAlXjl0NQXXIOS8TyQcGtUPNf5fa+USgBIhCOdVbeJGgAIdN8yaTJw3cR9 hm9w== 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=6g3CbtPyBBRAm138QlEI5LXEWjs/LxVGS4Ua6nSkfY4=; b=F3CfvsQdiD159SZN1n3D5mdU5Bf74x1qlHB+7vcjbYJEVThchPKJ/qAeHdX7jaxs/J 6BrOy1SPlT9AcyMCYfwhAIXX2Z8Bx8fQb1wp8voGCj6bWNzz3tfdsKQa7p+J/TjAcE/W cuYKiRPnRN2WUJqoiipYUnxnioxO1fyYfB4eJ8Gwe3i9bM9L9RraYamW+mWYusVV/EVb KIH+eUfWIyC/IC+R36XmkYLhC2aiFtnVcw1JvyfMCyPC/twkhBxQPO5tN7xIx+fUvfv+ BAZxN+iuU9/A1tEkh2lhw2w3kPv1PfeS6wZlcmK+xvh9F/emMqnqMbEqSSjQhseLJMtH Wjmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ansari.sh header.s=key1 header.b=dgtdEk+8; 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 h15-20020a0564020e0f00b0049822232df5si18420418edh.526.2023.01.21.10.32.53; Sat, 21 Jan 2023 10:33:07 -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=dgtdEk+8; 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 S230011AbjAUSAk (ORCPT + 50 others); Sat, 21 Jan 2023 13:00:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjAUSAh (ORCPT ); Sat, 21 Jan 2023 13:00:37 -0500 X-Greylist: delayed 99 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 21 Jan 2023 10:00:35 PST Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 645B461BE; Sat, 21 Jan 2023 10:00:35 -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=1674323937; 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=6g3CbtPyBBRAm138QlEI5LXEWjs/LxVGS4Ua6nSkfY4=; b=dgtdEk+8UZ56tJtT+DIuaRTaWNHRkykKn8RFGEwpHPyhDGUcuqOnKvdZjyb4S6GCDtN06+ aJpdeHXzSKGAeOdYY4uYVTjIanweGm/3ZzoMxVM0xJW4RHH0V/L6k/7zTVSf3rCPSDHL9z jHClk6bRzZdnTD4LyEqq+C9dGs6fpPU= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Turquette , Rob Herring , Stephen Boyd Subject: [PATCH v3 1/3] clk: qcom: smd: Add XO RPM clocks for MSM8226/MSM8974 Date: Sat, 21 Jan 2023 17:58:35 +0000 Message-Id: <20230121175838.755636-2-rayyan@ansari.sh> In-Reply-To: <20230121175838.755636-1-rayyan@ansari.sh> References: <20230121175838.755636-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,URIBL_BLOCKED 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 6f23ca4828f4..31f6de13d156 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -610,6 +610,8 @@ static const struct rpm_smd_clk_desc rpm_clk_msm8936 = { }; static struct clk_smd_rpm *msm8974_clks[] = { + [RPM_SMD_XO_CLK_SRC] = &clk_smd_rpm_branch_bi_tcxo, + [RPM_SMD_XO_A_CLK_SRC] = &clk_smd_rpm_branch_bi_tcxo_a, [RPM_SMD_PNOC_CLK] = &clk_smd_rpm_bus_0_pcnoc_clk, [RPM_SMD_PNOC_A_CLK] = &clk_smd_rpm_bus_0_pcnoc_a_clk, [RPM_SMD_SNOC_CLK] = &clk_smd_rpm_bus_1_snoc_clk, -- 2.39.0