From patchwork Thu Jun 9 09:44:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9166547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 30001607DA for ; Thu, 9 Jun 2016 09:47:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F2902830C for ; Thu, 9 Jun 2016 09:47:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1392028336; Thu, 9 Jun 2016 09:47:57 +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=-6.9 required=2.0 tests=BAYES_00,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 B65D22830C for ; Thu, 9 Jun 2016 09:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932700AbcFIJrd (ORCPT ); Thu, 9 Jun 2016 05:47:33 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:55257 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422766AbcFIJpF (ORCPT ); Thu, 9 Jun 2016 05:45:05 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O8I005K60F0XU90@mailout2.w1.samsung.com>; Thu, 09 Jun 2016 10:45:00 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-4b-57593a9c6382 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 2D.05.04866.C9A39575; Thu, 9 Jun 2016 10:45:00 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O8I006RA0EHZZ10@eusync1.samsung.com>; Thu, 09 Jun 2016 10:45:00 +0100 (BST) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Krzysztof Kozlowski , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Liam Girdwood , Mark Brown , Greg Kroah-Hartman , Hans de Goede , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Heiko Stuebner , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, hzpeterchen@gmail.com Cc: Bartlomiej Zolnierkiewicz Subject: [RFC v4 13/14] ARM: dts: exynos: Switch the buck8 to GPIO mode on Odroid U3 Date: Thu, 09 Jun 2016 11:44:30 +0200 Message-id: <1465465471-28740-14-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1465465471-28740-1-git-send-email-k.kozlowski@samsung.com> References: <1465465471-28740-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWRa0hTYRjHe89tc7g8Tc2TotQgCqGZGfUmEUGBbxQZVk77UJ30NCU3x9km GoFKCCV4yRWaeCndvCx1cyYrUwMbrrLMS64SHXlBxEvTXGUEWdP69nv+F/4fHiEuqSOChakq Lcer2DQpJSL6fjuG91REJ8r3uvRbYGuZmYT3JqYpWDLtxmG1vZ+Edxr1OCxaeEjCm7VmCi44 SjG4NjlPwvwRKwX75xoBnJ+NhN/f38KgdcpJwpeFSyQc7qigoH2tCMCVAjuAZe+6MVhTl4dD 44dBDBaXNhOwZWIWg3lddgHse6aF5upRCjqa5UdDUFNVE0DDhQUYelo+LkCN9R4KtTWEo7mB MQJZTbcpNObspNDzyiYBajNkI3f3CIUKH5sAsjmrcOT4aMPQijXsjN8F0eFkLi01g+MjjlwW pby2Ggi1h8rMu2sT5IBFMh/4CBl6P2PvX/rHW5kBl5nKByKhhDYC5ueqgdw4cjHG2WsB3hRF RzFt9Yb1VAA9JGA+Dtkwr4HTkGlvfyTwsj8dz1g+t6wXCHons1zbSXhZTCNmYraB2pgLY171 6tenff7qk64p3MsSOobpqtVTxUD8AGwygUBOl6TWXFEo98k0rFKjUylkSelKK9j43rcnwNgb 3QNoIZD6incnJ8glJJuhyVL2AEaISwPEqwcT5RJxMpt1nePTL/G6NE7TA0KEhDRIfL/DfU5C K1gtd43j1Bz/38WEPsE5wG8m8E1UdldNaO6PeM/a9oiW48tglLuhJtmLitM899V1bMg/qPIF m1l2dgYG2cpKvvwyxq66h1sPaOeLBuM8LN+Rt8Ny1RSeoEefipEg15lrkYXFxi5sthCiCtmJ RVXobFxQ1bbBVZXsUKu8oHztfJR1FxiXxvjqit+eOiklNClsZDjOa9g/6PQ+irkCAAA= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Switch the control of buck8 to GPIO mode. It is faster than I2C/register mode and it is the easiest way to disable it (regulator state is a logical OR state of GPIO and register value). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index d73aa6c58fe3..31cdc036fda4 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -74,6 +74,7 @@ regulator-name = "BUCK8_P3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + maxim,ena-gpios = <&gpa1 1 GPIO_ACTIVE_HIGH>; }; /* VDDQ for MSHC (eMMC card) */