Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reset: hisilicon: Add media reset controller binding

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>

authored by

Xinliang Liu and committed by
Philipp Zabel
50f44e89 79795e20

+3 -1
+3 -1
Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
··· 8 8 hi6220 SoC. 9 9 10 10 Required properties: 11 - - compatible: may be "hisilicon,hi6220-sysctrl" 11 + - compatible: should be one of the following: 12 + - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller. 13 + - "hisilicon,hi6220-mediactrl", "syscon" : For media reset controller. 12 14 - reg: should be register base and length as documented in the 13 15 datasheet 14 16 - #reset-cells: 1, see below