]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/sh_clk.h
sh: clkfwk: Support variable size accesses for MSTP clocks.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 11 Apr 2012 03:05:50 +0000 (12:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 11 Apr 2012 03:05:50 +0000 (12:05 +0900)
commit4d6ddb08acc48368c5b7ac431f9d00db7227d2ed
tree5030162ef3c2f9954e43baf02cff7f8794a8ba74
parenta9e1e53bcfb29b3b503a5e75ce498d9a64f32c1e
sh: clkfwk: Support variable size accesses for MSTP clocks.

The bulk of the MSTP users require 32-bit access, but this isn't the case
for some of the SH-2A parts, so add in some basic infrastructure to let
the CPU define its required access size in preparation.

Requested-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk/cpg.c
include/linux/sh_clk.h