From patchwork Sun Nov 27 11:22:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 26329 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5072713wrr; Sun, 27 Nov 2022 03:42:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf43sJExv4RU+sva+va0O9t7/XWXt8zjaPVhP800oK3r07YodihPo6ekH4H/0mZFaiYEkHbf X-Received: by 2002:a17:902:6bc6:b0:186:fb90:5758 with SMTP id m6-20020a1709026bc600b00186fb905758mr27976109plt.115.1669549365736; Sun, 27 Nov 2022 03:42:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669549365; cv=none; d=google.com; s=arc-20160816; b=DMMiSowHMvGHxYW8RKB1K4slbBYJbVMrd9SPmchQ5YLq/w51y1z7eqH1SZUhlU0uAy VS3ubbLxNZB1lJUqIMI/nRFyFdgV7dgApKQ8PwzSaJLTknonvL4tvqFHgyZow+IdZ9WR LEXK/I/NPag1QCq9heScMB8F/fODV8pQlqwQm+6DiHglcnBDvwBD915rAhAVZ0zRkrLN TGqW+DRsEkV2vJ3o9e5lh3N3hRiSbqQT2A+jGTWpaUGcsCHUre2jcOEJKztWjgFUKrUb ZuSMmSU2GHyYzQkuwhK2LQJPK9+rMoGYGY0Bc2swQUWEaKWGI33vIchDzYLNDsn17tX5 vgsg== 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=A/MKZqSXFw0WnY+4GjbBOi2kgTP3/Onn2l8kHqSBl5Y=; b=kttbvu98uNM7uNl2idNq24cAXH+3Bkiu+VVcTj5GSXCP/zRzT5+6qc8mpisW53XGbu F4fMJ6tW+zJx4cz2VqyNUYHhL/dxeBN554yOtbZQrCYs7yy8zzZ5/bGpl67xb1NY0lQZ C5YQUotHewBvG5vjWECEvOHp+8msyOUhGHGMnxJcQF5HKhV/9NGsMiBty4hvpWeTrlKW IDnQ84Klh8zrw8AGnXyipVy/1epHJNg01FVdWwhuAUxqZJKZZ0QQJ41Ueb3Vev8R1cgK 525pKmI6woh4JwjT/6NamqFyBdxGiPzoZzFzE92Fnqc6aDgCKpZVq85dACmfCybMIzRo xCkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=idqBtv2m; 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 v12-20020a17090abb8c00b0021923557cb0si2933244pjr.62.2022.11.27.03.42.23; Sun, 27 Nov 2022 03:42:45 -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=idqBtv2m; 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 S229644AbiK0LYn (ORCPT + 99 others); Sun, 27 Nov 2022 06:24:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiK0LYg (ORCPT ); Sun, 27 Nov 2022 06:24:36 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3A33E099 for ; Sun, 27 Nov 2022 03:24:35 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id r18so7516267pgr.12 for ; Sun, 27 Nov 2022 03:24:35 -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=A/MKZqSXFw0WnY+4GjbBOi2kgTP3/Onn2l8kHqSBl5Y=; b=idqBtv2m8CgU2HUBLZqKKLneakhETzn2udIcuh4/yPiDHOKMpkEsLMZJt2+vEQY6Z4 B/VvUkQ0gkKgWlgBD6JjzP79+IzFY6WWSHiMEqR1SP+r59J1E4FPEJQfLN837PHmgk1R kutHYe+Z0rUKCan0ZxNS1IhMmmCGJdXKkJzGScKOOv+ccMYCCMPxi8DTWxF3Oly7PIOE XKojD0EgUS4okIV85Ut56KVmjlMruRVmkR7G2g4u1B43GZe9B09BdaauAUusJpkJz1v2 MgCUGi3ipRr0jQs7bDL3BtIxch+ig+OOCbDxodA7z6i0+qN33b4q10MPD9r6mIgDnAo5 TeSQ== 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=A/MKZqSXFw0WnY+4GjbBOi2kgTP3/Onn2l8kHqSBl5Y=; b=aX4YZWASM4jwBBJVKfk++yFBQh/rOHSMjKjU5zOWrf119EAj/WPwtiBG4WtG8JrzZq e1zOGtJqqAiJUJfpinO8NGUXhC4Nks5GoIFrqgdAL3tUK26QFfx5qipG+C69W835mwBW IlcpkxuL/Y4dawOsIQmslJ5CF6EXz62DJaHhJw2dNvWdegS4fUAgZmIxBaq9qvU8kNHX AjkK/aOrJ7Jt56Y8s/jCdYCbKkJXzoOQpZ6M8Cs9xRPYXwSWG7SSOZNcog9RupY34Lpx THXmWbaHifxvp0XVsBCdIxGs6bjnJM/KvKPPsYsDWNeSjjcaGm+1siHakWNlGO3m1paw UFyg== X-Gm-Message-State: ANoB5plItQN9YxB5NFHMFh95jzQUX5rMQuONT7AG/m4IiSmr1NZaqZPt O4t5w15wgpWu4wJUXCcYfdq1ow== X-Received: by 2002:a63:fc0a:0:b0:434:7885:6ade with SMTP id j10-20020a63fc0a000000b0043478856ademr27893332pgi.243.1669548275080; Sun, 27 Nov 2022 03:24:35 -0800 (PST) Received: from localhost.localdomain ([223.179.131.184]) by smtp.gmail.com with ESMTPSA id oa14-20020a17090b1bce00b0020d24ea4400sm7691349pjb.38.2022.11.27.03.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 03:24:34 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Rajendra Nayak , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: power: rpmpd: Add SM4250 support Date: Sun, 27 Nov 2022 16:52:03 +0530 Message-Id: <20221127112204.1486337-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221127112204.1486337-1-bhupesh.sharma@linaro.org> References: <20221127112204.1486337-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1750649395748040795?= X-GMAIL-MSGID: =?utf-8?q?1750649395748040795?= Add compatible and constants for the power domains exposed by the SM4250 RPM. Cc: Bjorn Andersson Cc: Rajendra Nayak Cc: Konrad Dybcio Cc: Rob Herring Cc: Krzysztof Kozlowski Signed-off-by: Bhupesh Sharma Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index 5b4eda919911..c99ffd39e704 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -37,6 +37,7 @@ properties: - qcom,sdm845-rpmhpd - qcom,sdx55-rpmhpd - qcom,sdx65-rpmhpd + - qcom,sm4250-rpmpd - qcom,sm6115-rpmpd - qcom,sm6125-rpmpd - qcom,sm6350-rpmhpd diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index f5f82dde7399..bbe3b29913af 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -274,6 +274,16 @@ #define SDM660_SSCMX 8 #define SDM660_SSCMX_VFL 9 +/* SM4250 Power Domains */ +#define SM4250_VDDCX 0 +#define SM4250_VDDCX_AO 1 +#define SM4250_VDDCX_VFL 2 +#define SM4250_VDDMX 3 +#define SM4250_VDDMX_AO 4 +#define SM4250_VDDMX_VFL 5 +#define SM4250_VDD_LPI_CX 6 +#define SM4250_VDD_LPI_MX 7 + /* SM6115 Power Domains */ #define SM6115_VDDCX 0 #define SM6115_VDDCX_AO 1