summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-01-13 09:37:23 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-14 17:26:03 +0100
commiteb378df79e80772c1cbed32882b7378eb6f6c52c (patch)
tree4fcf9a13bbb3855d56c9fc45e1b1de1f47d20bae /Documentation
parenta7d19057e7160a566bad9b2ba070a391fb78df96 (diff)
downloadlinux-eb378df79e80772c1cbed32882b7378eb6f6c52c.tar.gz
linux-eb378df79e80772c1cbed32882b7378eb6f6c52c.tar.bz2
linux-eb378df79e80772c1cbed32882b7378eb6f6c52c.zip
clk: sunxi: Add a common setup function for mmc module clocks
The only difference between module clocks on different platforms is the width of the mux register bits and the valid values, which are passed in through struct factors_data. The phase clocks parts are identical. This patch generalizes the setup function, so most of the code can be reused when adding sun9i support, which has a wider mux register. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions