| // Copyright 2020 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 display; |
| |
| using fuchsia.hardware.amlogiccanvas; |
| using fuchsia.hardware.gpio; |
| using fuchsia.gpio; |
| using fuchsia.platform; |
| using fuchsia.hardware.sysmem; |
| using fuchsia.amlogic.platform; |
| |
| primary node "pdev" { |
| fuchsia.BIND_PROTOCOL == fuchsia.platform.BIND_PROTOCOL.DEVICE; |
| 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.DISPLAY; |
| accept fuchsia.BIND_PLATFORM_DEV_PID { |
| fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.A311D, |
| fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S905D2, |
| fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.S905D3, |
| fuchsia.amlogic.platform.BIND_PLATFORM_DEV_PID.T931, |
| } |
| } |
| |
| node "gpio-lcd-reset" { |
| fuchsia.hardware.gpio.Service == fuchsia.hardware.gpio.Service.ZirconTransport; |
| fuchsia.gpio.FUNCTION == fuchsia.gpio.FUNCTION.LCD_RESET; |
| } |
| |
| optional node "gpio-hdmi-hotplug-detect" { |
| fuchsia.hardware.gpio.Service == fuchsia.hardware.gpio.Service.ZirconTransport; |
| fuchsia.gpio.FUNCTION == fuchsia.gpio.FUNCTION.HDMI_HOTPLUG_DETECT; |
| } |
| |
| node "sysmem" { |
| fuchsia.hardware.sysmem.Service == fuchsia.hardware.sysmem.Service.ZirconTransport; |
| } |
| |
| node "canvas" { |
| fuchsia.hardware.amlogiccanvas.Service == fuchsia.hardware.amlogiccanvas.Service.ZirconTransport; |
| } |