Searched hist:d6d50db8a32674e56d4464688b1d74c9edaab550 (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | gpio.h | d6d50db8a32674e56d4464688b1d74c9edaab550 Mon Mar 07 02:28:13 UTC 2016 Simon Glass <sjg@chromium.org> x86: gpio: Correct GPIO setup ordering
The Intel GPIO driver can set up the GPIO pin mapping when the first GPIO is probed. However, it assumes that the first GPIO to be probed is in the first GPIO bank. If this is not the case then the init will write to the wrong registers.
Fix this. Also add a note that this code is deprecated. We should move to using device tree instead.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | intel_ich6_gpio.c | d6d50db8a32674e56d4464688b1d74c9edaab550 Mon Mar 07 02:28:13 UTC 2016 Simon Glass <sjg@chromium.org> x86: gpio: Correct GPIO setup ordering
The Intel GPIO driver can set up the GPIO pin mapping when the first GPIO is probed. However, it assumes that the first GPIO to be probed is in the first GPIO bank. If this is not the case then the init will write to the wrong registers.
Fix this. Also add a note that this code is deprecated. We should move to using device tree instead.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|