[PATCH v11 03/24] dt-bindings: ufs: mediatek,ufs: Add mt8196 variant
Louis-Alexis Eyraud
louisalexis.eyraud at collabora.com
Tue Sep 1 08:38:51 PDT 2026
From: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
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 <nicolas.frattaroli at collabora.com>
Reviewed-by: Chaotian Jing <chaotian.jing at mediatek.com>
Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud at collabora.com>
---
.../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.55.0
More information about the linux-arm-kernel
mailing list