From patchwork Tue Aug 26 14:10:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 4782151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C707F9F2A9 for ; Tue, 26 Aug 2014 14:13:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D76020145 for ; Tue, 26 Aug 2014 14:13:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A12720127 for ; Tue, 26 Aug 2014 14:13:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMHTO-00062g-HD; Tue, 26 Aug 2014 14:11:46 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMHSm-0005KC-QY for linux-arm-kernel@lists.infradead.org; Tue, 26 Aug 2014 14:11:10 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAX00CX73IRJH30@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 26 Aug 2014 15:13:40 +0100 (BST) X-AuditID: cbfec7f5-b7f776d000003e54-7f-53fc95642a2d Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 1A.CA.15956.4659CF35; Tue, 26 Aug 2014 15:10:44 +0100 (BST) Received: from AMDC1227.digital.local ([106.116.147.199]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NAX00I7I3DQO020@eusync3.samsung.com>; Tue, 26 Aug 2014 15:10:44 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 3/5] ARM: dts: exynos4412-trats2: Keep eMMC regulators soft-disabled Date: Tue, 26 Aug 2014 16:10:26 +0200 Message-id: <1409062228-14690-4-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 2.0.4 In-reply-to: <1409062228-14690-1-git-send-email-t.figa@samsung.com> References: <1409062228-14690-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t/xq7opU/8EG/TfE7f4/vAUq8XfScfY LR7Nf8xs0bvgKpvFpsfXWC0u75rDZjHj/D4mi9uXeS3WHrnLbnHq+mc2ixvTW1gt1s94zWKx atcfRovLjWYOfB4tzT1sHr9/TWL0WPQ9y2PnrLvsHpuX1HtcOdHE6tHb/I7No2/LKkaPo3/Z PD5vkgvgiuKySUnNySxLLdK3S+DKmDPxHmPBOa6K7ocb2RsY93J0MXJySAiYSPzefI8NwhaT uHBvPZDNxSEksJRRoq9/J5TTxyTx8P5isCo2ATWJzw2PwGwRAVWJz20L2EGKmAU2Mkv8+DuB HSQhLBApsfX+G7AiFqCibdNPgsV5BZwkjr++zAqxTk5i1cZ9TCA2p4CzxM8nW8HiQkA1ex+u Zp3AyLuAkWEVo2hqaXJBcVJ6rpFecWJucWleul5yfu4mRkgYf93BuPSY1SFGAQ5GJR7eB2m/ g4VYE8uKK3MPMUpwMCuJ8P5I+hMsxJuSWFmVWpQfX1Sak1p8iJGJg1OqgdFJZuczTh2p/O6m o/OLfjwLu756Rsj9V8f2Ra6tdllb9kF06ZaNl2+zWhf2MWTN3tSi11n++P6MJO7OaRtaS3Y7 VHKaJic/3KIi5Sbr/iFMu83ay/uw2muxWkYvdQ8mpVoZbXuzPXlrL7Psm/Qlw/zN56/vVI5o BQe39ImcuXej8MnsgoA+eSWW4oxEQy3mouJEAJSVA5ZBAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140826_071109_075423_7747841D X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Kukjin Kim , Russell King - ARM Linux , Arnd Bergmann , Tomasz Figa , linux-kernel@vger.kernel.org, Tomasz Figa , acourbot@nvidia.com, tomeu@tomeuvizoso.net, Olof Johansson , swarren@nvidia.com, drake@endlessm.com, linux-arm-kernel@lists.infradead.org, Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In MAX77686 PMIC two regulators dedicated for eMMC memory can be controlled both by I2C interface and a GPIO pin, with the resulting regulator state being a logical OR of both. Since the GPIO control is used both by the kernel and the lowest level bootloader at reset, the regulator should be disabled by I2C control to allow it to be turned off by GPIO control. This patch removes regulator-always-on properties from both regulators and, while at it, also unsupported regulator-mem-off. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/exynos4412-trats2.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 5e066cd..a75034c 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -399,8 +399,6 @@ regulator-name = "VMEM_VDD_2.8V"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; - regulator-always-on; - regulator-mem-off; }; ldo23_reg: ldo23 { @@ -503,8 +501,6 @@ regulator-name = "VMEM_VDDF_3.0V"; regulator-min-microvolt = <2850000>; regulator-max-microvolt = <2850000>; - regulator-always-on; - regulator-mem-off; }; buck9_reg: buck9 {