25 lines
522 B
C
Executable File
25 lines
522 B
C
Executable File
/*
|
|
* Copyright Novatek Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __ARCH_GPIO_H
|
|
#define __ARCH_GPIO_H
|
|
|
|
#define C_GPIO(pin) (pin)
|
|
#define J_GPIO(pin) (pin + 0x20)
|
|
#define P_GPIO(pin) (pin + 0x40)
|
|
#define E_GPIO(pin) (pin + 0x80)
|
|
#define D_GPIO(pin) (pin + 0xA0)
|
|
#define S_GPIO(pin) (pin + 0xC0)
|
|
#define B_GPIO(pin) (pin + 0x120)
|
|
|
|
|
|
/*
|
|
* Empty file - cmd_gpio.c requires this. The implementation
|
|
* is in drivers/gpio/na51xxx_gpio.c instead of inlined here.
|
|
*/
|
|
|
|
#endif /* __ARCH_GPIO_H */
|