Skip to content
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

Raspberry Pi Pico smorgasboard of bugfixes and improvements #80707

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Nov 29, 2024

  1. dts: arm: Move rpi_pico under raspberrypi

    Follow the wider directory convention of dts/<arch>/<vendor>/<family>.
    
    This is foundation work ahead of introducing support for the RP2350.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    e161e17 View commit details
    Browse the repository at this point in the history
  2. dts: arm: rp2040: Improve naming of included files

    Rename rpi_pico_common.dtsi to rp2040_reset.h . This is more consistent
    with the wider Zephyr source tree, and is foundation work ahead of
    introducing the RP2350 SoC.
    
    Add missing include guard. This shouldn't be required, but it is
    consistent with other header files in the same directory.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    22e20f9 View commit details
    Browse the repository at this point in the history
  3. drivers: clock_control: rpi_pico: Correct bitfields during init

    RESETS_RESET_PLL_USB_BITS was logically or'd twice and 'unreset'ting
    PWM doesn't seem to be required, based on the contents of the SDK.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    c4cfe63 View commit details
    Browse the repository at this point in the history
  4. dts: bindings: clock: rpi_pico: Add default value matching the Pico SDK

    The Pico SDK defines a default value for its XOSC multiplier. Reflect
    this in the device tree binding so that it doesn't need to be repeated.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    cbf1a58 View commit details
    Browse the repository at this point in the history
  5. drivers: clock_control: rpi_pico: Make pinctrl-0 optional

    No in-tree board uses this driver's pinctrl functionality, and every
    RP2040-based board was configuring this to be an empty node in the
    device tree, so remove them.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    9964470 View commit details
    Browse the repository at this point in the history
  6. boards: rp2040: Lint whitespace in board.cmake files

    Change whitespace to match the coding style for CMake files for all
    rp2040-based boards.
    
    This is foundation work ahead of adding support for boards based on the
    RP235XX SoCs.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    c359065 View commit details
    Browse the repository at this point in the history
  7. drivers: dma: rpi_pico: Correct handling of NULL filter_param

    From the API documentation, `dma_api_chan_filter`` can be given a value
    of NULL for `filter_param`. Match the behaviour of most implementations,
    and return true. This removes misleading error messages logged during
    tests (e.g. `test_tst_dma0_m2m_loop`).
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    7f7c0c6 View commit details
    Browse the repository at this point in the history
  8. tests: drivers: dma: Increase test coverage for RP2040

    Increase test coverage for Raspberry Pi's RP2040. Use the `socs` folder
    rather than `boards` to enable these tests to run on any boards with the
    same SoCs.
    
    Signed-off-by: Andrew Featherstone <[email protected]>
    ajf58 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    6fce055 View commit details
    Browse the repository at this point in the history