| // Copyright 2024 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.amlogic.platform; |
| using fuchsia.platform; |
| using fuchsia.devicetree; |
| |
| |
| if fuchsia.devicetree.FIRST_COMPATIBLE == "amlogic,hrtimer" { |
| true; |
| } else { |
| fuchsia.BIND_PROTOCOL == fuchsia.platform.BIND_PROTOCOL.DEVICE; |
| fuchsia.BIND_PLATFORM_DEV_VID == fuchsia.amlogic.platform.BIND_PLATFORM_DEV_VID.AMLOGIC; |
| accept fuchsia.BIND_PLATFORM_DEV_DID { |
| fuchsia.amlogic.platform.BIND_PLATFORM_DEV_DID.HRTIMER, |
| } |
| } |