Uploaded image for project: 'Zephyr'
  1. Zephyr
  2. ZEP-954

Update device PM API to allow setting additional power states

    Details

      Description

      Currently device PM API consists of the suspend() and resume() hooks implemented by the drivers. In addition to suspend and resume, devices would also need to be set to other power states e.g. a state in which the peripherals can be clock gated. To achieve this, the following needs to be done.

      1. Define new device power states
      2. Update the device PM API - create a function that can be used to set the different device PM states.
      3. Use this function in place of the suspend/resume hooks in drivers that implement PM support.

      The existing device PM API will be replaced by the new API and will be marked as deprecated.

        Attachments

          Activity

            People

            • Assignee:
              amirkapl amir kaplan
              Reporter:
              ramesh.thomas Ramesh Thomas
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: