From f4a876aa69d1e364667e70fd655845515f627fc7 Mon Sep 17 00:00:00 2001 From: luowei Date: Thu, 27 Mar 2014 11:52:34 +0800 Subject: [PATCH] pinctrl:fix pull operation bug and add bank0 register information --- include/dt-bindings/pinctrl/rockchip-rk3288.h | 3 +++ include/dt-bindings/pinctrl/rockchip.h | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/dt-bindings/pinctrl/rockchip-rk3288.h b/include/dt-bindings/pinctrl/rockchip-rk3288.h index 23137fffe3a4..1d70f1f3cfbd 100755 --- a/include/dt-bindings/pinctrl/rockchip-rk3288.h +++ b/include/dt-bindings/pinctrl/rockchip-rk3288.h @@ -51,6 +51,9 @@ #define TEST_CLKOUT 0x0c11 #define CLKT1_27M 0x0c12 +#define GPIO0_C2 0x0c20 + + /* GPIO0_D */ #define GPIO0_D0 0x0d00 diff --git a/include/dt-bindings/pinctrl/rockchip.h b/include/dt-bindings/pinctrl/rockchip.h index 5e07df24806f..faf5fc4646a0 100755 --- a/include/dt-bindings/pinctrl/rockchip.h +++ b/include/dt-bindings/pinctrl/rockchip.h @@ -79,10 +79,11 @@ /*warning:don not chang the following value*/ -#define VALUE_PULL_DISABLE 0 +#define VALUE_PULL_NORMAL 0 #define VALUE_PULL_UP 1 #define VALUE_PULL_DOWN 2 -#define VALUE_PULL_DEFAULT 3 +#define VALUE_PULL_KEEP 3 +#define VALUE_PULL_DISABLE 4 //don't set and keep pull default #define VALUE_VOL_DEFAULT 0 #define VALUE_VOL_3V3 0 -- 2.34.1