blob: a8b87ebfdac4a352fc62713ef51b57fa8380e707 [file]
// Copyright 2026 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.
{
name: "lab_root",
include: [ "driver_component/driver.shard.cml" ],
program: {
// Binds to a node explicitly marked for lab_root (for example one
// added with
// `ffx driver test-node add <name> fuchsia.driver.lab.LAB_ROOT=selected`),
// or to the DriverTestRealm test parent.
bind: {
one_of: [
{
rules: { "fuchsia.driver.lab.LAB_ROOT": "fuchsia.driver.lab.LAB_ROOT.SELECTED" },
},
{ compat: "fuchsia,test-parent" },
],
},
},
capabilities: [
{ service: "fuchsia.hardware.platform.device.Service" },
{ service: "fuchsia.hardware.clock.Service" },
{ service: "fuchsia.hardware.gpio.Service" },
{ service: "fuchsia.hardware.i2c.Service" },
{ service: "fuchsia.hardware.reset.Service" },
{ service: "fuchsia.hardware.serial.Service" },
{ service: "fuchsia.hardware.spi.Service" },
],
expose: [
{
service: "fuchsia.hardware.platform.device.Service",
from: "self",
},
{
service: "fuchsia.hardware.clock.Service",
from: "self",
},
{
service: "fuchsia.hardware.gpio.Service",
from: "self",
},
{
service: "fuchsia.hardware.i2c.Service",
from: "self",
},
{
service: "fuchsia.hardware.reset.Service",
from: "self",
},
{
service: "fuchsia.hardware.serial.Service",
from: "self",
},
{
service: "fuchsia.hardware.spi.Service",
from: "self",
},
],
include_inspect: false,
}