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: 155061 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp512528jaa; Wed, 9 Jan 2019 01:56:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN6tCAxDTEBdKl9DslUYCDuw3Lt5INe7bYQrX8N/e24eqgp4K8KFK9qJUjUrhCvtyAeChGYD X-Received: by 2002:a17:902:e28e:: with SMTP id cf14mr5429292plb.311.1547027773033; Wed, 09 Jan 2019 01:56:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547027773; cv=none; d=google.com; s=arc-20160816; b=AmMkxYmj0C7xf/aDvU0TQdS4JhM9HCZHXVE/JsaxdVGWUW87seurTDVCOcUvRl0oLE qAtheRDfSZEOXyN/Y7bmXxtdpQNG1O0iExy+3Aw1vKYs2Ii6q+CLZJxbtPA/wkY/LiAK iwRndXiEU45o3e0miwDgA6Pc/N7FKKU9ie1+JDkxVrJ47s5Rb2s3jsHU4N4M8osU9n4l 0Ho0bhQG9G55z4udGSBICEUGqfByFUW1YShhLJAwK2nRkGhagjUqcBVbTeh4w7wJsp1x pXM69N3ENACviIcluO3QmHE2LFbGlGPY2MsRSUobWD47irmHqp+sUYPtCcAfV/FI+AeU yWcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=nc0kLrjDiVApK9TZ4mbOs3XskyTt3O366V9XltI2HVM=; b=VO7xVgh91aAlXU/h/IF6pbpaQIiU9SF9xXwkBWQBB+O0M5xVjP6I5sz4Oqv8DMb/Te JAfqCeISj1se+FaY6/eK9/tCGlVjy/wWzcNnVSa4/snBQblYg966yVI9FXYDQKA4RmZD OLi+Z66urFkhzzlyzMOQEtBWQEFKvZG7Buvvz5UkTBuxoCRYoV6hiWh0dIodDQQ898B0 kqbBNITgMQeeDM6HCv5F3aVE8t+s/7j7GImy+zVtPxaxvsGNStszOASCBUPFUWWuKHVG Ago0Svewf+FKCpDoXjotgHJCHPSuVj1FZEMjk4wV09DBB1Bjuf3C2Eb7nUbNnTkTjaQ8 st6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="aL/MDMgU"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h85si19724594pfd.27.2019.01.09.01.56.12; Wed, 09 Jan 2019 01:56:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="aL/MDMgU"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbfAIJ4M (ORCPT + 3 others); 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 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(-) -- 2.17.1 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 {