pinctrl:fix pull operation bug and add bank0 register information
authorluowei <lw@rock-chips.com>
Thu, 27 Mar 2014 03:52:34 +0000 (11:52 +0800)
committerluowei <lw@rock-chips.com>
Thu, 27 Mar 2014 03:52:34 +0000 (11:52 +0800)
include/dt-bindings/pinctrl/rockchip-rk3288.h
include/dt-bindings/pinctrl/rockchip.h

index 23137fffe3a4392afab2e1522cdfc3f341f6ce30..1d70f1f3cfbdf1c126a28391002715e7e4913be6 100755 (executable)
@@ -51,6 +51,9 @@
 #define TEST_CLKOUT 0x0c11
 #define CLKT1_27M 0x0c12
 
+#define GPIO0_C2 0x0c20
+
+
 
 /* GPIO0_D */
 #define GPIO0_D0 0x0d00
index 5e07df24806ff7b5f3bd73fd5c7b1d253eee0987..faf5fc4646a02fed704d802bfc67db29ae6d7de3 100755 (executable)
 
 
 /*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