From patchwork Fri Aug 9 07:36:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 170893 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp9635373ile; Fri, 9 Aug 2019 00:38:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZVeIQHOoNDE7mH/+ajq/tzxYLG1L2BIqsUmTEgj02AcPUPNa4h3Ed/B0+elbI3WAvNrA9 X-Received: by 2002:aa7:9a8a:: with SMTP id w10mr19844714pfi.66.1565336284421; Fri, 09 Aug 2019 00:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565336284; cv=none; d=google.com; s=arc-20160816; b=QtSi+04LYiOWIr2Am48MGYt0lGeTmxnhk9/5TI7SnXJDh6Cept/gKrUcxEng7pNy1H u6Q49kDiCvyvi3OdxtWVVMLkFNG71WNnfujOwdgp/SfhKSx7UL5rpctenw8Ms2dYttyQ 9prxOlhTfjgMFR7cv6x4D1lBPol7Wzj3X8LwljzT2LU7rWPvtckdn7QccLlSVfcq//NG v1QKQtXv9iAdyqkz9zv2Wllb9VeyZEnAJdvp+X9tXeuVr3WQQSS+ASjNKXFhQ0CVyxeK oViOm53m3F+z10o2cg9OLAThjo5WoqCIqNL5vXvrlSAFxjSlzIrWw00vCobqsLDdWwc6 PQww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JP3IWBdRZ2WnKt14wbypic9gzInpngyxcv0NQDWy5X0=; b=0XDyZ3ZLAO8M2o9eFmk+n76ifWxewlT6t6KxkQkJ/5LJSXpqlPhG4XcP+2zEFgLGaC jZ6ezAioyoNmev04UjdXMbO4jKlCE1B0ewk3pqMms79JA460jgk9OqS/H5b/KlFoQyhC N/zWloXUs2aHUhhoo/MQKJ7ntWq175OO8gyiMyuIQTo5p8fO73dwSSRtwYJhXbmywWY2 yZNQn+TfmiCFA8+IrP3Ao+pGh0NsMF01v9hNtpQbT8qrOv7b46QES1lF3YYNtj7v8w0R R1GsjnFddWVLj4ckRMlDs7Nrc8LJmQcniQfJ+eSfYpF5DaOqHvKEubi4Jn33LIjmPbqO AYzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fLw7z2SP; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m17si23738743pgc.461.2019.08.09.00.38.04; Fri, 09 Aug 2019 00:38:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fLw7z2SP; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405925AbfHIHiC (ORCPT + 8 others); Fri, 9 Aug 2019 03:38:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:35904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbfHIHiC (ORCPT ); Fri, 9 Aug 2019 03:38:02 -0400 Received: from localhost.localdomain (unknown [122.167.65.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7934921743; Fri, 9 Aug 2019 07:37:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565336281; bh=eEfBiOqceaUs54hxS2mvioQdvqdD5U2JbF1RwFVOym8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fLw7z2SPjZQKd1d+HKGa5ZwRjCu6Zr2wTlAW4oiDIkZYylXi6DSnlHqwCQGgjQQhu tV8FtDnpsRoBD/6INIe/YUPr69WtcRT/6n0IC0v4gr741LzI5ABb1wTZt1KD0fBKrO Z8zWCVkDVzjg52Hy6n2ITO9CwaOTvcIIlRqHm55w= From: Vinod Koul To: Mark Brown Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Liam Girdwood , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/4] regulator: qcom-rpmh: Fix pmic5_bob voltage count Date: Fri, 9 Aug 2019 13:06:15 +0530 Message-Id: <20190809073616.1235-3-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190809073616.1235-1-vkoul@kernel.org> References: <20190809073616.1235-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org pmic5_bob voltages count is 136 [0,135] so update it Signed-off-by: Vinod Koul --- drivers/regulator/qcom-rpmh-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Bjorn Andersson diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 0ef2716da3bd..391ed844a251 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -698,7 +698,7 @@ static const struct rpmh_vreg_hw_data pmic5_bob = { .regulator_type = VRM, .ops = &rpmh_regulator_vrm_bypass_ops, .voltage_range = REGULATOR_LINEAR_RANGE(300000, 0, 135, 32000), - .n_voltages = 135, + .n_voltages = 136, .pmic_mode_map = pmic_mode_map_pmic4_bob, .of_map_mode = rpmh_regulator_pmic4_bob_of_map_mode, };