blob: 1ae1d050052345e43a61c8e47ad9cc18eefd80c1 [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
composite composite_sample;
using fuchsia.acpi;
// Bind to an unused ACPI node in Qemu or Atlas.
// TODO(fxb/100716): Bind to a test node once it's available.
primary node "acpi-GFBY" {
if fuchsia.acpi.hid == "GFSH0001" {
true;
} else {
fuchsia.acpi.hid == "INT0800";
}
}
node "acpi-GFRT" {
if fuchsia.acpi.hid == "GFSH0007" {
true;
} else {
fuchsia.acpi.hid == "PNP0B00";
}
}