mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
Documentation: ACPI: Fix data node reference documentation
commita111749522
upstream. The data node reference documentation was missing a package that must contain the property values, instead property name and multiple values being present in a single package. This is not aligned with the _DSD spec. Fix it by adding the package for the values. Also add the missing "reg" properties to two numbered nodes. Fixes:b10134a364
("ACPI: property: Document hierarchical data extension references") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d1e85fcd73
commit
abecf9d748
1 changed files with 8 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
Referencing hierarchical data nodes
|
Referencing hierarchical data nodes
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
:Copyright: |copy| 2018 Intel Corporation
|
:Copyright: |copy| 2018, 2021 Intel Corporation
|
||||||
:Author: Sakari Ailus <sakari.ailus@linux.intel.com>
|
:Author: Sakari Ailus <sakari.ailus@linux.intel.com>
|
||||||
|
|
||||||
ACPI in general allows referring to device objects in the tree only.
|
ACPI in general allows referring to device objects in the tree only.
|
||||||
|
@ -52,12 +52,14 @@ the ANOD object which is also the final target node of the reference.
|
||||||
Name (NOD0, Package() {
|
Name (NOD0, Package() {
|
||||||
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
||||||
Package () {
|
Package () {
|
||||||
|
Package () { "reg", 0 },
|
||||||
Package () { "random-property", 3 },
|
Package () { "random-property", 3 },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Name (NOD1, Package() {
|
Name (NOD1, Package() {
|
||||||
ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
||||||
Package () {
|
Package () {
|
||||||
|
Package () { "reg", 1 },
|
||||||
Package () { "anothernode", "ANOD" },
|
Package () { "anothernode", "ANOD" },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -74,7 +76,11 @@ the ANOD object which is also the final target node of the reference.
|
||||||
Name (_DSD, Package () {
|
Name (_DSD, Package () {
|
||||||
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
||||||
Package () {
|
Package () {
|
||||||
Package () { "reference", ^DEV0, "node@1", "anothernode" },
|
Package () {
|
||||||
|
"reference", Package () {
|
||||||
|
^DEV0, "node@1", "anothernode"
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue