| // 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: "example-board-bind", | |
| program: { | |
| binary: "driver/example-board.so", | |
| default_dispatcher_opts: [ "allow_sync_calls" ], | |
| colocate: "true", | |
| modules: [ | |
| { | |
| module_name: "lib/visitors/example-visitor.so", | |
| symbols: [ "__devicetree_visitor_registration__" ], | |
| }, | |
| ], | |
| bind: { | |
| service: "fuchsia.hardware.platform.bus.Service", | |
| compat: "fuchsia,example-devicetree", | |
| }, | |
| }, | |
| use: [ | |
| { service: "fuchsia.hardware.platform.bus.Service" }, | |
| { protocol: "fuchsia.driver.framework.CompositeNodeManager" }, | |
| ], | |
| } |