From patchwork Tue Jan 24 12:45:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9535143 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 A9DB860434 for ; Tue, 24 Jan 2017 12:46:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F81927F17 for ; Tue, 24 Jan 2017 12:46:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 935F427F85; Tue, 24 Jan 2017 12:46:05 +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 AE50327F17 for ; Tue, 24 Jan 2017 12:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750795AbdAXMqE (ORCPT ); Tue, 24 Jan 2017 07:46:04 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:64622 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766AbdAXMqC (ORCPT ); Tue, 24 Jan 2017 07:46:02 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKA009POBG2QQ30@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 24 Jan 2017 12:45:38 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170124124538eucas1p28b91ef9671089b01410ecdf83a5eb8e0~ctd0MyqOZ2779227792eucas1p2p; Tue, 24 Jan 2017 12:45:38 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2.samsung.com (EUCPMTA) with SMTP id B6.29.30614.17C47885; Tue, 24 Jan 2017 12:45:37 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170124124537eucas1p23ef10c2cf3b15ce70682b0cf71ae14a3~ctdzZpQ_g2646526465eucas1p2h; Tue, 24 Jan 2017 12:45:37 +0000 (GMT) X-AuditID: cbfec7f1-f793f6d000007796-b7-58874c718460 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id C9.13.10233.D6C47885; Tue, 24 Jan 2017 12:45:33 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKA00LOLBG07560@eusync2.samsung.com>; Tue, 24 Jan 2017 12:45:36 +0000 (GMT) From: Andrzej Hajda To: linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Javier Martinez Canillas , Inki Dae , sw0312.kim@samsung.com, Chanwoo Choi Subject: [PATCH] arm64: dts: exynos: set LDO7 regulator as always on Date: Tue, 24 Jan 2017 13:45:28 +0100 Message-id: <1485261928-10769-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRmVeSWpSXmKPExsWy7djPc7qFPu0RBjuvmFrcWneO1WLjjPWs Fte/PGe1mHR/AovFm7drmCzOn9/AbjHj/D4mi7VH7gJZk1+yOXB6bFrVye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DJJPDm7GqyKTUBT4u/mm2wgtoiAj0TDgV2MIEXMAsuYJNr69rF0MXJwCAu4 SFz4BFbPIqAqMbnxIFg9r4CzxNnHu9ggtslJ3DzXyTyBkXsBI8MqRpHU0uLc9NxiI73ixNzi 0rx0veT83E2MwDDdduznlh2MXe+CDzEKcDAq8fAWSLVFCLEmlhVX5h5ilOBgVhLhTfNujxDi TUmsrEotyo8vKs1JLT7EaAq0fCKzlGhyPjCG8kriDU0MzS0NjYwtLMyNjJTEead+uBIuJJCe WJKanZpakFoE08fEwSnVwGipN0HlvNuUdGHVy7MDw947Vl6Iv1e0NEbKzpFZiPvI6yflqjkX kg4d02CK/GBUf0JApmfLmdfC3/sKvK7M2Pfmhklu1oyl9+12C6ct2XP/JPNszziVvgP/FA0k zQ6rVWnxLDdf4rmHnblu+WGl997X3H7IeDqfcc/caGq7dt+0O9dP266LE1FiKc5INNRiLipO BAD7OhabaQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170124124537eucas1p23ef10c2cf3b15ce70682b0cf71ae14a3 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170124124537eucas1p23ef10c2cf3b15ce70682b0cf71ae14a3 X-RootMTR: 20170124124537eucas1p23ef10c2cf3b15ce70682b0cf71ae14a3 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 LDO7 regulator beside DSI and HDMI provides power for core blocks in Exynos 5433 SoC. Disabling it causes serious current leak - about 200mA. Signed-off-by: Andrzej Hajda --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 5f1e172..b22bec8 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -432,6 +432,10 @@ regulator-name = "VDD18_MIPI2L_1.8V_AP"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-state-mem { + regulator-off-in-suspend; + }; }; ldo8_reg: LDO8 {