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: 624903 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 84C52C433FE for ; Tue, 15 Nov 2022 13:09:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230036AbiKONJu (ORCPT ); Tue, 15 Nov 2022 08:09:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiKONJr (ORCPT ); Tue, 15 Nov 2022 08:09:47 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84306205D3 for ; Tue, 15 Nov 2022 05:09:45 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id k2so35907576ejr.2 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=o+8HiA1nH6I+KfOIsiF+XEKY9mk4Py/NJU2opOtPenCo9gpfNfOqwWVPWfb36GNKFu Q14JCVjwZwPxoQ7pr7zPP4DXpVW47QQjSAyOdGcaJw/n041haD/hdtlSGvG4hkJOU14g 0jZXNcQaKNsUxiKwtlnz+OBXi2NXMGLxxVH7+H3wALeO3BT+EkYwMxcwpIS+J+Q8Kmoe Drh03JyL5N7Dtvs+2C1NrI/X8ZB87Rp0RN2iU6/35imHek//Nb/agMv2INEPNTSZBPuu GOP/qVayWckpYTxTmnpOCSw53jQqQo9x+gLdFmnlvsWKl9Mksiam6K6pLWV6+oXAHzza tOCA== X-Gm-Message-State: ANoB5pnNZ8ZZFmN074U4+41SWZ1jt+Cb3GmSyiCDry5k6H0GYa8nixdQ GpTMfLpMjkH3umSDlcGX+zWG4KJQm1dX/Syq X-Google-Smtp-Source: AA0mqf4468CWGLHs6W4KOti6ysoSWIH4+Xunqum1zCCfrea6gy8s1qhIVS6jvy5k4sVqJzva+Xl7eA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use the defines from qcom-rpmpd.h instead of bare numbers for readability. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov 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>; From patchwork Tue Nov 15 13:09:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 625671 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 53AA6C4321E for ; Tue, 15 Nov 2022 13:09:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229970AbiKONJv (ORCPT ); Tue, 15 Nov 2022 08:09:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbiKONJs (ORCPT ); Tue, 15 Nov 2022 08:09:48 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144292714E for ; Tue, 15 Nov 2022 05:09:47 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id bj12so35794485ejb.13 for ; Tue, 15 Nov 2022 05:09:47 -0800 (PST) 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=NvSvTZo/5/UU/uYr7LgQNU6IXEbMw9wen9MRMPzB5ks=; b=WZHbue2QXLVWwCieM9kXtHQY5gWeZ/uCP7SRq1E2GqsGpijP8m0MYMRWUI6/fDvRrR HGRqkQSNP956M47qssQZ1QSTAL2+XVHYh267fW2fsK/k74I0vxiqBIszPQ9RD/y6D00y ozMi2ZItb5clgRPvmB/Ehbko7ouG9pdPwDcJcg+D/ZtgbsNIKqxUo/U+Bpam2Ol3uwMs fSkfu1bm9O0ES9KaRyPoNznlPkEWbbJeR6wCLoOFVcz5ccCWdkJloQ2Uh8nIpb8T8wQR XstgXwi3rCmE7wWCsb5MzcRa4rwi9v+XPx4Q6ZeXi7PicVed4iEZxWam1hckUbMdVA0w DL7w== 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=NvSvTZo/5/UU/uYr7LgQNU6IXEbMw9wen9MRMPzB5ks=; b=42C9SbM84drTSiKJKf8UgDbias01oUJ12BdRG4wYrViLr0N8tCCogTk2ICpT6t13/+ 26kesmGKSNGo7BVO+YoJqPOEyntZ2ADJRKKpNemhArKzWwcxspwYikRwwC4WTHX2Id09 gkVNacEgfLXI27TgJ09bEqKHfjBU2Si5YZLS02Mgr05dCb99j8SLyk1aktmQ6INnv8qL GAZR0gHGH2mrfJbPIONXWWR80zD5hQ/kCOF/E/uC7tGLW7Q70jFDgXN6kj4ISFXiS+0M Js85gIGmVN2+/fhJ6xQj+hX6qvX6HnwyEv9QAkBbUmUtM/H+z9DFgR75kxl6/+zaX6+e m/tQ== X-Gm-Message-State: ANoB5plBMGa9G7GpmArCb6fYNxrx0uD2YTuVkEqPcqldULegs4eTKfIS BPsuP8l9RY/scTDVmXcV+AvVWlwi8IeIpnqr X-Google-Smtp-Source: AA0mqf6FKl8R4ONv2F1AhlS1hrTy+b069L2XPAWwQdIPCfF2P3xA87K7OB1cMwG+YFyt9MH5UqufVA== X-Received: by 2002:a17:906:154f:b0:78d:9bcf:4d9f with SMTP id c15-20020a170906154f00b0078d9bcf4d9fmr13664381ejd.749.1668517785199; Tue, 15 Nov 2022 05:09:45 -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.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Nov 2022 05:09:44 -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 2/2] arm64: dts: qcom: sm8150: Use defines for power domain indices Date: Tue, 15 Nov 2022 14:09:36 +0100 Message-Id: <20221115130936.6830-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221115130936.6830-1-konrad.dybcio@linaro.org> References: <20221115130936.6830-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use the defines from qcom-rpmpd.h instead of bare numbers for readability. Signed-off-by: Konrad Dybcio --- 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 f9321b4384a4..212594aa448f 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>;