diff options
author | Dave Gerlach <d-gerlach@ti.com> | 2015-02-28 02:10:27 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-03-06 18:21:03 +0100 |
commit | 10b218551444934b3ed864ec9eb81332d68d21ed (patch) | |
tree | 5dedc97024fa9cbcbeebd62bebf50902975de12a /include | |
parent | ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding (diff) | |
download | linux-10b218551444934b3ed864ec9eb81332d68d21ed.tar.xz linux-10b218551444934b3ed864ec9eb81332d68d21ed.zip |
ARM: dts: am43xx: fix SLEWCTRL_FAST pinctrl binding
According to AM437x TRM, Document SPRUHL7B, Revised December 2014,
Section 7.2.1 Pad Control Registers, setting bit 19 of the pad control
registers actually sets the SLEWCTRL value to slow rather than fast as
the current macro indicates. Introduce a new macro, SLEWCTRL_SLOW, that
sets the bit, and modify SLEWCTRL_FAST to 0 but keep it for
completeness.
Current users of the macro (i2c, mdio, and uart) are left unmodified as
SLEWCTRL_FAST was the macro used and actual desired state. Tested on
am437x-gp-evm with no difference in software performance seen.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/pinctrl/am43xx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dt-bindings/pinctrl/am43xx.h b/include/dt-bindings/pinctrl/am43xx.h index 9c2e4f82381e..5f4d01898c9c 100644 --- a/include/dt-bindings/pinctrl/am43xx.h +++ b/include/dt-bindings/pinctrl/am43xx.h @@ -18,7 +18,8 @@ #define PULL_DISABLE (1 << 16) #define PULL_UP (1 << 17) #define INPUT_EN (1 << 18) -#define SLEWCTRL_FAST (1 << 19) +#define SLEWCTRL_SLOW (1 << 19) +#define SLEWCTRL_FAST 0 #define DS0_PULL_UP_DOWN_EN (1 << 27) #define PIN_OUTPUT (PULL_DISABLE) |