blob: 1d4e64391503d3cdaaff6982017764b1d6a1facd [file] [log] [blame]
// 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.
using fuchsia.google.platform;
using fuchsia.amlogic.platform;
// The device must be a composite protocol device.
fuchsia.BIND_COMPOSITE == 1;
if fuchsia.BIND_PLATFORM_DEV_VID == fuchsia.google.platform.BIND_PLATFORM_DEV_VID.GOOGLE {
fuchsia.BIND_PLATFORM_DEV_DID == fuchsia.google.platform.BIND_PLATFORM_DEV_DID.GOOGLE_AMLOGIC_CPU;
accept fuchsia.BIND_PLATFORM_DEV_PID {
fuchsia.google.platform.BIND_PLATFORM_DEV_PID.ASTRO,
fuchsia.google.platform.BIND_PLATFORM_DEV_PID.LUIS,
}
} else if fuchsia.BIND_PLATFORM_DEV_VID == fuchsia.amlogic.platform.BIND_PLATFORM_DEV_VID.AMLOGIC {
fuchsia.BIND_PLATFORM_DEV_DID == fuchsia.amlogic.platform.BIND_PLATFORM_DEV_DID.CPU;
fuchsia.BIND_PLATFORM_DEV_PID == fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.A311D;
} else {
false;
}