From patchwork Mon Jan 2 11:23:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 638816 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 BCB0DC3DA7A for ; Mon, 2 Jan 2023 11:23:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232709AbjABLXr (ORCPT ); Mon, 2 Jan 2023 06:23:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232619AbjABLXd (ORCPT ); Mon, 2 Jan 2023 06:23:33 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF09324A for ; Mon, 2 Jan 2023 03:23:31 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id co23so26057865wrb.4 for ; Mon, 02 Jan 2023 03:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=He1UhKwO5iA0CtVhb4Fm4ggBLsoDYLxYgG6at6pHejY=; b=ktn30PEaToI3GtkcPsPn8hZkhbVAJ0eyWsFqxgWtVvujmRLgU1oxkyUoA5Vn0rwhNP kz4oTxksemVadkI1MVeT/3/LF6x03HvoyHOUlWq3aKcWbwbVoE3lfeyE3jq7lDXmD5Jo BufRX80Zi/Tkjtt++75X+U79A80ubvLYzQtdOpSpxBzJ8h8na7gHeOWFlYf3DTof0P9Y np3y8DckOrVRiLMUaIeDL5v06VfzobkFY7f7DU5SJKAUsTJ5N+dqzVbH6VqYPfD2GfYg ztc0uVA+TOiG8qnQz0UgB560SwiJJNfJHD65KvFMpwH2vdd0ajn8EYoiXAcVsNS+AwY8 2e5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=He1UhKwO5iA0CtVhb4Fm4ggBLsoDYLxYgG6at6pHejY=; b=mecLGGaALJD+mGDt6dPVh2rd+svZqdlfBFyV7RPT0Q/YsdWnZSXKTezobDoOkq4rLE 8Na3yOuE80YLnMW6brydllCNLNWiECdwRGP6+YemhOeQU9qkY8Sp9b59bjsTd5j+9Svt XA1mviS9yUel/TeDbK/mzRgc6S2FY6F2tAoxVRv6JH+5wyFSZ6NbBEAjXbXzNjFTgk6L txqRhcXI073aR+qZV5zeQtu4bjN5jyViGQ6YiGZ78p48lzqZPqY52sQjCm+VmZ8ye6QN HCt25YHRZHe8AhkwWuBeMvQaMe+slbPzsxWbcPSjsm0m7GbBYnvRjZNE/e5TbOyMOWln eVmQ== X-Gm-Message-State: AFqh2kpAs5vl1rHckI8YVpDME8idGxw2ua6Tzjxt6+0J3g4rnRvISLkL yhsLvrntnT/dQKwtahLOLd3Zzw== X-Google-Smtp-Source: AMrXdXuD+54sTdkbtzGXQeStL4I1NB/gu8n1pv4Sv8qbfcT17ZmiI/I83+LSm9wC1ismvoADdTLHlQ== X-Received: by 2002:a05:6000:818:b0:271:16e6:3d54 with SMTP id bt24-20020a056000081800b0027116e63d54mr23860090wrb.70.1672658610460; Mon, 02 Jan 2023 03:23:30 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id l6-20020a05600c4f0600b003d9780466b0sm32777404wmq.31.2023.01.02.03.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 03:23:29 -0800 (PST) From: Neil Armstrong Date: Mon, 02 Jan 2023 12:23:20 +0100 Subject: [PATCH] regulator: qcom-rpmh: PM8550 ldo11 regulator is an nldo MIME-Version: 1.0 Message-Id: <20230102-topic-sm8550-upstream-fixes-reg-l11b-nldo-v1-1-d97def246338@linaro.org> X-B4-Tracking: v=1; b=H4sIAKi+smMC/w3MUQrDIAwA0KuUfC8Q7YSx2xjN2oDVYtoxKL37/ Hw/7wKTrmLwni7o8lXTVgfcY4K0xroIah4GT34mRx6PtmtC214hEJ67HV3ihh/9iWGXBYtzjLXk hvzM4hPPIRPD+DiaIPdY0zrGepZy339kyXfkgAAAAA== To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Abel Vesa Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.11.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This fixes the definition of the PM8550 ldo11 regulator matching it's capabilities since this LDO is designed to work between 1,2V and 1,5V. Fixes: e6e3776d682d ("regulator: qcom-rpmh: Add support for PM8550 regulators") Signed-off-by: Neil Armstrong --- drivers/regulator/qcom-rpmh-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230102-topic-sm8550-upstream-fixes-reg-l11b-nldo-b4de2cb35d0b Best regards, diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 43b5b9377714..ae6021390143 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1016,7 +1016,7 @@ static const struct rpmh_vreg_init_data pm8550_vreg_data[] = { RPMH_VREG("ldo8", "ldo%s8", &pmic5_pldo_lv, "vdd-l8-l9"), RPMH_VREG("ldo9", "ldo%s9", &pmic5_pldo, "vdd-l8-l9"), RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo, "vdd-l1-l4-l10"), - RPMH_VREG("ldo11", "ldo%s11", &pmic5_pldo, "vdd-l11"), + RPMH_VREG("ldo11", "ldo%s11", &pmic5_nldo, "vdd-l11"), RPMH_VREG("ldo12", "ldo%s12", &pmic5_pldo, "vdd-l12"), RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo, "vdd-l2-l13-l14"), RPMH_VREG("ldo14", "ldo%s14", &pmic5_pldo, "vdd-l2-l13-l14"),