From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 93ECE361DDC; Mon, 14 Sep 2026 11:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789385951; cv=none; b=cudOXmptxjeHNAQmW1I7zgKp7+ZUOpf2H5QjA30ilLzTuydppWeRHt7l/nv/eo8aZdEHaRwhqHMVlNWMKO9mO0OsVDYjWFTcpJdeD/pwKdMgOHE+Qluq1QolV9thIHM7vAqnSpGq5lfVehjXJpTf6Fe4JSi+UX4T+NwjF82xecU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789385951; c=relaxed/simple; bh=ZEqXV20UfJpPysNADYTF43diSa/57Iv3c2M4KOvi/ko=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LTr26FtXyDz8Cw7OamltyaTxUI0LIJzka2J6msy9i+0RAAKqo3+pkue2vfHRFwkS493sIxjzIX414+H77nZDMgQ1x8F1HB9f/rxy+4t4Ld7gTuCJ0XYpCKCsAxA1jR+GfsW1lbxlP9plX5Lp+2lYSWyYSoDEkTuJOdMEygFv7UU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=nTFIZwLA; arc=none smtp.client-ip=148.251.105.195 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.b="nTFIZwLA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1789385947; bh=ZEqXV20UfJpPysNADYTF43diSa/57Iv3c2M4KOvi/ko=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=nTFIZwLAvoYEUQhGLNQPtycCmX6f14do4EyIYyevvzEQuhLOmNTk8mIMTB7cxHk2+ UV7Z9kO21pvXScf18km+mhF6+JnHUeaOmo8tHsW3sXCRigzL3XovwXV+LzFfsARg68 oemZyBf+yd0c7CprFRGM4xcnYULp7eZfls80hq7da3Np1V0W9YJoEfPHotFlz82tZq +DzpvJXxDJop/710rVCo1YU4ztpcmhxMyrrGVJ1+WAxzC8VpxT+stNqR/nzxWEgLI3 v8/tWFD7q2H1N65j/3QpXgBac5HmRSrYj52RLCAeqdm0Co48e3YuP6PwUlDRBc8d2n 4zTNvqBwCuXpg== 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 C940E17E093B; Mon, 14 Sep 2026 13:39:05 +0200 (CEST) From: Louis-Alexis Eyraud Date: Mon, 14 Sep 2026 13:38:47 +0200 Subject: [PATCH v12 01/24] dt-bindings: phy: Add mediatek,mt8196-ufsphy variant Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260914-mt8196-ufs-v12-1-9279d7ef814d@collabora.com> References: <20260914-mt8196-ufs-v12-0-9279d7ef814d@collabora.com> In-Reply-To: <20260914-mt8196-ufs-v12-0-9279d7ef814d@collabora.com> To: Chunfeng Yun , Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Peter Wang , Chaotian Jing , Alim Akhtar , Avri Altman , Bart Van Assche , Stanley Jhu , "James E.J. Bottomley" , Philipp Zabel , Liam Girdwood , Mark Brown , Manivannan Sadhasivam , "Martin K. Petersen" 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=1789385943; l=2063; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=bk5EtgAp8+Q6dY7h9oTa6fh/C3fcFtiFpYBT06lrORk=; b=MyHdxbhEWSidqYqe5QwS65OA93k85iycaWolhOsDT7NKNWZKdmlrlOUN2PFGiyEFh1uynD+pa vPu6n9mSJJ5AX2FdPoZm3Bqp93Y+WKm7oWhPOdfkKMqUQyZ+q7xZ8vP 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.55.0