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>
94 bool bypass; in at91sam9g45_pmc_setup() local
96 i = of_property_match_string(np, "clock-names", "slow_clk"); in at91sam9g45_pmc_setup()
102 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91sam9g45_pmc_setup()
117 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91sam9g45_pmc_setup()
120 bypass); in at91sam9g45_pmc_setup()
128 at91sam9g45_pmc->chws[PMC_MAIN] = hw; in at91sam9g45_pmc_setup()
139 at91sam9g45_pmc->chws[PMC_PLLACK] = hw; in at91sam9g45_pmc_setup()
145 at91sam9g45_pmc->chws[PMC_UTMI] = hw; in at91sam9g45_pmc_setup()
157 at91sam9g45_pmc->chws[PMC_MCK] = hw; in at91sam9g45_pmc_setup()
182 at91sam9g45_pmc->pchws[i] = hw; in at91sam9g45_pmc_setup()
192 at91sam9g45_pmc->shws[at91sam9g45_systemck[i].id] = hw; in at91sam9g45_pmc_setup()
203 at91sam9g45_pmc->phws[at91sam9g45_periphck[i].id] = hw; in at91sam9g45_pmc_setup()
217 CLK_OF_DECLARE_DRIVER(at91sam9g45_pmc, "atmel,at91sam9g45-pmc",