From patchwork Tue May 31 12:19:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12865480 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 E4963C433EF for ; Tue, 31 May 2022 12:22:03 +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=jFU5fGvhuO1KrL MWexnFJ6V0Y1/4ZPZRfi9s91vtXDeDMiwmmqIlVdK3csgpcoi5/Bo+hZV/ZxyvfF+RiGy8DZYqjHL cMutGQVRwMvPwtnvXVdmz5K4OY8Ab9JHIyfm5s0QQXK5VGNp3AKcL9wDaCI4Xn9im1Ly0RsT0X2ME UP35L2T8NIDGJKuweiANJu+/UywXiSG8zjjaqGQ43HrvR3cMMSK4S3Ep6rHN3eq9DnJzdbdkV6OLW j1IU6E9muJrBgefuK9vnd4cPM171SJJzKMoWg/zCBLrSeQ/4zc6kFCRsWgZHPpgPxjYy8Oh7DKEUD bvqUPrRu6C/r5TwNfo7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw0rd-00AhN7-8O; Tue, 31 May 2022 12:20:45 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw0qV-00Agtq-Eq for linux-arm-kernel@lists.infradead.org; Tue, 31 May 2022 12:19:37 +0000 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220531121926epoutp03d3b5f1ed8330520c5924a83dca0a2f35~0L9eab2ls2892228922epoutp03N for ; Tue, 31 May 2022 12:19:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220531121926epoutp03d3b5f1ed8330520c5924a83dca0a2f35~0L9eab2ls2892228922epoutp03N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1653999566; bh=NBWjWlY2TaMrSi0e6sb5p2UTiyWC5KJi9atCINvmi4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xsqefx917tHduohDy8NhQ6NCZu0eO7amlqLQTmg7emzOw6XgA8JtO6abmNuDQPl9t pMmSrKQEidAl+RLyuVfIMN9XB9pgogQEbW+ysuCFYV2H1S8o2zLt2sra7fOtWQA5ly ZstQ6nRMKPozBpqnlSDK7JsM3FOzx5R7sf/1PFko= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20220531121925epcas2p48980f048e654b62a36012f27840e364f~0L9d4iHm10344803448epcas2p4Y; Tue, 31 May 2022 12:19:25 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.36.68]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4LCBCv58XRz4x9Q9; Tue, 31 May 2022 12:19:23 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id AC.F2.10069.BC706926; Tue, 31 May 2022 21:19:23 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20220531121922epcas2p4753a8b704540799711f03d33346fc6ff~0L9bESv_k0344803448epcas2p4V; Tue, 31 May 2022 12:19:22 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220531121922epsmtrp1cc514865fc242a220218ff2b2af7c18e~0L9a-nyGw1304613046epsmtrp1E; Tue, 31 May 2022 12:19:22 +0000 (GMT) X-AuditID: b6c32a45-a79ff70000002755-d9-629607cb6c70 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id F3.E1.11276.AC706926; Tue, 31 May 2022 21:19:22 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220531121922epsmtip166a7906511b689906e0312af5f6b6cd0~0L9avjuzq1777617776epsmtip1N; Tue, 31 May 2022 12:19:22 +0000 (GMT) From: Chanho Park To: Kishon Vijay Abraham I , Vinod Koul , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH 4/4] arm64: dts: exynosautov9-sadk: enable secondary ufs devices Date: Tue, 31 May 2022 21:19:13 +0900 Message-Id: <20220531121913.48722-5-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220531121913.48722-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPJsWRmVeSWpSXmKPExsWy7bCmue5p9mlJBhuna1o8mLeNzeLyfm2L +UfOsVpceNrDZtH34iGzxd7XW9ktNj2+xmoxYdU3FovWvUfYLXbeOcHswOWxaVUnm8eda3vY PDYvqffo27KK0eP4je1MHp83yQ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ff X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220531121922epcas2p4753a8b704540799711f03d33346fc6ff References: <20220531121913.48722-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220531_051935_966250_DCF64519 X-CRM114-Status: GOOD ( 13.94 ) 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"; };