clk: wrap I/O access for improved portability
authorGerhard Sittig <gsi@denx.de>
Mon, 22 Jul 2013 12:14:40 +0000 (14:14 +0200)
committerMike Turquette <mturquette@linaro.org>
Wed, 28 Aug 2013 00:50:38 +0000 (17:50 -0700)
commitaa514ce34b65e3dc01f95a0b470b39bbb7e09998
tree6d83d3f8e7560e5cd46fafe39960cd78cdfdc815
parent29f79cb713c5173457b80602adab357403f22c48
clk: wrap I/O access for improved portability

the common clock drivers were motivated/initiated by ARM development
and apparently assume little endian peripherals

wrap register/peripherals access in the common code (div, gate, mux)
in preparation of adding COMMON_CLK support for other platforms

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-divider.c
drivers/clk/clk-gate.c
drivers/clk/clk-mux.c
include/linux/clk-provider.h