blob: 817eeb62c1d40616c1aa50ee59a2b4f06e641291 [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_controller.so',
bind: 'meta/bind/i2c_controller.bindbc'
},
use: [
{ service: 'fuchsia.driver.compat.Service' },
],
// Provide the I2C device capability to other components
// TODO(fxbug.dev/106665): Route as a service capability from the SDK
capabilities: [
{ protocol: 'fuchsia.hardware.i2c.Device' },
],
expose: [
{
protocol: 'fuchsia.hardware.i2c.Device',
from: 'self',
},
],
}