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: 31485 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp404570wrr; Thu, 8 Dec 2022 12:20:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VMtyLvXq9AjJaDXV+LWVJ17UVIWdyA3vXJfD/Voa4SP4AsP2KVJuAsU8E8BrogQbxaZRu X-Received: by 2002:a05:6402:370d:b0:462:1a67:75ef with SMTP id ek13-20020a056402370d00b004621a6775efmr67348532edb.16.1670530849430; Thu, 08 Dec 2022 12:20:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670530849; cv=none; d=google.com; s=arc-20160816; b=KVfzkq1V/MNUnSSRZlYPYviovrGj/DLr//u48f85wxinysvEtU11Qpud0Bl3kqQhuX EuYwXzW1fVtb7xrYv9h+1+xa/g8Oe+JtAE10zB1zKONk9kxgDwhNil6vA5EJqzTiWdWQ okU3Xcvp3Ja/MhlrqDrJxxK+bRnjrmFR3acvpTm88fLZZzSlA1dGzlVTWE2Blx3+NS09 9SYhFWxwBjz1A0N90EnkKZvZrjP+J6JAyB2S9UhSF4mh9+KexSTsoyGkAFDTjy7w+Ft2 MLLYft36U6V2KPTFLSwGg2RdwFLSvVS+FW2lGEDQ7y0ThfyWfyXnvBw7aZuuFvNOcqnu XRzQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb29-20020a1709076d9d00b0078dcdbb3e87si18414675ejc.530.2022.12.08.12.20.26; Thu, 08 Dec 2022 12:20:49 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751678555855696191?= X-GMAIL-MSGID: =?utf-8?q?1751678555855696191?= 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>; };