28 Aug, 2013
4 commits
-
__initconst should be placed between the variable name and equal
sign for the variable to be placed in the intended section.Signed-off-by: Sachin Kamat
Acked-by: Gregory Clement
Signed-off-by: Mike Turquette -
__initconst should be placed between the variable name and equal
sign for the variable to be placed in the intended section.Signed-off-by: Sachin Kamat
Acked-by: Gregory Clement
Signed-off-by: Mike Turquette -
__initconst should be placed between the variable name and equal
sign for the variable to be placed in the intended section.Signed-off-by: Sachin Kamat
Acked-by: Gregory Clement
Signed-off-by: Mike Turquette -
__initconst should be placed between the variable name and equal
sign for the variable to be placed in the intended section.Signed-off-by: Sachin Kamat
Acked-by: Gregory Clement
Signed-off-by: Mike Turquette
24 Aug, 2013
1 commit
-
Add missing iounmap to setup error path.
Signed-off-by: Jisheng Zhang
Signed-off-by: Mike Turquette
30 May, 2013
7 commits
-
Switch from function-centric to soc-centric clock drivers now makes
a bunch of files obsolete. This deletes all files and Kconfig options
that are not required anymore.Signed-off-by: Sebastian Hesselbarth
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper -
This is moving core clock and clock gating init for Armada XP to
its own file and adds a Kconfig option. Also init functions are added
and declared so they get called on of_clk_init.Signed-off-by: Sebastian Hesselbarth
Tested-by: Thomas Petazzoni
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper -
This is moving core clock and clock gating init for Armada 370 to
its own file and adds a Kconfig option. Also init functions are added
and declared so they get called on of_clk_init.Signed-off-by: Sebastian Hesselbarth
Tested-by: Thomas Petazzoni
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper -
This is moving core clock and clock gating init for Kirkwood to its
own file and adds a Kconfig option. Also init functions are added and
declared so they get called on of_clk_init.Signed-off-by: Sebastian Hesselbarth
Tested-by: Thomas Petazzoni
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper -
This is moving core clock and clock gating init for Dove to its own
file and adds a Kconfig option. Also init functions are added and
declared so they get called on of_clk_init.Signed-off-by: Sebastian Hesselbarth
Tested-by: Thomas Petazzoni
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper -
Based on the current common functions for core clocks and clock
gating control, new common functions are joined in a single file.
Given the opportunity, names of functions and structs are unified,
and also a Kconfig entry is added.Signed-off-by: Sebastian Hesselbarth
Tested-by: Thomas Petazzoni
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper -
Clock gates found on MVEBU SoCs get registered by a common function.
To allow specific SoCs to provide tweaks introduce flags to the clock
gate descriptor instead of filling up the common function SoC specific
tweaks.Signed-off-by: Sebastian Hesselbarth
Tested-by: Thomas Petazzoni
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper
21 May, 2013
2 commits
-
The current revision of the datasheet only mentions the gatable clocks
for the PCIe 0.0, 0.1, 0.2 and 0.3 interfaces, and forgot to mention
the ones for the PCIe 1.0, 1.1, 1.2, 1.3, 2.0 and 3.0
interfaces. After confirmation with Marvell engineers, this patch adds
the missing gatable clocks for those PCIe interfaces.It also changes the name of the previously existing PCIe gatable
clocks, in order to match the naming using the datasheets.Signed-off-by: Thomas Petazzoni
Cc: Mike Turquette
Signed-off-by: Jason Cooper -
The Armada 370 has two gatable clocks for each PCIe interface, and we
want both of them to be enabled. We therefore make one of the two
clocks a child of the other, as we did for the sataX and sataXlnk
clocks on Armada XP.Signed-off-by: Thomas Petazzoni
Cc: Mike Turquette
Signed-off-by: Jason Cooper
01 May, 2013
1 commit
-
Pull trivial tree updates from Jiri Kosina:
"Usual stuff, mostly comment fixes, typo fixes, printk fixes and small
code cleanups"* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (45 commits)
mm: Convert print_symbol to %pSR
gfs2: Convert print_symbol to %pSR
m32r: Convert print_symbol to %pSR
iostats.txt: add easy-to-find description for field 6
x86 cmpxchg.h: fix wrong comment
treewide: Fix typo in printk and comments
doc: devicetree: Fix various typos
docbook: fix 8250 naming in device-drivers
pata_pdc2027x: Fix compiler warning
treewide: Fix typo in printks
mei: Fix comments in drivers/misc/mei
treewide: Fix typos in kernel messages
pm44xx: Fix comment for "CONFIG_CPU_IDLE"
doc: Fix typo "CONFIG_CGROUP_CGROUP_MEMCG_SWAP"
mmzone: correct "pags" to "pages" in comment.
kernel-parameters: remove outdated 'noresidual' parameter
Remove spurious _H suffixes from ifdef comments
sound: Remove stray pluses from Kconfig file
radio-shark: Fix printk "CONFIG_LED_CLASS"
doc: put proper reference to CONFIG_MODULE_SIG_ENFORCE
...
09 Apr, 2013
1 commit
-
cpu_freq_select is used as array subscript, thus the valid value range
is 0 ... ARRAY_SIZE() - 1.Signed-off-by: Axel Lin
Signed-off-by: Mike Turquette
[mturquette@linaro.org: fixed up trivial merge issues]
04 Apr, 2013
1 commit
-
The use common of_clk_init() function simplifies the clock initialization
and adds handling of the DT "fixed-clock".Signed-off-by: Jean-Francois Moine
Signed-off-by: Mike Turquette
[mturquette@linaro.org: fixed $SUBJECT to reflect correct file path]
20 Mar, 2013
1 commit
-
Correct spelling typo in various drivers.
Signed-off-by: Masanari Iida
Signed-off-by: Jiri Kosina
09 Feb, 2013
1 commit
-
The Marvell Kirkwood SoCs have simple cpufreq support in hardware. The
CPU can either use the a high speed cpu clock, or the slower DDR
clock. Add a driver to swap between these two clock sources.Signed-off-by: Andrew Lunn
Acked-by: Jason Cooper
Acked-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
23 Jan, 2013
1 commit
-
the variable cpuclk and clk_name should be properly freed when error happens.
Signed-off-by: Cong Ding
Acked-by: Jason Cooper
Acked-by: Gregory CLEMENT
Acked-by: Mike Turquette
Signed-off-by: Jason Cooper
07 Jan, 2013
1 commit
-
If the Orion WDT driver is built as a module, an opps occurs during
clk lookup when calling mvebu_clk_gating_get_src(). Remove the
inappropriate __init tag so the function is available for modules
after kernel init.Signed-off-by: Joshua Coombs
Signed-off-by: Andrew Lunn
Signed-off-by: Jason Cooper
20 Nov, 2012
4 commits
-
Signed-off-by: Gregory CLEMENT
Signed-off-by: Andrew Lunn
Signed-off-by: Thomas Petazzoni -
This driver allows to provide DT clocks for clock gates found on
Marvell Dove and Kirkwood SoCs. The clock gates are referenced by
the phandle index of the corresponding bit in the clock gating control
register to ease lookup in the datasheet.Signed-off-by: Sebastian Hesselbarth
-
Add Armada 370/XP specific CPU clocks
Signed-off-by: Gregory CLEMENT
Signed-off-by: Thomas Petazzoni
Tested-by: Gregory CLEMENT -
This driver allows to provide DT clocks for core clocks found on
Marvell Kirkwood, Dove & 370/XP SoCs. The core clock frequencies and
ratios are determined by decoding the Sample-At-Reset registers.Although technically correct, using a divider of 0 will lead to
div_by_zero panic. Let's use a ratio of 0/1 instead to fail later
with a zero clock.Signed-off-by: Gregory CLEMENT
Signed-off-by: Sebastian Hesselbarth
Signed-off-by: Andrew Lunn
Tested-by Gregory CLEMENT