Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: at91: sckc: sama5d4 has no bypass support

The slow clock of SAMA5D4 has no bypass support thus remove it.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Claudiu Beznea and committed by
Stephen Boyd
5cf6d876 a188339c

-6
-6
drivers/clk/at91/sckc.c
··· 429 429 struct clk_init_data init; 430 430 const char *xtal_name; 431 431 const char *parent_names[2] = { "slow_rc_osc", "slow_osc" }; 432 - bool bypass; 433 432 int ret; 434 433 435 434 if (!regbase) ··· 441 442 return; 442 443 443 444 xtal_name = of_clk_get_parent_name(np, 0); 444 - 445 - bypass = of_property_read_bool(np, "atmel,osc-bypass"); 446 445 447 446 osc = kzalloc(sizeof(*osc), GFP_KERNEL); 448 447 if (!osc) ··· 455 458 osc->hw.init = &init; 456 459 osc->sckcr = regbase; 457 460 osc->startup_usec = 1200000; 458 - 459 - if (bypass) 460 - writel((readl(regbase) | AT91_SCKC_OSC32BYP), regbase); 461 461 462 462 hw = &osc->hw; 463 463 ret = clk_hw_register(NULL, &osc->hw);