From patchwork Thu Nov 10 09:17: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: 18028 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp41656wru; Thu, 10 Nov 2022 01:31:46 -0800 (PST) X-Google-Smtp-Source: AMsMyM7MSwLjYYUQ/AnnF+e9aIK6yQB+dXk9Dfu/2EK5pyDN7Zg7SUQAqGdd2YYZjylZPoOyztVA X-Received: by 2002:a17:902:ab8a:b0:187:2e6d:c57a with SMTP id f10-20020a170902ab8a00b001872e6dc57amr51213572plr.75.1668072706141; Thu, 10 Nov 2022 01:31:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668072706; cv=none; d=google.com; s=arc-20160816; b=qDkDaYef0BkDFuPVqdC+UIUaIJIaClCPNQ941ir+wlyLUbzRMMmruWwhFN6WMxVQA0 RW+Va9b6C6aUTAKrnFqurDu1uf/7sktOu2SiIQS41OQKqrm+Xxr645yx69KDMAmOZEFW Sr24F3Rb7ep9iJfKFlE0CVECA0rwUAepxvSI13KmRdn7sRM9Agr01tuooUXhALO22YI5 sXBFc8y7h+tZdNHogg+uQFblsxA9D4IqTIhmXzuDCWeuktl5jYk7d/sU7TZDWHYa5dWz 1GofQp6HBapo0doWnGs0zGiA9OyLaaf/DFGpb6V5t+RSaRtHECGk9AZHJLVpaZBEunIU WtPw== 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=TV5gdfYWnEisZZMHW4dZHM4G0ZstNDnVsb4LHKYOk9U=; b=Kdtg5mXCwTRE5Avg/dnvJHXOFeWMrndJJtJqfEAnBTANEzVb/wgOABfaMxOAlff/pE s2IB0Xu9Wx3Dd6DAUhIhE+e1iLljTkIUC0nWODIjG3e6T5Ieih8SzJsIgjXT6iPyt+9v 4IWZTbc3RIFDneeiCSgMx3H2H4j1aKT6TTHY/KUNoKuMYBaRhv9FW7AcDYlwAdKSBPkn 230BYHHHZHf2+U0QjunKenNeG+TZVFi9LoW9ZFtXQ+N9O+vKDN9da6V7X5z5zpvV7ZhZ /fX6FqLXy5rNxXqa2mSS2I6K/vHuBUl06ejOqs3HUvl4o5vduMhIQxN8+QSQBfiC4J2K mbuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMdFYaKz; 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 m23-20020a637117000000b00439f012ca81si20357704pgc.605.2022.11.10.01.31.30; Thu, 10 Nov 2022 01:31: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=@linaro.org header.s=google header.b=SMdFYaKz; 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 S229873AbiKJJZS (ORCPT + 99 others); Thu, 10 Nov 2022 04:25:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbiKJJZQ (ORCPT ); Thu, 10 Nov 2022 04:25:16 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3CABC748 for ; Thu, 10 Nov 2022 01:25:15 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id c1so2043654lfi.7 for ; Thu, 10 Nov 2022 01:25:15 -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=TV5gdfYWnEisZZMHW4dZHM4G0ZstNDnVsb4LHKYOk9U=; b=SMdFYaKzv0qYRLGwfTPJKkdHmqdX77uwjGzYJJgjLxNcvBu4CjuRo9rMFm6RwH62BO XrkJ1bUTnnH2GiuGeCkme+Ua2LoW+pK3/8Ay2aBCyOEWoRcPJNCEqO7/KMdrp/ApE8SF 8QlAg8UM0kY/2NPlNincdKMa3X2n7ZLE2mLyKyIeZ2pp0JeNGHsWSAFCqVxDEJZ20CxV UMzJXhUreKqxS9tZzU9OAPtnYGBYu/H3sILj3Zer5lA5FFjlwnzCbPRwQMzpANyBnFTi A/QQb8Jmw2m+j7kNjgjEAY0tkEf0AYXXScBkFb5GvwZffoQY5i4RokzJZn9jCR3b51fQ 6DZA== 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=TV5gdfYWnEisZZMHW4dZHM4G0ZstNDnVsb4LHKYOk9U=; b=QeJx14pmKn9pZopTBIZ8MvGvBZnbqXSQmbSpbiyyKcZBbbPqOuRQyx8QU9PALQQAeF 2acYc9fAnUR8cipV38ATAw4dL8mnE4h2jBkU7IbZhvBL5CVbSMneXv4Rxh2lh9pv3ERC zqAth1QBHA8hdJNZuluaKX+4RUEH7N8qnTdJbid12HEU2hcy+So4jZmG2ULa4aXxMbf4 gDGQgIDnoRlhev+P9gHajj4QcQpVJ+Skm7r5cDYbx3MUDETd7mXMQte0BHbfDizj/+04 G2gr/ZmT7ET71UHM7kS+ygKORx6VqPylfRe2VGhPbms1VMu/D8ZMJz/dV+0brKiEV5DG ACcw== X-Gm-Message-State: ACrzQf0+1zpNHJpAXl9GtXv9bKL9gccogNBxWLVjc0u+CsXPnKvfFley VGI1wwsxmW72gOBgCZfH2bjE0g4BpZ+gzdjJ X-Received: by 2002:a05:6512:10d0:b0:4a2:ad92:2990 with SMTP id k16-20020a05651210d000b004a2ad922990mr23523363lfg.276.1668071863689; Thu, 10 Nov 2022 01:17:43 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id r18-20020a2e8e32000000b00278d3123a16sm101219ljk.50.2022.11.10.01.17.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 10 Nov 2022 01:17:42 -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 , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: regulator: qcom,smd: Document PMR735a Date: Thu, 10 Nov 2022 10:17:35 +0100 Message-Id: <20221110091736.3344-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?1749101006111714161?= X-GMAIL-MSGID: =?utf-8?q?1749101006111714161?= PMR735a also appears to be bundled with some SMD RPM SoCs. Document it. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson --- Changes since v1: - pick up rb .../devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml index 961eed51912c..8c45f53212b1 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml @@ -71,6 +71,8 @@ description: For pmi8998, bob + For pmr735a, s1, s2, s3, l1, l2, l3, l4, l5, l6, l7 + For pms405, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13 @@ -98,6 +100,7 @@ properties: - qcom,rpm-pma8084-regulators - qcom,rpm-pmi8994-regulators - qcom,rpm-pmi8998-regulators + - qcom,rpm-pmr735a-regulators - qcom,rpm-pms405-regulators patternProperties: From patchwork Thu Nov 10 09:17: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: 18024 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp39781wru; Thu, 10 Nov 2022 01:26:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf6jHQjYljxuY9Q0qlyTaC1yv/EVA3rxB93PXACdBx6o/6EM+rCuz/0NJmxf4HC+G9J1FstX X-Received: by 2002:a63:e752:0:b0:470:4bc1:ba55 with SMTP id j18-20020a63e752000000b004704bc1ba55mr23171745pgk.66.1668072377394; Thu, 10 Nov 2022 01:26:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668072377; cv=none; d=google.com; s=arc-20160816; b=pmLrqGejjmkW6AK9H4eoVQQDJ7AXc4Q6bx2+mEgNzxgB17gd27CMxkV/Pp3SuuXfLc FCk+ioKpWwqBAwgBC2Q6qx0Inqdmc0TtO8vwYahXkQKV76BmN6V20VawjH0t3S74/BXu JX+I7GhLtr5YJsQfiCSc5LvDq1zJohUkiA8S6eyAwmqdMhMi6MTR45a+nzFZDmle0L6w PIPffPMb9DqRqxPCzYUJ7AUb0z2PXC4wb6yuaQcNM//gZX30JNq5KocdDjxAbrwS32AI 3dwKzm7fZF9EeloIgUHAC16j1Yh61datbebZi7ZThdByDvxvtKAQE7SyILzXeHl1G5Co a1AA== 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=OXJcyenTe5vrVQO4BXPfziVJuW4vZr13iBtdffMSgQY=; b=UpQLlmePhk5y2ThDn2DOKFaqkpxxzYbFdRe9G/2r12qEF3W4RQF9aQbaakevFyeKFt x5Yh9omdiqhe8CT6l3DOMvBtB8qU6DnQmpPiKtoRcIZT/rEnqF4TkwRmmy1+9lGLC8k2 8c3vNAfPh8QSgnntigieEsSVM2bYK5o7DJIBS+by5IxBdXTejScIMeedCs5Np2A4qYr+ warYhJ5zZtCk4bPOEcKIkajWw6PCCJ0g+sWij++tOgJ6AslJZw0Yt1+eAm+m6xfSEhZJ 51aoQ7GX/F/rl5n67aa63W82tfXkV2sjkUMbW7vaBYyEVSE20dHS9b6VMubAXiw87jgP ywug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TH8f0c9R; 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 bn3-20020a056a02030300b0044b014c9a3asi21916342pgb.300.2022.11.10.01.26.03; Thu, 10 Nov 2022 01:26:17 -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=TH8f0c9R; 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 S229824AbiKJJRu (ORCPT + 99 others); Thu, 10 Nov 2022 04:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiKJJRs (ORCPT ); Thu, 10 Nov 2022 04:17:48 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E02E682AE for ; Thu, 10 Nov 2022 01:17:47 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id u2so728696ljl.3 for ; Thu, 10 Nov 2022 01:17:47 -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=OXJcyenTe5vrVQO4BXPfziVJuW4vZr13iBtdffMSgQY=; b=TH8f0c9RT08oEvIJLhqIa7LuTwbjaWhcUm5EI/rPbB5bDQ42vhkN87UbVrukAeeRGB 1CL0tR32h6X0s2EmcuOl/HiDyPnwFOUAl2uFNLNX32VrKk9y/Mc57h98TaftwvKF6hzQ 3xRdgaEO12ll2sroV954nwT7qWECND+d0nmBEgfYkOp3qFihDcFwkg6dorrCxFgKqPjq V8BsyUQouyEA8utOrBlOgkNglT9u8pVtcBFxpuPzbXio9RVYUZB5f4jr/rG+rlpN1KFk I4OCeYoOqKtqxhM9sGRHRbPVsVuvsvRjavP8+XBEgYwQen2ybxbB31I5gb6TqPVIFfZy Rqlg== 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=OXJcyenTe5vrVQO4BXPfziVJuW4vZr13iBtdffMSgQY=; b=15jrl+DPtwRZoxarFwvTWI3JSngNVggMqoG1a/UymU0fpZy9WDaGun7dGMA3FSRi6F A7mYHQufvTfD0QshIyEACTi+fX23IXOlmuoMjBydBsWr2jOAzm98xwNDGKTH6DwQjDDR SVFeTCvgrgw7to4CGN5D8fibZaCMI7RO2nnUx+6bJIVL8g8N+KkSq6G0LzOg6rLTAQz4 mA5G5oVH4+2QVmYpeSPJ8vT7Qf4m/Z9I1QBEd7x/pZzzfI6obc25uSKTGt9oHt1HItD6 oq/0dI3qss+sDgpS95zN6Wc4Uq3pXWdTFbM24wfrVpgzs7RIo/r/hZqpWgxClmXDTlHF UHOw== X-Gm-Message-State: ACrzQf1vj31WTY60jzNAMp0m6dHbM9gfFVuL0JuJSTfNdEC3gKH2yahG EtAeQwm2Uc0Tmqtwf8M2vmMljw== X-Received: by 2002:a2e:b614:0:b0:277:5df:9728 with SMTP id r20-20020a2eb614000000b0027705df9728mr8115662ljn.337.1668071865942; Thu, 10 Nov 2022 01:17:45 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id r18-20020a2e8e32000000b00278d3123a16sm101219ljk.50.2022.11.10.01.17.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 10 Nov 2022 01:17:45 -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 , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] regulator: qcom_smd: Add PMR735a regulators Date: Thu, 10 Nov 2022 10:17:36 +0100 Message-Id: <20221110091736.3344-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221110091736.3344-1-konrad.dybcio@linaro.org> References: <20221110091736.3344-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=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?1749100661541132247?= X-GMAIL-MSGID: =?utf-8?q?1749100661541132247?= PMR735a is already supported in the RPMH regulator driver, but there are cases where it's bundled with SMD RPM SoCs. Port it over to qcom_smd-regulator to enable usage in such cases. Signed-off-by: Konrad Dybcio Reviewed-by: Bjorn Andersson --- Changes since v1: - Add and use pmic5_ftsmps520 in place of pms405_hfsmps3 for s3 drivers/regulator/qcom_smd-regulator.c | 33 ++++++++++++++++++++++++++ include/linux/soc/qcom/smd-rpm.h | 2 ++ 2 files changed, 35 insertions(+) diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c index f98168d58dce..9f2b58458841 100644 --- a/drivers/regulator/qcom_smd-regulator.c +++ b/drivers/regulator/qcom_smd-regulator.c @@ -677,6 +677,24 @@ static const struct regulator_desc pm6125_ftsmps = { .ops = &rpm_smps_ldo_ops, }; +static const struct regulator_desc pmic5_ftsmps520 = { + .linear_ranges = (struct linear_range[]) { + REGULATOR_LINEAR_RANGE(300000, 0, 263, 4000), + }, + .n_linear_ranges = 1, + .n_voltages = 264, + .ops = &rpm_smps_ldo_ops, +}; + +static const struct regulator_desc pmic5_hfsmps515 = { + .linear_ranges = (struct linear_range[]) { + REGULATOR_LINEAR_RANGE(320000, 0, 235, 16000), + }, + .n_linear_ranges = 1, + .n_voltages = 236, + .ops = &rpm_smps_ldo_ops, +}; + static const struct regulator_desc pms405_hfsmps3 = { .linear_ranges = (struct linear_range[]) { REGULATOR_LINEAR_RANGE(320000, 0, 215, 8000), @@ -1265,6 +1283,20 @@ static const struct rpm_regulator_data rpm_pmi8998_regulators[] = { {} }; +static const struct rpm_regulator_data rpm_pmr735a_regulators[] = { + { "s1", QCOM_SMD_RPM_SMPE, 1, &pmic5_ftsmps520, "vdd_s1"}, + { "s2", QCOM_SMD_RPM_SMPE, 2, &pmic5_ftsmps520, "vdd_s2"}, + { "s3", QCOM_SMD_RPM_SMPE, 3, &pmic5_hfsmps515, "vdd_s3"}, + { "l1", QCOM_SMD_RPM_LDOE, 1, &pm660_nldo660, "vdd_l1_l2"}, + { "l2", QCOM_SMD_RPM_LDOE, 2, &pm660_nldo660, "vdd_l1_l2"}, + { "l3", QCOM_SMD_RPM_LDOE, 3, &pm660_nldo660, "vdd_l3"}, + { "l4", QCOM_SMD_RPM_LDOE, 4, &pm660_ht_lvpldo, "vdd_l4"}, + { "l5", QCOM_SMD_RPM_LDOE, 5, &pm660_nldo660, "vdd_l5_l6"}, + { "l6", QCOM_SMD_RPM_LDOE, 6, &pm660_nldo660, "vdd_l5_l6"}, + { "l7", QCOM_SMD_RPM_LDOE, 7, &pm660_pldo660, "vdd_l7_bob"}, + {} +}; + static const struct rpm_regulator_data rpm_pms405_regulators[] = { { "s1", QCOM_SMD_RPM_SMPA, 1, &pms405_hfsmps3, "vdd_s1" }, { "s2", QCOM_SMD_RPM_SMPA, 2, &pms405_hfsmps3, "vdd_s2" }, @@ -1305,6 +1337,7 @@ static const struct of_device_id rpm_of_match[] = { { .compatible = "qcom,rpm-pma8084-regulators", .data = &rpm_pma8084_regulators }, { .compatible = "qcom,rpm-pmi8994-regulators", .data = &rpm_pmi8994_regulators }, { .compatible = "qcom,rpm-pmi8998-regulators", .data = &rpm_pmi8998_regulators }, + { .compatible = "qcom,rpm-pmr735a-regulators", .data = &rpm_pmr735a_regulators }, { .compatible = "qcom,rpm-pms405-regulators", .data = &rpm_pms405_regulators }, {} }; diff --git a/include/linux/soc/qcom/smd-rpm.h b/include/linux/soc/qcom/smd-rpm.h index 3ab8c07f71c0..62de54992e49 100644 --- a/include/linux/soc/qcom/smd-rpm.h +++ b/include/linux/soc/qcom/smd-rpm.h @@ -19,6 +19,7 @@ struct qcom_smd_rpm; #define QCOM_SMD_RPM_CLK_BUF_A 0x616B6C63 #define QCOM_SMD_RPM_LDOA 0x616f646c #define QCOM_SMD_RPM_LDOB 0x626F646C +#define QCOM_SMD_RPM_LDOE 0x656f646c #define QCOM_SMD_RPM_RWCX 0x78637772 #define QCOM_SMD_RPM_RWMX 0x786d7772 #define QCOM_SMD_RPM_RWLC 0x636c7772 @@ -32,6 +33,7 @@ struct qcom_smd_rpm; #define QCOM_SMD_RPM_QUP_CLK 0x707571 #define QCOM_SMD_RPM_SMPA 0x61706d73 #define QCOM_SMD_RPM_SMPB 0x62706d73 +#define QCOM_SMD_RPM_SMPE 0x65706d73 #define QCOM_SMD_RPM_SPDM 0x63707362 #define QCOM_SMD_RPM_VSA 0x00617376 #define QCOM_SMD_RPM_MMAXI_CLK 0x69786d6d