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

drivers: pwm: rpi_pico: Configuring the divide ratio adaptively #78786

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

Commits on Oct 2, 2024

  1. drivers: pwm: rpi_pico: Configuring the divide ratio adaptively

    If the `divider-int-0` or variations of these for each channel properties
    are not specified, or if these is 0,
    the driver dynamically configures the division ratio by specified cycles.
    
    The driver will operate at the specified division ratio if a non-zero
    value is specified for `divider-int-0`.
    This is unchanged from previous behavior.
    
    Please specify ``divider-int-0`` explicitly to make the same behavior as
    before.
    
    In addition, the default device tree properties related to the division
    ratio have been removed.
    
    Signed-off-by: TOKITA Hiroshi <[email protected]>
    soburi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    9515d20 View commit details
    Browse the repository at this point in the history
  2. samples: drivers: led: pwm: Makes blink and fade times configurable

    Make the blinking and fading parameters adjustable so that samples
    can be run on devices that support only short periods.
    
    Signed-off-by: TOKITA Hiroshi <[email protected]>
    soburi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    05bc3cb View commit details
    Browse the repository at this point in the history
  3. samples: drivers: led: pwm: Update rpi_pico test configuration

    Tweaking the parameters to go the sample without any errors.
    
    Signed-off-by: TOKITA Hiroshi <[email protected]>
    soburi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e8afe66 View commit details
    Browse the repository at this point in the history
  4. tests: drivers: pwm: pwm_api: Add rpi_pico test configuration

    Add test configuration for rpi_pico
    
    Signed-off-by: TOKITA Hiroshi <[email protected]>
    soburi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e8d315f View commit details
    Browse the repository at this point in the history