mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
include: dt-bindings: Add RK_PIN_TO_BIT def for Rockchip pinctrl
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com> Change-Id: I1ecfecba09a3f5f096b972364929fc607a107c43
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
#define RK_PD6 30
|
||||
#define RK_PD7 31
|
||||
|
||||
#define RK_PIN_TO_BIT(pin) (1 << (pin))
|
||||
|
||||
#define RK_FUNC_GPIO 0
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user