Part 1
요약·해설
공식 원문 73줄과 property 2행을 전수 대조해 required PWM reference·recommended period window·optional label 제약을 보존했습니다.
pwm-leds
Generic or vendor-independent
2 rows
one PWM specifier per child LED
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
19B97A2DE56E5CA1861BFD3E2073A713E255CD92E83E86856E999E141A9370BB
:orphan:
.. raw:: html
<!--
FIXME: do not limit page width until content uses another representation
format other than tables
-->
<style>.wy-nav-content { max-width: none; !important }</style>
.. dtcompatible:: pwm-leds
.. _dtbinding_pwm_leds:
pwm-leds
########
Vendor: :ref:`Generic or vendor-independent <dt_no_vendor>`
Description
***********
.. code-block:: none
PWM LEDs parent node
Properties
**********
Top level properties
====================
No top-level properties.
Child node properties
=====================
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``pwms``
- ``phandle-array``
- .. code-block:: none
Reference to a PWM instance.
The period field is used by the set_brightness function of the LED API.
Its value should at least be greater that 100 nanoseconds (for a full
brigtness granularity) and lesser than 50 milliseconds (average visual
persistence time of the human eye). Typical values for the PWM period
are 10 or 20 milliseconds.
This property is **required**.
* - ``label``
- ``string``
- .. code-block:: none
Human readable string describing the LED. It can be used by an
application to identify this LED or to retrieve its number/index
(i.e. child node number) on the parent device.
See :ref:`dt-important-props` for more information.
Part 3
한국어 전문 번역
pwm-leds
Vendor: Generic or vendor-independent
공식 설명
PWM LEDs parent nodePWM 하나가 child LED 하나를 구동
Top-level property는 없고 각 child에 pwms가 필수, label이 선택입니다. PWM specifier의 period field를 LED API set_brightness()가 duty 계산에 사용합니다.
공식 권장은 full brightness granularity를 위해 period가 100ns보다 크고, 사람 눈의 평균 visual persistence time인 50ms보다 작아야 한다는 것입니다. 일반적인 값은 10ms 또는 20ms입니다.
100ns와 50ms는 schema의 numeric min/max 제약이 아니라 설명문 권장 범위입니다. Top-level compatible, polarity와 PWM cell layout을 이 child-only 표에 임의로 추가하지 않았습니다.
속성 전체 번역
공식 page는 top-level/base property 없이 child property 2개만 정의합니다.
하위 노드 속성 · 2개
각 하위 노드에 적용되는 속성입니다.
| 이름 | 형식 | 설명과 제약 |
|---|---|---|
pwms | phandle-array | LED를 구동할 PWM instance의 specifier입니다. Period field는 LED API의 set_brightness()가 사용합니다. 필수 |
label | string | Application이 LED를 식별하거나 parent 안의 child 번호를 찾는 데 사용할 사람이 읽을 수 있는 문자열입니다. |
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.