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=1795100780; b=JorbbTHow3mmtsadN5AFmUCJYRCyt116HnVddacPbgopU6yW0S3c65xojRvhXIKqAzUi 9b1DdrcyJmt+Fl8zTdrntGhEZWsUR7wU2elr+mG1pPk03hXNYnta+J6ihUJPu8MyWxYEg onfY91qXTzm+4YtIZFZHovCsD/dPEE/3ivKwWs7VyXm4HlcCC8/PUOMFPR5oMngwE0N6G QPily5yfnJ0Dykg3sC3SXofXKo7sSOitXhtsKur4wCaTgI33+5CtWrQp5C1lX3uKSE7EE NR/pQmasSCvfteUQ9VElLxhs8Afi5oNLZl3luo5wPPiquiEcqEkNDad4MHnKJPEXJgA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100780; 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=Ol2hlcc5598bMEDNP4uuDIZoNqc9HuHW7HpgKbCTL78=; b=JJdbVGtkp/buNCyQ5NL3Lo2Mkq/UMu2kl4vzeAGqFeAqdv+YvIgNIZKU+6IWgU9F1f3e NwfjDks2hQomz7efk11QRDINtKbMqhCyNP/gxJQNc3GKU5aV4vPdNDOOCWXROig7FkEAz RAgA1EG8/7SCZpcYrNy2jofE2xvXeOcdcUnFrDrEpv+OvmAqFd4vP9CDiJ9VhUp01jaTI uxmUDn0xModuYyonq+9SXCle7JiO6jOVR5XualQNLS0Z047Z7jDWBWbSteeWMHZ7PcLwZ T4yyFq/lDpAUNERDMZFAUDjWGhi5/CY2b1HmBEuMSWrWqimYPG+lRwfA8jArImYapsw== 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=Z10VkFK8; 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 9C6DE60A2614; Thu, 19 Nov 2026 15:06:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9C6DE60A2614 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=Z10VkFK8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1795100778; bh=U1zeAwNEL//sicJtqxondo4BHtzSFZlgKK37DWn7w88=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Z10VkFK8QTYDZMyxJHAuyVv22O7RkvPBl3tab7eDDhrblNkIeEudNeDkK0EXhUCeC 08mBvkPbTB2akTMTiUbiD+eH+MEtYI8Py2yKpSIFixWdXHadFsmQ1fcpEvDp7rV+jd SNyTfyfBpqYUQFkjvI07PZFxO7ySMPijDkbMWWkCSiGO9Uw1184mEPZQDvKBO51lkr /yUnFZTlWp6Aols62XyUR72nsjEqdvfBibQxdDaQTwEdeb97dzgovWLiCg1JJvB+Vx dQmBQc4YtgAv4SnYbjXcYzdiEc9QZbTzsKaBg2LQH3NaSlH+BZjs/xlTiME/khp0OZ c6tE54HhYwUEg== 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 1F0EB17E0DCD; Thu, 19 Nov 2026 16:06:17 +0100 (CET) From: Louis-Alexis Eyraud Date: Thu, 19 Nov 2026 16:05:51 +0100 Subject: [PATCH v15 03/23] dt-bindings: ufs: mediatek,ufs: Add mt8196 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-3-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 , Louis-Alexis Eyraud X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795100772; l=2540; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=xYetkm5ojKAz5TE+HUTwvLMXsXEaLA55tRo5clUChbc=; b=xWg+NR4T3mmdcsNvqVZAWDopvTVn32iDVHZr708OyS71qxqBOtdGXtiEbTAO+sy/KY/cOzFYP 4h1SVNEU4NoCMsm7MWyLxGNc0d92CnPUfaPGnB9Egpr+XYrkSEK0Mla X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= From: Nicolas Frattaroli The MediaTek MT8196 SoC's UFS controller uses a different set of supplies. It is therefore not compatible with the MT8195. It also have an additional 0.9V supply pin (AVDD09_UFS_1), that is specific to this SoC, thus not currently described in the binding. Add a compatible for this SoC and new property for the additional supply, and modify the binding correspondingly. Signed-off-by: Nicolas Frattaroli Reviewed-by: Chaotian Jing Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Rob Herring (Arm) Signed-off-by: Louis-Alexis Eyraud --- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 945cb986b06b..99181ec9dda0 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -16,6 +16,7 @@ properties: - mediatek,mt8183-ufshci - mediatek,mt8192-ufshci - mediatek,mt8195-ufshci + - mediatek,mt8196-ufshci clocks: minItems: 1 @@ -60,6 +61,9 @@ properties: avdd09-supply: description: Phandle to the 0.9V supply powering the AVDD09_UFS pin + avdd09-1-supply: + description: Phandle to the 0.9V supply powering the AVDD09_UFS_1 pin + avdd12-supply: description: Phandle to the 1.2V supply powering the AVDD12_UFS pin @@ -104,6 +108,7 @@ allOf: clock-names: items: - const: main + avdd09-1-supply: false avdd12-ckbuf-supply: false - if: properties: @@ -119,6 +124,7 @@ allOf: minItems: 3 maxItems: 3 avdd09-supply: false + avdd09-1-supply: false - if: properties: compatible: @@ -131,6 +137,21 @@ allOf: clock-names: minItems: 10 avdd09-supply: false + avdd09-1-supply: false + - if: + properties: + compatible: + contains: + const: mediatek,mt8196-ufshci + then: + properties: + clocks: + minItems: 10 + clock-names: + minItems: 10 + avdd18-supply: false + required: + - operating-points-v2 examples: - | -- 2.56.1