From patchwork Mon Dec 20 17:03:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 12696864 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E7DEC433F5 for ; Mon, 20 Dec 2021 17:05:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3Z/dy6Q6jCiO+TmUtp5TS0ZJ6OGeKGXYrv1BD90SUBs=; b=t7+KInhCrTn7i4 xo71RT6IVYDSuOCQBgGVGxtqJmcrLlR7Wp8CAezhoq0UJ3FR3iHSpCH+Dx3Drl8A8JGU2yZxIn4Tb 1gRUqT9591taJbsv1kt9QFdM8+8dSA2/h5wcsjpVA/aRFP1bDJ2sOGE3eo8KQR89HzzW93vVN8w6q wlXO4tZv4CXBRVvzQ2moLm7y0MVctzfMZvY0ivFeFbT4/R9U76vzuJcvD0U+QpmHpdPKhHL0a6Tl2 zj/lJ3DFxuxFEbu05RpBLBTdToTJ1+lkDsMsxwSX2MC+PvuSZxEu6xcPTKOlqaxhlhVe+YmounTL9 x2umXHWmdHm51oaB965w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzM4t-003S6A-4f; Mon, 20 Dec 2021 17:03:59 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzM4p-003S4c-UC for linux-arm-kernel@lists.infradead.org; Mon, 20 Dec 2021 17:03:57 +0000 Received: by mail-wm1-x329.google.com with SMTP id b73so7338718wmd.0 for ; Mon, 20 Dec 2021 09:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gzVwm42op0dYJGLqZ7dp5IDRU3oxLB2OIuNOvb9n2E4=; b=mN2lfyGI1jfyVAAlQI0Cx8V8WvVFKCgdy4HXzFolvb56JyOw/hAbjHk3Il8JdT4N85 dNNtAHSFJkhgXGogYHWbhTxB74IIVdBM9ik6RLc4G7Of8NyhkW3dGD4hUp1/y2Fbdtrf A4XyxaYf98/vS4G3ibTSQMDECU8N6tDT4hSCipnljgpT4rbgHGv6s1H/wl9vtNMfqzIY qXZ/H2+/M1KthD13yFXnWmwZiANfg6bSPY1gebtJIutLHoxyz54r7wiHpSk4KuI8ugSU TBun44JxXmY+z83T4UvMyzeQcd0RvdO847CTClDS1BT707kQadxn6s/dvoBLYmNBcKOE 33sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gzVwm42op0dYJGLqZ7dp5IDRU3oxLB2OIuNOvb9n2E4=; b=drBVdLB1OLv4wybFCM+BoZfrOlVA7uLKp3HuXrnL3daFwlczpn6C63SMV4ACI6Sxv8 w07RFBwu+15St6lTdyaeuZPCOzJHO7B0Fp/tBTJm/20IreJfccBBZAik2G+y0eIIlL2k ZMSAyRivSdkKlSiMRqsUjuNIl7dPsj8uvdYPSEoRziF+gpA3qG9sfSgn1l/1+D5GxAKu +7C2BAJ+4IctT0LTs7HPwMWP/onfoEHxnpMzhaxLIBWJ261PiyW7L0ElLLWLLB75VfdS yZQ2fva1Nyc6F8w0hT/igeTeXyJSGwxloTnOwVHy42xRNWxjqNTode5gMBlBAQs4rvPs 3Zlw== X-Gm-Message-State: AOAM531HMXiDtpwv9XQD2GWKLa7K1U593TFLeodR1nwfCpYlrEmkN8Pk y9FpRq7xN25/ymhsCZchMloYpbBZT1c= X-Google-Smtp-Source: ABdhPJxc25sg88Zy669SelVPqJ+lBNe8kXr+x1M5v7rp2yOXiG1LDtjf+ogEdeayXoH0Te2YCtrItQ== X-Received: by 2002:a1c:1f88:: with SMTP id f130mr21956775wmf.91.1640019833405; Mon, 20 Dec 2021 09:03:53 -0800 (PST) Received: from debian64.daheim (p5b0d7e31.dip0.t-ipconnect.de. [91.13.126.49]) by smtp.gmail.com with ESMTPSA id t12sm1913904wrs.72.2021.12.20.09.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 09:03:52 -0800 (PST) Received: from chuck by debian64.daheim with local (Exim 4.95) (envelope-from ) id 1mzM4m-000902-IK; Mon, 20 Dec 2021 18:03:52 +0100 From: Christian Lamparter To: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Pavel Kubelun , Bjorn Andersson , Andy Gross , Rob Herring Subject: [PATCH v1] ARM: dts: qcom: ipq4019: fix sleep clock Date: Mon, 20 Dec 2021 18:03:52 +0100 Message-Id: <20211220170352.34591-1-chunkeey@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211220_090356_000141_7939F7C1 X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Pavel Kubelun It seems like sleep_clk was copied from ipq806x. Fix ipq40xx sleep_clk to the value QSDK defines. Link: https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?id=d92ec59973484acc86dd24b67f10f8911b4b4b7d Link: https://patchwork.kernel.org/comment/22721613/ Fixes: bec6ba4cdf2a ("qcom: ipq4019: Add basic board/dts support for IPQ4019 SoC") Suggested-by: Bjorn Andersson (clock-output-names) Signed-off-by: Pavel Kubelun Signed-off-by: Christian Lamparter (removed clock rename) --- @Bjorn, as promised, here's the clock-output-names version. I've tested it extensively with the lonely devices in the office. Thank you. --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 7a181352b306..632038d2f7b7 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -146,7 +146,8 @@ pmu { clocks { sleep_clk: sleep_clk { compatible = "fixed-clock"; - clock-frequency = <32768>; + clock-frequency = <32000>; + clock-output-names = "gcc_sleep_clk_src"; #clock-cells = <0>; };