Skip to content

devicetree: define low-power GPIO configurations #19434

@pabigot

Description

@pabigot

Configuration of a device to low-power mode generally requires GPIO pin settings that are not power-on defaults. These settings are necessary even in situations where the connected peripheral is not in use, and require flags that are not part of the Linux standard devicetree flags supported in #16648. Examples for the Nordic Thingy:52 (nrf52_pca20020) are in a comment below.

Ideally these flags should be associated with the GPIO pins in devicetree, with the settings applied when the corresponding GPIO controller is initialized.

They must also be visible in the power management structure so when a device that uses the GPIO powers down the low-power configuration is restored.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions