From patchwork Thu Dec 8 20:13:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 632006 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 A885AC10F1B for ; Thu, 8 Dec 2022 20:14:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbiLHUOS (ORCPT ); Thu, 8 Dec 2022 15:14:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbiLHUOQ (ORCPT ); Thu, 8 Dec 2022 15:14:16 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70D3378B8C for ; Thu, 8 Dec 2022 12:14:15 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id b9so2767454ljr.5 for ; Thu, 08 Dec 2022 12:14:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4naixU0W2mwEQuuHUmas2VUjFasO06w6Uoh0J7hj7Xs=; b=AwwRLN88Q3F6of2YPb1n4Pt/0x6cdbfXZGM2usqWpEqd8ecYsDKwGqfYPEoMzKh7Xg 9NAM31Kgw7fPfVzuO0OMT72VuiCVqDpIQU/6OrxaY6rB6tZuWDACSAibAB1jDGAjcjSE YvBELlIuHGVjwFAQCphZmnfJlhqQ6vVEoLL7DEJA+rEegBNvUs4Bf7b7Tz08JI4CV3nH qgJrAd1n6BHxhBiFNlPy5fCJ8cqo7oWLeagKB14zQscZmK+FKA3MAVr3iqilXxD8vtSh l1RdOnV2+Olyl3wM+ujpcoyxyvnc9G9Ef+YefGpwnrwHA5io+Rn0yMgDO1AuGrtSSMb4 lNhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4naixU0W2mwEQuuHUmas2VUjFasO06w6Uoh0J7hj7Xs=; b=ZT5iPbudJwkyd/uSgoPCPwgq7W/lGDfBSU7aIqo/mTf5GJ8IHM2fm1tmyU/wPch7tE r9HxuF3BdfZtWnwEw/dLzMB5rkhRa1tHGC3azy5Kp7EFR5jHDdQUXhaAGKhHt5RbQSI9 uG1ow6ny9BDedPJtviODeWV2OtxZgjyoXW1/L+EqApAiOyaqSDrHqdC30URygFhWykb9 o2vzp6rQDAwe0JiPH7aZzbf7wlM/BJpRRxWduiyUSkqmrKCUReiwBRifsWtRRSvzPBxu cgtFoy4CJsLvbog5A6Tzv26nT0w3NY6U+a0/ujHQBBwFYaFnX/MpVxV1WTHfzSIU84Xf qVcw== X-Gm-Message-State: ANoB5pmvkq/K9l9RVR8icQjOd68J1R04bxHbQcIbiMXnUMlz6Rxviq2S 1SAZKrjxLFZdh6RBoKKwh0LKJA== X-Google-Smtp-Source: AA0mqf6rw14Z08apamu/Q/ZDI54SJ1rhkCFleFuBj9W5tiRjOr3ulU2QuMc7PDF3xkYm/WagaGnJcQ== X-Received: by 2002:a05:651c:2009:b0:27a:25f:b265 with SMTP id s9-20020a05651c200900b0027a025fb265mr4333701ljo.410.1670530453828; Thu, 08 Dec 2022 12:14:13 -0800 (PST) Received: from localhost.localdomain (95.49.125.53.neoplus.adsl.tpnet.pl. [95.49.125.53]) by smtp.gmail.com with ESMTPSA id bi35-20020a0565120ea300b004ac6a444b26sm3466428lfb.141.2022.12.08.12.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 12:14:13 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Iskren Chernev , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Adam Skladowski Subject: [PATCH 2/5] arm64: dts: qcom: sm6115: Provide xo clk to rpmcc Date: Thu, 8 Dec 2022 21:13:58 +0100 Message-Id: <20221208201401.530555-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221208201401.530555-1-konrad.dybcio@linaro.org> References: <20221208201401.530555-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org rpmcc used to rely on global clock lookup (and still does so for backwards compat reasons) of "xo_board", which was common back when we did not care about things like underscores in node names. Nowadays it expects to be fed a reference to the fixed clock. Satisfy that requirement to make sure rpm clock rates are not all stuck at zero. Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") Reported-by: Adam Skladowski Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 3f4017bc667d..81523ab7ff60 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -296,6 +296,8 @@ rpm_requests: rpm-requests { rpmcc: clock-controller { compatible = "qcom,rpmcc-sm6115", "qcom,rpmcc"; + clocks = <&xo_board>; + clock-names = "xo"; #clock-cells = <1>; };