Part 1
요약·해설
Application-specific channel state와 device-level reference counting을 구분합니다.
noise · rate · power
get · put
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
02297B29624A38F7AFF967977D4773B2ACF64FCBD2ABAEAED65C53A01857F452
Power Management
================
Power management of sensors is often a non-trivial task as sensors may have multiple power states
for various channels. Some sensors may allow for low noise, low power, or suspending channels
potentially saving quite a bit of power at the cost of noise or sampling speed performance. In very
low power states sensors may lose their state, turning off even the digital logic portion of the device.
All this is to say that power management of sensors is typically application specific! Often the
channel states are mutable using :ref:`sensor-attribute`. While total device suspending and resume
can be done using the power management ref counting APIs if the device implements the necessary
functionality.
Most likely the API sensors should use for their fully suspended/resume power states is
:ref:`pm-device-runtime` using explicit calls at an application level to :c:func:`pm_device_runtime_get`
and :c:func:`pm_device_runtime_put`.
In the future, with :ref:`sensor-read-and-decode` its possible that automatic management of device power management
would be possible in the streaming case as the application informs the driver of usage at all times
through requests to read on given events.
Part 3
한국어 전문 번역
Sensor는 여러 channel에 여러 power state를 가질 수 있으므로 power management가 단순하지 않은 경우가 많습니다. 일부 sensor는 low-noise, low-power, channel suspend mode를 제공하며 noise 또는 sampling speed performance를 희생하는 대신 상당한 power를 절약할 수 있습니다. 매우 낮은 power state에서는 digital logic까지 꺼져 sensor state를 잃을 수 있습니다.
따라서 sensor power management는 대체로 application-specific입니다. Channel state는 Sensor Attribute로 변경할 수 있는 경우가 많습니다. Device가 필요한 기능을 구현했다면 전체 device suspend·resume은 power-management reference-counting API로 수행할 수 있습니다.
Sensor가 full suspend/resume power state에 사용할 가능성이 가장 큰 API는 runtime device power management입니다. Application level에서 pm_device_runtime_get()과 pm_device_runtime_put()을 명시적으로 호출합니다.
앞으로 Read and Decode streaming 방식에서는 application이 특정 event에 대한 read request로 driver에 사용 상태를 계속 알리므로 device power management를 자동으로 관리할 가능성이 있습니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.