From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.251.105.195 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100777; b=RDU0CdfHCjXZAF5gwmgURVNRFr5FI17fqYBA9rbn/Du9zt7Xkv6m94G7FedoZXfYTDLB 08oQUcZyAQNB8KaQW6uhjEPHCf3GxO7cdX/N1TZahd9PoPgcZzHc5BmdxSOyqKzkW0KeK Uhl8RKvc3QSQUCfaUCpHKlvzfq/olkf9MqNRPuZ6aZEYfrA61/QWPu5lPmyO8pxIgN//J 8n0IILiPuZU2fuW7Im3wrwZZzV0QtpyLmfMyz9Ln0pdjbtyEiFFXEeojlx/vTDlAh5Gd3 PAbIIuY7QPlfJ3pkNTv9M1C2Wa6K9uLmosKWHLwvFiVoDbv8Ex+BPNfPRw+2f9aMRug== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100777; h=DMARC-Filter:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key; bh=My2NVXB5/ys9n2vCAPZ6zLeHZP7Wf18JOd/smnc/pmk=; b=4jXzIGU2r+E6MKxt3N1YiPzp7+hPP2td9FV8YGifzS4C0QSGfvBgDzC74cf98Jf4OM21 gxOMjNjDAoTNxpCbw1kN+0Qy5sxrDXa/ZMj+C68frLSACWphzbBVQDWOOboMBsH/nf5cn icUfzvctpQNRWMtiB3WK8Y7TfaKcnEXF4EIP8KDfiEFGox2uGD9cy+DnoPGAmAZ2zKrwz F37Kpu+izVCTjxZ4bXGB8PIJGmVcn1Pot+O+xEfFPFVkmsa67xuh2TmeusZUAs1xLSzAC qPD/67BWTme8ctIGqoURDC8ltUFGix0Oc2eSgNX70oR/8o+SkiopKv4Gw76ANG89X2A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=IHsjOYR5; arc=none smtp.remote-ip=148.251.105.195 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C303606A325; Thu, 19 Nov 2026 15:06:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0C303606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=IHsjOYR5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1795100775; bh=OkH2AAJZOThBC2r1QhPH/9jLbZ44qnEqaygGO/zO3MU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=IHsjOYR5GTi5Q4CFMHQjaVhslPoZk1X4awt+zc9JKFSjhTfkt36haoQELqWkuQLi+ CuoSSqP78JzzNZq+DnIgCVQ9U7IbG0dVIrCa9GhUvo2DAmfvH6MlrP4LHyRGOJumBU amGPAe+sPSxR+TqKHiFmIDEP5yBGBp8zbMcFzcTIhZgAWYuxdMqn1PlzaNnn/TmfzU PR5ASLH0qoPWZLFLVMGiY8ZVPvehKa5IjJxSyUcSna72GP9CNzVjR4wo4G5MCBuikl LKXhTvvii1d4XOf1wR7rPrhUta3apPSCJO/ZGvZEJpf/8BvK9sN+GWaQxk/fWVwlDW dWo9pmgJ53zQQ== 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 64A2A17E0A27; Thu, 19 Nov 2026 16:06:14 +0100 (CET) From: Louis-Alexis Eyraud Date: Thu, 19 Nov 2026 16:05:49 +0100 Subject: [PATCH v15 01/23] dt-bindings: phy: Add mediatek,mt8196-ufsphy variant X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261119-mt8196-ufs-v15-1-aae1eb0382e8@collabora.com> References: <20261119-mt8196-ufs-v15-0-aae1eb0382e8@collabora.com> In-Reply-To: <20261119-mt8196-ufs-v15-0-aae1eb0382e8@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=1795100772; l=2063; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=1dYQjIKL2vOZS2GSwWwkaJQYg1OTtXjRqHL5/V3FaAQ=; b=NP30laKI+3VgiDweB+PgcDO50LXeHQGpVvvs/urfJGWsXaHT6QQa2ynQDQJ7LOq22B/8voaEI P8S/bsfko7UBbSGYsx5z2YQoxG4gTV8HNrVq8zALo2khTJqlen+gOMa X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= 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.1