From patchwork Wed Nov 16 15:49:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 625152 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19235C4332F for ; Wed, 16 Nov 2022 15:49:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233327AbiKPPtn (ORCPT ); Wed, 16 Nov 2022 10:49:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233325AbiKPPtl (ORCPT ); Wed, 16 Nov 2022 10:49:41 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBD2031351 for ; Wed, 16 Nov 2022 07:49:39 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id bp15so30091649lfb.13 for ; Wed, 16 Nov 2022 07:49:39 -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=WRq975pOHSBL2O4qHBQgJgyg+ZtVjZYYysfpveiobOw=; b=uqzcSMjgkiVeNaT86rHdysOYS4NDSWXMJ8hQub0LY2UA7TZyDXtdEn7bJv5TGoDx0B CQm1AEeOJKLklli1T6gY2PH5XKQecsoHNkRXoItFKkrWY3r/ADXVNWI9/k3M4pMVoZQw FrlGckv18rUfHA8irLlyyDrMwqc5QSEr2cH7M9MrsWSlc4LPZHK6YLFQ+SlAGvSJVLXC kE0TulnpTLnqEvjrF+zIEM4oHl7qg2WEOdfruGogiZsnnm6pGtNsZkZChlGGJfYiw/qP h7P1Edig0s9Fk4MdE4ofS/S94ZU7li60R7QRZmC3NcSmUCMFSrXu23LesNKeqMlORHwN 1Llg== 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=WRq975pOHSBL2O4qHBQgJgyg+ZtVjZYYysfpveiobOw=; b=rtuafDUNXqLhwHO0HQab9hmD/oa9n3cyCSw75p3O7VoELueFhZ5EX478kR+UmS6MN4 qpSt3ufhQ8uc5Xhy01v2QocaEj+hgN5XbaO8gf8UvnZg3Ev2dxtdzPTFQoecy10OW4GG jwLAMpjAKASuOUGg48JqlEleSBPFv6Q5+2NIjoaRsOJ46V637rOnrTdqC8hANjLQswMk twp5Ff9fXF1nIFQQc0FoSv4FKfxc0IN70lHLNkkU1eNMtPeInLJHXmYZB5gCkr93jK3G v6k3iJ5CggvCuVJm2sP2yfViIn84mrzNzYXBHUAhwJE4+U/gRcjGUHXmEbLt9PDQdi9Y fEig== X-Gm-Message-State: ANoB5plVByoxy0+k7rlqvrS4qRQxbfJGl9TIBXvxjdeACLQrbvAxvRtH UvRa4Z7Gc8urfd/LkbeVKiDodA== X-Google-Smtp-Source: AA0mqf5UKRMNyZg3+iBk/VXqraGa6I6JRnHq+iZuGCwDMFfc/EfQNZebTW551muRhEqG1J2cO+NVQg== X-Received: by 2002:a19:2d53:0:b0:499:cce2:12d9 with SMTP id t19-20020a192d53000000b00499cce212d9mr8132767lft.4.1668613778061; Wed, 16 Nov 2022 07:49:38 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id k2-20020a2ea262000000b0026dcf81d804sm3060422ljm.31.2022.11.16.07.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 07:49:37 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] arm64: dts: qcom: sm8150: use defines for RPMh power domains Date: Wed, 16 Nov 2022 16:49:35 +0100 Message-Id: <20221116154935.163810-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use defines for RPMh power domains instead of hard-coding numbers. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index d1b64280ab0b..136fa5360e8e 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2074,8 +2074,8 @@ remoteproc_slpi: remoteproc@2400000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd 3>, - <&rpmhpd 2>; + power-domains = <&rpmhpd SM8150_LCX>, + <&rpmhpd SM8150_LMX>; power-domain-names = "lcx", "lmx"; memory-region = <&slpi_mem>; @@ -2619,8 +2619,8 @@ remoteproc_mpss: remoteproc@4080000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd 7>, - <&rpmhpd 0>; + power-domains = <&rpmhpd SM8150_CX>, + <&rpmhpd SM8150_MSS>; power-domain-names = "cx", "mss"; memory-region = <&mpss_mem>; @@ -3246,7 +3246,7 @@ remoteproc_cdsp: remoteproc@8300000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd 7>; + power-domains = <&rpmhpd SM8150_CX>; memory-region = <&cdsp_mem>; @@ -3747,7 +3747,7 @@ remoteproc_adsp: remoteproc@17300000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd 7>; + power-domains = <&rpmhpd SM8150_CX>; memory-region = <&adsp_mem>;