Skip to content

Commit

Permalink
clk: microchip: Initialize SOSC clock rate for PIC32MZDA.
Browse files Browse the repository at this point in the history
Optional SOSC is an external fixed clock running at 32768HZ.
So Initialize SOSC rate as per PIC32MZDA datasheet.

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  • Loading branch information
Purna Chandra Mandal authored and Stephen Boyd committed Aug 24, 2016
1 parent 12f53b2 commit a38c941
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/microchip/clk-pic32mzda.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ static const struct pic32_sec_osc_data sosc_clk = {
.status_reg = 0x1d0,
.enable_mask = BIT(1),
.status_mask = BIT(4),
.fixed_rate = 32768,
.init_data = {
.name = "sosc_clk",
.parent_names = NULL,
Expand Down

0 comments on commit a38c941

Please sign in to comment.