svn commit: r285867 - head/sys/arm/ti/am335x
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sat Jul 25 03:03:34 UTC 2015
Author: gonzo
Date: Sat Jul 25 03:03:32 2015
New Revision: 285867
URL: https://svnweb.freebsd.org/changeset/base/285867
Log:
Synchronize PIN input/output modes with gnu/dts/include/dt-bindings/pinctrl/am33xx.h
gpio driver requires exact value to match SoC pin mode with GPIO pin direction
Modified:
head/sys/arm/ti/am335x/am335x_scm_padconf.h
Modified: head/sys/arm/ti/am335x/am335x_scm_padconf.h
==============================================================================
--- head/sys/arm/ti/am335x/am335x_scm_padconf.h Sat Jul 25 02:59:45 2015 (r285866)
+++ head/sys/arm/ti/am335x/am335x_scm_padconf.h Sat Jul 25 03:03:32 2015 (r285867)
@@ -34,8 +34,9 @@
#define PULLTYPESEL (0x01 << 4) /* Pad pullup/pulldown type selection */
#define PULLUDEN (0x01 << 3) /* Pullup/pulldown disabled */
-#define PADCONF_OUTPUT (0)
+#define PADCONF_OUTPUT (PULLUDEN)
#define PADCONF_OUTPUT_PULLUP (PULLTYPESEL)
+#define PADCONF_OUTPUT_PULLDOWN (0)
#define PADCONF_INPUT (RXACTIVE | PULLUDEN)
#define PADCONF_INPUT_PULLUP (RXACTIVE | PULLTYPESEL)
#define PADCONF_INPUT_PULLDOWN (RXACTIVE)
More information about the svn-src-head
mailing list