Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp461186ybl; Tue, 28 Jan 2020 06:20:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxdffoQOIarPi3+uQql5CzA0JJR3i5QOTlNSwMBU+v2TqrKvtXXe8qD9P3QB9VbesgJUKcx X-Received: by 2002:a05:6808:3b4:: with SMTP id n20mr2888317oie.78.1580221204976; Tue, 28 Jan 2020 06:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580221204; cv=none; d=google.com; s=arc-20160816; b=NBcD3+pj5NRb54IHi+UZs26+5lCTH9fkq2ltV2eQ9Vx+f5HvDZxmXDHCASFDueGVYF ZIKZf2Ijt078cvoZUvFW67XRCZ+V4RJ1FBrGTQPgD4g3ltEFdKyB1HjB9Kt2SeQteB/8 cr0i2dcQoqMCxgjtJdiIZu2u3NnGOaKIU5A9jHZd5DqvEiZxNOv6qzwdxDxKqMBEEbkO GEYQ3gAPZzxJfpedGs8ff02mc2XZGz/ovGrNlIcsL91jaPAqiD+NnWPb28tF2u//enZl WG/89lux+QovZ+kIy1oU/hG4CHgU2aPs7YRUn0ldkuP1oQuxQZgTyYRu93UHUHEgH76m 9BnQ== 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=ZX0oXWRLz549Kj/sZaK1MaHFw72L2GicIHcMIsvNOV8=; b=TlOqV2VzKRnaMtKFc+w5sPRJ91soTq0N0Ed8S1B7M+01IbIbnxkNHGGbEAZlWYpV5i it1he1sPcaL4vxNqWPK8dh8HPEfS6QlGUp/POidxZe442nX2YN68DmhzWyDB0PUj+fCY T8UGX7xAeFK2u1lR2i7UAJ32iJ2BvHxoa2y4rLlI/tPVMtCut2IOwuqNkYsed+CMgDnj neDOcHWPR+6ZTCJN2qa8jieSSjBxRNV4WeBcbvjdDOibeQ1OOXjQXgvHvcRKNKK0TgoV Q2GHfkxtzYzTOYEsGa2d5OwkJzwffDIr1NLtdXJ+zRcM0i2gnsOV4J4XSl42GdzXqjMa rXjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g20n700f; 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 i140si5091827oib.90.2020.01.28.06.19.52; Tue, 28 Jan 2020 06:20:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=g20n700f; 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 S1730785AbgA1OS7 (ORCPT + 99 others); Tue, 28 Jan 2020 09:18:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:43176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730772AbgA1OS5 (ORCPT ); Tue, 28 Jan 2020 09:18:57 -0500 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 C3D7C24698; Tue, 28 Jan 2020 14:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580221137; bh=7QA7qgFZCNdK9gpFujJdT8gQYE0kxWucy0+YdY9HZzE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g20n700f4d8PA7BhKpmarffjWIk5nNVSbZdtb38UTX/ejG7vjwI4yHIDY+d6FlC5F lRwbN/UE/p6GTRibSQw3IyxeVFjFs0/H6I/D/egHHULTosJnRoLz3L/5DTjJTJ0HcJ E4WqaenfbYnYqnGW7DrqjQ8r/rRuNNEJCMa7bNMA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Axel Lin , "Andrew F. Davis" , Mark Brown , Sasha Levin Subject: [PATCH 4.9 102/271] regulator: tps65086: Fix tps65086_ldoa1_ranges for selector 0xB Date: Tue, 28 Jan 2020 15:04:11 +0100 Message-Id: <20200128135900.185717220@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135852.449088278@linuxfoundation.org> References: <20200128135852.449088278@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Axel Lin [ Upstream commit e69b394703e032e56a140172440ec4f9890b536d ] selector 0xB (1011) should be 2.6V rather than 2.7V, fit ix. Table 5-4. LDOA1 Output Voltage Options VID Bits VOUT VID Bits VOUT VID Bits VOUT VID Bits VOUT 0000 1.35 0100 1.8 1000 2.3 1100 2.85 0001 1.5 0101 1.9 1001 2.4 1101 3.0 0010 1.6 0110 2.0 1010 2.5 1110 3.3 0011 1.7 0111 2.1 1011 2.6 1111 Not Used Fixes: d2a2e729a666 ("regulator: tps65086: Add regulator driver for the TPS65086 PMIC") Signed-off-by: Axel Lin Acked-by: Andrew F. Davis Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/tps65086-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/tps65086-regulator.c b/drivers/regulator/tps65086-regulator.c index 6dbf3cf3951e2..12d26261394f1 100644 --- a/drivers/regulator/tps65086-regulator.c +++ b/drivers/regulator/tps65086-regulator.c @@ -89,8 +89,8 @@ static const struct regulator_linear_range tps65086_buck345_25mv_ranges[] = { static const struct regulator_linear_range tps65086_ldoa1_ranges[] = { REGULATOR_LINEAR_RANGE(1350000, 0x0, 0x0, 0), REGULATOR_LINEAR_RANGE(1500000, 0x1, 0x7, 100000), - REGULATOR_LINEAR_RANGE(2300000, 0x8, 0xA, 100000), - REGULATOR_LINEAR_RANGE(2700000, 0xB, 0xD, 150000), + REGULATOR_LINEAR_RANGE(2300000, 0x8, 0xB, 100000), + REGULATOR_LINEAR_RANGE(2850000, 0xC, 0xD, 150000), REGULATOR_LINEAR_RANGE(3300000, 0xE, 0xE, 0), }; -- 2.20.1