| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright(c) 2016, Analogix Semiconductor. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 and |
|---|
| 6 | | - * only version 2 as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 | | - * GNU General Public License for more details. |
|---|
| 12 | | - * |
|---|
| 13 | 4 | */ |
|---|
| 14 | 5 | |
|---|
| 15 | 6 | #ifndef __ANX78xx_H |
|---|
| .. | .. |
|---|
| 18 | 9 | #include "analogix-i2c-dptx.h" |
|---|
| 19 | 10 | #include "analogix-i2c-txcommon.h" |
|---|
| 20 | 11 | |
|---|
| 21 | | -#define TX_P0 ANALOGIX_I2C_DPTX |
|---|
| 22 | | -#define TX_P1 0x7a |
|---|
| 23 | | -#define TX_P2 ANALOGIX_I2C_TXCOMMON |
|---|
| 24 | | - |
|---|
| 25 | | -#define RX_P0 0x7e |
|---|
| 26 | | -#define RX_P1 0x80 |
|---|
| 27 | | - |
|---|
| 28 | 12 | /***************************************************************/ |
|---|
| 29 | | -/* Register definition of device address 0x7e */ |
|---|
| 13 | +/* Register definitions for RX_PO */ |
|---|
| 30 | 14 | /***************************************************************/ |
|---|
| 31 | 15 | |
|---|
| 32 | 16 | /* |
|---|
| .. | .. |
|---|
| 183 | 167 | #define SP_VSI_RCVD BIT(1) |
|---|
| 184 | 168 | |
|---|
| 185 | 169 | /***************************************************************/ |
|---|
| 186 | | -/* Register definition of device address 0x80 */ |
|---|
| 170 | +/* Register definitions for RX_P1 */ |
|---|
| 187 | 171 | /***************************************************************/ |
|---|
| 188 | 172 | |
|---|
| 189 | 173 | /* HDCP BCAPS Shadow Register */ |
|---|
| .. | .. |
|---|
| 229 | 213 | #define SP_SET_AVMUTE BIT(0) |
|---|
| 230 | 214 | |
|---|
| 231 | 215 | /***************************************************************/ |
|---|
| 232 | | -/* Register definition of device address 0x7a */ |
|---|
| 216 | +/* Register definitions for TX_P1 */ |
|---|
| 233 | 217 | /***************************************************************/ |
|---|
| 234 | 218 | |
|---|
| 235 | 219 | /* DP TX Link Training Control Register */ |
|---|