ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding
authorDave Gerlach <d-gerlach@ti.com>
Sat, 28 Feb 2015 01:10:26 +0000 (19:10 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Mar 2015 17:12:56 +0000 (09:12 -0800)
commit424e0f039bfa8a51fb5c5178b6ece8baa4996469
tree8f85bb2f70388aeb9de66bc8714aba7cae531eb4
parent38f5c8ba300f8d5d327a14ea4d48522b38baf424
ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding

According to AM335x TRM, Document spruh73l, Revised February 2015,
Section 9.2.2 Pad Control Registers, setting bit 6 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 and mdio) are left unmodified as
SLEWCTRL_FAST was the macro used and actual desired state. Tested on
am335x-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>
include/dt-bindings/pinctrl/am33xx.h