Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: dt-bindings: mediatek,ufs: add MT8195 compatible and update clock nodes

Add MT8195 UFSHCI compatible string. Relax the schema to allow between
one to eight clocks/clock-names entries for all MediaTek UFS
nodes. Legacy platforms may only need a few clocks, whereas newer devices
such as the MT8195 require additional clock-gating domains. For MT8195
specifically, enforce exactly eight clocks and clock-names entries to
satisfy its hardware requirements.

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://lore.kernel.org/r/20250722085721.2062657-3-macpaul.lin@mediatek.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Macpaul Lin and committed by
Martin K. Petersen
d01cfeac 794ff7a0

+36 -6
+36 -6
Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml
··· 9 9 maintainers: 10 10 - Stanley Chu <stanley.chu@mediatek.com> 11 11 12 - allOf: 13 - - $ref: ufs-common.yaml 14 - 15 12 properties: 16 13 compatible: 17 14 enum: 18 15 - mediatek,mt8183-ufshci 19 16 - mediatek,mt8192-ufshci 17 + - mediatek,mt8195-ufshci 20 18 21 19 clocks: 22 - maxItems: 1 20 + minItems: 1 21 + maxItems: 8 23 22 24 23 clock-names: 25 - items: 26 - - const: ufs 24 + minItems: 1 25 + maxItems: 8 27 26 28 27 phys: 29 28 maxItems: 1 ··· 45 46 - vcc-supply 46 47 47 48 unevaluatedProperties: false 49 + 50 + allOf: 51 + - $ref: ufs-common.yaml 52 + 53 + - if: 54 + properties: 55 + compatible: 56 + contains: 57 + enum: 58 + - mediatek,mt8195-ufshci 59 + then: 60 + properties: 61 + clocks: 62 + minItems: 8 63 + clock-names: 64 + items: 65 + - const: ufs 66 + - const: ufs_aes 67 + - const: ufs_tick 68 + - const: unipro_sysclk 69 + - const: unipro_tick 70 + - const: unipro_mp_bclk 71 + - const: ufs_tx_symbol 72 + - const: ufs_mem_sub 73 + else: 74 + properties: 75 + clocks: 76 + maxItems: 1 77 + clock-names: 78 + items: 79 + - const: ufs 48 80 49 81 examples: 50 82 - |