Commit 2b2d4247 authored by Sakari Ailus's avatar Sakari Ailus Committed by Rafael J. Wysocki

Documentation: ACPI: DSD: Convert LED documentation to ReST

Convert the LED documentation in text format into ReST.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent d1abaeb3
.. SPDX-License-Identifier: GPL-2.0
.. include:: <isonum.txt>
========================================
Describing and referring to LEDs in ACPI Describing and referring to LEDs in ACPI
========================================
Individual LEDs are described by hierarchical data extension [6] nodes under the Individual LEDs are described by hierarchical data extension [6] nodes under the
device node, the LED driver chip. The "reg" property in the LED specific nodes device node, the LED driver chip. The "reg" property in the LED specific nodes
...@@ -25,8 +30,12 @@ entry shall contain the string "led@" followed by the number of the LED, ...@@ -25,8 +30,12 @@ entry shall contain the string "led@" followed by the number of the LED,
followed by the referred object name. That object shall be named "LED" followed followed by the referred object name. That object shall be named "LED" followed
by the number of the LED. by the number of the LED.
An ASL example of a camera sensor device and a LED driver device for two LEDs. Example
Objects not relevant for LEDs or the references to them have been omitted. =======
An ASL example of a camera sensor device and a LED driver device for two LEDs is
show below. Objects not relevant for LEDs or the references to them have been
omitted. ::
Device (LED) Device (LED)
{ {
...@@ -71,12 +80,15 @@ Objects not relevant for LEDs or the references to them have been omitted. ...@@ -71,12 +80,15 @@ Objects not relevant for LEDs or the references to them have been omitted.
} }
where where
::
LED LED driver device LED LED driver device
LED0 First LED LED0 First LED
LED1 Second LED LED1 Second LED
SEN Camera sensor device (or another device the LED is SEN Camera sensor device (or another device the LED is related to)
related to)
References
==========
[1] Device tree. <URL:http://www.devicetree.org>, referenced 2019-02-21. [1] Device tree. <URL:http://www.devicetree.org>, referenced 2019-02-21.
......
...@@ -10,6 +10,7 @@ ACPI Support ...@@ -10,6 +10,7 @@ ACPI Support
namespace namespace
dsd/graph dsd/graph
dsd/data-node-references dsd/data-node-references
dsd/leds
enumeration enumeration
osi osi
method-customizing method-customizing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment