From patchwork Tue Aug 1 09:57:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 709306 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA0CEC001E0 for ; Tue, 1 Aug 2023 09:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233747AbjHAJ5Z (ORCPT ); Tue, 1 Aug 2023 05:57:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232186AbjHAJ5I (ORCPT ); Tue, 1 Aug 2023 05:57:08 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED24BE for ; Tue, 1 Aug 2023 02:57:07 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-31792ac0fefso2549100f8f.2 for ; Tue, 01 Aug 2023 02:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690883826; x=1691488626; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1d1V+cLNsVcpTqtIF4+fUcW9E9CXlGy0gRkhFZnoVKg=; b=WF74t1WryOH/fLykzfMBemiBwU/l8L1G9u2aEqqg/ziDdBr7OxmRk8enIar2C394TN ujipU9V0Epftpe1ur7tbDTMjH+v/6K/zBrPjrcH4snHOTxi3xfBFbj9gD5A8+l2/Z7rH 2TOA9EHtQffQBHTyqM6InopT76+nNjefrCJyuLlaWJGZinQZmzKc7xbrNYiAljPCvm9L ZuCajJIed9+ZswOx2M6WjWz+57S3Gk69qWXQNTZAjNux4KSgVQzl0lUns0YBH5K5MPl7 uMH5Z6YWVT8VIrkBgO7fBIFJcL5riiqK3qhiVsa9+6oDLn4EE+E9izN3zZXyOLdSlM5J IiJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690883826; x=1691488626; 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=1d1V+cLNsVcpTqtIF4+fUcW9E9CXlGy0gRkhFZnoVKg=; b=BnJAEHAMUmmfZMTVUT5AE+e91WHaPmzO/YVl0wc+vTQLQCwWeDT+7O4ZD1SNenkP0O mkxv0e7GhK6wHWkVT+l+7v2idQP534w3VySYsAv7ecO1yTyZIsFzpLJYz27GBLU3l42O Vimoj97hT6L7F1IiFyOgaGSnu/CEwaABQH0mjtt00iRzZJlxc0O5aIGz2dkLo6RJKJVa kUS89ftun3kP5xoT4hjWsjdYKkhDBJ5ycialxyaxaDTrrNiVN2/5ujrCHI6v37LOF6bJ fFTcwsVURL9XBO4C+9NLrbhcssz2FkeZPBIqgKnEzNqemHK/7YWdD0tiZpwbFgWLQhlR ET4Q== X-Gm-Message-State: ABy/qLYUvLhU0lSU13+wM8ahMArxWY0B1rMnMA3itn0bF63MONmeTwxo ky9lzw83zjaTsZn86kxSWzoixwpGeiR1anmBGL8= X-Google-Smtp-Source: APBJJlHgYYyvvbhT2RjOmVbcb22DHXlapgDLNFjGodT9QTDbjNFNmD/+R/o7vC1LiCsvXidFcFXKrQ== X-Received: by 2002:adf:ef8b:0:b0:314:2ea7:af4a with SMTP id d11-20020adfef8b000000b003142ea7af4amr2022493wro.13.1690883825933; Tue, 01 Aug 2023 02:57:05 -0700 (PDT) Received: from hackbox.lan ([86.123.96.80]) by smtp.gmail.com with ESMTPSA id k1-20020adff5c1000000b00314417f5272sm15730957wrp.64.2023.08.01.02.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 02:57:05 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Rajendra Nayak , Liam Girdwood , Mark Brown , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH] regulator: qcom-rpmh: Fix LDO 12 regulator for PM8550 Date: Tue, 1 Aug 2023 12:57:02 +0300 Message-Id: <20230801095702.2891127-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The LDO 12 is NLDO 515 low voltage type, so fix accordingly. Fixes: e6e3776d682d ("regulator: qcom-rpmh: Add support for PM8550 regulators") Signed-off-by: Abel Vesa --- drivers/regulator/qcom-rpmh-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 88ddd6c54d04..d990ba19c50e 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1067,7 +1067,7 @@ static const struct rpmh_vreg_init_data pm8550_vreg_data[] = { RPMH_VREG("ldo9", "ldo%s9", &pmic5_pldo, "vdd-l8-l9"), RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo515, "vdd-l1-l4-l10"), RPMH_VREG("ldo11", "ldo%s11", &pmic5_nldo515, "vdd-l11"), - RPMH_VREG("ldo12", "ldo%s12", &pmic5_pldo, "vdd-l12"), + RPMH_VREG("ldo12", "ldo%s12", &pmic5_nldo515, "vdd-l12"), RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo, "vdd-l2-l13-l14"), RPMH_VREG("ldo14", "ldo%s14", &pmic5_pldo, "vdd-l2-l13-l14"), RPMH_VREG("ldo15", "ldo%s15", &pmic5_nldo515, "vdd-l15"),