From mboxrd@z Thu Jan 1 00:00:00 1970 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 1FD73CCF2C5 for ; Fri, 16 Oct 2026 12:33:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8aYVVq/mIcTkM47Ghv9WS7YkwHFI6T3IP2vPT0q7Bz8=; b=jYswFb/mIEHFDvKxUjlRy+GFh8 QBNVi27x2lCLnovP0tUi8Fzz9Qk/rwN9KLQGWT3hoC76RcliKEh7A6yGaxiAfW4kKI+qZUp4uP/w4 N6+AyMtFj+UjC1sfdNM8ueOPl6kmErRCGJxuGeDuGOlgN5WIxOYiKwjI5eB7jfyfD8cZuZApbm4fS ITHoT4MptcY3KVrB3y1/GnWMwuhEt8hI1C/8V60d3NCHMFFy5wjvJfdjZtyiuWhf/2sMgjNeRR81t cTIx7z1nDGEZ/bpk3AdDRL2lxrVtlc2kCSN89wTZV3SEaAnoEkfkdl8I8/2IYmpHeylNorQx0VseG t/MOxR9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHh7w-00000002t4G-2Vnp; Fri, 16 Oct 2026 12:33:36 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHh7t-00000002t2p-3zD7; Fri, 16 Oct 2026 12:33:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1792154011; bh=1lUaK5hN/IF0S3Grrs4vV6++3p9/90FoHuhs0z+reyg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=OWum3iXcC9mXrbSFmboZB4AEyZtdqHB68NSy6BUs3yw9/gHJWD2RMqYmd6wrKrKQ7 gzUYt5zaZci4fWYepObMBdwcG0OqLWQ5bX3AT1PcYbKguUoS7B1HBZvx91zIKsNiCO PzvOaqUbbTr6UmntATKaBpIS9zaczWDrMspN8K9sixfCqhue0gjdgfevPZ/6T9DLJO ulli33uGbN7Vcwg4UG4TESMyRIgKlClNN8Z0FSZ70FlGlvJGpq+gmqB6n2RZrGiRf0 iDXHD9Aa7CsL2+Wm65gwkdJvSIxv7GKsBYZpUAmfSy9S5PQR86vrlG4AKCrszYGiZN nGgmGR/gNTXyg== Received: from yukiji.home (unknown [100.64.0.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: laeyraud) by bali.collaboradmins.com (Postfix) with ESMTPSA id E53B317E05D6; Fri, 16 Oct 2026 14:33:30 +0200 (CEST) From: Louis-Alexis Eyraud Date: Fri, 16 Oct 2026 14:32:53 +0200 Subject: [PATCH v14 01/23] dt-bindings: phy: Add mediatek,mt8196-ufsphy variant MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261016-mt8196-ufs-v14-1-e8d565e0cd45@collabora.com> References: <20261016-mt8196-ufs-v14-0-e8d565e0cd45@collabora.com> In-Reply-To: <20261016-mt8196-ufs-v14-0-e8d565e0cd45@collabora.com> To: Chunfeng Yun , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Peter Wang , Chaotian Jing , Alim Akhtar , Bart Van Assche , Bean Huo , Stanley Jhu , Stanley Jhu , "James E.J. Bottomley" , "Martin K. Petersen" , Philipp Zabel , Liam Girdwood , Mark Brown Cc: kernel@collabora.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Nicolas Frattaroli , Conor Dooley , Louis-Alexis Eyraud X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1792154009; l=2063; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=4tciUbFB2HMiH9ffvziK6C0JBisBVNsNdL+4utx+2vg=; b=eyyNkQZ4YH4wShDx/ZhPkMbV5WxWOdcygzX47YN9Eqocd6JmenDkpve76rBziPxQExpr7MCJK tBeuyQBFJJjDWO4Gnz5+oThvMXV6RCtcBGTnVAwItfgaA4txieq0o2I X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261016_053334_150821_4B20BB4C X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. 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 From: Nicolas Frattaroli The MediaTek MT8196 SoC includes an M-PHY compatible with the already existing mt8183 binding. However, one omission from the original binding was that all of these variants may have an optional reset. Add the new compatible, and also the resets property, with an example. Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Peter Wang Acked-by: Conor Dooley Acked-by: Vinod Koul Signed-off-by: Nicolas Frattaroli Signed-off-by: Louis-Alexis Eyraud --- .../devicetree/bindings/phy/mediatek,ufs-phy.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml index 6e2edd43fc2a..ee71dfa4e0c0 100644 --- a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml @@ -27,6 +27,7 @@ properties: - items: - enum: - mediatek,mt8195-ufsphy + - mediatek,mt8196-ufsphy - const: mediatek,mt8183-ufsphy - const: mediatek,mt8183-ufsphy @@ -43,6 +44,10 @@ properties: - const: unipro - const: mp + resets: + items: + - description: Optional UFS M-PHY reset. + "#phy-cells": const: 0 @@ -66,5 +71,16 @@ examples: clock-names = "unipro", "mp"; #phy-cells = <0>; }; + - | + #include + ufs-phy@16800000 { + compatible = "mediatek,mt8196-ufsphy", "mediatek,mt8183-ufsphy"; + reg = <0x16800000 0x10000>; + clocks = <&ufs_ao_clk 3>, + <&ufs_ao_clk 5>; + clock-names = "unipro", "mp"; + resets = <&ufs_ao_clk MT8196_UFSAO_RST0_UFS_MPHY>; + #phy-cells = <0>; + }; ... -- 2.56.0