Skip to content

Commit 88a7f52

Browse files
masahir0ypH5
authored andcommitted
reset: uniphier: add compatible string for LD11 SD-reset block
The LD11 SoC is equipped with not only MIO-reset but also SD-reset for controlling RST_n pin of the eMMC device. Update the binding document and remove unneeded "." from each line in itemization. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent b38386f commit 88a7f52

File tree

2 files changed

+28
-23
lines changed

2 files changed

+28
-23
lines changed

Documentation/devicetree/bindings/reset/uniphier-reset.txt

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ System reset
66

77
Required properties:
88
- compatible: should be one of the following:
9-
"socionext,uniphier-sld3-reset" - for sLD3 SoC.
10-
"socionext,uniphier-ld4-reset" - for LD4 SoC.
11-
"socionext,uniphier-pro4-reset" - for Pro4 SoC.
12-
"socionext,uniphier-sld8-reset" - for sLD8 SoC.
13-
"socionext,uniphier-pro5-reset" - for Pro5 SoC.
14-
"socionext,uniphier-pxs2-reset" - for PXs2/LD6b SoC.
15-
"socionext,uniphier-ld11-reset" - for LD11 SoC.
16-
"socionext,uniphier-ld20-reset" - for LD20 SoC.
9+
"socionext,uniphier-sld3-reset" - for sLD3 SoC
10+
"socionext,uniphier-ld4-reset" - for LD4 SoC
11+
"socionext,uniphier-pro4-reset" - for Pro4 SoC
12+
"socionext,uniphier-sld8-reset" - for sLD8 SoC
13+
"socionext,uniphier-pro5-reset" - for Pro5 SoC
14+
"socionext,uniphier-pxs2-reset" - for PXs2/LD6b SoC
15+
"socionext,uniphier-ld11-reset" - for LD11 SoC
16+
"socionext,uniphier-ld20-reset" - for LD20 SoC
1717
- #reset-cells: should be 1.
1818

1919
Example:
@@ -37,14 +37,15 @@ Media I/O (MIO) reset, SD reset
3737

3838
Required properties:
3939
- compatible: should be one of the following:
40-
"socionext,uniphier-sld3-mio-reset" - for sLD3 SoC.
41-
"socionext,uniphier-ld4-mio-reset" - for LD4 SoC.
42-
"socionext,uniphier-pro4-mio-reset" - for Pro4 SoC.
43-
"socionext,uniphier-sld8-mio-reset" - for sLD8 SoC.
44-
"socionext,uniphier-pro5-sd-reset" - for Pro5 SoC.
45-
"socionext,uniphier-pxs2-sd-reset" - for PXs2/LD6b SoC.
46-
"socionext,uniphier-ld11-mio-reset" - for LD11 SoC.
47-
"socionext,uniphier-ld20-sd-reset" - for LD20 SoC.
40+
"socionext,uniphier-sld3-mio-reset" - for sLD3 SoC
41+
"socionext,uniphier-ld4-mio-reset" - for LD4 SoC
42+
"socionext,uniphier-pro4-mio-reset" - for Pro4 SoC
43+
"socionext,uniphier-sld8-mio-reset" - for sLD8 SoC
44+
"socionext,uniphier-pro5-sd-reset" - for Pro5 SoC
45+
"socionext,uniphier-pxs2-sd-reset" - for PXs2/LD6b SoC
46+
"socionext,uniphier-ld11-mio-reset" - for LD11 SoC (MIO)
47+
"socionext,uniphier-ld11-sd-reset" - for LD11 SoC (SD)
48+
"socionext,uniphier-ld20-sd-reset" - for LD20 SoC
4849
- #reset-cells: should be 1.
4950

5051
Example:
@@ -68,13 +69,13 @@ Peripheral reset
6869

6970
Required properties:
7071
- compatible: should be one of the following:
71-
"socionext,uniphier-ld4-peri-reset" - for LD4 SoC.
72-
"socionext,uniphier-pro4-peri-reset" - for Pro4 SoC.
73-
"socionext,uniphier-sld8-peri-reset" - for sLD8 SoC.
74-
"socionext,uniphier-pro5-peri-reset" - for Pro5 SoC.
75-
"socionext,uniphier-pxs2-peri-reset" - for PXs2/LD6b SoC.
76-
"socionext,uniphier-ld11-peri-reset" - for LD11 SoC.
77-
"socionext,uniphier-ld20-peri-reset" - for LD20 SoC.
72+
"socionext,uniphier-ld4-peri-reset" - for LD4 SoC
73+
"socionext,uniphier-pro4-peri-reset" - for Pro4 SoC
74+
"socionext,uniphier-sld8-peri-reset" - for sLD8 SoC
75+
"socionext,uniphier-pro5-peri-reset" - for Pro5 SoC
76+
"socionext,uniphier-pxs2-peri-reset" - for PXs2/LD6b SoC
77+
"socionext,uniphier-ld11-peri-reset" - for LD11 SoC
78+
"socionext,uniphier-ld20-peri-reset" - for LD20 SoC
7879
- #reset-cells: should be 1.
7980

8081
Example:

drivers/reset/reset-uniphier.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ static const struct of_device_id uniphier_reset_match[] = {
389389
.compatible = "socionext,uniphier-ld11-mio-reset",
390390
.data = uniphier_sld3_mio_reset_data,
391391
},
392+
{
393+
.compatible = "socionext,uniphier-ld11-sd-reset",
394+
.data = uniphier_pro5_sd_reset_data,
395+
},
392396
{
393397
.compatible = "socionext,uniphier-ld20-sd-reset",
394398
.data = uniphier_pro5_sd_reset_data,

0 commit comments

Comments
 (0)