blob: 1b8773341b58d988ce50164f4e49d3034bb4e077 [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/libi2c_temperature.so',
bind: 'meta/bind/i2c_temperature.bindbc'
},
// Consume the I2C device capability from the parent
use: [
{ protocol: 'fuchsia.hardware.i2c.Device' },
{ service: 'fuchsia.driver.compat.Service' },
],
// Provide the temperature device capability to other components
capabilities: [
{ protocol: 'sample.i2ctemperature.Device' },
],
expose: [
{
protocol: 'sample.i2ctemperature.Device',
from: 'self',
},
],
}