Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp403405rwl; Sat, 25 Mar 2023 04:32:02 -0700 (PDT) X-Google-Smtp-Source: AK7set8PH/TmQYJgV2vCg4PxOYrYUX9QM426GfK/zsaim+ClUInK05LG2JapZkUbywgNqiFP4Hge X-Received: by 2002:a05:6a20:49a4:b0:d8:e90b:78 with SMTP id fs36-20020a056a2049a400b000d8e90b0078mr5452983pzb.45.1679743922158; Sat, 25 Mar 2023 04:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679743922; cv=none; d=google.com; s=arc-20160816; b=jNNSTT6BrfBgXPCe9dZHrZbg/akufrS97cN+NOTDvjRh6/8ThC3rEghfJC6hMxwueY mdwf6jJCG36rKzymzuaxHAAcJ7wPATfFCWlzA32FFP62DH6yxXdItMVQdcgqvhowBF/J iK4Gz/U2uqY2HPBiKi+qsixxNAZrySFlljRy55WuTpSv7Ctv2HxwCuHrnW1YJ2yaXDcN +dcWi01fGgG1/lnNzgcDLCyb6tuNxotJPpAS7boNa2TdLQTAWDIENkEpscnA1GRPjndG tds0Mo9xYTJxdJeo8IVROd1MQL818YmkOJqjixYbSrLi6YYRo0TI5p692mOg7ATN/ZA6 vmfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=ht+M9qAwDcGzy0Oi5GFIk5LGEqROnuLchd2TnwqxBxs=; b=PoaqbA+6RVKq2W4cfESUvxH7I8Z372NN6i0ceuVTyoOiJVFad+G7scyljuy9X54qgR RkM8LCpue7dVzz2wLGaEBC/7HRMB+RnnmfKDmMQibwpYKG5092LBvhRjEXFQnnh3xqWe St8wjcgjL+u0H1PLmFcNRZKNyBS5lyNg3pqemqFdDtl7TuREKn2xwSqom2Jweq2Inrew XpfhwAWQ9WTFsCxDkNIWjXU39m8U650r5iMZMXatV3z8fCHiBT2P0ODhNU/Mn/pU3Arm uCcjMTK7IRxVHCRbAQKTaZgnhzgn2Vc//uxr+k4OnBYz/QTx5YCU6dUxx6Ki0528LYAT jLuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=AM9xNCWX; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u186-20020a6385c3000000b004febc1dea83si23501088pgd.55.2023.03.25.04.31.50; Sat, 25 Mar 2023 04:32:02 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20210112 header.b=AM9xNCWX; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231920AbjCYL3S (ORCPT + 99 others); Sat, 25 Mar 2023 07:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231821AbjCYL3O (ORCPT ); Sat, 25 Mar 2023 07:29:14 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 751B912CE0; Sat, 25 Mar 2023 04:29:02 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id q16so5379195lfe.10; Sat, 25 Mar 2023 04:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679743741; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ht+M9qAwDcGzy0Oi5GFIk5LGEqROnuLchd2TnwqxBxs=; b=AM9xNCWXg1wmyrB1RoOB6p5kioHSwyTQw41FQf2b49pvAmiOqiiEN+IZtMhlrbuHiL Jl7UlaTt9aL0iHYgM8NrHQXG9Va2qBpgaKAuwPf2EI50mXZQnZGQeSFwCCV4NGpxpm2N s3jEMv4c0qDbjGrGYSBXpaKKQXnxhWIHE4WKxX/IQogWF8FnKwye9+7gWI96vBB5bAfS KmtdnA1JuDwYvuL/TBRZlOXjrcJ9Xj7SrpVo+RhJE8FRU40OSptdUqc5+SkFpUMZYKyz 3XRvzH3SEzaurmbf1ddM8DWHrcqfr830JB1j57U9lxrLeg4TNCbuSUdyugCmpjzeKDa9 VqBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679743741; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ht+M9qAwDcGzy0Oi5GFIk5LGEqROnuLchd2TnwqxBxs=; b=yTzrc8on/kYKywpkK2TFnYBjbuizBVxctBGzBj9zYKB5UFJfQSSKH41iwELxoDSWqu zFPbFikr8YHJg6fnkvYzFaAGU0zE+PXQpPphMVMIUXRUk3dzXljIx2a4GtcK5Pr8B9Rs FcTeYnJ9gWK56vPr3/aCvpA3HacSeGq5nHwxZKHRP+nsqjnlb8XTNsPrz2poZbZ4T6mU AyHWsWuhVmh88FlR1iX+GDTkPpR0QvE6lZBZ19X3OltzTB8F8cVP7O1FOPtvzjJB53t5 c6IAA7btwb0UjjV3huAXgv5IQxfPe1rUgXBSaWu/Yx9KjeSJ6NjHqd4gClqELAjx3Jwv dsBg== X-Gm-Message-State: AAQBX9eo+NMRPhPm+nNVczQivWixZc2o5HKeVT6SUt/lNLb3IudxIKO8 nQjyYqT3QkFn4qiLca2jqydDuUMCTcZ9Zg== X-Received: by 2002:ac2:5989:0:b0:4dd:a053:3baf with SMTP id w9-20020ac25989000000b004dda0533bafmr1727986lfn.35.1679743740443; Sat, 25 Mar 2023 04:29:00 -0700 (PDT) Received: from localhost.localdomain (cdb25.neoplus.adsl.tpnet.pl. [83.30.151.25]) by smtp.gmail.com with ESMTPSA id m30-20020ac24ade000000b004eaf55936eesm1502510lfp.233.2023.03.25.04.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Mar 2023 04:29:00 -0700 (PDT) From: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: msm8953: Replace xo_board with rpmcc sourced xo Date: Sat, 25 Mar 2023 12:28:49 +0100 Message-Id: <20230325112852.18841-1-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Assign RPM_SMD_XO_CLK_SRC from rpmcc in place of fixed-clock where possible. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index da00c2f04cda..438a70eb6152 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -2,6 +2,7 @@ /* Copyright (c) 2022, The Linux Foundation. All rights reserved. */ #include +#include #include #include #include @@ -637,7 +638,7 @@ gcc: clock-controller@1800000 { #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; - clocks = <&xo_board>, + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>, <0>, <0>, @@ -801,7 +802,7 @@ dsi0_phy: phy@1a94400 { #clock-cells = <1>; #phy-cells = <0>; - clocks = <&gcc GCC_MDSS_AHB_CLK>, <&xo_board>; + clocks = <&gcc GCC_MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "ref"; status = "disabled"; @@ -868,7 +869,7 @@ dsi1_phy: phy@1a96400 { #clock-cells = <1>; #phy-cells = <0>; - clocks = <&gcc GCC_MDSS_AHB_CLK>, <&xo_board>; + clocks = <&gcc GCC_MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "ref"; status = "disabled"; @@ -992,7 +993,7 @@ sdhc_1: mmc@7824900 { clocks = <&gcc GCC_SDCC1_AHB_CLK>, <&gcc GCC_SDCC1_APPS_CLK>, - <&xo_board>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "core", "xo"; power-domains = <&rpmpd MSM8953_VDDCX>; @@ -1052,7 +1053,7 @@ sdhc_2: mmc@7864900 { clocks = <&gcc GCC_SDCC2_AHB_CLK>, <&gcc GCC_SDCC2_APPS_CLK>, - <&xo_board>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "core", "xo"; power-domains = <&rpmpd MSM8953_VDDCX>; -- 2.25.1