armada-xp.c (e120c17a70e5bad1ed601502844f708837b132a8) | armada-xp.c (33707260422475385c6f33f526c71805a3dc5dab) |
---|---|
1/* 2 * Marvell Armada XP SoC clocks 3 * 4 * Copyright (C) 2012 Marvell 5 * 6 * Gregory CLEMENT <gregory.clement@free-electrons.com> 7 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 8 * Andrew Lunn <andrew@lunn.ch> --- 218 unchanged lines hidden (view full) --- 227 of_find_compatible_node(NULL, NULL, "marvell,armada-xp-gating-clock"); 228 229 mvebu_coreclk_setup(np, &axp_coreclks); 230 231 if (cgnp) 232 mvebu_clk_gating_setup(cgnp, axp_gating_desc); 233} 234CLK_OF_DECLARE(axp_clk, "marvell,armada-xp-core-clock", axp_clk_init); | 1/* 2 * Marvell Armada XP SoC clocks 3 * 4 * Copyright (C) 2012 Marvell 5 * 6 * Gregory CLEMENT <gregory.clement@free-electrons.com> 7 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 8 * Andrew Lunn <andrew@lunn.ch> --- 218 unchanged lines hidden (view full) --- 227 of_find_compatible_node(NULL, NULL, "marvell,armada-xp-gating-clock"); 228 229 mvebu_coreclk_setup(np, &axp_coreclks); 230 231 if (cgnp) 232 mvebu_clk_gating_setup(cgnp, axp_gating_desc); 233} 234CLK_OF_DECLARE(axp_clk, "marvell,armada-xp-core-clock", axp_clk_init); |
235 236static void __init mv98dx3236_clk_init(struct device_node *np) 237{ 238 struct device_node *cgnp = 239 of_find_compatible_node(NULL, NULL, "marvell,armada-xp-gating-clock"); 240 241 mvebu_coreclk_setup(np, &mv98dx3236_coreclks); 242 243 if (cgnp) 244 mvebu_clk_gating_setup(cgnp, mv98dx3236_gating_desc); 245} 246CLK_OF_DECLARE(mv98dx3236_clk, "marvell,mv98dx3236-core-clock", 247 mv98dx3236_clk_init); | |