Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp672090img; Fri, 22 Mar 2019 06:18:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLzO+vXWYB1EIo3RMtnUuQnO46wNocULQy5vFDePt7Sw+E3lEHqb0yKpxWVGVZDdVuVzAr X-Received: by 2002:a63:ac12:: with SMTP id v18mr7440689pge.111.1553260731846; Fri, 22 Mar 2019 06:18:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553260731; cv=none; d=google.com; s=arc-20160816; b=tCW70zLHVN/jzEWj3zGZlb45O4Mr+hmcyi2tAjxKl8HR5FBPgzBR6xSZ6s0azBzApp 9zlnxB9MSj/ow07DPfPFXWD6F6dxZQeD59NAumB2scdUY+mwK3K1qAdcWQvMoX3s4gsQ IISvk4+pXGD0bbjqBRUbi/0tQO7otXyJhMrOwI+Ghb6WQNBa0DasnzAhiksAe8jtcD+e gFutwHE+CIIz4d8AwLZs6zZIq/hrxgk2KUl+4imNQY3lt0VCtvuqnRVRUKRlfbNa9M27 xZyJu6QdesoB8lS9oPPhX5XGJ4UvdsaBFsQ0ZmwsSTUapbS6EzcQbux5JCK6+omvMHCt wifQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=h4vVPZAF8Ru6WPnlVf2Mut6gk154zA8YyYKCABhH590=; b=Bwo10IoqMVrqH+e/9r9F/9jczbEniaQUqkS6N93HIXxwY59MqR3PEZ59/7mh5W828F VTKG5r+RWaNf2imKkPDD96wBQec+nvV33RY2E0Cct/0zF4XtBZKIxam+L5LhodQg/vsp JK1n5NJpMWZc/MmkO7wOL8qo3BR+E08Bh9ijsIudxMbeig613021jAVL/FJa3TEsMogc o0M9YgUqc1JR28C3VQAyAExZ2zdaAVEDmz3M1pW+Y/2ZcezpSyDo9Y1iAszr+G1m1Gnf 0b++HZsD51d48FFj8JXq9ii1ZBTsAjYGr2bclZMjkje4bmYQ4Sv4HrQ4MO7fdrSmaGvw vE5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rs5pC3i9; 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 e11si6728010pgk.524.2019.03.22.06.18.34; Fri, 22 Mar 2019 06:18:51 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=rs5pC3i9; 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 S1728710AbfCVLZR (ORCPT + 99 others); Fri, 22 Mar 2019 07:25:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:52548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728215AbfCVLZP (ORCPT ); Fri, 22 Mar 2019 07:25:15 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 1268420657; Fri, 22 Mar 2019 11:25:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553253914; bh=U1fdrxPnLu9B19eWOlMRYOrVmaxa4kOcoLaQmg2FdoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rs5pC3i9KOBsT/LD+LVbJV+84wO33V4EzB6riDvWJRJZQoPahSznwyajRXSSkRcP3 3WIWlAc18KnjV8JGZu4sAEMFlNAAxBJifMPjclCBy1pzg7Y4y/Np17e4SCzkmZHxVx vmMvO56FvTyiuXjSdkZAYh4U1ZG3AeXe8uZZOdZA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Mark Brown Subject: [PATCH 3.18 110/134] regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 Date: Fri, 22 Mar 2019 12:15:23 +0100 Message-Id: <20190322111218.283454322@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190322111210.465931067@linuxfoundation.org> References: <20190322111210.465931067@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Krzysztof Kozlowski commit 56b5d4ea778c1b0989c5cdb5406d4a488144c416 upstream. LDO35 uses 25 mV step, not 50 mV. Bucks 7 and 8 use 12.5 mV step instead of 6.25 mV. Wrong step caused over-voltage (LDO35) or under-voltage (buck7 and 8) if regulators were used (e.g. on Exynos5420 Arndale Octa board). Cc: Fixes: cb74685ecb39 ("regulator: s2mps11: Add samsung s2mps11 regulator driver") Signed-off-by: Krzysztof Kozlowski Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- drivers/regulator/s2mps11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -369,7 +369,7 @@ static const struct regulator_desc s2mps regulator_desc_s2mps11_ldo(32, STEP_50_MV), regulator_desc_s2mps11_ldo(33, STEP_50_MV), regulator_desc_s2mps11_ldo(34, STEP_50_MV), - regulator_desc_s2mps11_ldo(35, STEP_50_MV), + regulator_desc_s2mps11_ldo(35, STEP_25_MV), regulator_desc_s2mps11_ldo(36, STEP_50_MV), regulator_desc_s2mps11_ldo(37, STEP_50_MV), regulator_desc_s2mps11_ldo(38, STEP_50_MV), @@ -379,8 +379,8 @@ static const struct regulator_desc s2mps regulator_desc_s2mps11_buck1_4(4), regulator_desc_s2mps11_buck5, regulator_desc_s2mps11_buck67810(6, MIN_600_MV, STEP_6_25_MV), - regulator_desc_s2mps11_buck67810(7, MIN_600_MV, STEP_6_25_MV), - regulator_desc_s2mps11_buck67810(8, MIN_600_MV, STEP_6_25_MV), + regulator_desc_s2mps11_buck67810(7, MIN_600_MV, STEP_12_5_MV), + regulator_desc_s2mps11_buck67810(8, MIN_600_MV, STEP_12_5_MV), regulator_desc_s2mps11_buck9, regulator_desc_s2mps11_buck67810(10, MIN_750_MV, STEP_12_5_MV), };