Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3599616pxb; Mon, 21 Feb 2022 01:27:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxno7jASHRD8J0dj4dZ4Bs58GRAmOxBJGCyD2KPQD/RPwveeJRpBnAyvc6MQvX79YFQ+s1 X-Received: by 2002:a17:90b:4c86:b0:1b8:b325:6cc9 with SMTP id my6-20020a17090b4c8600b001b8b3256cc9mr25026779pjb.28.1645435635306; Mon, 21 Feb 2022 01:27:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645435635; cv=none; d=google.com; s=arc-20160816; b=PQvBMVY1CFv89xXnGF5rFWr5nZ4Gzyrfr1VFXSY9EMxzXuzuAGk3GTjRN/LVnWNNZ9 TJ83GI4Qc6Gr+6bVBNHaCNUakO/4Ria6Lnj45KdVOk0CH8cOBfI7VeQ+XGa+sfbv3O9N VWKfDKN3/NzqYWXT3xau0lRxA7L2Mz0//HMk/6a5NLHGSZVVRezFYgNvrWVSNxMPk+r+ f2WyM9l8Nnd8QZLtYs4f+FvqY1oaJc52jofiY4j1+wvNgi/uwMwgl5TNWgGCscs4fNhY skFnQGPNftQwQcwJD6IUq0+Gh+/q1BIQdw/SyFNcnCnGBZ++8Bgq41NK1GU0uJxlI+At M5yw== 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=4t4K8pd3VaRSG9McLy01dUzIJaZjWzwTh7JB6w83I88=; b=Y9XUoj76tPI7uB+SrT5l6lJzKMOLP1bRizTF0Ps+2nEArlWLGslKlupRUJfVTKfqqm H82xkxBfZcdW2JqMbUBQayAJEDqr1NhmU1GXcczosNzeq8qWrA/fJttTD6k16vO3KwMo Pd11T/Aeq9eolXSU/g1rtV+LEctJUVarfLwPgupqrx9xBefGGNhgJ6EOz9dOupRxouQK pQUoQdvxclgYBHRA/83oFzy7X3BU0KqZZ/GCb007mzbNLP2fysigffzlUhM8jneeEl2Z mOkav9pPzh98LNT1SvQIlIR0AufKqrhnODRCzR1KHTsOTzZAsrtgdzDfDSZKvQeEzMzg tQvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=HbnRNE72; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o22-20020a17090a169600b001bb7cc8686csi5812109pja.145.2022.02.21.01.27.01; Mon, 21 Feb 2022 01:27:15 -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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=HbnRNE72; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245165AbiBTWbL (ORCPT + 99 others); Sun, 20 Feb 2022 17:31:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244533AbiBTWbF (ORCPT ); Sun, 20 Feb 2022 17:31:05 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABD324B871; Sun, 20 Feb 2022 14:30:43 -0800 (PST) Received: from localhost.localdomain (ip-213-127-118-180.ip.prioritytelecom.net [213.127.118.180]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 0ED12C6D5A; Sun, 20 Feb 2022 22:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1645396242; bh=OKXxgRFsXOpr2FPUaX4QNjWA+N8erkfnFKPqK8ueCMo=; h=From:To:Cc:Subject:Date; b=HbnRNE72DtEmUTK0PlO1INwXm78DROVMgCgI2HgbIWYhxQgqBzhHC91xFq4gBkgTu 9Jy5OiYiYLoHNuRnoH09hAU5LfjcSZDnZUjxSGFb14Ej0zzGxOAYRTBuzt5LtV36uX Ip4z8dy4qP/zGUMtUTsYWBB9dfuMyQWBGTZQ1PA4= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Rajendra Nayak , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: power: rpmpd: Add MSM8226 to rpmpd binding Date: Sun, 20 Feb 2022 23:30:01 +0100 Message-Id: <20220220223004.507739-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 Add compatible and constants for the power domains exposed by the MSM8226 RPM. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index f48bc41d81ec..940e97b565bf 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -17,6 +17,7 @@ properties: compatible: enum: - qcom,mdm9607-rpmpd + - qcom,msm8226-rpmpd - qcom,msm8916-rpmpd - qcom,msm8939-rpmpd - qcom,msm8953-rpmpd diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index edfc1ff2acb3..c002cc6ddf55 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -139,6 +139,11 @@ #define MDM9607_VDDMX_AO 4 #define MDM9607_VDDMX_VFL 5 +/* MSM8226 Power Domain Indexes */ +#define MSM8226_VDDCX 0 +#define MSM8226_VDDCX_AO 1 +#define MSM8226_VDDCX_VFC 2 + /* MSM8939 Power Domains */ #define MSM8939_VDDMDCX 0 #define MSM8939_VDDMDCX_AO 1 -- 2.35.1