| // Copyright 2021 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. | |
| composite gizmo_pci; | |
| using fuchsia; | |
| primary parent "pci" { | |
| fuchsia.Service == "fuchsia.hardware.pci.Service"; | |
| } | |
| parent "tee" { | |
| if fuchsia.Service == "fuchsia.hardware.tee.Service" { | |
| fuchsia.BIND_PLATFORM_DEV_VID == fuchsia.platform.BIND_PLATFORM_DEV_VID.GENERIC; | |
| } else { | |
| fuchsia.BIND_PLATFORM_DEV_VID == fuchsia.platform.BIND_PLATFORM_DEV_VID.QEMU; | |
| } | |
| } |