Skip to content

Commit cddacdc

Browse files
185264646storulf
authored andcommitted
dt-bindings: mmc: hisilicon,hi3798cv200-dw-mshc: add Hi3798MV200 binding
Add binding and an extra property for Hi3798MV200 DWMMC specific extension. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Yang Xiwen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 832ff31 commit cddacdc

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Documentation/devicetree/bindings/mmc/hisilicon,hi3798cv200-dw-mshc.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id: http://devicetree.org/schemas/mmc/hisilicon,hi3798cv200-dw-mshc.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Hisilicon Hi3798CV200 SoC specific extensions to the Synopsys DWMMC controller
7+
title: Hisilicon HiSTB SoCs specific extensions to the Synopsys DWMMC controller
88

99
maintainers:
1010
- Yang Xiwen <[email protected]>
@@ -13,6 +13,7 @@ properties:
1313
compatible:
1414
enum:
1515
- hisilicon,hi3798cv200-dw-mshc
16+
- hisilicon,hi3798mv200-dw-mshc
1617

1718
reg:
1819
maxItems: 1
@@ -34,6 +35,15 @@ properties:
3435
- const: ciu-sample
3536
- const: ciu-drive
3637

38+
hisilicon,sap-dll-reg:
39+
$ref: /schemas/types.yaml#/definitions/phandle-array
40+
description: |
41+
DWMMC core on Hi3798MV2x SoCs has a delay-locked-loop(DLL) attached to card data input path.
42+
It is integrated into CRG core on the SoC and has to be controlled during tuning.
43+
items:
44+
- description: A phandle pointed to the CRG syscon node
45+
- description: Sample DLL register offset in CRG address space
46+
3747
required:
3848
- compatible
3949
- reg
@@ -44,6 +54,18 @@ required:
4454
allOf:
4555
- $ref: synopsys-dw-mshc-common.yaml#
4656

57+
- if:
58+
properties:
59+
compatible:
60+
contains:
61+
const: hisilicon,hi3798mv200-dw-mshc
62+
then:
63+
required:
64+
- hisilicon,sap-dll-reg
65+
else:
66+
properties:
67+
hisilicon,sap-dll-reg: false
68+
4769
unevaluatedProperties: false
4870

4971
examples:

0 commit comments

Comments
 (0)