From patchwork Tue Jun 7 07:02:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12871432 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 789A4C43334 for ; Tue, 7 Jun 2022 07:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P39gaS9Rr9My4Kc2NdyJAx37tnpTTG2prkIons2+zg0=; b=EVS1qKURVsF8TJ TtVGpNdkynxCbke1I95Gron8QT+R6tZeu6uC7Bpn4jL350dub8UABJFlplYxqhQzSiTvzbGgl8yf9 1QvGscBmI8Me2OQhG00XAYV8/OQShfr7iySMG9JwslT/MA9O2VqIEKQWy6Gg6mwhxPyKk3aHfR3R5 36UP3AhFSV5Ey/YgD+FXotTr+5f8r8qY+o55otTNsLH7iHYeFiCmdWlI8d7Zntj320loxaAMRdJ00 5oqPzbBMWLEoCAHSPEEgpr6dEYUZ6ev4FEw7sJCi+SVBtfD3rPCcuSfrZLlOsqG9rMav91wRgbJ4U 7dj9V5eSeaKZTphY3bUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyTGN-005Ict-Ue; Tue, 07 Jun 2022 07:04:28 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyTFV-005IHp-Qs for linux-arm-kernel@lists.infradead.org; Tue, 07 Jun 2022 07:03:37 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220607070327epoutp010fb454a099f6f900cd22043322c3cd6b~2RKl2BFLf2455124551epoutp01s for ; Tue, 7 Jun 2022 07:03:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220607070327epoutp010fb454a099f6f900cd22043322c3cd6b~2RKl2BFLf2455124551epoutp01s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654585407; bh=NBWjWlY2TaMrSi0e6sb5p2UTiyWC5KJi9atCINvmi4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JqS/R+Nzw1twS1Qo+7CJenPQJxeiF1ohB8bjpRvj8AVAcCRYcm+G6O7FvlFY9aogn 52Dmhqki8jvtYDEpoxWyOxPvszivTtdVRtMeVgCIdZfqiLRdVK0E95a+4RDHY7jUCI bxrxQ+nizynZuINDdgK77D/akzjEkQSp4UKh7Txg= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20220607070327epcas2p11495398b886ba6b78a04873894ff4b32~2RKlZTjxm2164421644epcas2p1K; Tue, 7 Jun 2022 07:03:27 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.101]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4LHLt60TZSz4x9Pt; Tue, 7 Jun 2022 07:03:26 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 22.86.10028.C38FE926; Tue, 7 Jun 2022 16:03:24 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20220607070324epcas2p3d0402fec67aedd72e4bd6a39d12a3394~2RKio-jo80996109961epcas2p3g; Tue, 7 Jun 2022 07:03:24 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220607070324epsmtrp294010cb0a01c8de904102870f3c9bd70~2RKioRpzr0739507395epsmtrp2e; Tue, 7 Jun 2022 07:03:24 +0000 (GMT) X-AuditID: b6c32a47-589ff7000000272c-48-629ef83c58f1 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id AF.74.11276.C38FE926; Tue, 7 Jun 2022 16:03:24 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220607070324epsmtip2e8198172b9c674ec97530df82973963d~2RKicVvMy1355813558epsmtip2f; Tue, 7 Jun 2022 07:03:24 +0000 (GMT) From: Chanho Park To: Rob Herring , Krzysztof Kozlowski , Krzysztof Kozlowski Cc: Alim Akhtar , linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH RESEND v3 2/2] arm64: dts: exynosautov9-sadk: enable secondary ufs devices Date: Tue, 7 Jun 2022 16:02:51 +0900 Message-Id: <20220607070251.15795-3-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607070251.15795-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEJsWRmVeSWpSXmKPExsWy7bCmqa7Nj3lJBh93qFs8mLeNzeLyfm2L +UfOsVr0vXjIbLH39VZ2i02Pr7FazDi/j8mide8RdgcOj02rOtk87lzbw+axeUm9R9+WVYwe nzfJBbBGZdtkpCampBYppOYl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uKuWXFKLMUZiYZazEXFiQBFaCDqJQQAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsWy7bCSvK7Nj3lJBm9aeC0ezNvGZnF5v7bF /CPnWC36Xjxkttj7eiu7xabH11gtZpzfx2TRuvcIuwOHx6ZVnWwed67tYfPYvKTeo2/LKkaP z5vkAlijuGxSUnMyy1KL9O0SuDL2z37OWLCVs+Jy0x/2Bsab7F2MnBwSAiYSm398Zexi5OIQ EtjNKLF4+hYmiISsxLN3O6CKhCXutxxhhSh6zyjxfsUtNpAEm4CuxJbnrxhBbBGB6YwSU5d6 gdjMAvuB7PvhILawQJTEz0cvWUBsFgFVib+314At4BWwk7iw9jAbxAJ5iQ3ze5lBbE4Be4mG 3nOsILYQUM3Ku5NZIeoFJU7OfMICMV9eonnrbOYJjAKzkKRmIUktYGRaxSiZWlCcm55bbFhg mJdarlecmFtcmpeul5yfu4kRHNxamjsYt6/6oHeIkYmD8RCjBAezkgiv/+S5SUK8KYmVValF +fFFpTmpxYcYpTlYlMR5L3SdjBcSSE8sSc1OTS1ILYLJMnFwSjUwiS8/IqM5hfmw2Lp30od/ Zm/deN2Tyb/56HozN5tSbqGQHNb96569WHvs85vNLYzxe9LOiv4Sua59ucjtZ93ibxI7tshX x0um/G6aPnvNg/dCxdL/eTc7NotPvqq3v9P95zyPFU46PwwlCqfFXS5ZXnFSN8w7Tjno1kOO pIsbpsW/ubRqzurFHxfUyB3gXMfqKB90p3j1bF43/d33/+8Ie2a52qrN/K2Grd9d9W/qX+5G 3Horacam1iC6upBzAss1kRNiAhl7pbJ3n30hemvqp36xQtctR6+9Om4ccv2WqOOCN3V7L/fP KarQfjLhzDdlg/VXptx0P/7OTbqzRsVyV+6XBTIRAuHTfu9jzU13L1NiKc5INNRiLipOBACG AcK/3QIAAA== X-CMS-MailID: 20220607070324epcas2p3d0402fec67aedd72e4bd6a39d12a3394 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220607070324epcas2p3d0402fec67aedd72e4bd6a39d12a3394 References: <20220607070251.15795-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_000334_267731_59ECBDA8 X-CRM114-Status: GOOD ( 15.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable ufs_1_phy and ufs_1 devices with ufs_1_fixed_vcc_reg regulator. Signed-off-by: Chanho Park --- .../boot/dts/exynos/exynosautov9-sadk.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts index 17e568853eb6..2b30a7458297 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts @@ -39,6 +39,14 @@ ufs_0_fixed_vcc_reg: regulator-0 { regulator-boot-on; enable-active-high; }; + + ufs_1_fixed_vcc_reg: regulator-1 { + compatible = "regulator-fixed"; + regulator-name = "ufs-vcc"; + gpio = <&gpg2 2 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; }; &serial_0 { @@ -49,12 +57,22 @@ &ufs_0_phy { status = "okay"; }; +&ufs_1_phy { + status = "okay"; +}; + &ufs_0 { status = "okay"; vcc-supply = <&ufs_0_fixed_vcc_reg>; vcc-fixed-regulator; }; +&ufs_1 { + status = "okay"; + vcc-supply = <&ufs_1_fixed_vcc_reg>; + vcc-fixed-regulator; +}; + &usi_0 { status = "okay"; };