Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1611870rwb; Thu, 8 Dec 2022 12:58:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf5OboPNIuEtVgaZbw3uzqXEKwwlaDl6XQu1VQjracc6MDl2L8Q6zhffdnvoivSq8cudD1ek X-Received: by 2002:a17:906:c249:b0:7ad:9f03:fd44 with SMTP id bl9-20020a170906c24900b007ad9f03fd44mr64375850ejb.73.1670533096422; Thu, 08 Dec 2022 12:58:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670533096; cv=none; d=google.com; s=arc-20160816; b=M2Y0PWHXiNwtacu/1vESSLEO0magOKWAxiVtisgcaNoIj3RSfB5KyP/gCk7vNOcRGd AvHt1HRc1+tKVJIi1Fv//tb+9Zj84JiMUMyWvtPU/NPMlIYo9uBGCXMAFyxU/HsQa7yd 8AvDg3/23huTGiJcXojim1tdvfzbk6UbmrhyEl8vN0lK6S1Xb19qecWieMd2MV/e8q/E 8NXDkVI+UvruLbp5pa4IGCiunBDNNBjKG40puYyB4G36IRoR82LkvC0ZNOyOVmJitTo6 0NuKq7pPY7v4dBlqkK8bKCakL8miJ4ShmegXDxi8YJ1jHWOnm6IVCUNScVLi78e1bNda +Iow== 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=4naixU0W2mwEQuuHUmas2VUjFasO06w6Uoh0J7hj7Xs=; b=YoXVWccjitnNvpnuFpMdzk7c++N3QwYRIA8amCK0fyEKgSaDQ0t6SQXiw6PZDVbork py4QsdKju/lC/3N4zsfJe+kQmA/3za1XW6wr8CieIc2VywVQizavlnCvXR9fB73kK1Ww FwGylZZpX8rqMREljTkL0QdX5lHHCBIkBVWkxYG99YyhG//aS4hU9ueUpuBFOh7r5Sg7 y8Z6R/qOeicqSBPUJ5Ptuuqw0/tzyiHPRKW9nEwIXn5kEHJak/wG7WljRhZt5hXxLYHF jlYskMDcu2Xdzk92rKqtPaCKq7mqNi0ZH1RqZaIRKg/eZ8wsoO0iDdlBRZKIA8czt/SC ZsCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AwwRLN88; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb27-20020a170907961b00b007c0c9bd6211si16966350ejc.357.2022.12.08.12.57.59; Thu, 08 Dec 2022 12:58:16 -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=@linaro.org header.s=google header.b=AwwRLN88; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbiLHUOW (ORCPT + 73 others); Thu, 8 Dec 2022 15:14:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbiLHUOQ (ORCPT ); Thu, 8 Dec 2022 15:14:16 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98C6878B8F for ; Thu, 8 Dec 2022 12:14:15 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id f20so2775644lja.4 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=K2hBun1rPTkYlfCGfnRG5wCPwnMqBJ1Zh0hJg0PkIb6sZDYBLR14BTzvYwx6fRAVjh bIoygbVpM/ldwtlXF/lobZGUwrdZRYdidJG4vDOiM0V3VjYdJ/SyE6cMn2FhX/EoQKoU 1NRXHXLzlLoxWBPujY8Hrc6cekh+kE4k18b9dPm/OL/vqdXIQtoFouaL6UPGn8tp6ZWn 7xC3JzOeeiDKTiV+05lcvmMaUXPphNF+kp91iKq7HwfIshwaebX0SRSy6gHcWxIEStph +5AmxWXnoIlpLuQAeGwNWRDEU4U1e9rr1748k86ffNJMxfJAyID0b+ihRgqRXh+MzhrO v5HA== X-Gm-Message-State: ANoB5pmqtsx2LkrX4r9sxqeROoj74kzs1qwkT3BDMsRMjBiRfZThpFI4 7Pu425dPjSgK6dzadPKSX4dK6Q== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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>; }; -- 2.38.1