reset: hisilicon: Add media reset controller binding
authorXinliang Liu <xinliang.liu@linaro.org>
Mon, 20 Jun 2016 03:50:04 +0000 (11:50 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2016 21:39:08 +0000 (23:39 +0200)
Add compatible for media reset controller.

Actually, there are two reset controllers in hi6220 SoC:
The peripheral reset controller bits are part of sysctrl registers.
The media reset controller bits are part of mediactrl registers.
So for the compatible part, it should contain "syscon" for both peripheral
and media reset controller.

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt

index e0b185a..c25da39 100644 (file)
@@ -8,7 +8,9 @@ The reset controller registers are part of the system-ctl block on
 hi6220 SoC.
 
 Required properties:
-- compatible: may be "hisilicon,hi6220-sysctrl"
+- compatible: should be one of the following:
+  - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller.
+  - "hisilicon,hi6220-mediactrl", "syscon" : For media reset controller.
 - reg: should be register base and length as documented in the
   datasheet
 - #reset-cells: 1, see below