From patchwork Tue Feb 12 21:51:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Menefy X-Patchwork-Id: 10808809 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4DA2B1575 for ; Tue, 12 Feb 2019 21:51:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E10A2C4FD for ; Tue, 12 Feb 2019 21:51:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 327BE2C6E2; Tue, 12 Feb 2019 21:51:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C42E22C4FD for ; Tue, 12 Feb 2019 21:51:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730224AbfBLVv3 (ORCPT ); Tue, 12 Feb 2019 16:51:29 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40425 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731923AbfBLVvZ (ORCPT ); Tue, 12 Feb 2019 16:51:25 -0500 Received: by mail-wm1-f66.google.com with SMTP id q21so217479wmc.5 for ; Tue, 12 Feb 2019 13:51:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mathembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=JN1AEnmAft6YdhaB9N9IbIog1CeBLAKXkz5ScgmOkQU=; b=Q3FxjuCZ5BpI8wEZMgb0ohV64rPlT1B+fGPmnpXS7bAizooy2NhO4cTPWQ1NtAkgrw c5niJnM+vU8h5eCsScxQs6MoqtY7A6015rvqjCB6Q/oHLvtJ1O2DjguQoy2fQgfEcDJD RSYsU6eqfbt4d7YBlF8t4wKCP+tnw1emWv2IXrgfFdqhig5SeeQSTzIL6jE//olxvWpj HqaDVV6YiHydqSSWYvdLKsELuG2haRiVMiE3l3RndyhpY9JaniaxkvKC9zdNccv2a4C3 ftUqzvEG1IbjrtBd9gi02v9zMH2MElrwGzkZjY6K35zfaOGRn+H6/zndIR9hY8Qdiw9H Dt0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JN1AEnmAft6YdhaB9N9IbIog1CeBLAKXkz5ScgmOkQU=; b=ILcCCIDXe4GCo1XxMbkcsDGqUj4zGBwo9ch4JYnL39xmfZnhq2TOkoUWPkEj0KEhc+ QRYIJhkEjkpZoZZlrLeZCo6eVLrQ7YozfDMRlCMtAdNUyaJsOB1CQlRQGdh5jv0izwRf +2nFnXmaBIqSjuYcL6a0nxsJkFmkFkCsBp1RHL1zCOFNjOjBJrjW0muWbIVfzmOosyhc Esn3U6koFbNcRGJRDLV2uZZdVTSPShAonci7y7l4QbnSJiEh1zBsTkEQ7t102+fXZyyV URR73x/WO0AHb2E/fWZpS30T5N6pdz4fvck2cAmVvw7exFnto8jkJsg0eqw/uTuGKkS0 YEMA== X-Gm-Message-State: AHQUAuYTBndakkMW91xlW4i4v7JiGrNyegmcpAqI2DLCwZ5MGKrhYhXP 6CBDnhwbzZHZaccx9K/zfpYvJHXbrHNoM7co X-Google-Smtp-Source: AHgI3Ia0f4QMWLYrXrAs+tEoSTOhg0p3FuJc5M7/veLyzKRGe0Gv7zFSXPFOyO+bFnGfZOjv/qsZCA== X-Received: by 2002:a1c:e911:: with SMTP id q17mr772390wmc.31.1550008282767; Tue, 12 Feb 2019 13:51:22 -0800 (PST) Received: from localhost.localdomain (host86-176-243-198.range86-176.btcentralplus.com. [86.176.243.198]) by smtp.gmail.com with ESMTPSA id y24sm7784528wma.0.2019.02.12.13.51.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Feb 2019 13:51:21 -0800 (PST) From: Stuart Menefy To: Sangbeom Kim , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Stuart Menefy Subject: [PATCH v2] regulator: s2mpa01: Fix step values for some LDOs Date: Tue, 12 Feb 2019 21:51:18 +0000 Message-Id: <20190212215118.9779-1-stuart.menefy@mathembedded.com> X-Mailer: git-send-email 2.13.6 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The step values for some of the LDOs appears to be incorrect, resulting in incorrect voltages (or at least, ones which are different from the Samsung 3.4 vendor kernel). Signed-off-by: Stuart Menefy Reviewed-by: Krzysztof Kozlowski --- drivers/regulator/s2mpa01.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/s2mpa01.c b/drivers/regulator/s2mpa01.c index 095d25f3d2ea..58a1fe583a6c 100644 --- a/drivers/regulator/s2mpa01.c +++ b/drivers/regulator/s2mpa01.c @@ -298,13 +298,13 @@ static const struct regulator_desc regulators[] = { regulator_desc_ldo(2, STEP_50_MV), regulator_desc_ldo(3, STEP_50_MV), regulator_desc_ldo(4, STEP_50_MV), - regulator_desc_ldo(5, STEP_50_MV), + regulator_desc_ldo(5, STEP_25_MV), regulator_desc_ldo(6, STEP_25_MV), regulator_desc_ldo(7, STEP_50_MV), regulator_desc_ldo(8, STEP_50_MV), regulator_desc_ldo(9, STEP_50_MV), regulator_desc_ldo(10, STEP_50_MV), - regulator_desc_ldo(11, STEP_25_MV), + regulator_desc_ldo(11, STEP_50_MV), regulator_desc_ldo(12, STEP_50_MV), regulator_desc_ldo(13, STEP_50_MV), regulator_desc_ldo(14, STEP_50_MV), @@ -315,11 +315,11 @@ static const struct regulator_desc regulators[] = { regulator_desc_ldo(19, STEP_50_MV), regulator_desc_ldo(20, STEP_50_MV), regulator_desc_ldo(21, STEP_50_MV), - regulator_desc_ldo(22, STEP_25_MV), - regulator_desc_ldo(23, STEP_25_MV), + regulator_desc_ldo(22, STEP_50_MV), + regulator_desc_ldo(23, STEP_50_MV), regulator_desc_ldo(24, STEP_50_MV), regulator_desc_ldo(25, STEP_50_MV), - regulator_desc_ldo(26, STEP_50_MV), + regulator_desc_ldo(26, STEP_25_MV), regulator_desc_buck1_4(1), regulator_desc_buck1_4(2), regulator_desc_buck1_4(3),