intel_mid_umip: Sysfs Interface for the USB Host Enable UMIP value
authorSurya P Sahukar <surya.p.sahukar@intel.com>
Thu, 12 Jan 2012 21:32:30 +0000 (13:32 -0800)
committerbuildbot <buildbot@intel.com>
Thu, 19 Jan 2012 15:35:31 +0000 (07:35 -0800)
commitaba5f3a48b5bdab7055058d7486cb8e273b80759
treee78d89832152508afa60efa7bd4ba4b4dc68fa70
parent176afab43314139aa2bc514a7d5646af905aa695
intel_mid_umip: Sysfs Interface for the USB Host Enable UMIP value

BZ:13299

Added functionality to expose the USB Host Enable UMIP value in
sysfs. We can read the current value and modify the existing value
by writing to the sysfs interface.

Usage:

cd /sys/devices/platform/intel_mid_umip

To list the available timeouts
===========
cat available_timeouts

To list the current programmed timeout
===================
cat current_timeout

To change the current programmed timeout
===================
echo <timeout> >  current_timeout

Change-Id: Ia8a43f85388beeb2b644bffd16d0374457af36e3
Signed-off-by: Surya P Sahukar <surya.p.sahukar@intel.com>
Signed-off-by: Hari K Kanigeri <harik.k.kanigeri@intel.com>
Reviewed-on: http://android.intel.com:8080/31586
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel_mid_umip.c [new file with mode: 0644]