summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd/gpmc-nor.txt
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-02-22 04:51:27 +0400
committerJon Hunter <jon-hunter@ti.com>2013-04-04 05:12:18 +0400
commitd36b4cd46d23dd3c283c2e11de540e4cb875255d (patch)
tree0592949fab0eee58a2285dffb8735ca6bb606284 /Documentation/devicetree/bindings/mtd/gpmc-nor.txt
parent8c8a77712756edcef9298444868537af42334fc0 (diff)
downloadlinux-d36b4cd46d23dd3c283c2e11de540e4cb875255d.tar.xz
ARM: OMAP2+: Add additional GPMC timing parameters
Some of the GPMC timings parameters are currently missing from the GPMC device-tree binding. Add these parameters to the binding documentation as well as code to read them. Also add either "-ps" or "-ns" suffix to the GPMC timing properties to indicate whether the timing is in picoseconds or nanoseconds. The existing code in gpmc_read_timings_dt() is checking the value of of_property_read_u32() and only is successful storing the value read in the gpmc_timings structure. Checking the return value in this case is not necessary and we can simply read the value, if present, and store directly in the gpmc_timings structure. Therefore, simplify the code by removing these checks. The comment in the gpmc_read_timings_dt() function, "only for OMAP3430" is also incorrect as it is applicable to all OMAP3+ devices. So correct this too. Signed-off-by: Jon Hunter <jon-hunter@ti.com> Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/gpmc-nor.txt')
0 files changed, 0 insertions, 0 deletions