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

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

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