sama5d3.c (171e502c6a1fee63ab6f3fc685d38960398ce6d5) | sama5d3.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" --- 230 unchanged lines hidden (view full) --- 239 240 sama5d3_pmc->shws[sama5d3_systemck[i].id] = hw; 241 } 242 243 for (i = 0; i < ARRAY_SIZE(sama5d3_periphck); i++) { 244 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 245 &sama5d3_pcr_layout, 246 sama5d3_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" --- 230 unchanged lines hidden (view full) --- 239 240 sama5d3_pmc->shws[sama5d3_systemck[i].id] = hw; 241 } 242 243 for (i = 0; i < ARRAY_SIZE(sama5d3_periphck); i++) { 244 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 245 &sama5d3_pcr_layout, 246 sama5d3_periphck[i].n, |
247 "masterck_div", | 247 "masterck_div", NULL, |
248 sama5d3_periphck[i].id, 249 &sama5d3_periphck[i].r, 250 INT_MIN, 251 sama5d3_periphck[i].flags); 252 if (IS_ERR(hw)) 253 goto err_free; 254 255 sama5d3_pmc->phws[sama5d3_periphck[i].id] = hw; --- 14 unchanged lines hidden --- | 248 sama5d3_periphck[i].id, 249 &sama5d3_periphck[i].r, 250 INT_MIN, 251 sama5d3_periphck[i].flags); 252 if (IS_ERR(hw)) 253 goto err_free; 254 255 sama5d3_pmc->phws[sama5d3_periphck[i].id] = hw; --- 14 unchanged lines hidden --- |