sama7g5.c (171e502c6a1fee63ab6f3fc685d38960398ce6d5) sama7g5.c (c2f2ca0be8a62ce61a6878cd3dddd8fc6d622999)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * SAMA7G5 PMC code.
4 *
5 * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries
6 *
7 * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
8 *

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

1074
1075 sama7g5_pmc->shws[sama7g5_systemck[i].id] = hw;
1076 }
1077
1078 for (i = 0; i < ARRAY_SIZE(sama7g5_periphck); i++) {
1079 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock,
1080 &sama7g5_pcr_layout,
1081 sama7g5_periphck[i].n,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * SAMA7G5 PMC code.
4 *
5 * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries
6 *
7 * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
8 *

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

1074
1075 sama7g5_pmc->shws[sama7g5_systemck[i].id] = hw;
1076 }
1077
1078 for (i = 0; i < ARRAY_SIZE(sama7g5_periphck); i++) {
1079 hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock,
1080 &sama7g5_pcr_layout,
1081 sama7g5_periphck[i].n,
1082 sama7g5_periphck[i].p,
1082 sama7g5_periphck[i].p, NULL,
1083 sama7g5_periphck[i].id,
1084 &sama7g5_periphck[i].r,
1085 sama7g5_periphck[i].chgp ? 0 :
1086 INT_MIN, 0);
1087 if (IS_ERR(hw))
1088 goto err_free;
1089
1090 sama7g5_pmc->phws[sama7g5_periphck[i].id] = hw;

--- 51 unchanged lines hidden ---
1083 sama7g5_periphck[i].id,
1084 &sama7g5_periphck[i].r,
1085 sama7g5_periphck[i].chgp ? 0 :
1086 INT_MIN, 0);
1087 if (IS_ERR(hw))
1088 goto err_free;
1089
1090 sama7g5_pmc->phws[sama7g5_periphck[i].id] = hw;

--- 51 unchanged lines hidden ---