From patchwork Thu Dec 26 03:11:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sowon Na X-Patchwork-Id: 13920950 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37E3214C5AF for ; Thu, 26 Dec 2024 03:11:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735182716; cv=none; b=C7F/9ceeJp1Exe8XNa/ZjkR+IaOfzWDVDXkfH97fkwgNNL3ISmYDucyuMhtcXJiQnijFqU1DHz2asXhcM0JfotR6oRpiKdNa9+1Ht4x/IihleTEjElsfNWhcIF8aA5mKPCMdUAjUo+3oJmTFCsv8Wdv5V7yjLaHX4jceVrT7fGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735182716; c=relaxed/simple; bh=O1nyPU7PWhaf86GRpqjpKCZFTKKxL6fAuyLmZLrVoUs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=Qh0vJffipBrvMN7exTlapgLCPBQVRxBv/1MOpREQVq7KEibbvaXYwt8AHnVpK82RN9UAVgCXfAeZhCv1T7Dcump53VP4vUFsq9iyfuxb2Qg5WASHx9gmLVCiJKwROnkl28MyGiIYoF5AoN72g7wqxc8VMOyT2+MKqmRHp0NxROY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=AGALOcA9; arc=none smtp.client-ip=203.254.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="AGALOcA9" Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20241226031147epoutp04ecd5daac100989b2db10028cf3675ac3~Um3qRPYp-3137931379epoutp04K for ; Thu, 26 Dec 2024 03:11:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20241226031147epoutp04ecd5daac100989b2db10028cf3675ac3~Um3qRPYp-3137931379epoutp04K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1735182707; bh=P+ZaqGtJsmxzbrPPYJpI+woPFkv+74kGvuAegMOxb4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AGALOcA920osUDc8cggCP/JzGMhWkV2nS8gVeb66BKCXfrG02GfnSpEG4POku8MFV Hqfh4X9H5H2LzKx6K79o/16oKnLjTlepNaA7qiKAZ4hFHD9W5RRLNJNmr0tJUQ/rv0 YU8pIfOzsAp8upE4JUJ9XajELu6HLAlxdxImmgMQ= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20241226031146epcas2p3031525ac4f44c01b8f661e1f075682bb~Um3ptEUnG0559605596epcas2p3S; Thu, 26 Dec 2024 03:11:46 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.36.69]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4YJYZ95RMWz4x9Q1; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id DC.F8.22094.179CC676; Thu, 26 Dec 2024 12:11:45 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20241226031145epcas2p1886e86abda180abbc1a070a5f70f5672~Um3onzrNL0864008640epcas2p1Z; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241226031145epsmtrp114f2d538eb038286d80be4f6d352a070~Um3onEi7Z1343613436epsmtrp16; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) X-AuditID: b6c32a48-e7eec7000000564e-cb-676cc971367d Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 2F.2B.18729.179CC676; Thu, 26 Dec 2024 12:11:45 +0900 (KST) Received: from asswp146.dsn.sec.samsung.com (unknown [10.229.19.146]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241226031145epsmtip24f1985b1c8a21932d6b8a7180a0a6a66~Um3oXM_FU2891128911epsmtip2U; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) From: Sowon Na To: robh@kernel.org, krzk@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, alim.akhtar@samsung.com, kishon@kernel.org Cc: krzk+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, sowon.na@samsung.com, Krzysztof Kozlowski Subject: [PATCH v4 1/3] dt-bindings: phy: Add ExynosAutov920 UFS PHY bindings Date: Thu, 26 Dec 2024 12:11:36 +0900 Message-ID: <20241226031142.1764652-2-sowon.na@samsung.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241226031142.1764652-1-sowon.na@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprHJsWRmVeSWpSXmKPExsWy7bCmmW7hyZx0g9+XtC0ezNvGZrFm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+XEW15cm6RsdLhvc 7t9he1y8S4mlOCPRUIu5qDgRAAfRnEvvAgAA X-CMS-MailID: 20241226031145epcas2p1886e86abda180abbc1a070a5f70f5672 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241226031145epcas2p1886e86abda180abbc1a070a5f70f5672 References: <20241226031142.1764652-1-sowon.na@samsung.com> Add samsung,exynosautov920-ufs-phy compatible for ExynosAuto v920 SoC. Signed-off-by: Sowon Na Acked-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml index f402e31bf58d..d70ffeb6e824 100644 --- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml @@ -18,6 +18,7 @@ properties: - google,gs101-ufs-phy - samsung,exynos7-ufs-phy - samsung,exynosautov9-ufs-phy + - samsung,exynosautov920-ufs-phy - tesla,fsd-ufs-phy reg: From patchwork Thu Dec 26 03:11:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sowon Na X-Patchwork-Id: 13920947 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4774417C77 for ; Thu, 26 Dec 2024 03:11:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735182711; cv=none; b=tiGTidvce6RZk3lbwyGWEkMZyz3NOTPcUgHa7n2kyML/x1f8gL72fE7S9tpHRzVwLlVRKSZDny5TgpD4F00uhYa7FvDQNLaU96JotVv9DVYpzlB2MohkVDzxNihZVmNRjZRzcFRzAluDtA1vWCZ96EsMBn9+8lG7t0pxtNFKm1k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735182711; c=relaxed/simple; bh=z5FfS+FaKJm9e5Mw7VDnvHtnEmKT+A8GMIsXjFEcc9A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=nNKT/Q5mMQrnuYDVOwZ81Xt5V3yte+kVQq9HPqCYIa0JUApKhXb/co61PfG7FfVZEaDSIAoW/LXca8clOX14EcNpix6cTIohyfC4wQA6TBZombt6Cjud/Ukw0lxoO+t0jK0o8rZN8ia2syrc9KSf3hV1YdeonP7/lIPYEy4vrPU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=o/Kx+aQv; arc=none smtp.client-ip=203.254.224.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="o/Kx+aQv" Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20241226031147epoutp03fc82d18724d5309d2554f89e966fa6cf~Um3qeT5Ds2515125151epoutp03Z for ; Thu, 26 Dec 2024 03:11:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20241226031147epoutp03fc82d18724d5309d2554f89e966fa6cf~Um3qeT5Ds2515125151epoutp03Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1735182707; bh=umNDv3FoDsPRc6l9FQxKWZoky2iWFpEJaB/qCjmRFI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o/Kx+aQv4aCR/VHrUNEI7rSiCL5sPQ+mU/sPGUldDrC/vhziTUs79EPi4GVhQG+pv MTo9LUGrRM6qY0UjBPuw1SxgrxHSFnYLzLDVYHbLefrU04nLs6vTrWCr1ARVstN7ks diK9T6bDgefyTMhQMvPemgsLV6IjUEU2O2Y2FUP0= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20241226031146epcas2p1c730d0b3de263615d03b193c93769973~Um3qF8L__1307913079epcas2p1-; Thu, 26 Dec 2024 03:11:46 +0000 (GMT) Received: from epsmgec2p1.samsung.com (unknown [182.195.36.91]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4YJYZB0wzvz4x9Pp; Thu, 26 Dec 2024 03:11:46 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmgec2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 4E.06.22938.179CC676; Thu, 26 Dec 2024 12:11:46 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20241226031145epcas2p218657a4f56f105eb7649e580b199a338~Um3ormZrK2140021400epcas2p2S; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241226031145epsmtrp27493094d5dcf2ad58d1cf4648ddb82c6~Um3oqJF8w2151821518epsmtrp2V; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) X-AuditID: b6c32a43-0b1e27000000599a-2e-676cc9715391 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id F9.49.33707.179CC676; Thu, 26 Dec 2024 12:11:45 +0900 (KST) Received: from asswp146.dsn.sec.samsung.com (unknown [10.229.19.146]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241226031145epsmtip292b10615d8a20dc3fb032e4e2d544f1a~Um3od5BcR2747327473epsmtip2i; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) From: Sowon Na To: robh@kernel.org, krzk@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, alim.akhtar@samsung.com, kishon@kernel.org Cc: krzk+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, sowon.na@samsung.com Subject: [PATCH v4 2/3] phy: samsung-ufs: support ExynosAutov920 ufs phy driver Date: Thu, 26 Dec 2024 12:11:37 +0900 Message-ID: <20241226031142.1764652-3-sowon.na@samsung.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241226031142.1764652-1-sowon.na@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKJsWRmVeSWpSXmKPExsWy7bCmhW7RyZx0g4O7mS0ezNvGZrFm7zkm i/lHzrFaHG39z2zxctY9Novz5zewW1zeNYfNYsb5fUwW//fsYLf4/fMQk8XOOyeYHbg9Nq3q ZPPo27KK0ePzJrkA5qhsm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRb JRefAF23zBygg5QUyhJzSoFCAYnFxUr6djZF+aUlqQoZ+cUltkqpBSk5BeYFesWJucWleel6 eaklVoYGBkamQIUJ2Rl9+9YzF5z3rehfcImtgfGEcxcjJ4eEgIlE24bFrF2MXBxCAjsYJb4c bGWGcD4xSrw434XgzG0/ywjTsm3jQ3aIxE5GiQkL/zFCOL8YJfbObARq4eBgE1CVuNZQBWKK CFRKzF3mDFLCLNDLKNF/Zy0LyCBhgUCJpsknwYayA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ycLAJqEpca6gC iYsINDJKPP8wmRnEYRaYyChxft4RdpAiYQF/iV8T40EGsQDVnzj3DWwBr4C1RMvFa8wQC+Ql Lq55zgZicwrYSJxomwkWFwKq+fR9OVS9oMTJmU9YQGxmoPrmrbOZJzAKzEKSmoUktYCRaRWj aGpBcW56bnKBoV5xYm5xaV66XnJ+7iZGcIhrBe1gXLb+r94hRiYOxkOMEhzMSiK8h4Qy04V4 UxIrq1KL8uOLSnNSiw8xSnOwKInzKud0pggJpCeWpGanphakFsFkmTg4pRqY5P4duTrdpKfJ Z8PCE3cvb9b99akt6/VVI1Z5a47D0wxmmW9WnPvT89mkJt282mXnvHp55BmLvUrOHo1X3eC7 P43hVP+CC84ztzztXfGegWv9k6MMCt4Ke02fOGXy+rpV2glo/Mr0i2GzuZaVfzL4wCPD2S3c /L9v7ry1a41k/RSjI6+0XzWHfN+1oMSD98Vlo9PTjgUtvcgZmz/9y9FzVjyza1fc3vdBbWrE dJdNxwI6j03YKnK01G/agvSrBc8kdCZbXHGTOaZx//SyKY/UFgra3JzMHnitoePLm8//ONpO aqfqVuutXZorc25h1dIG8WOaquWz7JmUHzn0tWkpO+dm9c4vYtC+qGR80i3cQImlOCPRUIu5 qDgRAKWIivHgAgAA X-CMS-MailID: 20241226031145epcas2p218657a4f56f105eb7649e580b199a338 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241226031145epcas2p218657a4f56f105eb7649e580b199a338 References: <20241226031142.1764652-1-sowon.na@samsung.com> Add support for ExynosAutov920 ufs phy driver. Signed-off-by: Sowon Na Reviewed-by: Alim Akhtar --- drivers/phy/samsung/Makefile | 1 + drivers/phy/samsung/phy-exynosautov920-ufs.c | 168 +++++++++++++++++++ drivers/phy/samsung/phy-samsung-ufs.c | 9 +- drivers/phy/samsung/phy-samsung-ufs.h | 4 + 4 files changed, 179 insertions(+), 3 deletions(-) create mode 100644 drivers/phy/samsung/phy-exynosautov920-ufs.c diff --git a/drivers/phy/samsung/Makefile b/drivers/phy/samsung/Makefile index fea1f96d0e43..342682638a87 100644 --- a/drivers/phy/samsung/Makefile +++ b/drivers/phy/samsung/Makefile @@ -7,6 +7,7 @@ phy-exynos-ufs-y += phy-gs101-ufs.o phy-exynos-ufs-y += phy-samsung-ufs.o phy-exynos-ufs-y += phy-exynos7-ufs.o phy-exynos-ufs-y += phy-exynosautov9-ufs.o +phy-exynos-ufs-y += phy-exynosautov920-ufs.o phy-exynos-ufs-y += phy-fsd-ufs.o obj-$(CONFIG_PHY_SAMSUNG_USB2) += phy-exynos-usb2.o phy-exynos-usb2-y += phy-samsung-usb2.o diff --git a/drivers/phy/samsung/phy-exynosautov920-ufs.c b/drivers/phy/samsung/phy-exynosautov920-ufs.c new file mode 100644 index 000000000000..21ef79c42f95 --- /dev/null +++ b/drivers/phy/samsung/phy-exynosautov920-ufs.c @@ -0,0 +1,168 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * UFS PHY driver data for Samsung ExynosAuto v920 SoC + * + * Copyright (C) 2024 Samsung Electronics Co., Ltd. + */ + +#include "phy-samsung-ufs.h" + +#define EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CTRL 0x708 +#define EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CTRL_MASK 0x1 +#define EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CTRL_EN BIT(0) +#define EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CDR_LOCK_STATUS 0x5e + +#define EXYNOSAUTOV920_CDR_LOCK_OFFSET 0xce4 + +#define PHY_EXYNOSAUTOV920_LANE_OFFSET 0x200 +#define PHY_TRSV_REG_CFG_AUTOV920(o, v, d) \ + PHY_TRSV_REG_CFG_OFFSET(o, v, d, PHY_EXYNOSAUTOV920_LANE_OFFSET) + +/* Calibration for phy initialization */ +static const struct samsung_ufs_phy_cfg exynosautov920_pre_init_cfg[] = { + PHY_COMN_REG_CFG(0x29, 0x22, PWR_MODE_ANY), + PHY_COMN_REG_CFG(0x43, 0x10, PWR_MODE_ANY), + PHY_COMN_REG_CFG(0x3c, 0x14, PWR_MODE_ANY), + PHY_COMN_REG_CFG(0x46, 0x48, PWR_MODE_ANY), + PHY_COMN_REG_CFG(0x04, 0x95, PWR_MODE_ANY), + PHY_COMN_REG_CFG(0x06, 0x30, PWR_MODE_ANY), + + PHY_TRSV_REG_CFG_AUTOV920(0x200, 0x00, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x201, 0x06, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x202, 0x06, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x203, 0x0a, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x204, 0x00, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x205, 0x10, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x207, 0x0c, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2e1, 0xc0, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x22d, 0xf8, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x234, 0x60, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x238, 0x13, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x239, 0x48, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x23a, 0x01, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x23b, 0x29, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x23c, 0x2a, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x23d, 0x01, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x23e, 0x14, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x23f, 0x13, PWR_MODE_ANY), + + PHY_TRSV_REG_CFG_AUTOV920(0x240, 0x4a, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x243, 0x40, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x244, 0x02, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x25d, 0x00, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x25e, 0x3f, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x25f, 0xff, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x26f, 0xf0, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x273, 0x33, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x274, 0x50, PWR_MODE_ANY), + + PHY_TRSV_REG_CFG_AUTOV920(0x284, 0x02, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x285, 0x02, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2a2, 0x04, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x27d, 0x01, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2fa, 0x01, PWR_MODE_ANY), + + PHY_TRSV_REG_CFG_AUTOV920(0x286, 0x03, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x287, 0x03, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x288, 0x03, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x289, 0x03, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2b3, 0x04, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2b6, 0x0b, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2b7, 0x0b, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2b8, 0x0b, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2b9, 0x0b, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2ba, 0x0b, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2bb, 0x06, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2bc, 0x06, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2bd, 0x06, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x2be, 0x06, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x34b, 0x01, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x34c, 0x24, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x34d, 0x23, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x34e, 0x45, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x34f, 0x00, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x350, 0x31, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x351, 0x00, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x352, 0x02, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x353, 0x00, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x354, 0x01, PWR_MODE_ANY), + + PHY_COMN_REG_CFG(0x43, 0x18, PWR_MODE_ANY), + PHY_COMN_REG_CFG(0x43, 0x00, PWR_MODE_ANY), + + END_UFS_PHY_CFG, +}; + +/* Calibration for HS mode series A/B */ +static const struct samsung_ufs_phy_cfg exynosautov920_pre_pwr_hs_cfg[] = { + PHY_TRSV_REG_CFG_AUTOV920(0x369, 0x11, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x246, 0x03, PWR_MODE_ANY), + + END_UFS_PHY_CFG, +}; + +static const struct samsung_ufs_phy_cfg exynosautov920_post_pwr_hs_cfg[] = { + END_UFS_PHY_CFG, +}; + +#define DELAY_IN_US 40 +#define RETRY_CNT 100 +#define EXYNOSAUTOV920_CDR_LOCK_MASK 0x8 + +int exynosautov920_ufs_phy_wait_cdr_lock(struct phy *phy, u8 lane) +{ + struct samsung_ufs_phy *ufs_phy = get_samsung_ufs_phy(phy); + u32 reg, i; + + struct samsung_ufs_phy_cfg cfg[4] = { + PHY_TRSV_REG_CFG_AUTOV920(0x222, 0x10, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x222, 0x18, PWR_MODE_ANY), + PHY_TRSV_REG_CFG_AUTOV920(0x246, 0x01, PWR_MODE_ANY), + END_UFS_PHY_CFG, + }; + + for (i = 0; i < RETRY_CNT; i++) { + udelay(DELAY_IN_US); + + reg = readl(ufs_phy->reg_pma + EXYNOSAUTOV920_CDR_LOCK_OFFSET + + (PHY_APB_ADDR(PHY_EXYNOSAUTOV920_LANE_OFFSET) * lane)); + + if ((reg & EXYNOSAUTOV920_CDR_LOCK_MASK) + == EXYNOSAUTOV920_CDR_LOCK_MASK) { + samsung_ufs_phy_config(ufs_phy, &cfg[2], lane); + return 0; + } + + udelay(DELAY_IN_US); + + /* Disable and enable CDR */ + samsung_ufs_phy_config(ufs_phy, &cfg[0], lane); + samsung_ufs_phy_config(ufs_phy, &cfg[1], lane); + } + + dev_err(ufs_phy->dev, "failed to get phy cdr lock\n"); + return -ETIMEDOUT; +} + +static const struct samsung_ufs_phy_cfg *exynosautov920_ufs_phy_cfgs[CFG_TAG_MAX] = { + [CFG_PRE_INIT] = exynosautov920_pre_init_cfg, + [CFG_PRE_PWR_HS] = exynosautov920_pre_pwr_hs_cfg, + [CFG_POST_PWR_HS] = exynosautov920_post_pwr_hs_cfg, +}; + +static const char * const exynosautov920_ufs_phy_clks[] = { + "ref_clk", +}; + +const struct samsung_ufs_phy_drvdata exynosautov920_ufs_phy = { + .cfgs = exynosautov920_ufs_phy_cfgs, + .isol = { + .offset = EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CTRL, + .mask = EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CTRL_MASK, + .en = EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CTRL_EN, + }, + .clk_list = exynosautov920_ufs_phy_clks, + .num_clks = ARRAY_SIZE(exynosautov920_ufs_phy_clks), + .cdr_lock_status_offset = EXYNOSAUTOV920_EMBEDDED_COMBO_PHY_CDR_LOCK_STATUS, + .wait_for_cdr = exynosautov920_ufs_phy_wait_cdr_lock, +}; diff --git a/drivers/phy/samsung/phy-samsung-ufs.c b/drivers/phy/samsung/phy-samsung-ufs.c index 6c5d41552649..c13fe149bc75 100644 --- a/drivers/phy/samsung/phy-samsung-ufs.c +++ b/drivers/phy/samsung/phy-samsung-ufs.c @@ -28,9 +28,9 @@ #define PHY_DEF_LANE_CNT 1 -static void samsung_ufs_phy_config(struct samsung_ufs_phy *phy, - const struct samsung_ufs_phy_cfg *cfg, - u8 lane) +void samsung_ufs_phy_config(struct samsung_ufs_phy *phy, + const struct samsung_ufs_phy_cfg *cfg, + u8 lane) { enum {LANE_0, LANE_1}; /* lane index */ @@ -323,6 +323,9 @@ static const struct of_device_id samsung_ufs_phy_match[] = { }, { .compatible = "samsung,exynosautov9-ufs-phy", .data = &exynosautov9_ufs_phy, + }, { + .compatible = "samsung,exynosautov920-ufs-phy", + .data = &exynosautov920_ufs_phy, }, { .compatible = "tesla,fsd-ufs-phy", .data = &fsd_ufs_phy, diff --git a/drivers/phy/samsung/phy-samsung-ufs.h b/drivers/phy/samsung/phy-samsung-ufs.h index 9b7deef6e10f..a28f148081d1 100644 --- a/drivers/phy/samsung/phy-samsung-ufs.h +++ b/drivers/phy/samsung/phy-samsung-ufs.h @@ -143,9 +143,13 @@ static inline void samsung_ufs_phy_ctrl_isol( } int samsung_ufs_phy_wait_for_lock_acq(struct phy *phy, u8 lane); +int exynosautov920_ufs_phy_wait_cdr_lock(struct phy *phy, u8 lane); +void samsung_ufs_phy_config(struct samsung_ufs_phy *phy, + const struct samsung_ufs_phy_cfg *cfg, u8 lane); extern const struct samsung_ufs_phy_drvdata exynos7_ufs_phy; extern const struct samsung_ufs_phy_drvdata exynosautov9_ufs_phy; +extern const struct samsung_ufs_phy_drvdata exynosautov920_ufs_phy; extern const struct samsung_ufs_phy_drvdata fsd_ufs_phy; extern const struct samsung_ufs_phy_drvdata tensor_gs101_ufs_phy; From patchwork Thu Dec 26 03:11:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sowon Na X-Patchwork-Id: 13920948 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CB7A14AD3F for ; Thu, 26 Dec 2024 03:11:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735182716; cv=none; b=cuK/vIaF2RCtcT887Taoi5A64PEDyLLdmXI5JpxREqd7fji/IRNztgAw5LixsEiFi1k3k3SHl0De1Yw2wzWqiR/JQmMMCw27Gt0Bl4j6sQBf8SgOoE4vccaxwFsOaHujMxTF32Rqz4U7+6tIruGUsUWy/4iFMUx+WZyWAAFQMcU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735182716; c=relaxed/simple; bh=IUkLEUroWcr6uQqWfVi9CIhLe+JRZIdb/SiZE0WaW1M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=GZzLk2ECzgM6Q+rAwg2ouXx7eFo6/bjfpdiWc1ZoqHssZFVB3lOx1utvATi4kd9Mc+tcxE3CJvl0F699m3Me8kIl8r+LnusHgV/aSlR6KOaiTN0DyFwa+bCft9+MLHg+eqrGiyaLw6LQBMlKIarVzJwaGJ66W1mT6NVr2013dSQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=YjYFj25H; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="YjYFj25H" Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20241226031147epoutp01eae28ebc2b1e54c6336da5c0653ea8ba~Um3qYh6nc2504325043epoutp01a for ; Thu, 26 Dec 2024 03:11:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20241226031147epoutp01eae28ebc2b1e54c6336da5c0653ea8ba~Um3qYh6nc2504325043epoutp01a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1735182707; bh=yv1kSTrV8RYbSjCr2kARXDG7PFZGPEVKIAQvmaxq054=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YjYFj25HEKyFlR9cabp0CSWSHNg9YjMHWGuMM5GrbOzsPrcZ+CwCmV0voVXbcFIto nfSD5RIbeuZQgppcir8jZ6uyyZD2LxwJsW3ssGMVAn73kGO0n+GrLSHW9K4vxQ5W4C uyo+kyd9fFFzsXstTSKlyqUxtEz3b/IEhlI9Nr5M= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20241226031146epcas2p146e9d700730d2e39108d4a541cf9b862~Um3p-ZpBb1307913079epcas2p19; Thu, 26 Dec 2024 03:11:46 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.92]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4YJYZB0NhWz4x9Px; Thu, 26 Dec 2024 03:11:46 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id E4.AB.22105.179CC676; Thu, 26 Dec 2024 12:11:45 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20241226031145epcas2p25dc5ea4da8d8cd9170ed2f04c6334d1b~Um3o0khfA2140021400epcas2p2T; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241226031145epsmtrp2062e7968c7373e5b96a5533ff8cce159~Um3oz6CWP2151821518epsmtrp2X; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) X-AuditID: b6c32a47-f91c170000005659-cb-676cc971ca67 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id CA.49.33707.179CC676; Thu, 26 Dec 2024 12:11:45 +0900 (KST) Received: from asswp146.dsn.sec.samsung.com (unknown [10.229.19.146]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241226031145epsmtip27d0538eb6712c24ddfabcc2549e5a242~Um3oiVbM32891128911epsmtip2V; Thu, 26 Dec 2024 03:11:45 +0000 (GMT) From: Sowon Na To: robh@kernel.org, krzk@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, alim.akhtar@samsung.com, kishon@kernel.org Cc: krzk+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, sowon.na@samsung.com Subject: [PATCH v4 3/3] arm64: dts: exynosautov920: add ufs phy for ExynosAutov920 SoC Date: Thu, 26 Dec 2024 12:11:38 +0900 Message-ID: <20241226031142.1764652-4-sowon.na@samsung.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241226031142.1764652-1-sowon.na@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCJsWRmVeSWpSXmKPExsWy7bCmmW7hyZx0g6cfrS0ezNvGZrFm7zkm i/lHzrFaHG39z2zxctY9Novz5zewW1zeNYfNYsb5fUwW//fsYLf4/fMQk8XOOyeYHbg9Nq3q ZPPo27KK0ePzJrkA5qhsm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRb JRefAF23zBygg5QUyhJzSoFCAYnFxUr6djZF+aUlqQoZ+cUltkqpBSk5BeYFesWJucWleel6 eaklVoYGBkamQIUJ2Rmn1v1mKljIWbFq91K2Bsar7F2MnBwSAiYS/7s/M3YxcnEICexglHj+ fS0zhPOJUWLfyQ1scM6ezSvhWu5POAjVspNRYu35uSwQzi9Gif2n7wI5HBxsAqoS1xqqQEwR gUqJucucQUqYBXoZJfrvrGUBGSQsECFxvmUumM0CVN6/bgMriM0rYC3x+OANRohl8hIX1zxn A7E5BWwkTrTNZIaoEZQ4OfMJWC8zUE3z1tlgZ0sIfGSXuLH7JhPIYgkBF4l7naYQc4QlXh3f AvWAlMTnd3vZIOx8ifUP70LZFRJ3D/1ngbDtJRad+ckOMoZZQFNi/S59iInKEkduQW3lk+g4 /JcdIswr0dEmBNGoJNFxfg4ThC0hserFZKjhHhJfVm+Ghlo/o8SNqdcYJzAqzELyzCwkz8xC WLyAkXkVo1hqQXFuemqxUYExPH6T83M3MYKTp5b7DsYZbz/oHWJk4mA8xCjBwawkwntIKDNd iDclsbIqtSg/vqg0J7X4EKMpMKgnMkuJJucD03deSbyhiaWBiZmZobmRqYG5kjjvvda5KUIC 6YklqdmpqQWpRTB9TBycUg1MwmEzBV57CSj1SO44lv3D4I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i+6XXBe/xX6Vh3vlWlkxrwN1pdtKY3Nu /ZvQdLXi9sr5nx7KdfssPf0nQzC/+sN6zg/VkxtiGw6WFWsd6Tn4pDDwmofN6iezJk+8czvi VGTf1TpzIQ22/om8l3hqLfNUpT+zJ3/JT49YdUOVLYUpzuGsMYO5n6esqSpLh39cWlLmL977 x2/VaLEYbvhillCi8zUz9qOfxF79Pzwvme+vCTXlvlkz8XFJtXXeataDU5VYijMSDbWYi4oT ATYCXljhAgAA X-CMS-MailID: 20241226031145epcas2p25dc5ea4da8d8cd9170ed2f04c6334d1b X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241226031145epcas2p25dc5ea4da8d8cd9170ed2f04c6334d1b References: <20241226031142.1764652-1-sowon.na@samsung.com> Add UFS Phy for ExynosAutov920 Like ExynosAutov9, this also uses fixed-rate clock nodes until clock driver has been supported. The clock nodes are initialized on bootloader stage thus we don't need to control them so far. Signed-off-by: Sowon Na Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynosautov920.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi index eb446cdc4ab6..c761e0a1c2c4 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi @@ -444,6 +444,17 @@ pinctrl_aud: pinctrl@1a460000 { compatible = "samsung,exynosautov920-pinctrl"; reg = <0x1a460000 0x10000>; }; + + ufs_0_phy: phy@16e04000 { + compatible = "samsung,exynosautov920-ufs-phy"; + reg = <0x16e04000 0x4000>; + reg-names = "phy-pma"; + clocks = <&xtcxo>; + clock-names = "ref_clk"; + samsung,pmu-syscon = <&pmu_system_controller>; + #phy-cells = <0>; + status = "disabled"; + }; }; timer {