]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: Fix omap3 off mode pull defines
authorTony Lindgren <tony@atomide.com>
Thu, 5 Jan 2017 19:07:18 +0000 (11:07 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Jan 2017 16:54:11 +0000 (08:54 -0800)
commit6050b61cab462427981784b38b7775baf96e10c0
tree59d539ca0b8c657424d2490d10a228cc06d87806
parent4184c0ec1ade2b73b58c41e1084d8b22fc53d09b
ARM: dts: Fix omap3 off mode pull defines

We need to also have OFFPULLUDENABLE bit set to use the off mode pull values.
Otherwise the line is pulled down internally if no external pull exists.

This is has some documentation at:

http://processors.wiki.ti.com/index.php/Optimizing_OMAP35x_and_AM/DM37x_OFF_mode_PAD_configuration

Note that the value is still glitchy during off mode transitions as documented
in spz319f.pdf "Advisory 1.45". It's best to use external pulls instead of
relying on the internal ones for off mode and even then anything pulled up
will get driven down momentarily on off mode restore for GPIO banks other
than bank1.

Signed-off-by: Tony Lindgren <tony@atomide.com>
include/dt-bindings/pinctrl/omap.h