From patchwork Tue Nov 15 13:09:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 20365 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2717628wru; Tue, 15 Nov 2022 05:14:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf52phsTZ8rIYJ6HzNdDwH2xKf1lI+37S/3grc2nL8OMojdPadDDqA+lrpaa01ZkEq92/hOj X-Received: by 2002:a17:903:2789:b0:179:c436:4528 with SMTP id jw9-20020a170903278900b00179c4364528mr4048085plb.102.1668518054412; Tue, 15 Nov 2022 05:14:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668518054; cv=none; d=google.com; s=arc-20160816; b=Oqn2jgKokEjlQIt2XTqHZTrq0nA/0rdBVe2RhttjJPTw0xxnQ4FFTj7/l9A1paC4Q7 fRWyL36gnKXsNrN1wshccuKMGjvnbabev3ISdgfC911K2pPoQ5C6dBjTulXJtho5WvU5 b5zJj18cF9n2wu6Porm2J3za05Z1htSdtoRQSpZSz2+5O2qPqSqrkw+jXnkZBv7Z8nyi sl828UcKPtO+ErZi2cFGHiD6Vt/J3HliACKtFxP//JLsawKq8qIoxvI9+Yf0As5j5Mn5 nWkK+ParaBbSotZkw2lg1vIbIfDHYDP1mOyusIPLUX8hB+bHIVnXDvQ4lhuP2xFYboGJ l3nA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Sb7kVf2+cqbh9c9psQ+6IfpJ5bt8QizDspR3uCbRadE=; b=fgATuR98sychUHRR2fEzjj/HWsUbrbUn8vgB6swL76Towc+kFIRq8PKgWZxU7IU9rD HjCq2CH6efJXzIaMpfSE/1JNB6KRpUFQktRgw1B62K77c5bN5Tzu35wrLYuDoP1raYAN SMJvRbaCLWhtX4IJ7gp6Hn0ZSnYLnksShAh1bRouRrkEz+RSay4orsGd2ZdbcF4nouSr AUTJsUDj6Cr5tNNrVgSi5Rtv8q+Z0R4g+PlExrSC7C8YWrAJ6ZMYVueiFRDr0CbTN9qx mq8sMvR5cI9rH/x05dIYhx0VGzuOqdQfYvIsS8jYHmyS2BUk8nrSQAomiotG7Mu9/h63 idDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ash/+IeU"; 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 i126-20020a625484000000b0056c057b09b0si11584848pfb.216.2022.11.15.05.13.54; Tue, 15 Nov 2022 05:14:14 -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="Ash/+IeU"; 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 S230473AbiKONJt (ORCPT + 99 others); Tue, 15 Nov 2022 08:09:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbiKONJq (ORCPT ); Tue, 15 Nov 2022 08:09:46 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D43DB0B for ; Tue, 15 Nov 2022 05:09:45 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id y14so35892488ejd.9 for ; Tue, 15 Nov 2022 05:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Sb7kVf2+cqbh9c9psQ+6IfpJ5bt8QizDspR3uCbRadE=; b=Ash/+IeUau8JlbOAS5SVeURaST37KmVAeD66Hu+ndKpbBAcHA+66DJ3syXsFz2fJzd GdNYqZYvBMXvlmrFxevapGYxwlBaCDHlyxP8+P2TX+Zn49hgN00hTALMJsM/Lzsbag5P WJpE3hCVHCh/yCEZkTnhTUajf9seqyhLyqO2igOX5yliYFf9j1KDz6DvGA2WQlDOiMfM jBM33M6saVOzMGYmp5Duf81TCCnvrF5uk8/+fMvv/aSOHzX92OdeuF42cllG82fM69tR 0sNrxMUA+K3m5upwZua154rca5QZ4OWzYw4FEq9W7Ne1tFZqf9oMbxxdHX9b1h04ajco E9Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Sb7kVf2+cqbh9c9psQ+6IfpJ5bt8QizDspR3uCbRadE=; b=U5jqAo/p3SEDZ2eADQ2W8QfQ7Ck9ri42Me1DOVofNNIkVa/yNXKKK3yJgWdCcNfGES nomXOmYzsKckdP84+HQ0CMI8OlWAW7eD4ePFEy242EC5pg4cxD/fZxRiNXZl/9qvPN8K Ai4HmW2DO/mqUboYyaCWmmv48Y6+j1JLnvOD0v2HnzD/pYyGPhcuMfHarcPiiXmm23e+ Sq1V/HSU7n7Pn1/+T4iakNiEqLVgoXN2NEx7ZDfRouyzo0qQg+z3E+fgK7LWOcL3DrF7 7UreyVgxmCD+ccSYYNSUkaO4mhIhVcDsmJYxTDWlhbpI2mguchbeBf/6ZPh1Bo3x9M3Z wy+g== X-Gm-Message-State: ANoB5plopbWkgKSm2jT6SVIcU4rDr4JEZA7NMYr+u5Iky6Lact3PuN6e mm9MguPvWl3F54flis7/V7VETQ== X-Received: by 2002:a17:906:53c7:b0:780:8144:a41f with SMTP id p7-20020a17090653c700b007808144a41fmr14284415ejo.189.1668517783752; Tue, 15 Nov 2022 05:09:43 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id ay26-20020a056402203a00b00461816beef9sm6093260edb.14.2022.11.15.05.09.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Nov 2022 05:09:43 -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 , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: sm8450: Use defines for power domain indices Date: Tue, 15 Nov 2022 14:09:35 +0100 Message-Id: <20221115130936.6830-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) 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?1749567987712507468?= X-GMAIL-MSGID: =?utf-8?q?1749567987712507468?= Use the defines from qcom-rpmpd.h instead of bare numbers for readability. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 19a0f5033cc9..705e05588941 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2277,8 +2277,8 @@ remoteproc_mpss: remoteproc@4080000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd 0>, - <&rpmhpd 12>; + power-domains = <&rpmhpd SM8450_CX>, + <&rpmhpd SM8450_MSS>; power-domain-names = "cx", "mss"; memory-region = <&mpss_mem>;