From patchwork Tue Jan 10 14:36:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 640993 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC2FFC46467 for ; Tue, 10 Jan 2023 14:36:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238580AbjAJOgw (ORCPT ); Tue, 10 Jan 2023 09:36:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238534AbjAJOgu (ORCPT ); Tue, 10 Jan 2023 09:36:50 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D6843A02 for ; Tue, 10 Jan 2023 06:36:48 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id b3so18768210lfv.2 for ; Tue, 10 Jan 2023 06:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=093HGxT6kK1QzCS2QGIbQ7fTsuo/J9nz+14qeMtObLE=; b=nVdV/XoCNwttwqLoGVH7MM9i0VlTHoElwXCuFrvXPHpE8CY77kr44ETz68Mv382uSX naJjTAHcnvCcGG2mOzkHWuqeN3l1tupxxWPLEpl1QOuP+jtfdyFWHdlgcyLiyVk5p51t WKCeHnF+wqGFleFGXA/GgzH4rnJ1n9o5pa9vRTDuehtSqbpbuWXbPC4DsvKKhoKFbN1v KIEnqMjdxKZKYqhlQ/ij/zK+JDDc3ZB1aI1JtCR+5lZMWeY7bRqvPiLbbdtUd5i/vuEp i+AHeqFLpAbw6RAI2I/jfD93L63Sw9p2fTWkplQfWBPfsOZDaf8kMEA1x9NW0UfFxwl8 2xQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=093HGxT6kK1QzCS2QGIbQ7fTsuo/J9nz+14qeMtObLE=; b=mLkLe9Pf8MuhQuW0YaXG9ny81aijXMkhsoJ9YO1f/k95Am5OGT1Akq5AxIGdalonFp C7s35V942CwHQfqk509CCXUbPxnLNQikjcADgTDnVyYD0jyYg/n61KABu2fiUtWg+OcO 7QyS8z+NkXVTARYL2rYYCua6aipawmANUhhBVoflSO+Xo8d3XJTDiOYiUDETTWMlvsdY V2Ra5aucen9MpaT/wRgjTYPfWtkm1OuGf+ymkTxQqCCCVHLpbQNBQ+kxKd82XuuDqA/s +OXCL3S7CYH5HL2PcNz+9WGzSMy7My018apkzs8KCpzUOjOWjNws4QGqU5FTa7pvX3qC YQGQ== X-Gm-Message-State: AFqh2kqWAsdSPFO76r5IplGKYSKJJu2idCbUpHB5lnHjIKSTotB+rKDf JZRifYo3/8Dtvf2DmXu7amYuOVRFe1fgOkht X-Google-Smtp-Source: AMrXdXsafxZsbdlOEbrmqK+20vrDozHu/BfovcYmL5qEy0vHwNVHtWEHyqO6qCRYRRzTrAW/zzMRXw== X-Received: by 2002:a19:f001:0:b0:4b6:e4c8:8a48 with SMTP id p1-20020a19f001000000b004b6e4c88a48mr19602485lfc.63.1673361406396; Tue, 10 Jan 2023 06:36:46 -0800 (PST) Received: from localhost.localdomain (abxi45.neoplus.adsl.tpnet.pl. [83.9.2.45]) by smtp.gmail.com with ESMTPSA id p10-20020ac24eca000000b004cc87bea877sm637912lfr.65.2023.01.10.06.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 06:36:45 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: msm8998: Use RPM XO Date: Tue, 10 Jan 2023 15:36:42 +0100 Message-Id: <20230110143642.986799-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Feed GCC and SDHC_2 with the RPM XO instead of the fixed-clock one. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 746f4e42a53f..4d59f4f8fc4a 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -809,7 +809,7 @@ gcc: clock-controller@100000 { reg = <0x00100000 0xb0000>; clock-names = "xo", "sleep_clk"; - clocks = <&xo>, <&sleep_clk>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>; /* * The hypervisor typically configures the memory region where these clocks @@ -2310,7 +2310,7 @@ sdhc2: mmc@c0a4900 { clock-names = "iface", "core", "xo"; clocks = <&gcc GCC_SDCC2_AHB_CLK>, <&gcc GCC_SDCC2_APPS_CLK>, - <&xo>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; bus-width = <4>; status = "disabled"; };