From patchwork Sun Jul 5 06:57:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 11644163 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2BE396C1 for ; Sun, 5 Jul 2020 07:18:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 03E4A21924 for ; Sun, 5 Jul 2020 07:18:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Jk8A4p+4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726565AbgGEHSK (ORCPT ); Sun, 5 Jul 2020 03:18:10 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:47720 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726369AbgGEHSJ (ORCPT ); Sun, 5 Jul 2020 03:18:09 -0400 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200705071806epoutp02bfe4174d0a55f9d6152578249fc61944~eyg_yAIZT2317523175epoutp02Q for ; Sun, 5 Jul 2020 07:18:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200705071806epoutp02bfe4174d0a55f9d6152578249fc61944~eyg_yAIZT2317523175epoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593933486; bh=tmCSeqeth7VPuXjmGwKspXpbsIc/fjhuXoBgLnQs/sM=; h=From:To:Cc:Subject:Date:References:From; b=Jk8A4p+4A+V7loXDv0sV0otkGZ6rAvw4jTMmJDuzwZvRoOIK5jxnqj6x/KCiXO71S ZrBkvi1dOeix5IBwRy3f+5DIMbfY52t9PMLSJPhtUVAQzbGDZ8b31UZ7thsMCIJ+Jx xWvPWjuGMrk22nsST3yqJzB0pSuXnCKnCzX/DBj4= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20200705071805epcas5p1d5a2ad3a040e2383d10a5bef1d7ce012~eyg9ewVJ-1567215672epcas5p1C; Sun, 5 Jul 2020 07:18:05 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 1D.E9.09467.DAE710F5; Sun, 5 Jul 2020 16:18:05 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20200705071805epcas5p37045f009655c40d573077babf17c51fa~eyg9GEk2u1303613036epcas5p3f; Sun, 5 Jul 2020 07:18:05 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200705071805epsmtrp25090eb91e8ab90409ad76a1035b7a2de~eyg9FV8YI1763917639epsmtrp2K; Sun, 5 Jul 2020 07:18:05 +0000 (GMT) X-AuditID: b6c32a49-a3fff700000024fb-1b-5f017eadcbdf Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 8D.9D.08303.CAE710F5; Sun, 5 Jul 2020 16:18:04 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200705071803epsmtip1646c3f37d1272c020dbbf589d28f97db~eyg8Ab2pQ0264602646epsmtip1T; Sun, 5 Jul 2020 07:18:03 +0000 (GMT) From: Alim Akhtar To: rzk@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Alim Akhtar Subject: [PATCH 1/2] arm64: dts: exynos: Fix silent hang after boot Date: Sun, 5 Jul 2020 12:27:46 +0530 Message-Id: <20200705065747.63014-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsWy7bCmuu7aOsZ4g6cfJSwezNvGZjH/yDlW i02Pr7FaXN41h81ixvl9TBate4+wW+x8/4HRgd1j06pONo/NS+o9+rasYvT4vEkugCWKyyYl NSezLLVI3y6BK+PrjGnsBX/YKzr797A3MN5l62Lk5JAQMJE4PbOZpYuRi0NIYDejxJo9M6Cc T4wSLzvaGSGcz4wSO661ssC0vF5+kxHEFhLYxShxok8RoqiFSaJ92iFWkASbgLbE3elbmEBs EQEhiQMNv8DGMgscYZRoOP8CLCEs4Cwxf+kjsAYWAVWJab9eg23gFbCR2PnnKiPENnmJ1RsO MIM0SwgsY5dYOmkVK0TCRWJO30Wok4QlXh3fwg5hS0l8frcX6DsOIDtbomeXMUS4RmLpvGNQ 5fYSB67MYQEpYRbQlFi/Sx8kzCzAJ9H7+wkTRCevREebEES1qkTzu6tQndISE7u7oQ7wkOjc 9ZwRpFxIIFZi6k3pCYwysxBmLmBkXMUomVpQnJueWmxaYJiXWq5XnJhbXJqXrpecn7uJERzR Wp47GO8++KB3iJGJg/EQowQHs5IIb682Y7wQb0piZVVqUX58UWlOavEhRmkOFiVxXqUfZ+KE BNITS1KzU1MLUotgskwcnFINTIFX94S+0znE7XYnb8qhXS8trUIKtM21z0vuX8E/5ffx+97R xSaHJG7/OOIts9nb4f/63cxzH4nK8u3Olf3DKXWH47JMveCZFVUySYeUzzQvPdGz+v2LeE63 M8+r3pRJGf2SaYh51W2s+WHreanvXPs/KHQZP0ksOr14VU5dXln9/Dc2Sn/PslS1nY9Klnp6 RfrDdIl7p+adW7HmIv9F1d7/88ueNK/uU9p7ZvVZU4c/zGXMqtV73E441qUZ7S9sqwrsPDUh OEjd4nitluc3Bi7ZrfVyTApWeudsC69vWtB10OCI9oQkNvMpNWWZiRP2XrNMcd7Ynhdp07Jb JkTsG+/n+KauHe1zsny8eT2mKrEUZyQaajEXFScCAAbhY2NXAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJJMWRmVeSWpSXmKPExsWy7bCSnO6aOsZ4g62nbCwezNvGZjH/yDlW i02Pr7FaXN41h81ixvl9TBate4+wW+x8/4HRgd1j06pONo/NS+o9+rasYvT4vEkugCWKyyYl NSezLLVI3y6BK+PrjGnsBX/YKzr797A3MN5l62Lk5JAQMJF4vfwmYxcjF4eQwA5Gief9L6AS 0hLXN05gh7CFJVb+ew5mCwk0MUl8/p0JYrMJaEvcnb6FCcQWERCSONDwiwVkELPAKUaJ/u2b wRqEBZwl5i99xApiswioSkz79ZoFxOYVsJHY+ecqI8QCeYnVGw4wT2DkWcDIsIpRMrWgODc9 t9iwwCgvtVyvODG3uDQvXS85P3cTIzh0tLR2MO5Z9UHvECMTB+MhRgkOZiUR3l5txngh3pTE yqrUovz4otKc1OJDjNIcLErivF9nLYwTEkhPLEnNTk0tSC2CyTJxcEo1MIlFd9x13LqJUyxI x+2v7rf7b2+a6fF/3v/w68vp6yJctS4EuSldYt/iojIpq9pgwsXpFfWPz3P4NuxsiFTdc3WS 1P5Ld/OlAhZICHNz28amMKucXvit6eAqJqO65U27l3j1p3kd8bxiefH8pXtdzPdOPKxJ4XjR e+isg2CysadA+NTOJT4rigSMU8pvF8Y9PffTbv32ZXLxbBeSFtbqOEk+fRTZwO31yyRuwh45 /qOM19gWfbpQvPqbmNT74Gc5d4zLvcuzOU1VXqaLzbmqdiQydmZ3BNc/99a175dm+OwyPtMn +s44cbKhgO0J33XezDGXLR5pn8ppTgh3mTDnYAbjxL5Lye5dp+d9sjhQqsRSnJFoqMVcVJwI APGLK+OMAgAA X-CMS-MailID: 20200705071805epcas5p37045f009655c40d573077babf17c51fa X-Msg-Generator: CA CMS-TYPE: 105P X-CMS-RootMailID: 20200705071805epcas5p37045f009655c40d573077babf17c51fa References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Once regulators are disabled after kernel boot, on espresso board silent hang observed because of LDO7 being disabled. LDO7 actually provide power to CPU cores and non-cpu blocks circuitries. Keep this regulator always-on to fix this hang. Fixes: 9589f7721e16 ("arm64: dts: Add S2MPS15 PMIC node on exynos7-espresso") Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 + 1 file changed, 1 insertion(+) base-commit: 9e50b94b3eb0d859a2586b5a40d7fd6e5afd9210 diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 790f12ca8981..bb86950032d3 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -157,6 +157,7 @@ regulator-min-microvolt = <700000>; regulator-max-microvolt = <1150000>; regulator-enable-ramp-delay = <125>; + regulator-always-on; }; ldo8_reg: LDO8 { From patchwork Sun Jul 5 06:57:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 11644165 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8FB7513BD for ; Sun, 5 Jul 2020 07:18:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78B3021D95 for ; Sun, 5 Jul 2020 07:18:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="qtzhYWv7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbgGEHSQ (ORCPT ); Sun, 5 Jul 2020 03:18:16 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:47726 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbgGEHSK (ORCPT ); Sun, 5 Jul 2020 03:18:10 -0400 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200705071808epoutp029103ba3ca8ef9ed1a35728adc5efdd4e~eyg-_ogdt2380423804epoutp029 for ; Sun, 5 Jul 2020 07:18:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200705071808epoutp029103ba3ca8ef9ed1a35728adc5efdd4e~eyg-_ogdt2380423804epoutp029 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593933488; bh=HCXrofelDS9SJIsUKOUl2fb+5VFxATXUSmCxo5+ME6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qtzhYWv7SLusFOZ6syqnY4naSYsTOo5ea0cJBm7lDJyt/88KqZCil2JMneAH8l+6+ QNIePeZxG1VVjYwNFylSOrQzUvkad6+Rmn8LULjSZFiZ+/Lr5jTh2IfsmuwOutYCEe FxVtJo1sWBErSjNqmqaK5ZT/cX/CGUjxu61dSRIE= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20200705071806epcas5p11f96c18a9a9505f3a8cce5c5aad47755~eyg_sijdp1567215672epcas5p1F; Sun, 5 Jul 2020 07:18:06 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id DB.E6.09475.EAE710F5; Sun, 5 Jul 2020 16:18:06 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20200705071806epcas5p27abbd5b89689ab16328807bb5a213abf~eyg_R3ihG0437304373epcas5p2T; Sun, 5 Jul 2020 07:18:06 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200705071806epsmtrp17eafbad0b0f769f755e65319b2d71e7a~eyg_RL0Dc3273532735epsmtrp10; Sun, 5 Jul 2020 07:18:06 +0000 (GMT) X-AuditID: b6c32a4b-39fff70000002503-1a-5f017eae1e6c Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 0E.9D.08303.EAE710F5; Sun, 5 Jul 2020 16:18:06 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200705071805epsmtip1e95df8d501caf7a85580551922f2060f~eyg9MAg_V0149301493epsmtip1l; Sun, 5 Jul 2020 07:18:05 +0000 (GMT) From: Alim Akhtar To: rzk@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Alim Akhtar Subject: [PATCH 2/2] arm64: dts: exynos: keep LDO12 always-on Date: Sun, 5 Jul 2020 12:27:47 +0530 Message-Id: <20200705065747.63014-2-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200705065747.63014-1-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7bCmpu66OsZ4g8uHtCwezNvGZjH/yDlW i02Pr7FaXN41h81ixvl9TBate4+wW+x8/4HRgd1j06pONo/NS+o9+rasYvT4vEkugCWKyyYl NSezLLVI3y6BK+PanausBdfZKpYsvsHWwHiGtYuRg0NCwERif0tmFyMXh5DAbkaJBzfWMHcx cgI5nxglXq1xhEh8ZpT4dGMPWAKkYefaiUwQiV2MEt2bl0I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2hJ3p29hArFFBIQkDjT8YgEpYhY4xSjRv30z WLewgK1E/99nYEUsAqoSX079B2vmFbCRaJ11nQ1ig7zE6g0HmLsYOTg4geqv9LuDhIWASr5d fM82gZFvASPDKkbJ1ILi3PTcYsMCo7zUcr3ixNzi0rx0veT83E2M4FDT0trBuGfVB71DjEwc jIcYJTiYlUR4e7UZ44V4UxIrq1KL8uOLSnNSiw8xSnOwKInzfp21ME5IID2xJDU7NbUgtQgm y8TBKdXApLdhsb6gdLO9W7Fc5B7WTx4MctGuPc9W5He/rTVbIL/SJHP1vK+X+FW/TDfOafQz iPU4Vvxmf03NQYMHvDwMZumLFWVigy5NvlP8qmUTQ1nLMbsbHNtv9FVurdoxR2IXX978rGv6 vdGr7wZ3CUb+qQ53+S741ivCYttpke9HWYMuTnjxXMD+T/apjRNVlP65/jyXP1vnTob85Z5T +0MubMitVPrhMz9/TqzRTmmdH4d+VF5TSPx4NiAspF2de+vaGS8uPFOZoZCqPuPYiiuZ298E tKRdaH7bvMtKL7KvJN0//WjO4WfxjF1amyOig3Uj8rfmHs+5fTmg9ldcptwslcm1tV9FZk64 5ZRocPSgEktxRqKhFnNRcSIANJ+58aQCAAA= X-CMS-MailID: 20200705071806epcas5p27abbd5b89689ab16328807bb5a213abf X-Msg-Generator: CA CMS-TYPE: 105P X-CMS-RootMailID: 20200705071806epcas5p27abbd5b89689ab16328807bb5a213abf References: <20200705065747.63014-1-alim.akhtar@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org LDO12 on exynos7 supply power to VDDQ_UFS20_RESET, in case this regulator is OFF, UFS host controller can not send command to UFS device. To keep this supply ON, set regulator-always-on property for this ldo. Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index bb86950032d3..92fecc539c6c 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -194,6 +194,7 @@ regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1300000>; regulator-enable-ramp-delay = <125>; + regulator-always-on; }; ldo13_reg: LDO13 {