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

Experimental: Automatic power domain handling for displays/RGB #1775

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Jul 5, 2024

  1. refactor(boards): Move ZMK Uno to power domains.

    * Add main and sub power domains.
    * Default necessary Kconfig settings.
    petejohanson committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3ddaac1 View commit details
    Browse the repository at this point in the history
  2. feat(display): Add device runtime PM handling.

    * Properly get/put the display device as needed when we start/ stop
      using it as part of our high level app logic.
    petejohanson committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    6c1d6fb View commit details
    Browse the repository at this point in the history
  3. refactor(underglow): Add runtime device PM support

    * Properly get/put the LED strip instance when actively using
      the LEDs, to allow automatic power domain handling to cut
      power when the LEDs are not in use.
    petejohanson committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    01ea0e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5ccc0b9 View commit details
    Browse the repository at this point in the history
  5. feat(power): Add power domain config

    * High level ZMK_POWER_DOMAINS for the feature.
    * ZMK_POWER_DOMAINS_DYNAMIC_DEFAULT config setting
       to have various subsystems add their respective devices to
       the chosen `zmk,default-power-domain` on init.
    petejohanson committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ce511cb View commit details
    Browse the repository at this point in the history
  6. refactor(boards): Move nice!nano to power domains

    * Set a chosen `zmk,default-power-domain`
    * Enable the relevant Kconfig settings for PDs.
    petejohanson committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    15e7c43 View commit details
    Browse the repository at this point in the history
  7. refactor(boards): Move puchi_ble to power domains

    * Set a chosen `zmk,default-power-domain`
    * Enable the relevant Kconfig settings for PDs.
    petejohanson committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    6f17d9c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    84a5ae5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7420636 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2f37b08 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5f1a1b2 View commit details
    Browse the repository at this point in the history