From patchwork Wed Nov 9 11:08:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 17479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp273306wru; Wed, 9 Nov 2022 03:13:26 -0800 (PST) X-Google-Smtp-Source: AMsMyM4NCwCkVHorhZJB9ZtrYKaBLuqt3PcxDL3sGptmEwGndpEEgDavZGWmYSnPgohhX2S/uolB X-Received: by 2002:a63:ec15:0:b0:46e:e211:5435 with SMTP id j21-20020a63ec15000000b0046ee2115435mr50990524pgh.526.1667992406636; Wed, 09 Nov 2022 03:13:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667992406; cv=none; d=google.com; s=arc-20160816; b=GgAFQs2/v1IW82QFE/X/8M/Xhzxu6kW72JYrN8VJoDaQsjYWhJoM0EVhohFX6qpI6p BXAtu5/9r4YSUCp1s8aro2K8BG0JRJWyGyDjccPJPzmjhsfLqE04jSVMfpcGI4uAPT8C ZPkFCOn2C4miQ+FCqco3TTiyAcJbuIU6r9R8btlIe/2hfuA0FYjcZaMz8ht3DXtYaITe zQtZKIqBJ3oDU/cswih5Qqmgbin1cULJqiD9KTSM1YjGW2arRhPzg9TKlT10tTQDhSDJ DTPn4IM4gTZSJROvxZZZ3FfYbJQEBFF3uVNhMfnO8GQc7/LfwO9ryS9As/7V8m9xV/29 SCcw== 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=U4ruhaK1OB91w9q/CU0a1pwKC1JPetLpgNN37FzbTqY=; b=a8EfZDwjczv7y2sfrfCrPYluWtpzCEtEp4rrXt2q2sCmgIkoeCV9Z5BDCdFwG8W69g xI/ZCEc2M6k7X2yiPuDr6YFWtZ9G9qWAkKyc6Y6tPTrrbKoMMB8RY2czkE4kB6cQgOnJ 4VvDVKICXnAklSSHnK5+XuRzv+ZWICxLuSii596/+kYhjyBQ+T+y9itCg8xwQ/KV97DJ h1DnOENoOERRSGslYBCMWZcR+Bz2dtEFqmTs1/yKBs8K871JvTnIQcVYATonfG7ldua3 vbcOangQ91ip06DG3sRYhKDCk6wTfllM3yDKS9PT2SQ9iIfZ6M+hcAcdnbeW9MkcsXou A/Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yT5QxRRf; 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 n2-20020a170902d2c200b0017a0e8713cesi20078792plc.452.2022.11.09.03.13.12; Wed, 09 Nov 2022 03:13:26 -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=yT5QxRRf; 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 S229952AbiKILJF (ORCPT + 99 others); Wed, 9 Nov 2022 06:09:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbiKILI4 (ORCPT ); Wed, 9 Nov 2022 06:08:56 -0500 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 031AF175B0 for ; Wed, 9 Nov 2022 03:08:55 -0800 (PST) Received: by mail-ej1-x641.google.com with SMTP id q9so45842591ejd.0 for ; Wed, 09 Nov 2022 03:08:54 -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=U4ruhaK1OB91w9q/CU0a1pwKC1JPetLpgNN37FzbTqY=; b=yT5QxRRfzVBjBhrCNIPZPzlRFM4eGLFzRS12CACiGWCUH7UOf4iFrYTbQalID2C0c9 hfXX927mLIvDG5QNpMmXUPj2eu4DUZeoxaPYUWq2tgVf1lRA/vr7yKc3WjG2fH++Da5H Z/+CmlsOj3mPxmJVgTRb1cBcvGCWXDsx+JepsRFtYU2PDI6DnDvWihLB3MvXFAe/oWfh 5tMzH1gz+cJUTjElxbjt9yw8DEjmaVZRnj/lJAGFUV0FZ1S1ytd3QcoMn+EBvS6O5Lhs ATZbVRl9dkiHK78MAYYdLr+sxgoB+cQRWNWRDic+FgdhvvzONpMHsu3sCvIz4l6C7jGk b7Ag== 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=U4ruhaK1OB91w9q/CU0a1pwKC1JPetLpgNN37FzbTqY=; b=RrMRW8S0KXt53NYtNdB9FVGybnHNj+TjWMcOEBIZYZVMFPTyG69LMLC6cF00TihxEX QwZvVrK1BevhSooS39GllHmAC/YsRY+H1e6YCvY/rfBney7NkcT1zD8zz/+TScfMQTo3 nVB0eGVDFWSRZUcMOQ8F4TXaMe7OnGWN/gCNJQvgLOrimlnb6lyMg4D7CkeIvqNMWoYM /1PKG4yZmasFAJ+vE65FRFk4XQY+QJB9Ft5wT0m91IKAMZV76y+Pi2OM+qtpGyJLVLQP GxQiSI8DdLwK48AYqVPlaCvRo7R7XCf/hofmSSwXHUcW5etRreFqfYCmSJxxo3KfQO4d 5xzg== X-Gm-Message-State: ACrzQf2NSV7+1jNOOgJNFIy9swpqaZzMzxQu57yo54RUG/WYbXe06tDb nIftHb/Tt2/Px1jxLx2GKGseyw== X-Received: by 2002:a17:907:628a:b0:781:bbff:1d42 with SMTP id nd10-20020a170907628a00b00781bbff1d42mr54767260ejc.375.1667992133489; Wed, 09 Nov 2022 03:08:53 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id 5-20020a170906310500b007add28659b0sm5863468ejx.140.2022.11.09.03.08.52 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 09 Nov 2022 03:08:53 -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 1/2] dt-bindings: regulator: qcom,smd: Document PMR735a Date: Wed, 9 Nov 2022 12:08:45 +0100 Message-Id: <20221109110846.45789-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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749016805992037395?= X-GMAIL-MSGID: =?utf-8?q?1749016805992037395?= PMR735a also appears to be bundled with some SMD RPM SoCs. Document it. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- .../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 Wed Nov 9 11:08:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 17484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp273805wru; Wed, 9 Nov 2022 03:14:39 -0800 (PST) X-Google-Smtp-Source: AMsMyM7yA8sGnP/aXq3Q1NYQebKSYS9b8SvknG8WuQ9FbNPL5EZ2/Xt0bbt8JdiQ/4QKtjIXqjI2 X-Received: by 2002:a17:906:8a48:b0:7ad:aaee:cbec with SMTP id gx8-20020a1709068a4800b007adaaeecbecmr57835497ejc.36.1667992478957; Wed, 09 Nov 2022 03:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667992478; cv=none; d=google.com; s=arc-20160816; b=bn/2Jw0lirhfmmIv6z0s3KXF11nFrm1d3+dshV98sRDEHGWEvJiI112rOMkNDo++yX NmTRw5LIZlzwYV+1kZfokZjpcxmZ0rcrY532e9tAYNxvFkeOurokXUuKTxwkGH0b5FSD Q3CxT6dmMSwYhIN0nNpiA31Hws7xIT1MnIjM2qzhvjzUsXoHM02A92CM2fWuBRYd+ToQ x9HrAsidRr0JJ2rJTmaoSsvj3QTYKbFciih+BajTZBF8HZReXVtTQjjfY9eXcws6LhgL yB2bWNyoyHRJHy9V6ag5zrxtar0lAGKmIK/SajRrw3/iyxWwXyQgM33iOPo+NU66ghep cvoQ== 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=aSekvk4BBAH+HiJM42246O9iVO6lFwd+IZgG+7vdJp4=; b=BP8rrWixSUDb4Iv/8C3TPJWj+Lm/mlwCAf+B+dHRqgO/tM33Y6skBURyc4CMzY2mc8 N+t23Vq/sqFocSRn7Zjs796TYQAjDHKQGN2KXq3lbCBRkv7HYJchW5hCgmu5I5DglxtR eZ7IQ8yblmzg6gHrGz1etjInfdCHlkEphgfPDbG/JcjSeY4IDN5ZTU/sazqVCJPQh//o /cQT/2c0u63WI/NOAN+9eAlGlaZoWPhPjHtdFNOXL1YbfK8NHAU3ACtUhIVZB5F3jvTO Pfsc4vk01QYFLNnPQd9RFtIx37DxBu58AtanZcdw5tZ+QLdLzEPvhVDH3974wqrKdBPk NwVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rqe1xMeB; 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 hd31-20020a170907969f00b0078266dc4b8csi18993079ejc.719.2022.11.09.03.14.15; Wed, 09 Nov 2022 03:14:38 -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=Rqe1xMeB; 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 S230000AbiKILJJ (ORCPT + 99 others); Wed, 9 Nov 2022 06:09:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbiKILJD (ORCPT ); Wed, 9 Nov 2022 06:09:03 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99BD1240A6 for ; Wed, 9 Nov 2022 03:08:57 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id 13so45781693ejn.3 for ; Wed, 09 Nov 2022 03:08:57 -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=aSekvk4BBAH+HiJM42246O9iVO6lFwd+IZgG+7vdJp4=; b=Rqe1xMeBA6JynxVyCMfSI87NC0Lpu/E4wKvPxvTENMn2ZFUBf+wuiVtLuHsY8uaU6R siuZOOEQb0NrTpXKtqpIuu082Jv54Ucu0KNqLY6R576aWZDlB3cGyKLakYQLsPNNtc4o mEuRgJUrOAUVP9ETUrqgH2FnfqhRtPRPaKzAAT7L50R8NBGQY7y6fiAhzBcAme3ZiVFh RydY3iGCGkt1Ydytsx1k8otsB0QAil/57O1b4nqy8SZcLHkhqne756QOep5rKdItPQQX 4hVo/FU4eKfjdxIDjzQZqkhQCfJLPGfFsv3D86fiafwW+RJeEvOBGCBoQet7CtdBN3kL 5ZaQ== 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=aSekvk4BBAH+HiJM42246O9iVO6lFwd+IZgG+7vdJp4=; b=TU/OA/nTDOBr0aFr8FFb7C5hRUFbxliDhcB53rzEtMZQYgPh8OJWqyYFQh0qrWtBKn BI+NlixiIkDjcemiMvpjtID7GqfutF5PEA68uiOGRrcRxmGaBomNTfc3jEGv02btrmh2 NXuTBweVbPo1n5gQBCwHVBcGUqoAvU3gJs1SB2YIsDF8HLuCoa8c0JDJV3eZ8+9Jc1D/ 3KrLUerTEpkGcLSG+1Xf5kYreZ6j2Y1iItNkrgrIlfK+4EV8VLRItx2E0mCmqIysKtIE nPHGHeTP9155yxcK0vr3mxWp2NZnV085S09VCBJg8imqUCOAstEO8B39mLBDhhCkczvl htIQ== X-Gm-Message-State: ACrzQf023KRTr/qgZ5Fgt9y1eYFMksZ88hv9frbCcsDc9ntEamMK0ARz 9tnpflWuCq5c1iYGg0zc70HfPA== X-Received: by 2002:a17:907:2724:b0:7ad:dc93:dff1 with SMTP id d4-20020a170907272400b007addc93dff1mr46638877ejl.134.1667992136199; Wed, 09 Nov 2022 03:08:56 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id 5-20020a170906310500b007add28659b0sm5863468ejx.140.2022.11.09.03.08.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 09 Nov 2022 03:08:55 -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 2/2] regulator: qcom_smd: Add PMR735a regulators Date: Wed, 9 Nov 2022 12:08:46 +0100 Message-Id: <20221109110846.45789-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221109110846.45789-1-konrad.dybcio@linaro.org> References: <20221109110846.45789-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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749016881599156830?= X-GMAIL-MSGID: =?utf-8?q?1749016881599156830?= 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 --- drivers/regulator/qcom_smd-regulator.c | 24 ++++++++++++++++++++++++ include/linux/soc/qcom/smd-rpm.h | 2 ++ 2 files changed, 26 insertions(+) diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c index f98168d58dce..9eaae13fd385 100644 --- a/drivers/regulator/qcom_smd-regulator.c +++ b/drivers/regulator/qcom_smd-regulator.c @@ -677,6 +677,15 @@ 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 pms405_hfsmps3 = { .linear_ranges = (struct linear_range[]) { REGULATOR_LINEAR_RANGE(320000, 0, 215, 8000), @@ -1265,6 +1274,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, &pms405_hfsmps3, "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 +1328,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