UPSTREAM: arm64: dts: rockchip: make rk3368 grf syscons simple-mfds
authorHeiko Stuebner <heiko@sntech.de>
Mon, 1 Feb 2016 21:09:03 +0000 (22:09 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 28 Feb 2017 10:52:06 +0000 (18:52 +0800)
The general register files do contain a lot of separate functions and
while some really are only registers with a lot of different 1-bit
settings, there are also a lot of them containing some bigger function
blocks. To be able to define these as sub-devices, make them simple-mfds.

Change-Id: I666e4fe9e6239a91ccaa70154883128be34f17c6
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 4cca3d9448bcc18b607dce2f962a614a415ddaae)

arch/arm64/boot/dts/rockchip/rk3368.dtsi

index 04cdeaaedb6bef0acb79b134893b8e169fdd23d5..0ce910c190b75700b295ecb620640b7fedf54ed5 100644 (file)
        };
 
        grf: syscon@ff770000 {
-               compatible = "rockchip,rk3368-grf", "syscon";
+               compatible = "rockchip,rk3368-grf", "syscon", "simple-mfd";
                reg = <0x0 0xff770000 0x0 0x1000>;
        };