diff options
| author | Chen-Yu Tsai <[email protected]> | 2017-07-24 21:58:57 +0800 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2017-08-30 14:01:47 +0200 |
| commit | dc8797e39fca777217fd4cfc9c74a5337a3daa76 (patch) | |
| tree | 327f605a7a0187e67b30e8b59d123efafc278742 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f6f64ed868d32a121f1535da9f42791c91562e4a (diff) | |
clk: sunxi-ng: Add MP_MMC clocks that support MMC timing modes switching
All of our MMC clocks are of the MP clock type. A few MMC clocks on some
SoCs, such as MMC2 on the A83T, support new/old timing mode switching.
>From a clock rate point of view, when the new timing mode is active. the
output clock rate is halved.
This patch adds a special wrapper class of clocks, MP_MMC, around the
generic MP type clocks. The rate related callbacks in ccu_mp_mmc_ops
for this class look at the timing mode bit and apply the /2 post-divider
when needed, before passing it through to the generic class ops,
ccu_mp_ops.
Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions