clk: gate: add explicit big endian support
authorJonas Gorski <jonas.gorski@gmail.com>
Thu, 18 Apr 2019 11:12:06 +0000 (13:12 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 23 Apr 2019 17:57:48 +0000 (10:57 -0700)
commitd1c8a501ec07290da5cc2d8dedb6692cf89078d8
treee5a3bf9dd51357e5e87a08ac1b346c6fb8b35d69
parent58a2b4c9bdf98452fec95bb1a5eeed60c01f621a
clk: gate: add explicit big endian support

Add a clock specific flag to switch register accesses to big endian, to
allow runtime configuration of big endian gated clocks.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-gate.c
include/linux/clk-provider.h