usb_switch Host_dectct(Low active)->Pull-Up, Device_detect(High active)->Pull-Down

This commit is contained in:
ckkim
2014-06-17 17:16:35 +09:00
parent c605086da1
commit b33a8f3191
3 changed files with 2 additions and 18 deletions

View File

@@ -424,7 +424,7 @@ static void __init hkdk4412_usbswitch_init(void)
}
s3c_gpio_cfgpin(pdata->gpio_host_detect, S3C_GPIO_SFN(0xF));
s3c_gpio_setpull(pdata->gpio_host_detect, S3C_GPIO_PULL_NONE);
s3c_gpio_setpull(pdata->gpio_host_detect, S3C_GPIO_PULL_UP);
gpio_free(pdata->gpio_host_detect);
pdata->gpio_device_detect = EXYNOS4_GPX1(6); /* high active */
@@ -435,7 +435,7 @@ static void __init hkdk4412_usbswitch_init(void)
}
s3c_gpio_cfgpin(pdata->gpio_device_detect, S3C_GPIO_SFN(0xF));
s3c_gpio_setpull(pdata->gpio_device_detect, S3C_GPIO_PULL_NONE);
s3c_gpio_setpull(pdata->gpio_device_detect, S3C_GPIO_PULL_DOWN);
gpio_free(pdata->gpio_device_detect);
pdata->gpio_host_vbus = EXYNOS4_GPL2(0);

View File

@@ -1,14 +1,6 @@
"CONFIG_AUFS_FS=m\n"
"CONFIG_AUFS_BRANCH_MAX_127=y\n"
"CONFIG_AUFS_SBILIST=y\n"
"CONFIG_AUFS_HNOTIFY=y\n"
"CONFIG_AUFS_HFSNOTIFY=y\n"
"CONFIG_AUFS_EXPORT=y\n"
"CONFIG_AUFS_RDU=y\n"
"CONFIG_AUFS_SP_IATTR=y\n"
"CONFIG_AUFS_SHWH=y\n"
"CONFIG_AUFS_BR_RAMFS=y\n"
"CONFIG_AUFS_BR_FUSE=y\n"
"CONFIG_AUFS_POLL=y\n"
"CONFIG_AUFS_BR_HFSPLUS=y\n"
"CONFIG_AUFS_BDEV_LOOP=y\n"

View File

@@ -1,14 +1,6 @@
"CONFIG_AUFS_FS=m\n"
"CONFIG_AUFS_BRANCH_MAX_127=y\n"
"CONFIG_AUFS_SBILIST=y\n"
"CONFIG_AUFS_HNOTIFY=y\n"
"CONFIG_AUFS_HFSNOTIFY=y\n"
"CONFIG_AUFS_EXPORT=y\n"
"CONFIG_AUFS_RDU=y\n"
"CONFIG_AUFS_SP_IATTR=y\n"
"CONFIG_AUFS_SHWH=y\n"
"CONFIG_AUFS_BR_RAMFS=y\n"
"CONFIG_AUFS_BR_FUSE=y\n"
"CONFIG_AUFS_POLL=y\n"
"CONFIG_AUFS_BR_HFSPLUS=y\n"
"CONFIG_AUFS_BDEV_LOOP=y\n"