From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752090AbcLEQVH (ORCPT ); Mon, 5 Dec 2016 11:21:07 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:49183 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751176AbcLEQVD (ORCPT ); Mon, 5 Dec 2016 11:21:03 -0500 From: "Andrew F. Davis" To: Liam Girdwood , Mark Brown CC: , "Andrew F . Davis" Subject: [PATCH] regulator: tps65086: Fix 25mV ranges for BUCK regulators 1, 2, and 6 Date: Mon, 5 Dec 2016 10:21:00 -0600 Message-ID: <20161205162100.8050-1-afd@ti.com> X-Mailer: git-send-email 2.10.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These regualtors output 0v when vsel is 0. The datasheet will be updated to reflect this. Signed-off-by: Andrew F. Davis --- Hi Mark, This applies to fix/tps65086 on your regulator tree. It could probably be squashed in with the existing fix patch if you would like. Thanks, Andrew drivers/regulator/tps65086-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/tps65086-regulator.c b/drivers/regulator/tps65086-regulator.c index caf174f..ecb0371 100644 --- a/drivers/regulator/tps65086-regulator.c +++ b/drivers/regulator/tps65086-regulator.c @@ -77,7 +77,8 @@ static const struct regulator_linear_range tps65086_10mv_ranges[] = { }; static const struct regulator_linear_range tps65086_buck126_25mv_ranges[] = { - REGULATOR_LINEAR_RANGE(1000000, 0x0, 0x18, 0), + REGULATOR_LINEAR_RANGE(0, 0x0, 0x0, 0), + REGULATOR_LINEAR_RANGE(1000000, 0x1, 0x18, 0), REGULATOR_LINEAR_RANGE(1025000, 0x19, 0x7F, 25000), }; -- 2.10.2