ARM: dts: am43xx: Fix inverted DS0_PULL_UP_DOWN_EN macro
authorDave Gerlach <d-gerlach@ti.com>
Wed, 13 Dec 2017 21:24:43 +0000 (15:24 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 15 Dec 2017 16:44:00 +0000 (08:44 -0800)
commit01ce880380123a4879190fcf12d0e1ae189b6a81
tree316e7f00a3ed461eb239cceb2507f77ba8dbd674
parent17543a75615e46bcd5fc5fd5bcb9f8165f119a5e
ARM: dts: am43xx: Fix inverted DS0_PULL_UP_DOWN_EN macro

Due to a mistake in documentation the DS0_PULL_UP_DOWN_EN macro was
mistakenly defined as an active high bit, however setting the bit
actually disables the internal pull resistor on the pin, so correct this
macro and introduce a new DS0_PULL_UP_DOWN_DIS macro with the proper bit
value set now that the documentation has been updated.

Change based on AM437x Techninal Reference Manual SPRUHL7G Revised June
2017 Section 7.2.1.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/dt-bindings/pinctrl/am43xx.h