Lines Matching +full:osc +full:- +full:bypass
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/clk-provider.h>
6 #include <dt-bindings/clock/at91.h>
174 bool bypass; in sama5d2_pmc_setup() local
176 i = of_property_match_string(np, "clock-names", "slow_clk"); in sama5d2_pmc_setup()
182 i = of_property_match_string(np, "clock-names", "main_xtal"); in sama5d2_pmc_setup()
203 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in sama5d2_pmc_setup()
206 bypass); in sama5d2_pmc_setup()
216 sama5d2_pmc->chws[PMC_MAIN] = hw; in sama5d2_pmc_setup()
227 sama5d2_pmc->chws[PMC_PLLACK] = hw; in sama5d2_pmc_setup()
239 sama5d2_pmc->chws[PMC_AUDIOPINCK] = hw; in sama5d2_pmc_setup()
246 sama5d2_pmc->chws[PMC_AUDIOPLLCK] = hw; in sama5d2_pmc_setup()
248 regmap_sfr = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr"); in sama5d2_pmc_setup()
256 sama5d2_pmc->chws[PMC_UTMI] = hw; in sama5d2_pmc_setup()
277 sama5d2_pmc->chws[PMC_MCK] = hw; in sama5d2_pmc_setup()
283 sama5d2_pmc->chws[PMC_MCK2] = hw; in sama5d2_pmc_setup()
309 sama5d2_pmc->pchws[i] = hw; in sama5d2_pmc_setup()
320 sama5d2_pmc->shws[sama5d2_systemck[i].id] = hw; in sama5d2_pmc_setup()
334 sama5d2_pmc->phws[sama5d2_periphck[i].id] = hw; in sama5d2_pmc_setup()
348 sama5d2_pmc->phws[sama5d2_periph32ck[i].id] = hw; in sama5d2_pmc_setup()
368 sama5d2_pmc->ghws[sama5d2_gck[i].id] = hw; in sama5d2_pmc_setup()
379 sama5d2_pmc->chws[PMC_I2S0_MUX] = hw; in sama5d2_pmc_setup()
388 sama5d2_pmc->chws[PMC_I2S1_MUX] = hw; in sama5d2_pmc_setup()
399 CLK_OF_DECLARE(sama5d2_pmc, "atmel,sama5d2-pmc", sama5d2_pmc_setup);