aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml')
-rw-r--r--Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml46
1 files changed, 23 insertions, 23 deletions
diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
index 89c3edd6a728..211cd0b0bc5f 100644
--- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
+++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/mmc/rockchip-dw-mshc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Rockchip designware mobile storage host controller device tree bindings
+title: Rockchip designware mobile storage host controller
description:
Rockchip uses the Synopsys designware mobile storage host controller
@@ -14,7 +14,7 @@ description:
file and the Rockchip specific extensions.
allOf:
- - $ref: "synopsys-dw-mshc-common.yaml#"
+ - $ref: synopsys-dw-mshc-common.yaml#
maintainers:
- Heiko Stuebner <heiko@sntech.de>
@@ -29,22 +29,19 @@ properties:
- const: rockchip,rk3288-dw-mshc
- items:
- enum:
- # for Rockchip PX30
- - rockchip,px30-dw-mshc
- # for Rockchip RK3036
- - rockchip,rk3036-dw-mshc
- # for Rockchip RK322x
- - rockchip,rk3228-dw-mshc
- # for Rockchip RK3308
- - rockchip,rk3308-dw-mshc
- # for Rockchip RK3328
- - rockchip,rk3328-dw-mshc
- # for Rockchip RK3368
- - rockchip,rk3368-dw-mshc
- # for Rockchip RK3399
- - rockchip,rk3399-dw-mshc
- # for Rockchip RV1108
- - rockchip,rv1108-dw-mshc
+ - rockchip,px30-dw-mshc
+ - rockchip,rk1808-dw-mshc
+ - rockchip,rk3036-dw-mshc
+ - rockchip,rk3128-dw-mshc
+ - rockchip,rk3228-dw-mshc
+ - rockchip,rk3308-dw-mshc
+ - rockchip,rk3328-dw-mshc
+ - rockchip,rk3368-dw-mshc
+ - rockchip,rk3399-dw-mshc
+ - rockchip,rk3568-dw-mshc
+ - rockchip,rk3588-dw-mshc
+ - rockchip,rv1108-dw-mshc
+ - rockchip,rv1126-dw-mshc
- const: rockchip,rk3288-dw-mshc
reg:
@@ -75,9 +72,11 @@ properties:
to control the clock phases, "ciu-sample" is required for tuning
high speed modes.
+ power-domains:
+ maxItems: 1
+
rockchip,default-sample-phase:
- allOf:
- - $ref: /schemas/types.yaml#/definitions/uint32
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 360
default: 0
@@ -87,8 +86,7 @@ properties:
If not specified 0 deg will be used.
rockchip,desired-num-phases:
- allOf:
- - $ref: /schemas/types.yaml#/definitions/uint32
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 360
default: 360
@@ -104,6 +102,8 @@ required:
- clocks
- clock-names
+unevaluatedProperties: false
+
examples:
- |
#include <dt-bindings/clock/rk3288-cru.h>
@@ -111,7 +111,7 @@ examples:
#include <dt-bindings/interrupt-controller/irq.h>
sdmmc: mmc@ff0c0000 {
compatible = "rockchip,rk3288-dw-mshc";
- reg = <0x0 0xff0c0000 0x0 0x4000>;
+ reg = <0xff0c0000 0x4000>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;