linux/drivers/gpu/drm/i915/display/dvo_tfp410.c

/*
 * Copyright © 2007 Dave Mueller
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice (including the next
 * paragraph) shall be included in all copies or substantial portions of the
 * Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 * IN THE SOFTWARE.
 *
 * Authors:
 *    Dave Mueller <[email protected]>
 *
 */

#include "intel_display_types.h"
#include "intel_dvo_dev.h"

/* register definitions according to the TFP410 data sheet */
#define TFP410_VID
#define TFP410_DID

#define TFP410_VID_LO
#define TFP410_VID_HI
#define TFP410_DID_LO
#define TFP410_DID_HI
#define TFP410_REV

#define TFP410_CTL_1
#define TFP410_CTL_1_TDIS
#define TFP410_CTL_1_VEN
#define TFP410_CTL_1_HEN
#define TFP410_CTL_1_DSEL
#define TFP410_CTL_1_BSEL
#define TFP410_CTL_1_EDGE
#define TFP410_CTL_1_PD

#define TFP410_CTL_2
#define TFP410_CTL_2_VLOW
#define TFP410_CTL_2_MSEL_MASK
#define TFP410_CTL_2_MSEL
#define TFP410_CTL_2_TSEL
#define TFP410_CTL_2_RSEN
#define TFP410_CTL_2_HTPLG
#define TFP410_CTL_2_MDI

#define TFP410_CTL_3
#define TFP410_CTL_3_DK_MASK
#define TFP410_CTL_3_DK
#define TFP410_CTL_3_DKEN
#define TFP410_CTL_3_CTL_MASK
#define TFP410_CTL_3_CTL

#define TFP410_USERCFG

#define TFP410_DE_DLY

#define TFP410_DE_CTL
#define TFP410_DE_CTL_DEGEN
#define TFP410_DE_CTL_VSPOL
#define TFP410_DE_CTL_HSPOL
#define TFP410_DE_CTL_DEDLY8

#define TFP410_DE_TOP

#define TFP410_DE_CNT_LO
#define TFP410_DE_CNT_HI

#define TFP410_DE_LIN_LO
#define TFP410_DE_LIN_HI

#define TFP410_H_RES_LO
#define TFP410_H_RES_HI

#define TFP410_V_RES_LO
#define TFP410_V_RES_HI

struct tfp410_priv {};

static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, u8 *ch)
{}

static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, u8 ch)
{}

static int tfp410_getid(struct intel_dvo_device *dvo, int addr)
{}

/* Ti TFP410 driver for chip on i2c bus */
static bool tfp410_init(struct intel_dvo_device *dvo,
			struct i2c_adapter *adapter)
{}

static enum drm_connector_status tfp410_detect(struct intel_dvo_device *dvo)
{}

static enum drm_mode_status tfp410_mode_valid(struct intel_dvo_device *dvo,
					      struct drm_display_mode *mode)
{}

static void tfp410_mode_set(struct intel_dvo_device *dvo,
			    const struct drm_display_mode *mode,
			    const struct drm_display_mode *adjusted_mode)
{}

/* set the tfp410 power state */
static void tfp410_dpms(struct intel_dvo_device *dvo, bool enable)
{}

static bool tfp410_get_hw_state(struct intel_dvo_device *dvo)
{}

static void tfp410_dump_regs(struct intel_dvo_device *dvo)
{}

static void tfp410_destroy(struct intel_dvo_device *dvo)
{}

const struct intel_dvo_dev_ops tfp410_ops =;