Xiaohu.Huang | a2c5a04 | 2022-03-12 22:41:09 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | */ |
| 6 | |
| 7 | #ifndef __CEC_S4_DATA_H__ |
| 8 | #define __CEC_S4_DATA_H__ |
| 9 | |
| 10 | /*s4 data define*/ |
| 11 | |
| 12 | /*GPIOH_3 FUNC4:ceca, FUNC1:ceca FUNC2:cecb*/ |
xiaohu.huang | 3826210 | 2022-05-06 22:21:48 +0800 | [diff] [blame] | 13 | #define CEC_PIN_MX GPIOH_3 |
| 14 | #define CEC_PIN_FUNC PIN_FUNC2 |
| 15 | #define CEC_IP 1 /* 0: cec a, 1: cecb*/ |
Xiaohu.Huang | a2c5a04 | 2022-03-12 22:41:09 +0800 | [diff] [blame] | 16 | |
| 17 | //reg table define |
| 18 | //#define CEC_CHIP_SEL_T7 |
| 19 | //#define CEC_CHIP_SEL_T5 |
| 20 | //#define CEC_CHIP_SEL_SC2 |
| 21 | #define CEC_CHIP_SEL_S4 |
| 22 | |
xiaohu.huang | 3826210 | 2022-05-06 22:21:48 +0800 | [diff] [blame] | 23 | #define CEC_ON 1 |
Xiaohu.Huang | a2c5a04 | 2022-03-12 22:41:09 +0800 | [diff] [blame] | 24 | #endif |