blob: 2fbf881a5ba7143e42ac1d85b77ab17d8215d9f1 [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.
{
include: [
'syslog/client.shard.cml',
],
program: {
runner: 'driver',
binary: 'lib/libacpi_multiply.so',
bind: 'meta/bind/acpi_multiply.bindbc',
// Identifies the device categories, for compatibility tests.
device_categories: [
{ category: 'board', subcategory: 'acpi' },
],
},
// Consume the ACPI service capability from the parent
use: [
{ protocol: 'fuchsia.device.fs.Exporter' },
{
service: [
'fuchsia.driver.compat.Service',
'fuchsia.hardware.acpi.Service',
]
},
],
// Provide the multiply device capability to other components
capabilities: [
{ service: 'examples.acpi.multiply.Service' },
],
expose: [
{
service: 'examples.acpi.multiply.Service',
from: 'self',
},
],
}