From patchwork Wed Jan 9 09:55:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10753823 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 046AB1515 for ; Wed, 9 Jan 2019 09:56:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE8E728FD3 for ; Wed, 9 Jan 2019 09:56:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C03D828FDF; Wed, 9 Jan 2019 09:56:13 +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 0BF7928FD3 for ; Wed, 9 Jan 2019 09:56:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbfAIJ4M (ORCPT ); Wed, 9 Jan 2019 04:56:12 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60844 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729132AbfAIJ4M (ORCPT ); Wed, 9 Jan 2019 04:56:12 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190109095609euoutp01e3a2c19de30eb00ce7361ae3a183e0a5~4JY9HCCM62738427384euoutp01l; Wed, 9 Jan 2019 09:56:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190109095609euoutp01e3a2c19de30eb00ce7361ae3a183e0a5~4JY9HCCM62738427384euoutp01l DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547027769; bh=nc0kLrjDiVApK9TZ4mbOs3XskyTt3O366V9XltI2HVM=; h=From:To:Cc:Subject:Date:References:From; b=aL/MDMgURc+BR2/DPGYzkX46NC7M/jhYivOLyPUi7patWYysUhWTcyP2XrBoZZ7YG 1dsw4/Gw02PZE6ryHhux2QL+klKSths2jczr+Mh3R9ggwkfT/A9qf0pNXMzbjMyHG0 Q/Gnr4DVOuGfTc9ysW6yOcirKYQfIes29fjEcE/k= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190109095608eucas1p2ef5fdcba85109605e102df74c1daf3e6~4JY8elpyr3093230932eucas1p2T; Wed, 9 Jan 2019 09:56:08 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 63.74.04294.835C53C5; Wed, 9 Jan 2019 09:56:08 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190109095607eucas1p261ecc2da640adb9de6ec3c2f3312eac0~4JY7hHzgE3263832638eucas1p2N; Wed, 9 Jan 2019 09:56:07 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-36-5c35c538d7d2 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E6.08.04284.735C53C5; Wed, 9 Jan 2019 09:56:07 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PL2002T769B2710@eusync1.samsung.com>; Wed, 09 Jan 2019 09:56:07 +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 eMMC regulator properties on OdroidU3 boards Date: Wed, 09 Jan 2019 10:55:57 +0100 Message-id: <20190109095557.5005-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeLIzCtJLcpLzFFi42LZduznOV2Lo6YxBitXilhsnLGe1eL8+Q3s FjPO72OyWHvkLrsDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJWxrfcaa8Ep7oop x+YwNzBe4Oxi5OSQEDCR6Jxwi7WLkYtDSGAFo8SZ3l1sEM5nRomzjXOYYaru7NrPDpFYxiix Y9U1qKoGJok/DzeygVSxCRhKdL3tArNFBFQlPrctAOtgFuhjlLi+dy7YKGGBUInG1a1MIDYL UNGXhkmMIDavgI1Ef/8TVoh18hKrNxxgBmmWEDjKKjHr4ic2iISLxPdJCxkhbGGJV8e3sEPY MhKdHQeZIBqaGSXaZ8xih3B6GCW2ztkB1W0tcfj4RbAVzAJ8EpO2TQdawQEU55XoaBOCKPGQ +LT8AViJkECsxJWb91gmMEosYGRYxSieWlqcm55abJSXWq5XnJhbXJqXrpecn7uJERg7p/8d /7KDcdefpEOMAhyMSjy8FutNYoRYE8uKK3MPMUpwMCuJ8KrfAQrxpiRWVqUW5ccXleakFh9i lOZgURLnrWZ4EC0kkJ5YkpqdmlqQWgSTZeLglGpg3CogHvjMyqd24k2uXxOkuqvSy0Pyq/qc fv+a56oYFJeWvX+7pny3gu9hnp/HYube31O3+aD6h7urzUWPLmj3q7I87dehlpXwut68s/HI VJGSyv1eraxSEwM3aqyb3nCsMMufk7lss4Tb+y8vb/HZ5qWmXI+vnFNuc3T1G0WHC0/L56is OaqjxFKckWioxVxUnAgAckgAZJkCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOJMWRmVeSWpSXmKPExsVy+t/xy7rmR01jDM40i1hsnLGe1eL8+Q3s FjPO72OyWHvkLrsDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJWxrfcaa8Ep7oop x+YwNzBe4Oxi5OSQEDCRuLNrP3sXIxeHkMASRom7kx9COU1MEi3vFzKDVLEJGEp0ve1iA7FF BFQlPrctACtiFpjAKLF64SxWkISwQKhE4+pWJhCbBajoS8MkRhCbV8BGor//CSvEOnmJ1RsO ME9g5FrAyLCKUSS1tDg3PbfYUK84Mbe4NC9dLzk/dxMj0Lvbjv3cvIPx0sbgQ4wCHIxKPLwP 1pjECLEmlhVX5h5ilOBgVhLhVb8DFOJNSaysSi3Kjy8qzUktPsQozcGiJM573qAySkggPbEk NTs1tSC1CCbLxMEp1cBYGq0Uu5avIunwefbT1W8fnqmaPDEpZOPxCE/+n2cjtrzLPSv3Jfr3 5Lo5+l6zS83/7bfQqDxrv+L+TdF4V4amCGlGvj6ec3NXLWXiWMEmd/O+4cSPN65EMYvn92nV 6+XLHr/4kzezsCDfvCrxXJGf579s9hMWtxcu+xdsWOi8bHuRjfrkJy+UWIozEg21mIuKEwGq 98976gEAAA== X-CMS-MailID: 20190109095607eucas1p261ecc2da640adb9de6ec3c2f3312eac0 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190109095607eucas1p261ecc2da640adb9de6ec3c2f3312eac0 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 LDO20 regulator provides power for theeMMC card on Odroid U3 boards. That regulator has been marked as 'boot-on' since the beggining of OdroidX/U3 support, but such flag is not really needed for it. That regulator is correctly described as supply for eMMC card and controlled by its driver. Commit 05f224ca6693 ("regulator: core: Clean enabling always-on regulators + their supplies") changed the way the boot-on regulators are handled and since then regulators marked as 'boot-on' got increased reference count and are not turned off for the system suspend time. The new approach turned out to break suspend/resume support on OdroidU3 with eMMC card, because the card is not properly shutdown due to missing of power cycle. Fix this by removing excessive 'boot-on' flag and let MMC driver to control turning power on and off. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 3a9eb1e91c45..24bcad3dfba9 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -390,7 +390,6 @@ regulator-name = "LDO20_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-boot-on; }; ldo21_reg: LDO21 {