]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: dra: dt-bindings: Fix pull enable/disable
authorNishanth Menon <nm@ti.com>
Tue, 22 Jul 2014 15:39:54 +0000 (10:39 -0500)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Jul 2014 08:44:50 +0000 (01:44 -0700)
commit81830a6b775bc8642eaa15fa2f26223f0088ce69
treee721dcf07a8c042684b6dd14978ec99e7b45d65d
parentd04b356fa81c96fb0f64da168a7d6922a7f7ca76
pinctrl: dra: dt-bindings: Fix pull enable/disable

The DRA74/72 control module pins have a weak pull up and pull down.
This is configured by bit offset 17. if BIT(17) is 1, a pull up is
selected, else a pull down is selected.

However, this pull resisstor is applied based on BIT(16) -
PULLUDENABLE - if BIT(18) is *0*, then pull as defined in BIT(17) is
applied, else no weak pulls are applied. We defined this in reverse.

Reference: Table 18-5 (Description of the pad configuration register
bits) in Technical Reference Manual Revision (DRA74x revision Q:
SPRUHI2Q Revised June 2014 and DRA72x revision F: SPRUHP2F - Revised
June 2014)

Fixes: b69e1d87a315a8 ("ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board")
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/dt-bindings/pinctrl/dra.h