clk: berlin: prepare simple-mfd conversion
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Fri, 15 May 2015 23:40:15 +0000 (01:40 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 18 May 2015 16:10:09 +0000 (18:10 +0200)
commit26b3b6b959b25603944cb3bb70a72484e8ef775f
treededace21a5c0491a8d2757031e7c1c02dcfee1f5
parentf90bec209ca54d799e69fc30c1b04c14baab980a
clk: berlin: prepare simple-mfd conversion

Prepare conversion of berlin clk drivers to a simple-mfd sub-node by
checking for parent node compatible. If parent node is "syscon" compatible
use it for of_iomap instead of the own node.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
drivers/clk/berlin/bg2.c
drivers/clk/berlin/bg2q.c