From patchwork Wed Feb 20 11:19:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 158805 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4801755jaa; Wed, 20 Feb 2019 03:19:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IaWlOTrmKCU6tn4S6Hhz767fCCR9wo+hyZlTUD203s8u0zbNV3Il/X4STpjhK7WzLNsxvuf X-Received: by 2002:a63:d49:: with SMTP id 9mr28592017pgn.27.1550661572360; Wed, 20 Feb 2019 03:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550661572; cv=none; d=google.com; s=arc-20160816; b=Ubd+u0Mbgk4uNBLzbI/Ub3rto4YW5wS+htTiqoTn1WHwkSm1GlYNwZgZSSrtN/WuUy kgBSXkYmNdfoNQYAFBHPR7NfyjICm95qeQUWk11K2fC0f3JhmKCohuASbD5lXyGh1i/4 vKooZ4r7SKTm2nipJKE5NYinPrIS4oPILY/IacSRHcf3hD1hSfQybopXyUaqsmIZe2CG fnfG9VirOcoMzgzl1CsEpilQl5I288X+fI5o19k9VfeRPr5F1QhKQhOKKyjU8cb0lWyT PGB7USeSqQqN2R0juahzcjYAbGMG4X4Lftdbmqz4Odc6phDpLBZspMtMuo5+YDfLcQEg Zu2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=IAGJ0LJRyZgrl6gP/rv0vUF4ZXClVsRDiMYZnc+ex7g=; b=W7GgS3qJ9337zwJ6+GeGMhkn2pJaJy0TZGu+s2b2DjHtv+8RlRtBw27kJ9QZZRtIX7 CVUXm0NIASMAyTC6s/4E5iPB2etc0CYDbFbjR5lWkIar5/ef3QylQLy0QJUUQAL18Qzv vW+wLSRyXeDuCIe9VtSyhXrJsDopa/oDH6RTUIjY04YOOIeKoZo0wNctMqeDSCOl4cxJ +kG2arJbp0R2b9nobJqF6fUxkXrICvoJD0BvKy+zLgK7SZYeiFZoTXadMFSIBiZR6RXa VsSnelEkFemvns8VKuSMIcPjOXALbQLaiIHzwi8Xo6vbCgqqbQ4dpwkAV86QAn4P+7bS gnAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="D9/+AK/7"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p36si18373537pgb.432.2019.02.20.03.19.32; Wed, 20 Feb 2019 03:19:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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=@samsung.com header.s=mail20170921 header.b="D9/+AK/7"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726209AbfBTLTb (ORCPT + 3 others); Wed, 20 Feb 2019 06:19:31 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:56626 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbfBTLTb (ORCPT ); Wed, 20 Feb 2019 06:19:31 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190220111928euoutp019aa637048db913abb3e7e0777f7211d0~FDnsdnhpT0111401114euoutp01n; Wed, 20 Feb 2019 11:19:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190220111928euoutp019aa637048db913abb3e7e0777f7211d0~FDnsdnhpT0111401114euoutp01n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1550661568; bh=IAGJ0LJRyZgrl6gP/rv0vUF4ZXClVsRDiMYZnc+ex7g=; h=From:To:Cc:Subject:Date:References:From; b=D9/+AK/7XCT6yQ4Ooa/2vxotOCAMawKfQYwN8P0WIoPPPBKUCj6WM9WX/tjxyt6+1 rkL1mZcQFNI0YVD3siGwAB5AYqJuSd+AgICXb8+R7ceW/8uWRvmYq4B5VS6jpfIJMM l8VjYzIG+pVyBd6kqDL8WyVC+JuZZY8XCTOH6ImQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190220111928eucas1p10ad07ba6a78eb3be6ec7d556cfa82335~FDnsELvPa2289422894eucas1p1c; Wed, 20 Feb 2019 11:19:28 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id B3.86.04441.FB73D6C5; Wed, 20 Feb 2019 11:19:27 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190220111927eucas1p1f4984ddd9a7fdfeae2cdaf3d00afc951~FDnrc1CsM2167021670eucas1p1g; Wed, 20 Feb 2019 11:19:27 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-31-5c6d37bf6e2b Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4B.DB.04284.FB73D6C5; Wed, 20 Feb 2019 11:19:27 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PN8008M124B3O50@eusync4.samsung.com>; Wed, 20 Feb 2019 11:19:27 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos: Fix max voltage for BUCK8 regulator on Odroid XU3/4 Date: Wed, 20 Feb 2019 12:19:22 +0100 Message-id: <20190220111922.6763-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsWy7djPc7r7zXNjDPa3W1hsnLGe1eL8+Q3s FjPO72OyWHvkLrsDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJWxeMoe1oL73BXb G/6xNDDe5+xi5OSQEDCROP5zHVMXIxeHkMAKRol1+9vZIJzPjBLLP+1ih6maunARM0RiGaPE wvMz2EASQgINTBLvz7mD2GwChhJdb7vA4iICqhKf2xawgzQwC/QxSlzfO5cZJCEsECHReHYT K4jNAlS0tKEPKM7BwStgA9TABrFMXmL1hgNgyyQEjrJKzP3+jwki4SLxbd9CFghbRqKz4yAT RFEzo0T7jFnsEE4Po8TWOTugRllLHD5+EWwbswCfxKRt08G2SQjwSnS0CUGUeEi8PL0KLCwk ECtx4oDSBEbxBYwMqxjFU0uLc9NTiw3zUsv1ihNzi0vz0vWS83M3MQKj4/S/4592MH69lHSI UYCDUYmHV4MhJ0aINbGsuDL3EKMEB7OSCO8j9twYId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rzV DA+ihQTSE0tSs1NTC1KLYLJMHJxSDYzWlvWv7ltdWOpfmfOnuGCR8PPu9BvGW41UC/TU37cd t3BMrtm8rn1SE8+SdWxBjw7J/f+3KsXmy9yC4zPUdj2uSNR22x64Ya/axVNNqZqPqt+wtex4 f/Hsb4/fGm+XV89ujDrZdJPJZIlZ1unlWZvOXdTLCRG8tP7lK9ZD2V6dk6d2HVxXx3NAiaU4 I9FQi7moOBEAvfesiIoCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGJMWRmVeSWpSXmKPExsVy+t/xa7r7zXNjDHY/lbHYOGM9q8X58xvY LWac38dksfbIXXYHFo9NqzrZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugStj8ZQ9rAX3uSu2 N/xjaWC8z9nFyMkhIWAiMXXhIuYuRi4OIYEljBINS06xQjhNTBJ3Vh9jA6liEzCU6HrbBWaL CKhKfG5bwA5SxCwwgVFi9cJZrCAJYYEIicazm8BsFqCipQ19QGM5OHgFbIAa2CC2yUus3nCA eQIj1wJGhlWMIqmlxbnpucWGesWJucWleel6yfm5mxiBvt127OfmHYyXNgYfYhTgYFTi4dVg yIkRYk0sK67MPcQowcGsJML7iD03Rog3JbGyKrUoP76oNCe1+BCjNAeLkjjveYPKKCGB9MSS 1OzU1ILUIpgsEwenVAOjej9XikdUwNtw9uzuKSm+7H8X+HrnLrXxN0x/8m95TnWReVTU3qlm to8XJ+zaaDW/Ky1N1MDWuK2wLux7CMeFgHWSgjEnVzVefHtxqnPFvzabZzPWqO64MumisXzY 5zLP7tYO/+PZ4qFdq5xPnT85e+pD3zln9JuPLF/6cW5dxDbjLxen+69XYinOSDTUYi4qTgQA 0NHxbukBAAA= X-CMS-MailID: 20190220111927eucas1p1f4984ddd9a7fdfeae2cdaf3d00afc951 CMS-TYPE: 201P X-CMS-RootMailID: 20190220111927eucas1p1f4984ddd9a7fdfeae2cdaf3d00afc951 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The maximum voltage value for BUCK8 regulator on Odroid XU3/4 boards is set too low. Increase it to the 2000mV as specified on the board schematic. So far the board worked fine, because of the bug in the PMIC driver, which used incorrect step value for that regulator. It interpreted the voltage value set by the bootloader as 1500mV and kept it unchanged. The regulator driver has been however fixed recently in the commit 56b5d4ea778c ("regulator: s2mps11: Fix steps for buck7, buck8 and LDO35"), what results in reading the proper BUCK8 value and forcing it to 1500mV on boot. This is not enough for proper board operation and results in eMMC errors during heavy IO traffic. Increasing maximum voltage value for BUCK8 restores original driver behavior and fixes eMMC issues. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index bf09eab90f8a..6bf3661293ee 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -468,7 +468,7 @@ buck8_reg: BUCK8 { regulator-name = "vdd_1.8v_ldo"; regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1500000>; + regulator-max-microvolt = <2000000>; regulator-always-on; regulator-boot-on; };