Re: [PATCH v9 17/24] ACPI: Document how to refer to LEDs from remote nodes

Pavel Machek
2017-09-09T09:08:21Z

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

On Fri 2017-09-08 16:18:15, Sakari Ailus wrote:
> Document referring to LEDs from remote device nodes, such as from camera
> sensors.
>
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

> diff --git a/Documentation/acpi/dsd/leds.txt b/Documentation/acpi/dsd/leds.txt
> new file mode 100644
> index 000000000000..6217fcda15c9
> --- /dev/null
> +++ b/Documentation/acpi/dsd/leds.txt
> @@ -0,0 +1,92 @@
> +Describing and referring to LEDs in ACPI
> +
> +Individual LEDs are described by hierarchical data extension [6] nodes
> +under the device node, the LED driver chip. The "led" property in the
> +LED specific nodes tells the numerical ID of each individual LED. The
> +"led" property is used here in a similar fashion as the "reg" property
> +in DT. [3]
> +
> +Referring to LEDs in Devicetree is documented in [4], in "flash-leds"
> +property documentation. In short, LEDs are directly referred to by
> +using phandles.
> +
> +While Devicetree allows referring to any node in the tree[1], in

Documentation/devicetree/usage-model.txt talks about "device tree" or
"Device Tree" . Single word looks strange to me...

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]