at91sam9n12.c (171e502c6a1fee63ab6f3fc685d38960398ce6d5) | at91sam9n12.c (c2f2ca0be8a62ce61a6878cd3dddd8fc6d622999) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/clk-provider.h> 3#include <linux/mfd/syscon.h> 4#include <linux/slab.h> 5 6#include <dt-bindings/clock/at91.h> 7 8#include "pmc.h" --- 226 unchanged lines hidden (view full) --- 235 236 at91sam9n12_pmc->shws[at91sam9n12_systemck[i].id] = hw; 237 } 238 239 for (i = 0; i < ARRAY_SIZE(at91sam9n12_periphck); i++) { 240 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 241 &at91sam9n12_pcr_layout, 242 at91sam9n12_periphck[i].n, | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/clk-provider.h> 3#include <linux/mfd/syscon.h> 4#include <linux/slab.h> 5 6#include <dt-bindings/clock/at91.h> 7 8#include "pmc.h" --- 226 unchanged lines hidden (view full) --- 235 236 at91sam9n12_pmc->shws[at91sam9n12_systemck[i].id] = hw; 237 } 238 239 for (i = 0; i < ARRAY_SIZE(at91sam9n12_periphck); i++) { 240 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 241 &at91sam9n12_pcr_layout, 242 at91sam9n12_periphck[i].n, |
243 "masterck_div", | 243 "masterck_div", NULL, |
244 at91sam9n12_periphck[i].id, 245 &range, INT_MIN, 0); 246 if (IS_ERR(hw)) 247 goto err_free; 248 249 at91sam9n12_pmc->phws[at91sam9n12_periphck[i].id] = hw; 250 } 251 --- 12 unchanged lines hidden --- | 244 at91sam9n12_periphck[i].id, 245 &range, INT_MIN, 0); 246 if (IS_ERR(hw)) 247 goto err_free; 248 249 at91sam9n12_pmc->phws[at91sam9n12_periphck[i].id] = hw; 250 } 251 --- 12 unchanged lines hidden --- |