Message ID | 20230213-sm6350-camcc-runtime_pm-v3-2-d35e0d833cc4@fairphone.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2902258wrn; Tue, 14 Feb 2023 03:06:56 -0800 (PST) X-Google-Smtp-Source: AK7set/51PlnDSWfoguvTt4MIISJopmwQ8RGIcByl41LO/2F0SMnLhdr0/kHdzrBY+vEopnfZv/n X-Received: by 2002:a17:907:a05b:b0:8b1:32dd:3af with SMTP id gz27-20020a170907a05b00b008b132dd03afmr795035ejc.28.1676372816541; Tue, 14 Feb 2023 03:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676372816; cv=none; d=google.com; s=arc-20160816; b=M+rHwjs8FKKNWqVlsEh5OYsZwbiEebGZdZ+ChbJXqq1g9ZFcYvUE8xR+msfLAELxBm 4N8a/21TCQE42AEHL4KLWFAePRefRg3FTTS/UKCSvUHJOwx/bsyPmaB0e1G/8ADBp8Ou sU7JCvqdmEt1n+jZz98yaQQ4f337Aj7KshenS67KLkuDYd+AMEmuBIgtYMBEL6prJaBi 8MCqRBSYRQVIFt2B7A0qT3SrUS9nnq0m65C+mX8KxggeCKHGumJH7NjCrD7zT4f/YquO CdB1IS7CMnTE4TN7ENcr2kECeZVU//DucDsnfewTwJvbK3ofjdwADYUcYVAgu63bW46l dHtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=LhcKoN5ST7xXXL4advBn9C/NLBwyPeRYvlSSmMsZVTc=; b=aBdZ758WzecEMUN3OyJXe7u/TN83PRYDW7+w9Zx7dmyIb27HvPBk7798UHRUAux2WY A0cwKCmTGyKarJskNU5fTeDpxxNPJdVu4dWIaBnD7GaJpS7GASQOL4gXH9sR6+rezL31 SGaS799lfFBah/pQ0aCu8EwBQUxgjv3O4Qm9li8NbXpBvrtP5EvbC0NJl7hfw9KqlHmg hK1925K5+/SdXNTzLxLZWH9pxHufU9cRCySxiOJwgTaBxhrKg6/qYDTc+93UAGLidGe1 wYyxAZu2fcSGClsMSL/kjFhX1VDOxufE/qbCBL4mgDkXFxrKpF9DqWmuKSRH+FtpmF3g /9KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Ec1aAWyf; 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=fairphone.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020a170906739300b0087bd2c8a4e0si19562255ejl.971.2023.02.14.03.06.33; Tue, 14 Feb 2023 03:06:56 -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=@fairphone.com header.s=fair header.b=Ec1aAWyf; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232462AbjBNLCB (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Tue, 14 Feb 2023 06:02:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232731AbjBNLBm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Feb 2023 06:01:42 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B0AC24C87 for <linux-kernel@vger.kernel.org>; Tue, 14 Feb 2023 03:01:37 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id dr8so38971641ejc.12 for <linux-kernel@vger.kernel.org>; Tue, 14 Feb 2023 03:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LhcKoN5ST7xXXL4advBn9C/NLBwyPeRYvlSSmMsZVTc=; b=Ec1aAWyfr5zWmwwLyROj7VgyT5uAT/F121zLh/UypO4SjLMz1qnhCaEfZcTxRaYIjG 7bW2G1R4M7R5QB/bLSqspAsBZPFTFLOyLCDGiZzpVTbe3sMeMbSOrKcrizVqYkrTf5GN GZZQQ9sgwtsUxD3DdEdeCOB2ajV7mTibD7hs+R0eJF7BlIiq+nXu7KtJvMeSbjAEX9Vd TfBsGdyhAy4GtzqKztS2K+RzAnOSqAp8ZETVNwBGnVdz6sgEHv3TTQTS+H8fE3pSjx4G 6lNhWUrtpXyryIWY+/cNBgrIzcck18xTtArwgp7Ixfcdz4X7V3KWCGTRf20RgLNyVsMn xXcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LhcKoN5ST7xXXL4advBn9C/NLBwyPeRYvlSSmMsZVTc=; b=P7qx7c64lMg1eJVnqL8tPtKNrb4oMLDD068GYrfoqINoI76M6tmIS4wI5V05XpSck7 TMQZB9VR34GumUXffZCp4KT9CF5oIf+p838wydVZJaPNnZhUF7Hbc6GFsl9LNPpQmyLP CfuVxWPwi/sOH7g8v0gl5z0GevVqfHkQSezT+bcTU3nTZsst0OdPi9xTAiU6mgWSy4Nn 5h9wAS0wfh4lXPo1BMKdFziI9zpBco3ejDiqjP1ZI6HNwo9+152JTJLboapeLKLskV2p JHSTXhJLSDuHQeBUecuGJKffCTdZtneBL89SxBDZHRPDtC+hSWJ2DRnePCnqgUdDV6gQ qqTw== X-Gm-Message-State: AO0yUKXCVSn4OFHB+r5qaGetDnBZWAIly43anqq8HNo23wpty5vXiZ1i LH1dEAF9rHWFZ6vni/9A2t7zGw== X-Received: by 2002:a17:906:1354:b0:888:a72f:1599 with SMTP id x20-20020a170906135400b00888a72f1599mr2791543ejb.11.1676372496015; Tue, 14 Feb 2023 03:01:36 -0800 (PST) Received: from [172.16.220.87] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id i21-20020a170906115500b008711cab8875sm7959596eja.216.2023.02.14.03.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 03:01:35 -0800 (PST) From: Luca Weiss <luca.weiss@fairphone.com> Date: Tue, 14 Feb 2023 12:01:33 +0100 Subject: [PATCH v3 2/2] arm64: dts: qcom: sm6350: add power domain to camcc MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230213-sm6350-camcc-runtime_pm-v3-2-d35e0d833cc4@fairphone.com> References: <20230213-sm6350-camcc-runtime_pm-v3-0-d35e0d833cc4@fairphone.com> In-Reply-To: <20230213-sm6350-camcc-runtime_pm-v3-0-d35e0d833cc4@fairphone.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.12.1 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757804302577522669?= X-GMAIL-MSGID: =?utf-8?q?1757804302577522669?= |
Series |
Add pm_runtime support to SM6350 camcc
|
|
Commit Message
Luca Weiss
Feb. 14, 2023, 11:01 a.m. UTC
Add the CX power domain to the camcc node so the power domain gets
marked as in-use when camcc is used.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++
1 file changed, 2 insertions(+)
Comments
On 14/02/2023 12:01, Luca Weiss wrote: > Add the CX power domain to the camcc node so the power domain gets > marked as in-use when camcc is used. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- > arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi > index 1e1d366c92c1..62d6dcd8d1fe 100644 > --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi > @@ -1507,6 +1507,8 @@ camcc: clock-controller@ad00000 { > compatible = "qcom,sm6350-camcc"; > reg = <0 0x0ad00000 0 0x16000>; > clocks = <&rpmhcc RPMH_CXO_CLK>; > + power-domains = <&rpmhpd SM6350_CX>; > + required-opps = <&rpmhpd_opp_low_svs>; Does not look like you tested the DTS against bindings. Please run `make dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 1e1d366c92c1..62d6dcd8d1fe 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1507,6 +1507,8 @@ camcc: clock-controller@ad00000 { compatible = "qcom,sm6350-camcc"; reg = <0 0x0ad00000 0 0x16000>; clocks = <&rpmhcc RPMH_CXO_CLK>; + power-domains = <&rpmhpd SM6350_CX>; + required-opps = <&rpmhpd_opp_low_svs>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>;