-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clock_control: stm32: Configure MCO through devicetree instead of Kconfig #76556
Commits on Sep 15, 2024
-
drivers: clock_control: Expose enabled_clock for clock driver library
Expose the helper function enabled_clock so that it can be used in other clock library sources. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9219d26 - Browse repository at this point
Copy the full SHA 9219d26View commit details -
drivers: clock_control: Add clock sources to common enabled_clock check
Add clock sources PLL2CLK, PLL3CLK and EXT_HSE. Needed to check that these clocks are enabled in MCO code. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a1311d - Browse repository at this point
Copy the full SHA 3a1311dView commit details -
dt-bindings: clock: Add clock sources for stm32f1x/10x for MCO
Add clock sources that can be output by the MCO on the stm32f1x and stm32f10 connectivity line devices. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2fb01f1 - Browse repository at this point
Copy the full SHA 2fb01f1View commit details -
include: dt-bindings: Add MCO select and prescaler macros for CFGR reg
Add MCO select and prescaler macros to set bits in the RCC CFGRx register. The set of supported boards are chosen to replace what is currently supported in Kconfig. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 563c362 - Browse repository at this point
Copy the full SHA 563c362View commit details -
dts: bindings: Add stm32 microcontroller clock output binding
Add stm32 microcontroller clock output binding. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b1aa6f9 - Browse repository at this point
Copy the full SHA b1aa6f9View commit details -
include: Add STM32_MCO_CFGR bit encoding and decoding
Add macro for encoding MCO bit values into the CFGR register of RCC. Add macros for decoding and extracting the different fields. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0d01f41 - Browse repository at this point
Copy the full SHA 0d01f41View commit details -
drivers: Add driver for STM32 MCO peripheral
Add device driver for STM32 MCO peripheral which takes configures the MCO clock source and prescaler, and outputs it on one of the GPIO pins. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 745992d - Browse repository at this point
Copy the full SHA 745992dView commit details -
dts: st: Add MCO node to STM32 boards
Add MCO device nodes to the STM32 boards. The set of supported boards are chosen to replace what is currently supported in Kconfig. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 422100b - Browse repository at this point
Copy the full SHA 422100bView commit details -
include: dt-bindings: clock: fix stm32f7 missing HSE and PLLI2S_R source
Fix stm32f7 missing the definition for HSE and PLLI2S_R clock source. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 107867a - Browse repository at this point
Copy the full SHA 107867aView commit details -
boards: Add MCO support for the stm32c0xx family
Add MCO support for the stm32c0xx family. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5b1f03c - Browse repository at this point
Copy the full SHA 5b1f03cView commit details -
samples: stm32: mco: Update sample to use dts instead of Kconfig
Update MCO board sample to use devicetree information instead of Kconfig configurations. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5bc24a5 - Browse repository at this point
Copy the full SHA 5bc24a5View commit details -
samples: stm32: mco: Add disco board which has 2 MCO instances
Add stm32f746g_disco board to MCO sample. This board has 2 MCO instances so useful to show multiple instances as well as checking the implementation. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 79f7aa9 - Browse repository at this point
Copy the full SHA 79f7aa9View commit details -
drivers: clock_control: Deprecate Kconfig for MCO configuration
Deprecate support for configuring the MCO source and prescaler from Kconfig configurations. This is now done by devicetree and an MCO driver instead, which also configures the pin to be used by the MCO peripheral. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3b9e9ef - Browse repository at this point
Copy the full SHA 3b9e9efView commit details -
doc: Document deprecated stm32 MCO kconfig options for MCO
Document deprecated stm32 MCO Kconfig options in favour of setting MCO through devicetree. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bddd41d - Browse repository at this point
Copy the full SHA bddd41dView commit details