Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Aug 31, 2023

Reworked #52901 for adding clock controller driver. Changes from the original patches.

  • Change to calculating frequency from register settings
  • Replacing SDK provided clocks_init().
  • Supporting GPOUT/GPIN
  • Drop supporting set_rate/configure.

@soburi soburi force-pushed the pico_clock_control branch 6 times, most recently from 5f3f2ac to c4b0376 Compare September 4, 2023 00:20
@soburi soburi force-pushed the pico_clock_control branch 7 times, most recently from 6d52bec to ebf0c61 Compare September 8, 2023 13:48
@soburi soburi changed the title Pico clock control clock_control: Added clock driver for Raspberry Pi Pico Sep 8, 2023
@soburi soburi force-pushed the pico_clock_control branch 4 times, most recently from 2c30560 to d6abd79 Compare September 10, 2023 02:35
@soburi soburi changed the title clock_control: Added clock driver for Raspberry Pi Pico clock_control: Added clock controller driver for Raspberry Pi Pico Sep 10, 2023
@soburi soburi marked this pull request as ready for review September 10, 2023 03:21
andrei-edward-popa and others added 20 commits November 23, 2023 00:48
Added clock driver for Raspberry Pi Pico platform

Signed-off-by: Andrei-Edward Popa <[email protected]>
Signed-off-by: TOKITA Hiroshi <[email protected]>
Configure GPOUT/GPIN pin for external clock in/out via GPIO.

Signed-off-by: TOKITA Hiroshi <[email protected]>
… Pico

Changed how to get xtal frequency for Raspberry Pi Pico

Signed-off-by: Andrei-Edward Popa <[email protected]>
Signed-off-by: TOKITA Hiroshi <[email protected]>
Removed all function calls from Raspberry Pi Pico SDK
Added functions for setting uart baudrate and format

Signed-off-by: Andrei-Edward Popa <[email protected]>
Signed-off-by: TOKITA Hiroshi <[email protected]>
Changed how to get clock frequency for PL022

Signed-off-by: Andrei-Edward Popa <[email protected]>
Signed-off-by: TOKITA Hiroshi <[email protected]>
Reset the device on initializing via reset controller.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Since clock_control has been introduced, use it to obtain the frequency.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Resetting PWM device via reset controller on initializing.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Turning on clock via clock controller and
resetting ADC device via reset controller on initializing.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Turning on clock via clock controller and
resetting PIO device via reset controller on initializing.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Turning on clock via clock controller on initializing.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Turning on clock via clock controller and
resetting PIO device via reset controller on initializing.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Since clock_control has been introduced, use it to obtain the frequency.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Added clock in supported hardware features

Signed-off-by: Andrei-Edward Popa <[email protected]>
Signed-off-by: TOKITA Hiroshi <[email protected]>
Added clock in supported hardware features

Signed-off-by: TOKITA Hiroshi <[email protected]>
Added clock in supported hardware features

Signed-off-by: TOKITA Hiroshi <[email protected]>
Added counter in supported hardware features.
It forgot in the commit when introducing the counter driver.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Added counter in supported hardware features.
It forgot in the commit when introducing the counter driver.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Added counter in supported hardware features.
It forgot in the commit when introducing the counter driver.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Remove drivers that not been referenced.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the pico_clock_control branch from eee4c8b to d6f8d17 Compare November 22, 2023 15:48
@ajf58
Copy link
Contributor

ajf58 commented Dec 12, 2023

Is there anything I can do to help progress this PR?

@carlescufi carlescufi merged commit 2b24a5c into zephyrproject-rtos:main Dec 20, 2023
@soburi soburi deleted the pico_clock_control branch December 20, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants