include/dt-bindings/pinctrl/mt6797-pinfunc.h

Source file repositories/reference/linux-study-clean/include/dt-bindings/pinctrl/mt6797-pinfunc.h

File Facts

System
Linux kernel
Corpus path
include/dt-bindings/pinctrl/mt6797-pinfunc.h
Extension
.h
Size
65776 bytes
Lines
1369
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __DTS_MT6797_PINFUNC_H
#define __DTS_MT6797_PINFUNC_H

#include <dt-bindings/pinctrl/mt65xx.h>

#define MT6797_GPIO0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0)
#define MT6797_GPIO0__FUNC_CSI0A_L0P_T0A (MTK_PIN_NO(0) | 1)

#define MT6797_GPIO1__FUNC_GPIO1 (MTK_PIN_NO(1) | 0)
#define MT6797_GPIO1__FUNC_CSI0A_L0N_T0B (MTK_PIN_NO(1) | 1)

#define MT6797_GPIO2__FUNC_GPIO2 (MTK_PIN_NO(2) | 0)
#define MT6797_GPIO2__FUNC_CSI0A_L1P_T0C (MTK_PIN_NO(2) | 1)

#define MT6797_GPIO3__FUNC_GPIO3 (MTK_PIN_NO(3) | 0)
#define MT6797_GPIO3__FUNC_CSI0A_L1N_T1A (MTK_PIN_NO(3) | 1)

#define MT6797_GPIO4__FUNC_GPIO4 (MTK_PIN_NO(4) | 0)
#define MT6797_GPIO4__FUNC_CSI0A_L2P_T1B (MTK_PIN_NO(4) | 1)

#define MT6797_GPIO5__FUNC_GPIO5 (MTK_PIN_NO(5) | 0)
#define MT6797_GPIO5__FUNC_CSI0A_L2N_T1C (MTK_PIN_NO(5) | 1)

#define MT6797_GPIO6__FUNC_GPIO6 (MTK_PIN_NO(6) | 0)
#define MT6797_GPIO6__FUNC_CSI0B_L0P_T0A (MTK_PIN_NO(6) | 1)

#define MT6797_GPIO7__FUNC_GPIO7 (MTK_PIN_NO(7) | 0)
#define MT6797_GPIO7__FUNC_CSI0B_L0N_T0B (MTK_PIN_NO(7) | 1)

#define MT6797_GPIO8__FUNC_GPIO8 (MTK_PIN_NO(8) | 0)
#define MT6797_GPIO8__FUNC_CSI0B_L1P_T0C (MTK_PIN_NO(8) | 1)

#define MT6797_GPIO9__FUNC_GPIO9 (MTK_PIN_NO(9) | 0)
#define MT6797_GPIO9__FUNC_CSI0B_L1N_T1A (MTK_PIN_NO(9) | 1)

#define MT6797_GPIO10__FUNC_GPIO10 (MTK_PIN_NO(10) | 0)
#define MT6797_GPIO10__FUNC_CSI1A_L0P_T0A (MTK_PIN_NO(10) | 1)

#define MT6797_GPIO11__FUNC_GPIO11 (MTK_PIN_NO(11) | 0)
#define MT6797_GPIO11__FUNC_CSI1A_L0N_T0B (MTK_PIN_NO(11) | 1)

#define MT6797_GPIO12__FUNC_GPIO12 (MTK_PIN_NO(12) | 0)
#define MT6797_GPIO12__FUNC_CSI1A_L1P_T0C (MTK_PIN_NO(12) | 1)

#define MT6797_GPIO13__FUNC_GPIO13 (MTK_PIN_NO(13) | 0)
#define MT6797_GPIO13__FUNC_CSI1A_L1N_T1A (MTK_PIN_NO(13) | 1)

#define MT6797_GPIO14__FUNC_GPIO14 (MTK_PIN_NO(14) | 0)
#define MT6797_GPIO14__FUNC_CSI1A_L2P_T1B (MTK_PIN_NO(14) | 1)

#define MT6797_GPIO15__FUNC_GPIO15 (MTK_PIN_NO(15) | 0)
#define MT6797_GPIO15__FUNC_CSI1A_L2N_T1C (MTK_PIN_NO(15) | 1)

#define MT6797_GPIO16__FUNC_GPIO16 (MTK_PIN_NO(16) | 0)
#define MT6797_GPIO16__FUNC_CSI1B_L0P_T0A (MTK_PIN_NO(16) | 1)

#define MT6797_GPIO17__FUNC_GPIO17 (MTK_PIN_NO(17) | 0)
#define MT6797_GPIO17__FUNC_CSI1B_L0N_T0B (MTK_PIN_NO(17) | 1)

#define MT6797_GPIO18__FUNC_GPIO18 (MTK_PIN_NO(18) | 0)
#define MT6797_GPIO18__FUNC_CSI1B_L1P_T0C (MTK_PIN_NO(18) | 1)

#define MT6797_GPIO19__FUNC_GPIO19 (MTK_PIN_NO(19) | 0)
#define MT6797_GPIO19__FUNC_CSI1B_L1N_T1A (MTK_PIN_NO(19) | 1)

#define MT6797_GPIO20__FUNC_GPIO20 (MTK_PIN_NO(20) | 0)
#define MT6797_GPIO20__FUNC_CSI1B_L2P_T1B (MTK_PIN_NO(20) | 1)

#define MT6797_GPIO21__FUNC_GPIO21 (MTK_PIN_NO(21) | 0)
#define MT6797_GPIO21__FUNC_CSI1B_L2N_T1C (MTK_PIN_NO(21) | 1)

#define MT6797_GPIO22__FUNC_GPIO22 (MTK_PIN_NO(22) | 0)
#define MT6797_GPIO22__FUNC_CSI2_L0P_T0A (MTK_PIN_NO(22) | 1)

#define MT6797_GPIO23__FUNC_GPIO23 (MTK_PIN_NO(23) | 0)
#define MT6797_GPIO23__FUNC_CSI2_L0N_T0B (MTK_PIN_NO(23) | 1)

#define MT6797_GPIO24__FUNC_GPIO24 (MTK_PIN_NO(24) | 0)
#define MT6797_GPIO24__FUNC_CSI2_L1P_T0C (MTK_PIN_NO(24) | 1)

#define MT6797_GPIO25__FUNC_GPIO25 (MTK_PIN_NO(25) | 0)
#define MT6797_GPIO25__FUNC_CSI2_L1N_T1A (MTK_PIN_NO(25) | 1)

#define MT6797_GPIO26__FUNC_GPIO26 (MTK_PIN_NO(26) | 0)
#define MT6797_GPIO26__FUNC_CSI2_L2P_T1B (MTK_PIN_NO(26) | 1)

#define MT6797_GPIO27__FUNC_GPIO27 (MTK_PIN_NO(27) | 0)
#define MT6797_GPIO27__FUNC_CSI2_L2N_T1C (MTK_PIN_NO(27) | 1)

#define MT6797_GPIO28__FUNC_GPIO28 (MTK_PIN_NO(28) | 0)

Annotation

Implementation Notes