hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.h
....@@ -1,15 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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
- *
134 */
145
156 #ifndef __ANX78xx_H
....@@ -18,15 +9,8 @@
189 #include "analogix-i2c-dptx.h"
1910 #include "analogix-i2c-txcommon.h"
2011
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
-
2812 /***************************************************************/
29
-/* Register definition of device address 0x7e */
13
+/* Register definitions for RX_PO */
3014 /***************************************************************/
3115
3216 /*
....@@ -183,7 +167,7 @@
183167 #define SP_VSI_RCVD BIT(1)
184168
185169 /***************************************************************/
186
-/* Register definition of device address 0x80 */
170
+/* Register definitions for RX_P1 */
187171 /***************************************************************/
188172
189173 /* HDCP BCAPS Shadow Register */
....@@ -229,7 +213,7 @@
229213 #define SP_SET_AVMUTE BIT(0)
230214
231215 /***************************************************************/
232
-/* Register definition of device address 0x7a */
216
+/* Register definitions for TX_P1 */
233217 /***************************************************************/
234218
235219 /* DP TX Link Training Control Register */