mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
imx6ulevk: fix 74LV OE usage
Fix 74LV OE gpio index. gpio index is wrong, so gpio output will not have effect, since we use wrong GPIO5_IO18, but not correct GPIO5_IO8. And at the end of the initialization of 74lv init, should keep OE voltage level at LOW to make 74lv output the correct voltage. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
parent
0fcb85cc0c
commit
85801579e1
1 changed files with 1 additions and 3 deletions
|
@ -66,7 +66,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||||
#define IOX_SDI IMX_GPIO_NR(5, 10)
|
#define IOX_SDI IMX_GPIO_NR(5, 10)
|
||||||
#define IOX_STCP IMX_GPIO_NR(5, 7)
|
#define IOX_STCP IMX_GPIO_NR(5, 7)
|
||||||
#define IOX_SHCP IMX_GPIO_NR(5, 11)
|
#define IOX_SHCP IMX_GPIO_NR(5, 11)
|
||||||
#define IOX_OE IMX_GPIO_NR(5, 18)
|
#define IOX_OE IMX_GPIO_NR(5, 8)
|
||||||
|
|
||||||
static iomux_v3_cfg_t const iox_pads[] = {
|
static iomux_v3_cfg_t const iox_pads[] = {
|
||||||
/* IOX_SDI */
|
/* IOX_SDI */
|
||||||
|
@ -154,8 +154,6 @@ static void iox74lv_init(void)
|
||||||
* shift register will be output to pins
|
* shift register will be output to pins
|
||||||
*/
|
*/
|
||||||
gpio_direction_output(IOX_STCP, 1);
|
gpio_direction_output(IOX_STCP, 1);
|
||||||
|
|
||||||
gpio_direction_output(IOX_OE, 1);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_I2C_MXC
|
#ifdef CONFIG_SYS_I2C_MXC
|
||||||
|
|
Loading…
Add table
Reference in a new issue