Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EF82C3A59E for ; Mon, 26 Aug 2019 09:07:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2DB2D2173E for ; Mon, 26 Aug 2019 09:07:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730559AbfHZJG7 (ORCPT ); Mon, 26 Aug 2019 05:06:59 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:64075 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730531AbfHZJG7 (ORCPT ); Mon, 26 Aug 2019 05:06:59 -0400 Received: from 79.184.255.249.ipv4.supernova.orange.pl (79.184.255.249) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.275) id 662d4eacc0903f9e; Mon, 26 Aug 2019 11:06:57 +0200 From: "Rafael J. Wysocki" To: Sakari Ailus Cc: linux-acpi@vger.kernel.org Subject: Re: [PATCH 1/1] Documentation: ACPI: DSD: Convert LED documentation to ReST Date: Mon, 26 Aug 2019 11:06:55 +0200 Message-ID: <1706467.4rB1vivcNQ@kreacher> In-Reply-To: <20190814125858.30969-1-sakari.ailus@linux.intel.com> References: <20190814125858.30969-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Wednesday, August 14, 2019 2:58:58 PM CEST Sakari Ailus wrote: > Convert the LED documentation in text format into ReST. > > Signed-off-by: Sakari Ailus > --- > .../acpi/dsd/leds.rst} | 20 +++++++++++++++---- > Documentation/firmware-guide/acpi/index.rst | 1 + > 2 files changed, 17 insertions(+), 4 deletions(-) > rename Documentation/{acpi/dsd/leds.txt => firmware-guide/acpi/dsd/leds.rst} (90%) > > diff --git a/Documentation/acpi/dsd/leds.txt b/Documentation/firmware-guide/acpi/dsd/leds.rst > similarity index 90% > rename from Documentation/acpi/dsd/leds.txt > rename to Documentation/firmware-guide/acpi/dsd/leds.rst > index cc58b1a574c5..946efe2b2936 100644 > --- a/Documentation/acpi/dsd/leds.txt > +++ b/Documentation/firmware-guide/acpi/dsd/leds.rst > @@ -1,4 +1,9 @@ > +.. SPDX-License-Identifier: GPL-2.0 > +.. include:: > + > +======================================== > 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 "reg" property in the LED specific nodes > @@ -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 > by the number of the LED. > > -An ASL example of a camera sensor device and a LED driver device for two LEDs. > -Objects not relevant for LEDs or the references to them have been omitted. > +Example > +======= > + > +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) > { > @@ -71,12 +80,15 @@ Objects not relevant for LEDs or the references to them have been omitted. > } > > where > +:: > > LED LED driver device > LED0 First LED > LED1 Second LED > - SEN Camera sensor device (or another device the LED is > - related to) > + SEN Camera sensor device (or another device the LED is related to) > + > +References > +========== > > [1] Device tree. , referenced 2019-02-21. > > diff --git a/Documentation/firmware-guide/acpi/index.rst b/Documentation/firmware-guide/acpi/index.rst > index 90c90d42d9ad..ad3b5afdae77 100644 > --- a/Documentation/firmware-guide/acpi/index.rst > +++ b/Documentation/firmware-guide/acpi/index.rst > @@ -10,6 +10,7 @@ ACPI Support > namespace > dsd/graph > dsd/data-node-references > + dsd/leds > enumeration > osi > method-customizing > Applied, thanks!