connector_fdt.h revision 1.1
11.1Sbouyer/* $NetBSD: connector_fdt.h,v 1.1 2018/04/03 12:40:20 bouyer Exp $ */ 21.1Sbouyer 31.1Sbouyer/*- 41.1Sbouyer * Copyright (c) 2018 The NetBSD Foundation, Inc. 51.1Sbouyer * All rights reserved. 61.1Sbouyer * 71.1Sbouyer * This code is derived from software contributed to The NetBSD Foundation 81.1Sbouyer * by Manuel Bouyer. 91.1Sbouyer * 101.1Sbouyer * Redistribution and use in source and binary forms, with or without 111.1Sbouyer * modification, are permitted provided that the following conditions 121.1Sbouyer * are met: 131.1Sbouyer * 1. Redistributions of source code must retain the above copyright 141.1Sbouyer * notice, this list of conditions and the following disclaimer. 151.1Sbouyer * 2. Redistributions in binary form must reproduce the above copyright 161.1Sbouyer * notice, this list of conditions and the following disclaimer in the 171.1Sbouyer * documentation and/or other materials provided with the distribution. 181.1Sbouyer * 191.1Sbouyer * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.1Sbouyer * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.1Sbouyer * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.1Sbouyer * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.1Sbouyer * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.1Sbouyer * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.1Sbouyer * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.1Sbouyer * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.1Sbouyer * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.1Sbouyer * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.1Sbouyer * POSSIBILITY OF SUCH DAMAGE. 301.1Sbouyer */ 311.1Sbouyer 321.1Sbouyerenum connector_type { 331.1Sbouyer CON_VGA, 341.1Sbouyer CON_DVI, 351.1Sbouyer CON_HDMI, 361.1Sbouyer CON_TV, 371.1Sbouyer}; 381.1Sbouyer 391.1Sbouyerstruct fdt_connector { 401.1Sbouyer enum connector_type con_type; 411.1Sbouyer}; 42