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>; 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: 20366 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2717853wru; Tue, 15 Nov 2022 05:14:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf7g6Bs55TIiQhpGpilnGPAywxvWTrzSvBAicg6jO8Nc4V5Ufye+j8WZNez4KLN9T86q5UaT X-Received: by 2002:a62:685:0:b0:56e:43e8:a8d with SMTP id 127-20020a620685000000b0056e43e80a8dmr18148133pfg.72.1668518081239; Tue, 15 Nov 2022 05:14:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668518081; cv=none; d=google.com; s=arc-20160816; b=cd35sKvArlyL5eWx1T/3iUl222+j4KKjQzPZAWvxEA/C8Y6nuRKjQb/QjBEtsee8ue Y/IFHrIl21TPpjE/hJAlBImr+5ILRaTvKukJDrPgy8ZotiLehQCd9xIRqFE0rU/tERrN nDTOVFuH6N2fATpBpAnePNRI/GLJUvJVMQjUAu+AOyXD1ZCo19WwM9wtdtpC+tZ67eWG +vKWAe1Sqg4AFcdbxSubflytI4WrH21whOsixbmYnz4iQCOZgJ5G7gHZDP7mWdEFnl9x DNAD2y7OOkgDvULkDLLsnsSMve8vMbJm+xAnxQyj8BSruzTfEQ7/0MYoyqqXkujxERti 8waA== 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=NvSvTZo/5/UU/uYr7LgQNU6IXEbMw9wen9MRMPzB5ks=; b=zfFe3KBmdOTzMV4E3cpeyC5mhcGoYBkoSwDGRFpmmSYqViOlmiqNuMSINCRjw2PwY6 8XIfqB800JpUHPfyY9uNq1do/gFsQpkspdyzeao930G4LTS7cYnyDRqgqSff57ML4hHb hAnaiSEwFIgEF9XfnsKuGMYUG6LDPpLksjqmxuXSfxhB7tiktm3WFfwcaIhy2aQoimR0 1sSqJt9LqOLmRHJyZOXWXItJnYsgZ6zu+RJ8U7qvQ18vaUtN2o9SGw5AQhdSjxx4S7s7 zT9vOl6NnCzmpqrlJLcJiu2Vzd78ecXOrEf0S9uhxjMwlQ78aHiLD+WFhiY836nXcXuC lBew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WZHbue2Q; 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 v65-20020a632f44000000b0046040a8be4esi11810894pgv.754.2022.11.15.05.14.24; Tue, 15 Nov 2022 05:14:41 -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=WZHbue2Q; 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 S230487AbiKONJw (ORCPT + 99 others); Tue, 15 Nov 2022 08:09:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230456AbiKONJs (ORCPT ); Tue, 15 Nov 2022 08:09:48 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC7A226AFB for ; Tue, 15 Nov 2022 05:09:46 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id gv23so3155563ejb.3 for ; Tue, 15 Nov 2022 05:09:46 -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=72LmYYcMtRbZgPoQUiEgXI14qek2vmmN8esSZ5ddFluCeG80R+42sQB6bKxUKzFRJ4 WyNUCo+3OI+S1cFaknn2/Z+2lBKhH039hhpb0lqDYpWeE/Zwbx3DYOaMJklwe7BZL+En lRkdmF5TNrCRncRWxslVhTkBy76haCidVzGvHatbiEWvLJh2L2wXlxfnq+hoHQ4NehDf lsB16B7kUfB5J2tg7S7vTYaSolr0FJuZqcy6L3N2+YbEuZE5XC+eHmDT6vZUCkGnq5FO 9PgDqmWEi9y44Tc45djw3lTCa3i9Mzeo44shUr5J8GhAZ7gKotmpsFFuPIiF+IMu+EKE HmrQ== X-Gm-Message-State: ANoB5pkcyxW5ydctCF0w8zHfu800Feu/DVg/RVn2k04FcgPdWqar1qaz c0np5ez5oezVnADsj2z4xaDGjA== 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749568015494049515?= X-GMAIL-MSGID: =?utf-8?q?1749568015494049515?= 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/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>;