From patchwork Tue Oct 18 15:28:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 4223 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2021609wrs; Tue, 18 Oct 2022 08:32:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ABzYqNd09rPjZ4tY8ewIwgeM2IDWFhKyagVqvQhbHuqRc4KlATatttl3BSiQGKNFLGsaB X-Received: by 2002:a17:906:eecb:b0:73c:5bcb:8eb3 with SMTP id wu11-20020a170906eecb00b0073c5bcb8eb3mr2861255ejb.284.1666107134980; Tue, 18 Oct 2022 08:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666107134; cv=none; d=google.com; s=arc-20160816; b=ll2Tzif8LvUPuzRgXEz94PbpUkMwzzCWTxYnwgWdRb0Kw/OOKgEpgdWIM1cEiXgxKf 7L2ZJwCUZ/s+Ev55P3eeN0DiUG5REC86JnOmLx2v+6ZrARsjnZlVhx/s1lcbVTQeW4Dk pNg9MeqDVVYVrmxgH67M/HhM1SEAbOTU3qdKEj5tgXx0dZfQPTId2WC/ZXxkzPe+ywSX XgaPhPxu1YwbDGCSPgL+SUUfKVauUa51zvWrHl2bNM5uikrLrVY28CqI3GLKJ44aD58x 3KTnryJ+8bz2dAEMxBt2Dis1X3oonL/hqo8Cz523t0IFMQgkhdaZuD5zjPJ4xQrYKu9a 2FPw== 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=AB4pG/wpKwLSAILs9IcGtC4gbTwQNljlapP0erz1+Bs=; b=YAAxBRFY7bXKdgQjYCituLOjDYfiuc6Rgc5o120WiCo7xB3lSFBeNRmjfYOZdwYOHt jh2bYcfEK+xQ8T/N6eL2q5l5pE5Yy8Ej5FnFfcteJ5cFnxqTJZdbutNPSLvwV+vftDXT M6fyInCgQYQYw/oPsCg4UtPZD/8Mqvfa3M+3gB4PXXpmFHWHslPoafBVcRWqwzqrk5+x wIM8VFgff84bbazhal/hrcHELyuH2B7k3nItOrkQAfmITjph9ZpKxn6YGfyoOKX39LDE bc4tuRFl18RYMMU5YPAm5BwuN33J9OaAwxWl8+mq9jWNSVfbhgXRxCz/JxaTUe32FOBP 0hIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ry/gKAX/"; 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 z2-20020a1709063ac200b0078e1708513esi8575139ejd.824.2022.10.18.08.31.49; Tue, 18 Oct 2022 08:32:14 -0700 (PDT) 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="Ry/gKAX/"; 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 S230425AbiJRP3Z (ORCPT + 99 others); Tue, 18 Oct 2022 11:29:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbiJRP3E (ORCPT ); Tue, 18 Oct 2022 11:29:04 -0400 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 434D3D01AF for ; Tue, 18 Oct 2022 08:29:01 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id bs14so18394196ljb.9 for ; Tue, 18 Oct 2022 08:29:01 -0700 (PDT) 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=AB4pG/wpKwLSAILs9IcGtC4gbTwQNljlapP0erz1+Bs=; b=Ry/gKAX/ngx4cgGV/cyifxKrzZCaj65Gv0gXz7a8QKD7E4wJqsZG19WRsiriUYP1RN l343f1RyO9LQJmTATviNmsoVpm2p1znDRGoV32NysoAJi4t8n+oslv+8OJpzAiCEsk82 iVhGVVgiFIdDbathwWj0cQHgRL/NzlpTFTjCF4xSwuCn/HwhwblbykfUKsXHRy9WurFm dguFAsbuZGZwkIwMDHaDKGqXmeIFdTLWGTbGlMJnim26FJ642syYC2xGwyacHO7//L27 PR2qqkPYsM49HieuEdksYdEUvSK6Q/po4+OHHpgtuchRQqU9jSomo3BBVjHfz0wuZnvG 8oZw== 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=AB4pG/wpKwLSAILs9IcGtC4gbTwQNljlapP0erz1+Bs=; b=hzf6aZ//Mja7OB6wsbG2MWKCK3Vew3pmJntlzHqzzgfV4eqlSEp9AyNMDJ/tSgNDCl wfJDxHPBHQG3v2Nsry6utF3YRkBvlNgbxnr1xrsUOhmZOr23JtKxEJU99Afct8kTd/Yw 7ZoPUEDyJoUpidFVM8Bp4F2WLTMk3GmShLiGxa0vys5i1mpBHQW2PrcVXk/ZJWoT5wu+ clJ3xPpzPpAQFdxu3WupTG4oszsgB/QtOkGlTy1ANenWNdVGheQZ4DSgFsdb4oxSW+Xv aedbvTZ/1uHWGtwS5Yupj0WwIWGz0YBsZBYJFQrvSV8JxTSDtxwHAtDGZjxfEqR6tFa0 RCXw== X-Gm-Message-State: ACrzQf2L8AYVyv3RLWRftdzSN+oXtfTlRSxH3jK+SQ07MiDp4zVcj3sI ocCjwWPXHmKE9ceysN5ACzC4zw== X-Received: by 2002:a2e:bd0c:0:b0:26d:d9fd:f61b with SMTP id n12-20020a2ebd0c000000b0026dd9fdf61bmr1299091ljq.151.1666106939451; Tue, 18 Oct 2022 08:28:59 -0700 (PDT) Received: from uffe-XPS13.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id a9-20020a05651c030900b0026ddd41aecasm1998617ljp.135.2022.10.18.08.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 08:28:58 -0700 (PDT) From: Ulf Hansson To: Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Dmitry Baryshkov , Maulik Shah , Rajendra Nayak , Sudeep Holla , Amit Pundir , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/6] arm64: dts: qcom: Add power-domains property for apps_rsc Date: Tue, 18 Oct 2022 17:28:34 +0200 Message-Id: <20221018152837.619426-4-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018152837.619426-1-ulf.hansson@linaro.org> References: <20221018152837.619426-1-ulf.hansson@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=ham 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?1747039954961043407?= X-GMAIL-MSGID: =?utf-8?q?1747039954961043407?= From: Maulik Shah Add power-domains property which allows apps_rsc device to attach to cluster power domain on sm8150, sm8250, sm8350 and sm8450. Signed-off-by: Maulik Shah Reviewed-by: Ulf Hansson Tested-by: Dmitry Baryshkov # SM8450 --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 + arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 + arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 + arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index cef8c4f4f0ff..ecaae6f5ee6b 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4010,6 +4010,7 @@ apps_rsc: rsc@18200000 { , , ; + power-domains = <&CLUSTER_PD>; rpmhcc: clock-controller { compatible = "qcom,sm8150-rpmh-clk"; diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index a5b62cadb129..c32227ea40f9 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4955,6 +4955,7 @@ apps_rsc: rsc@18200000 { qcom,drv-id = <2>; qcom,tcs-config = , , , ; + power-domains = <&CLUSTER_PD>; rpmhcc: clock-controller { compatible = "qcom,sm8250-rpmh-clk"; diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index a86d9ea93b9d..b5d036d72059 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2004,6 +2004,7 @@ apps_rsc: rsc@18200000 { qcom,drv-id = <2>; qcom,tcs-config = , , , ; + power-domains = <&CLUSTER_PD>; rpmhcc: clock-controller { compatible = "qcom,sm8350-rpmh-clk"; diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index d32f08df743d..d32dcb042778 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2999,6 +2999,7 @@ apps_rsc: rsc@17a00000 { qcom,drv-id = <2>; qcom,tcs-config = , , , ; + power-domains = <&CLUSTER_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter";