summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/pinctrl
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-09-19 10:43:17 +0200
committerEric Anholt <eric@anholt.net>2016-10-17 18:55:17 +0200
commit396a3529800af0817c6af2eb65c542588a1f7fb7 (patch)
tree7cb99dac1705b122dc31e6de0b99d9ecf6aa82ed /include/dt-bindings/pinctrl
parentLinux 4.9-rc1 (diff)
downloadlinux-396a3529800af0817c6af2eb65c542588a1f7fb7.tar.xz
linux-396a3529800af0817c6af2eb65c542588a1f7fb7.zip
pinctrl: bcm2835: add pull defines to dt bindings
Also delete (unused) private enum from driver. The pull defines can be used instead if needed. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Diffstat (limited to 'include/dt-bindings/pinctrl')
-rw-r--r--include/dt-bindings/pinctrl/bcm2835.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/bcm2835.h b/include/dt-bindings/pinctrl/bcm2835.h
index 6f0bc37af39c..e4e4fdf5d38f 100644
--- a/include/dt-bindings/pinctrl/bcm2835.h
+++ b/include/dt-bindings/pinctrl/bcm2835.h
@@ -24,4 +24,9 @@
#define BCM2835_FSEL_ALT2 6
#define BCM2835_FSEL_ALT3 7
+/* brcm,pull property */
+#define BCM2835_PUD_OFF 0
+#define BCM2835_PUD_DOWN 1
+#define BCM2835_PUD_UP 2
+
#endif /* __DT_BINDINGS_PINCTRL_BCM2835_H__ */