at91sam9260.c (171e502c6a1fee63ab6f3fc685d38960398ce6d5) at91sam9260.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"

--- 456 unchanged lines hidden (view full) ---

465 goto err_free;
466
467 at91sam9260_pmc->shws[data->sck[i].id] = hw;
468 }
469
470 for (i = 0; i < data->num_pck; i++) {
471 hw = at91_clk_register_peripheral(regmap,
472 data->pck[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"

--- 456 unchanged lines hidden (view full) ---

465 goto err_free;
466
467 at91sam9260_pmc->shws[data->sck[i].id] = hw;
468 }
469
470 for (i = 0; i < data->num_pck; i++) {
471 hw = at91_clk_register_peripheral(regmap,
472 data->pck[i].n,
473 "masterck_div",
473 "masterck_div", NULL,
474 data->pck[i].id);
475 if (IS_ERR(hw))
476 goto err_free;
477
478 at91sam9260_pmc->phws[data->pck[i].id] = hw;
479 }
480
481 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, at91sam9260_pmc);

--- 34 unchanged lines hidden ---
474 data->pck[i].id);
475 if (IS_ERR(hw))
476 goto err_free;
477
478 at91sam9260_pmc->phws[data->pck[i].id] = hw;
479 }
480
481 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, at91sam9260_pmc);

--- 34 unchanged lines hidden ---