Skip to content

Commit

Permalink
scsi: ufs: dt-bindings: exynos: Add gs101 compatible
Browse files Browse the repository at this point in the history
Add dedicated google,gs101-ufs compatible for Google Tensor gs101 SoC.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240426122004.2249178-2-peter.griffin@linaro.org
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Peter Griffin authored and Martin K. Petersen committed May 7, 2024
1 parent 4cece76 commit 438e23b
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ maintainers:
description: |
Each Samsung UFS host controller instance should have its own node.
allOf:
- $ref: ufs-common.yaml

properties:
compatible:
enum:
- google,gs101-ufs
- samsung,exynos7-ufs
- samsung,exynosautov9-ufs
- samsung,exynosautov9-ufs-vh
Expand All @@ -38,14 +36,24 @@ properties:
- const: ufsp

clocks:
minItems: 2
items:
- description: ufs link core clock
- description: unipro main clock
- description: fmp clock
- description: ufs aclk clock
- description: ufs pclk clock
- description: sysreg clock

clock-names:
minItems: 2
items:
- const: core_clk
- const: sclk_unipro_main
- const: fmp
- const: aclk
- const: pclk
- const: sysreg

phys:
maxItems: 1
Expand All @@ -72,6 +80,30 @@ required:
- clocks
- clock-names

allOf:
- $ref: ufs-common.yaml
- if:
properties:
compatible:
contains:
const: google,gs101-ufs

then:
properties:
clocks:
minItems: 6

clock-names:
minItems: 6

else:
properties:
clocks:
maxItems: 2

clock-names:
maxItems: 2

unevaluatedProperties: false

examples:
Expand Down

0 comments on commit 438e23b

Please sign in to comment.