Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3362785imj; Tue, 19 Feb 2019 02:05:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IYbOLWHl2WUYhnuHO48LQ0LlEteFRNiTkDvg+/JBHcU1cMfpb/U0Xmm/3iTMzeTJL/VPDUt X-Received: by 2002:a63:4e1a:: with SMTP id c26mr23054012pgb.175.1550570746786; Tue, 19 Feb 2019 02:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550570746; cv=none; d=google.com; s=arc-20160816; b=oa1JJEB5FB0szxXq/fN2RnRq4BrpUoPx6owQ45Lb2XfgNC0aS2jDSqn5qPVtIQrl6W xcKoTMUIydNPjZhSaOfRFV/F7YBiV9iEgMVLX48Va02aD/65cIGpjOvNbzWFlqVhOi1x 6ZwgKQL8e2FAz8yZyRx17FPOhooNJGGqyEnGQduTYd4wVKPwmmiChT4FDjqjaYgnAiZc q5dcRqcLYGgx+cc2PnTDwJEiID8Sx9ZKYy5uefkaWl+Qkg75umKBDdOFzWmzi732tDgt weROUqwHQNmn6KlkAaD/1Hr//KmWoLsPZ1HqYppLKCVrsxjxBvauQAFf6bfnm9l4agRc r5YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=mu4M54Rg7HtnTQCSspmYmE0gRIj9fcRrisHRPuvDoG4=; b=LiZ1SKpfEHAWqI122uHv5gS4VQvqdYlYivT13YjTCYdvkXVBEjXjtB85j14jGXO/jD pUgYvgbMOjNr+gDWnB3Tn7RFG0bsUM3Bloa5M4diimeI649ZMjP4RUHHMyj1rZkn6wBL XEDdWO1Kxi5ZTEt9qJubJGCqH8AOj6NA9b6mNvA+Y9pJH1sxQOSGuw3WYcl+JuXQdBF3 FflQsBOlg/XXXKyIekh9LCOabSS69JhRgirUksho8/4lMRhftwICesn9rLcaMdm15UIh R/LCUbrMJYSCmng3EP7Z6MkjSTN0fRLbRMSXIDZhaCkjCyGsnkctQLMTR6ZvJH2U9/xY GBUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n18si14828602pgm.28.2019.02.19.02.05.31; Tue, 19 Feb 2019 02:05:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728299AbfBSKE5 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 19 Feb 2019 05:04:57 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:28363 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728056AbfBSKEo (ORCPT ); Tue, 19 Feb 2019 05:04:44 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1JA1wJF005510; Tue, 19 Feb 2019 11:04:37 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2qpc6kq317-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 19 Feb 2019 11:04:37 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4304434; Tue, 19 Feb 2019 10:04:35 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 21A6D2796; Tue, 19 Feb 2019 10:04:35 +0000 (GMT) Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 19 Feb 2019 11:04:34 +0100 Received: from SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6]) by SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6%20]) with mapi id 15.00.1347.000; Tue, 19 Feb 2019 11:04:34 +0100 From: Pascal PAILLET-LME To: "lgirdwood@gmail.com" , "broonie@kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "axel.lin@ingics.com" CC: Pascal PAILLET-LME , "benjamin.gaignard@linaro.org" , "linux-stm32@st-md-mailman.stormreply.com" Subject: [PATCH 6/8] regulator: stpmic1: Change buck1 voltage range Thread-Topic: [PATCH 6/8] regulator: stpmic1: Change buck1 voltage range Thread-Index: AQHUyDqDtPJ98jbuB0CViS+ZBGtAUQ== Date: Tue, 19 Feb 2019 10:04:34 +0000 Message-ID: <1550570647-9555-7-git-send-email-p.paillet@st.com> References: <1550570647-9555-1-git-send-email-p.paillet@st.com> In-Reply-To: <1550570647-9555-1-git-send-email-p.paillet@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.48] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-19_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change buck1 voltage range to be conform with the data-sheet. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index 6970e45..41128c4 100644 --- a/drivers/regulator/stpmic1_regulator.c +++ b/drivers/regulator/stpmic1_regulator.c @@ -56,8 +56,9 @@ enum { #define PMIC_ENABLE_TIME_US 2200 static const struct regulator_linear_range buck1_ranges[] = { - REGULATOR_LINEAR_RANGE(600000, 0, 30, 25000), - REGULATOR_LINEAR_RANGE(1350000, 31, 63, 0), + REGULATOR_LINEAR_RANGE(725000, 0, 4, 0), + REGULATOR_LINEAR_RANGE(725000, 5, 36, 25000), + REGULATOR_LINEAR_RANGE(1500000, 37, 63, 0), }; static const struct regulator_linear_range buck2_ranges[] = { -- 1.9.1