diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2016-10-31 13:21:33 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-11-04 16:28:28 +0100 |
commit | b83bd893f3a04d35f5bfcf399c1034660e5b2403 (patch) | |
tree | 39aed3d681977d8405e8bfc700c674a8b48290be /tools/thermal | |
parent | 684373eaa95fe6f85ef527281d87ff9ef07b084e (diff) | |
download | kernel_replicant_linux-b83bd893f3a04d35f5bfcf399c1034660e5b2403.tar.gz kernel_replicant_linux-b83bd893f3a04d35f5bfcf399c1034660e5b2403.tar.bz2 kernel_replicant_linux-b83bd893f3a04d35f5bfcf399c1034660e5b2403.zip |
pinctrl: bcm2835: reduce GPPUD set-up time
Since the BCM2835 datasheet doesn't exactly specify the set-up time for
the GPIO Pull-up/down Clock Registers there was an assumption of 150 cycles
at a clock rate of 1 MHz. During a discussion [1] in the Raspberry Pi forum
it turns out that clock rate refers to the VPU which has a rate of 250 MHz.
So we can reduce the delay to a sensible value and update the comment above.
I tested this optimization with a Raspberry Pi B and a multimeter.
[1] - https://www.raspberrypi.org/forums/viewtopic.php?f=72&t=163352
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions