Message ID | 20230526-topic-smd_icc-v2-1-e5934b07d813@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1165493vqr; Fri, 9 Jun 2023 13:27:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TAr5Z/83F8/950fwx7PwWRMeFBW60ZRHE2CmtVoPOVtB4+fbqHlGHqZxI6iMf9j6DO51W X-Received: by 2002:a05:6a00:1582:b0:63d:47ab:65ed with SMTP id u2-20020a056a00158200b0063d47ab65edmr2453141pfk.7.1686342464348; Fri, 09 Jun 2023 13:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686342464; cv=none; d=google.com; s=arc-20160816; b=HMmOQpsyhJvlsu2FuROmgR/LWUKi8M8ToFOOJwGyctGl49SwMLE6I9vjzmoVXNksIo VFn4BkLiRnQN/V3Bv3AxffkM8+VKOfbnQswGNWH/olSOVRrbdDWHnFXiGSYMIoEr2GwY KhzCLRVZPnTNnZ4Lao61L1P2M8NbkrEDNVQZeJf5jHo6nQYNzE+Q0FQ0qE+tzWAYJncL WwBeSI1LDa/w41e6/schwkJucNtxeGZfyX7yiP1PL+YObiJquxcukANNMIuirFcp2YlP stfFZfOz3/BfsioM4mZmjWVJowNnInsSaFXoOWw3YLHVjNYd4pfqjJSnimn4093WBXot C7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Ak6pJEE70i86/FySUfYrSS2au3HzGmo13oLp85+Of0E=; b=Yf7uMhVBe8G68IrvNLUtgc03kI2YrUOSNuG9NWc6NyhhSp50CHqVXVwV6lld2iRFUs SxsNWvOPQ+7b8siL+VV2V3TrrdIg+NU20L04N23QRXIGs59PTYUdU0oifTeyPHX0JswW mPrL8uMEn2f7Q+gVCSymRoVGt0y1ncxVvhv43k0ZkWaUs+zh9pI3cwSOA9Z9G3Eze0mj 4pUQp8A6DP9PsT3MvUT2LBcV454E82Pvb5dRl0l2Xyc7sav3zfj8qudf4nhnFsugYT88 Nm7+JLoB1mtF5MTSWCicLDTIXKaMcT/zthr/7oC6+nV7pPH+Ws7DONnvW84vAylfkmDU BA9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZYAUnt1h; 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 a9-20020aa794a9000000b0064d3e1db254si2915308pfl.347.2023.06.09.13.27.04; Fri, 09 Jun 2023 13:27:44 -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=ZYAUnt1h; 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 S231785AbjFIUTY (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 16:19:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231432AbjFIUTT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 16:19:19 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BF2730DB for <linux-kernel@vger.kernel.org>; Fri, 9 Jun 2023 13:19:18 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f004cc54f4so2814443e87.3 for <linux-kernel@vger.kernel.org>; Fri, 09 Jun 2023 13:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686341956; x=1688933956; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ak6pJEE70i86/FySUfYrSS2au3HzGmo13oLp85+Of0E=; b=ZYAUnt1h3zm6yQuJF1O1u6Ig6wC9ql4ygP9qXxGbilJuXcPAy7cdmCLtw+cUDcWIm0 JmO2qITOniwgUYE3FpWPyL4a99luPb1TJ5FLn4CFYSanbrVXwmwidcberK6Ggsz6TCkL OrqtkGm7zVtBjrsaKY2i5UCmXrzRTU1TYxxCOWc6/CQWKch6S43Kirk93vdie2FiT7c5 FuwPgm1WB9vL0+o+Y27wdqheOrTOlfR8UOZ9zSgAMsEu1J3PMAN+/modElOHSoARjMLH ZDkvuRZWwOvA8vFlVuM6u543GS4xoy2NPiE8buYk+H1i3vLawb7r//P2wbQA9YqqiNzd RuWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686341956; x=1688933956; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ak6pJEE70i86/FySUfYrSS2au3HzGmo13oLp85+Of0E=; b=gLt5Mk4JmpwWD6rf309VrOS1WfDcw0el2hTWH/sPqRReBQpR7s1JehhYE48MYI1lCG ExG1zMZD8njCPuf2VMMvLR1Q1JABvM8C1RLjmnTrZkDwBsMh/F0t+1tTdsogmtfoUXOP hLkk+G/tbyNANa/PKX+NvjS2zSXfHtFDeN3mAt08oeGtnRSPp9D0gGP31A7x0t4IFHho wW3IohETDY9ZBBMldZpfRwIYCiaT9Urm5QprWPYB/WOswVVQ3rqVQf0B/q2u5HrqXCNd 7Gckfv/hqZsydiRxS+V4ht0oxZxJD6t92sGv4i4Ci3p/1Dt+Wsp0fBAtGI2fe6IY9B+0 d3Ww== X-Gm-Message-State: AC+VfDwcpQ17PKA+ZS9tEgbrKBGBgXL0u2c/kDViCa7YNTYhrKgxZOxy BgcFk6Mp3xdmp1DqaTxYclbeLw== X-Received: by 2002:a19:8c14:0:b0:4f6:4fcb:6e9a with SMTP id o20-20020a198c14000000b004f64fcb6e9amr1401776lfd.12.1686341956535; Fri, 09 Jun 2023 13:19:16 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id b18-20020ac25632000000b004f628eb7884sm641349lff.232.2023.06.09.13.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 13:19:16 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Fri, 09 Jun 2023 22:19:06 +0200 Subject: [PATCH v2 01/22] soc: qcom: smd-rpm: Add QCOM_SMD_RPM_STATE_NUM MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230526-topic-smd_icc-v2-1-e5934b07d813@linaro.org> References: <20230526-topic-smd_icc-v2-0-e5934b07d813@linaro.org> In-Reply-To: <20230526-topic-smd_icc-v2-0-e5934b07d813@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Georgi Djakov <djakov@kernel.org>, Leo Yan <leo.yan@linaro.org>, Evan Green <evgreen@chromium.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686341953; l=664; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=XHE1WQYZzaLo+c3xD4ALM/GRb1VwY7GuxNqpdL0mBnk=; b=6RgsfDZ2UAsQB1GY/otsgs26Hc6coYtp4QVzrinbpw/gqd+d3IaH7aJ+z1h5QDVrTQC029lTU s6o+aHaRz+rBf6F8PbEP+PDGhbi82dgfHUMyjp98eDrrWChbNTFtqUy X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768258235759488375?= X-GMAIL-MSGID: =?utf-8?q?1768258235759488375?= |
Series |
Restructure RPM SMD ICC
|
|
Commit Message
Konrad Dybcio
June 9, 2023, 8:19 p.m. UTC
Add a preprocessor define to indicate the number of RPM contexts/states.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
include/linux/soc/qcom/smd-rpm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/soc/qcom/smd-rpm.h b/include/linux/soc/qcom/smd-rpm.h index 2990f425fdef..e468f94fa323 100644 --- a/include/linux/soc/qcom/smd-rpm.h +++ b/include/linux/soc/qcom/smd-rpm.h @@ -6,6 +6,7 @@ struct qcom_smd_rpm; #define QCOM_SMD_RPM_ACTIVE_STATE 0 #define QCOM_SMD_RPM_SLEEP_STATE 1 +#define QCOM_SMD_RPM_STATE_NUM 2 /* * Constants used for addressing resources in the RPM.