sama5d2.c (22a1dfe93bf496d03cb1d76b1fbd23a7ff4a062c) | sama5d2.c (b4c115c76184f2c56a295579161652fd5eb2dcc1) |
---|---|
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" --- 277 unchanged lines hidden (view full) --- 286 } 287 288 for (i = 0; i < ARRAY_SIZE(sama5d2_periphck); i++) { 289 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 290 &sama5d2_pcr_layout, 291 sama5d2_periphck[i].n, 292 "masterck", 293 sama5d2_periphck[i].id, | 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" --- 277 unchanged lines hidden (view full) --- 286 } 287 288 for (i = 0; i < ARRAY_SIZE(sama5d2_periphck); i++) { 289 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 290 &sama5d2_pcr_layout, 291 sama5d2_periphck[i].n, 292 "masterck", 293 sama5d2_periphck[i].id, |
294 &range); | 294 &range, INT_MIN); |
295 if (IS_ERR(hw)) 296 goto err_free; 297 298 sama5d2_pmc->phws[sama5d2_periphck[i].id] = hw; 299 } 300 301 for (i = 0; i < ARRAY_SIZE(sama5d2_periph32ck); i++) { 302 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 303 &sama5d2_pcr_layout, 304 sama5d2_periph32ck[i].n, 305 "h32mxck", 306 sama5d2_periph32ck[i].id, | 295 if (IS_ERR(hw)) 296 goto err_free; 297 298 sama5d2_pmc->phws[sama5d2_periphck[i].id] = hw; 299 } 300 301 for (i = 0; i < ARRAY_SIZE(sama5d2_periph32ck); i++) { 302 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, 303 &sama5d2_pcr_layout, 304 sama5d2_periph32ck[i].n, 305 "h32mxck", 306 sama5d2_periph32ck[i].id, |
307 &sama5d2_periph32ck[i].r); | 307 &sama5d2_periph32ck[i].r, 308 INT_MIN); |
308 if (IS_ERR(hw)) 309 goto err_free; 310 311 sama5d2_pmc->phws[sama5d2_periph32ck[i].id] = hw; 312 } 313 314 parent_names[0] = slck_name; 315 parent_names[1] = "mainck"; --- 46 unchanged lines hidden --- | 309 if (IS_ERR(hw)) 310 goto err_free; 311 312 sama5d2_pmc->phws[sama5d2_periph32ck[i].id] = hw; 313 } 314 315 parent_names[0] = slck_name; 316 parent_names[1] = "mainck"; --- 46 unchanged lines hidden --- |