mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 05:28:19 +00:00
SAMA5 PCK: Add support for the slow clock as the PCK clock source
This commit is contained in:
parent
f240f7e513
commit
54986c41d8
2 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ static inline int ov2640_camera_initialize(void)
|
|||
|
||||
/* Configure and enable the PCK1 output */
|
||||
|
||||
actual = sam_pck_configure(PCK1, OV2640_FREQUENCY);
|
||||
actual = sam_pck_configure(PCK1, PCKSRC_MCK, OV2640_FREQUENCY);
|
||||
gvdbg("Desired PCK1 frequency: %ld Actual: %ld\n",
|
||||
(long)OV2640_FREQUENCY, (long)actual);
|
||||
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ int sam_wm8904_initialize(int minor)
|
|||
*/
|
||||
|
||||
sam_sckc_enable(true);
|
||||
(void)sam_pck_configure(PCK0, BOARD_SLOWCLK_FREQUENCY);
|
||||
(void)sam_pck_configure(PCK0, PCKSRC_SCK, BOARD_SLOWCLK_FREQUENCY);
|
||||
|
||||
/* Enable the DAC master clock */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue