From patchwork Mon Jan 9 17:45:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 41026 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2289690wrt; Mon, 9 Jan 2023 09:48:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXs8+4NHE3WbFNpuVPEa9WmOg4L7CVYmKSn8joyBtj87U4Kk65mdWDJikUngWQGi8EQpuHv4 X-Received: by 2002:a17:90b:2489:b0:226:ffe3:d189 with SMTP id nt9-20020a17090b248900b00226ffe3d189mr7506070pjb.20.1673286526697; Mon, 09 Jan 2023 09:48:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673286526; cv=none; d=google.com; s=arc-20160816; b=BCufdW2QCSUcNDl1Upr+kWqajM6CMRGU/d3YK5llbEOO1ouf32plhxYPHK3CVPSXrD G0MM+VVxSXbUNeXHBp+pou+3r2ryAj+iMF9g+BEAF8wwFCF1OFCHKK+V9JL45jsROpcJ moOQtQDrdw1tsNzVl82lcBC8+f3iu1gQp7Ow09aN+USDQUS1pUFaDnxu5wyu9Y/lIWIE G0EfIZuOggbc8VbrdW+YPNL4KQvL14/iI+04iOyMTd7TjohofOerIViMYJupSfkzdzlA jRadlMB7buBxPz+ht17OppWOgUy1k3uTfW0ahSczphpFkTxbk959Gu2q9d0vhcIj/6Bp j9aw== 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=3xAI9+hoDQl0gIh7l8xjgLBDEEAheVpkPOXXZU5K65s=; b=xxm0X/iWawf/87Ybbh8TvH+vEJJh0SfBljCoA95ZdnY/7LbWX0u6pPDsfgJgEAsj8l 7GleSCxPi5xgWA7TNdabmfYrcr2g7cRY1GnczAbdKBzCDcOOB81k+Lvl2deg9261TKeI MYGs/t3NnDkSnVNHnBWigZcvxIK04fVfuYcyuO5WSjLTxki01RSsauuJBTWrryk7vcqw /kk1SXz068sS/ZwRS26S95VH6C3y1ia2nFh24Sq1s+/KhvjWmUnWIoBn+YKJY9bDeYcj Sx5+BbZyBpOU7Sp3R3WhZQ/N6+Tm1FoZ6OYg97uGXwJpr3hXUl1B5VhL7o0jfpV07NUx a4+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=vYbo+RN3; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pw1-20020a17090b278100b002192eb3532bsi12898433pjb.116.2023.01.09.09.48.34; Mon, 09 Jan 2023 09:48:46 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=vYbo+RN3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232599AbjAIRsF (ORCPT + 99 others); Mon, 9 Jan 2023 12:48:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237412AbjAIRqH (ORCPT ); Mon, 9 Jan 2023 12:46:07 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C25641020 for ; Mon, 9 Jan 2023 09:45:50 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id co23so9014928wrb.4 for ; Mon, 09 Jan 2023 09:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; 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=3xAI9+hoDQl0gIh7l8xjgLBDEEAheVpkPOXXZU5K65s=; b=vYbo+RN3IGIu1L68Mz0sVQN55VEVH1gBBcL3Vu4WzbeG/l2jIlQavDLsZ/CToOaRS/ LJHBGqpoUrr/dUM7bcSuB+J5slqte28SpJxPDWLaSrmIPTWlJ2VOU3Dw36JFCZotwIsA hGV0TYF8bxY3Uv8s5ICuE8q8E5JNuQq/9OFBn9vDxP0eTt6t9YU1xTFhq6WvGZzb9RQJ uTnGj8D/vweiySCvPNmghB6zAAhRYGoeLGLNyb7cLgDLi7FwtyV0FQvbaemqXvJtHPSB fjrCJo95Eb3A9AVv1aUd5hYfNi4Zz4L+h4GSLOUiyB0wzDRMRlwmLyreYx0PSlVL6Hqa 8xwA== 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=3xAI9+hoDQl0gIh7l8xjgLBDEEAheVpkPOXXZU5K65s=; b=ab4LX6KmnNw9+H1dO9Z6btCETbiyArpaVQYnSHBt9Y9VDbKJKEqUg9Q0ro6xJ4vhXS W7ZhZley/VVkNLcjEZ37EgtQIqr/tRl0yo+yEJk9g25igj1bXBTLS9mSiJiOU/R/+S12 J9e2pDa01t1pPaB8ftUt1TuLlLu6HIMHmxIptdSBtF8Ayp+9yXKLGE76yRw5ZtU7Crmn Od1XpqgSii2hJP6nxKn9uhxDklb2v6FwAHam/M3zJxBEnMBmo6twM6hq79wpFIz8roMD yg+L1fKR5FBTCb4iYRP9KsxpqyFpXC0aiTwEgWLmytJ6SR2+koLqU4te+guHQCgIvYY1 T7/A== X-Gm-Message-State: AFqh2koyGU6uFCYq87mHcKHSdbeSo2gEnNVjJmAl7k6b4zIGVa8wied4 upA5XXFJ9CQse8fI7lVb8MWPXA== X-Received: by 2002:a05:6000:228:b0:2bb:e8f2:5d2e with SMTP id l8-20020a056000022800b002bbe8f25d2emr3679182wrz.51.1673286349720; Mon, 09 Jan 2023 09:45:49 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:c88:901e:c74c:8e80]) by smtp.gmail.com with ESMTPSA id m1-20020a5d6241000000b002bbdaf21744sm6142902wrv.113.2023.01.09.09.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 09:45:49 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Manivannan Sadhasivam , Jassi Brar , Linus Walleij , Catalin Marinas , Richard Cochran , Srinivas Kandagatla , Vinod Koul , Alex Elder Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 13/18] dt-bindings: power: qcom,rpmpd: document sa8775p Date: Mon, 9 Jan 2023 18:45:06 +0100 Message-Id: <20230109174511.1740856-14-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230109174511.1740856-1-brgl@bgdev.pl> References: <20230109174511.1740856-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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?1754568092880428877?= X-GMAIL-MSGID: =?utf-8?q?1754568092880428877?= From: Bartosz Golaszewski Add a compatible for sa8775p platforms and relevant defines to the include file. Signed-off-by: Bartosz Golaszewski Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index 633d49884019..1778d9851510 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -30,6 +30,7 @@ properties: - qcom,qcs404-rpmpd - qcom,qdu1000-rpmhpd - qcom,sa8540p-rpmhpd + - qcom,sa8775p-rpmhpd - qcom,sdm660-rpmpd - qcom,sc7180-rpmhpd - qcom,sc7280-rpmhpd diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index 1e19e258a74d..3117bf7d5ebf 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -4,6 +4,25 @@ #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H #define _DT_BINDINGS_POWER_QCOM_RPMPD_H +/* SA8775P Power Domain Indexes */ +#define SA8775P_CX 0 +#define SA8775P_CX_AO 1 +#define SA8775P_DDR 2 +#define SA8775P_EBI 3 +#define SA8775P_GFX 4 +#define SA8775P_LCX 5 +#define SA8775P_LMX 6 +#define SA8775P_MMCX 7 +#define SA8775P_MMCX_AO 8 +#define SA8775P_MSS 9 +#define SA8775P_MX 10 +#define SA8775P_MX_AO 11 +#define SA8775P_MXC 12 +#define SA8775P_MXC_AO 13 +#define SA8775P_NSP0 14 +#define SA8775P_NSP1 15 +#define SA8775P_XO 16 + /* SDM670 Power Domain Indexes */ #define SDM670_MX 0 #define SDM670_MX_AO 1