aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/firmware-guide/acpi/dsd/leds.rst
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2025-04-09 11:47:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-10 07:17:09 -0400
commit7429b67b2447f43aa8bc4f9aacb04b323ad3de15 (patch)
treede86642601bd65573b480453f42213e6994cae7b /Documentation/firmware-guide/acpi/dsd/leds.rst
parentacpi-cpufreq: Fix nominal_freq units to KHz in get_max_boost_ratio() (diff)
downloadlaptop-kernel-7429b67b2447f43aa8bc4f9aacb04b323ad3de15.tar.xz
laptop-kernel-7429b67b2447f43aa8bc4f9aacb04b323ad3de15.zip
Documentation: ACPI: Use all-string data node references
commit 6db0261f3776bde01ae916ad8e1cb2ded3ba1a2b upstream. Document that references to data nodes shall use string-only references instead of a device reference and a succession of the first package entries of hierarchical data node references. Fixes: 9880702d123f ("ACPI: property: Support using strings in reference properties") Cc: 6.8+ <stable@vger.kernel.org> # 6.8+ Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://patch.msgid.link/20250409084738.3657079-1-sakari.ailus@linux.intel.com [ rjw: Clarifying edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--Documentation/firmware-guide/acpi/dsd/leds.rst7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/firmware-guide/acpi/dsd/leds.rst b/Documentation/firmware-guide/acpi/dsd/leds.rst
index 93db592c93c7..a97cd07d49be 100644
--- a/Documentation/firmware-guide/acpi/dsd/leds.rst
+++ b/Documentation/firmware-guide/acpi/dsd/leds.rst
@@ -15,11 +15,6 @@ Referring to LEDs in Device tree is documented in [video-interfaces], in
"flash-leds" property documentation. In short, LEDs are directly referred to by
using phandles.
-While Device tree allows referring to any node in the tree [devicetree], in
-ACPI references are limited to device nodes only [acpi]. For this reason using
-the same mechanism on ACPI is not possible. A mechanism to refer to non-device
-ACPI nodes is documented in [data-node-ref].
-
ACPI allows (as does DT) using integer arguments after the reference. A
combination of the LED driver device reference and an integer argument,
referring to the "reg" property of the relevant LED, is used to identify
@@ -74,7 +69,7 @@ omitted. ::
Package () {
Package () {
"flash-leds",
- Package () { ^LED, "led@0", ^LED, "led@1" },
+ Package () { "^LED.LED0", "^LED.LED1" },
}
}
})