summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2bf2661)
raw | patch | inline | side by side (parent: 2bf2661)
author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Wed, 25 Nov 2015 09:17:02 +0000 (14:47 +0530) | ||
committer | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Wed, 25 Nov 2015 09:17:02 +0000 (14:47 +0530) |
Bit number 19 of pad registers allow setting slewrate for that pad.
Interprete the bit and generate the SLEWCONTROL macro whenever required.
Same macro is used for linux and uboot formats.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Interprete the bit and generate the SLEWCONTROL macro whenever required.
Same macro is used for linux and uboot formats.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
iodelay-autogen.py | patch | blob | history |
diff --git a/iodelay-autogen.py b/iodelay-autogen.py
index 393a2d948635358a21e01f892bfc31da6c70fd84..f1a79ebd9af96d80b573d4ac5f53970f7d75ebbf 100755 (executable)
--- a/iodelay-autogen.py
+++ b/iodelay-autogen.py
print "ERR: Format %s not suppported" % args.format
def get_pin_info(val):
+ slew_fast = (val >> 19) & 0x1
inp_en = (val >> 18) & 0x1
pulltype = (val >> 17) & 0x1
pull_dis = (val >> 16) & 0x1
pin += "_PULLUP"
else:
pin += "_PULLDOWN"
+ if (slew_fast):
+ pin += " | SLEWCONTROL"
return pin
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #