Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a38c9410 authored by Purna Chandra Mandal's avatar Purna Chandra Mandal Committed by Stephen Boyd
Browse files

clk: microchip: Initialize SOSC clock rate for PIC32MZDA.



Optional SOSC is an external fixed clock running at 32768HZ.
So Initialize SOSC rate as per PIC32MZDA datasheet.

Signed-off-by: default avatarPurna Chandra Mandal <purna.mandal@microchip.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 12f53b24
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -118,6 +118,7 @@ static const struct pic32_sec_osc_data sosc_clk = {
	.status_reg = 0x1d0,
	.status_reg = 0x1d0,
	.enable_mask = BIT(1),
	.enable_mask = BIT(1),
	.status_mask = BIT(4),
	.status_mask = BIT(4),
	.fixed_rate = 32768,
	.init_data = {
	.init_data = {
		.name = "sosc_clk",
		.name = "sosc_clk",
		.parent_names = NULL,
		.parent_names = NULL,