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: 10821867 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 CF5601575 for ; Wed, 20 Feb 2019 11:19:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5B992DFBF for ; Wed, 20 Feb 2019 11:19:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A97A42DFC8; Wed, 20 Feb 2019 11:19:32 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 2C9E22DFBF for ; Wed, 20 Feb 2019 11:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726209AbfBTLTb (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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; };