Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3419959pxf; Mon, 29 Mar 2021 01:31:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPMntZ0+E1zS7y4AMl8HOsj64r3nQ/5yd/KTBVeITOf4kziFn1CIy0hLOFwle3/n5c1att X-Received: by 2002:a17:906:7d82:: with SMTP id v2mr27630346ejo.524.1617006692635; Mon, 29 Mar 2021 01:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006692; cv=none; d=google.com; s=arc-20160816; b=zexOFgAgis90qGyMSMr95+mVHIQ9oGJlJviYhgyl+VYuqJZtU6o+UIdyi70fwNV6rQ ZsBvZU80ouXVxDbXy0UEsLJV/M4065t0qHiLkJQbouhhViJ31Lq0NzT8af1Fx2rWCMdc B/2e1L2hVRXLjmD8R6DKsQPf7w3LfXN0Cb9B6HkWiOJpuWNGHv8dU/3eDudwcwhdCLBh m1k3iN1KAe+r/hQN9utuhYUCjRM1ku7c5EuK+f/X2E5kmRsdynOqCFoiOoWTJv4NW1gp 1p7SCQ82QdtQrN7PUc18xzC/Zcl1HRcLFtjrqwpvNspxSl++B5fbq3EzY26HbPMjpVxR Xs+g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4Mxjhj7WrRJJ3nCs+0iamMH0zrGGmmi++1pMi7jX/iI=; b=HqnZzMmjJVZ+GCXnzfoZTUDuQ3GsWStKkvoiYyatT6wSWvTlebFGnqUkjuII95pTpz Lvdvy66CIpcMKt0fNGy6WbYgq2Zkq5VsB44FVakKj8yWB1lOzv3j9NvWbIuFJjZ3tty+ IUqlOteBs4c/XaQgxNzBV77q63BaLuQhFU8KF/IZYyn5hHEnypJtEtEJQGEl3XigQn6U lPdajQN4VFHz36xcjzz12mwqhmzP5TlAsvunPgizT9rb2qJ52A17ZDFOrcS9nJ97P/KU +UrWR7+tWDXBd3nDjDwHStdbKqwh4P8KRoRTEVNyyLVsgDLiAVU2LeEnHkddA8TTqiMo uFOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zZmon8WW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si12300131eji.719.2021.03.29.01.31.08; Mon, 29 Mar 2021 01:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zZmon8WW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234509AbhC2I2i (ORCPT + 99 others); Mon, 29 Mar 2021 04:28:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:34210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232995AbhC2ISK (ORCPT ); Mon, 29 Mar 2021 04:18:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2BDD261960; Mon, 29 Mar 2021 08:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617005883; bh=Usc0eiGhhPiYmNvlsMHzWrjR6Ey/DywCN3lPhaMFtQs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zZmon8WW5Q3bPpWrTX3eXSbFSRl82oPwBUuoZuqwaoyYb78GUbjP7CuAv7KLkiq+l wtZCJA5Vv7tf5egkqKQvTbEjqwkCvpv/4oetUz+K0orgiTpfJHOL0bkq6fvl7TxGmQ 6BdGFlSfaAbKgZ6OYQcV5C21398LqNWDK+2ZsZ2A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, satya priya , Mark Brown , Sasha Levin Subject: [PATCH 5.10 040/221] regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck Date: Mon, 29 Mar 2021 09:56:11 +0200 Message-Id: <20210329075630.515870682@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: satya priya [ Upstream commit e610e072c87a30658479a7b4c51e1801cb3f450c ] Correct the REGULATOR_LINEAR_RANGE and n_voltges for pmic5_hfsmps515 buck. Signed-off-by: satya priya Link: https://lore.kernel.org/r/1614155592-14060-4-git-send-email-skakit@codeaurora.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/qcom-rpmh-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 52e4396d4071..c3036591b259 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -726,8 +726,8 @@ static const struct rpmh_vreg_hw_data pmic5_ftsmps510 = { static const struct rpmh_vreg_hw_data pmic5_hfsmps515 = { .regulator_type = VRM, .ops = &rpmh_regulator_vrm_ops, - .voltage_range = REGULATOR_LINEAR_RANGE(2800000, 0, 4, 16000), - .n_voltages = 5, + .voltage_range = REGULATOR_LINEAR_RANGE(320000, 0, 235, 16000), + .n_voltages = 236, .pmic_mode_map = pmic_mode_map_pmic5_smps, .of_map_mode = rpmh_regulator_pmic4_smps_of_map_mode, }; -- 2.30.1