PM / AVS: rockchip-io: Add rk3328 io-domains support
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / power / rockchip-io-domain.txt
index b8627e763dba0f9db458178ebbb98e1c32cec5a7..50d92c5d5abae2fa752038c53ec1ac1891dfcdae 100644 (file)
@@ -33,10 +33,16 @@ Required properties:
 - compatible: should be one of:
   - "rockchip,rk3188-io-voltage-domain" for rk3188
   - "rockchip,rk3288-io-voltage-domain" for rk3288
+  - "rockchip,rk3328-io-voltage-domain" for rk3328
+  - "rockchip,rk3366-io-voltage-domain" for rk3366
   - "rockchip,rk3368-io-voltage-domain" for rk3368
   - "rockchip,rk3368-pmu-io-voltage-domain" for rk3368 pmu-domains
-- rockchip,grf: phandle to the syscon managing the "general register files"
+  - "rockchip,rk3399-io-voltage-domain" for rk3399
+  - "rockchip,rk3399-pmu-io-voltage-domain" for rk3399 pmu-domains
 
+Deprecated properties:
+- rockchip,grf: phandle to the syscon managing the "general register files"
+    Systems should move the io-domains to a sub-node of the grf simple-mfd.
 
 You specify supplies using the standard regulator bindings by including
 a phandle the relevant regulator.  All specified supplies must be able
@@ -66,6 +72,15 @@ Possible supplies for rk3288:
 - sdcard-supply: The supply connected to SDMMC0_VDD.
 - wifi-supply:   The supply connected to APIO3_VDD.  Also known as SDIO0.
 
+Possible supplies for rk3366:
+- lcdc-supply:   The supply connected to LCDC_IOVDD.
+- dvpts-supply:  The supply connected to DVP_IOVDD.
+- flash-supply:  The supply connected to FLASH_IOVDD.  Typically for eMMC
+- wifibt-supply: The supply connected to APIO1_VDD.  Also known as SDIO and UART0.
+- audio-supply:  The supply connected to AUDIO_IOVDD.
+- sdcard-supply: The supply connected to SDMMC0_VDD.
+- tphdsor-suply: The supply connected to APIO2_IOVDD.
+
 Possible supplies for rk3368:
 - audio-supply:  The supply connected to APIO3_VDD.
 - dvp-supply:    The supply connected to DVPIO_VDD.
@@ -79,6 +94,15 @@ Possible supplies for rk3368 pmu-domains:
 - pmu-supply:    The supply connected to PMUIO_VDD.
 - vop-supply:    The supply connected to LCDC_VDD.
 
+Possible supplies for rk3399:
+- bt656-supply:  The supply connected to APIO2_VDD.
+- audio-supply:  The supply connected to APIO5_VDD.
+- sdmmc-supply:  The supply connected to SDMMC0_VDD.
+- gpio1830       The supply connected to APIO4_VDD.
+
+Possible supplies for rk3399 pmu-domains:
+- pmu1830-supply:The supply connected to PMUIO2_VDD.
+
 Example:
 
        io-domains {