/* * Copyright (C) 2010 Apple Inc. All rights reserved. * * This document is the property of Apple Inc. * It is considered confidential and proprietary. * * This document may not be reproduced or transmitted in any form, * in whole or in part, without the express written permission of * Apple Inc. */ // Registers for Display Port General Control #define DPTX_DP_TX_VERSION 0x0010 #define DPTX_FUNC_EN_1 0x0018 #define DPTX_FUNC_EN_1_VIDCAP (0x1<<6) #define DPTX_FUNC_EN_1_VIDFIF0 (0x1<<5) #define DPTX_FUNC_EN_1_AUDFIF0 (0x1<<4) #define DPTX_FUNC_EN_1_AUDCAP (0x1<<3) #define DPTX_FUNC_EN_1_HDCP (0x1<<2) #define DPTX_FUNC_EN_1_SW_ALL (0x1<<0) #define DPTX_FUNC_EN_2 0x001C #define DPTX_FUNC_EN_2_SSC (0x1<<7) #define DPTX_FUNC_EN_2_AUX (0x1<<2) #define DPTX_FUNC_EN_2_SERDES_FIFO (0x1<<1) #define DPTX_FUNC_EN_2_LS_CLK_DOMAIN (0x1<<0) #define DPTX_VIDEO_CTL_1 0x0020 #define DPTX_VIDEO_CTL_1_VIDEO_EN_SHIFT (7) #define DPTX_VIDEO_CTL_1_VIDEO_EN (0x1<= 3 #define DPTX_ANALOG_CTL_1_SEL_BG (1<<6) #endif //DISPLAYPORT_VERSION #define DPTX_ANALOG_CTL_1_TX_TERM_CTL_SHIFT 4 #define DPTX_ANALOG_CTL_1_TX_TERM_CTL_73_OHM_VALUE 0 #define DPTX_ANALOG_CTL_1_TX_TERM_CTL_50_OHM_VALUE 1 #define DPTX_ANALOG_CTL_1_TX_TERM_CTL_61_OHM_VALUE 2 #define DPTX_ANALOG_CTL_1_TX_TERM_CTL_45_OHM_VALUE 3 #define DPTX_ANALOG_CTL_1_TX_SWING_INC_30PER (1<<3) #define DPTX_ANALOG_CTL_1_TEST_BIT_MASK (0x7) #define DPTX_ANALOG_CTL_1_TEST_BIT_SHIFT (0) #define DPTX_ANALOG_CTL_2 0x0374 #define DPTX_ANALOG_CTL_2_SEL_CLK_24M (1<<3) #define DPTX_ANALOG_CTL_2_TX_DVDD_BIT_MASK (0x7) #define DPTX_ANALOG_CTL_2_TX_DVDD_BIT_SHIFT (0) #define DPTX_ANALOG_CTL_2_TX_DVDD_BIT_DVDD (0<