1. 17 Jul, 2012 5 commits
    • Dennis Rassmann's avatar
      config: version 1.4 · 2dd0f573
      Dennis Rassmann authored
      Signed-off-by: Dennis Rassmann's avatarshowp1984 <showp1984@gmail.com>
      2dd0f573
    • Yank555-lu's avatar
      USB forced fast charge v2 · 9074f71c
      Yank555-lu authored
      Soft force mode has been added (= mode 2).
      
      In this mode fast charge will only kick in if no USB device is detected (as should be the case for wall/car chargers). Please note that in this case fast charge will NOT work on a USB 2.0 and 3.0 port on a computer !
      
      Use sysfs interface to change behaviour :
      
       * /sys/kernel/fast_charge/force_fast_charge (rw)
       *
       *   0 - disabled (default)
       *   1 - substitute AC to USB charging always
       *   2 - substitute AC to USB charging only if no USB peripheral is detected
      
      For informational purposes I've also added a read-only sysfs file that indicates the current USB state :
      
       * /sys/kernel/fast_charge/USB_peripheral_detected (ro)
       *
       * 0 - No USB device currently attached
       * 1 - USB device currently attached
      
      Consider this beta, it needs testing !
      
      USB forced fast charge v2
      
      Soft force mode (2) is validated.
      
      Use sysfs interface to change behaviour :
      
       * /sys/kernel/fast_charge/force_fast_charge (rw)
       *
       *   0 - disabled (default)
       *   1 - substitute AC to USB charging always
       *   2 - substitute AC to USB charging only if no USB peripheral is detected
      
      For informational purposes I've also added a read-only sysfs file that indicates the current USB state :
      
       * /sys/kernel/fast_charge/USB_peripheral_detected (ro)
       *
       * 0 - No USB device currently attached
       * 1 - USB device currently attached
      
      For informational purposes I've also added a read-only sysfs file that indicates the USB port type : (new)
      
       * /sys/kernel/fast_charge/USB_porttype_detected (ro)
       *
       * The port type will be returned in clear text.
      
      USB forced fast charge v2
      
      Corrected wrong detection of USB cable unplugged to reset "USB_porttype_detected", just informational, so nothing important, but it was wrong nonetheless and needed correcting.
      
      Use sysfs interface to change behaviour :
      
       * /sys/kernel/fast_charge/force_fast_charge (rw)
       *
       *   0 - disabled (default)
       *   1 - substitute AC to USB charging always
       *   2 - substitute AC to USB charging only if no USB peripheral is detected
      
      For informational purposes I've also added a read-only sysfs file that indicates the current USB state :
      
       * /sys/kernel/fast_charge/USB_peripheral_detected (ro)
       *
       * 0 - No USB device currently attached
       * 1 - USB device currently attached
      
      For informational purposes I've also added a read-only sysfs file that indicates the USB port type :
      
       * /sys/kernel/fast_charge/USB_porttype_detected (ro)
       *
       * The port type will be returned in clear text.
      
      USB forced fast charge v2
      
      /sys/kernel/fast_charge/USB_peripheral_detected returns clear text now as well.
      
      Use sysfs interface to change behaviour :
      
       * /sys/kernel/fast_charge/force_fast_charge (rw)
       *
       *   0 - disabled (default)
       *   1 - substitute AC to USB charging always
       *   2 - substitute AC to USB charging only if no USB peripheral is detected
      
      For informational purposes I've also added a read-only sysfs file that indicates the current USB state :
      
       * /sys/kernel/fast_charge/USB_peripheral_detected (ro)
       *
       * The state will be returned in clear text (Yes/No).
      
      For informational purposes I've also added a read-only sysfs file that indicates the detected USB port type :
      
       * /sys/kernel/fast_charge/USB_porttype_detected (ro)
       *
       * The port type will be returned in clear text.
      
      USB forced fast charge v2
      
      Small correction, forgot to remove the old line of code.
      
      Use sysfs interface to change behaviour :
      
       * /sys/kernel/fast_charge/force_fast_charge (rw)
       *
       *   0 - disabled (default)
       *   1 - substitute AC to USB charging always
       *   2 - substitute AC to USB charging only if no USB peripheral is detected
      
      For informational purposes I've also added a read-only sysfs file that indicates the current USB state :
      
       * /sys/kernel/fast_charge/USB_peripheral_detected (ro)
       *
       * The state will be returned in clear text (Yes/No).
      
      For informational purposes I've also added a read-only sysfs file that indicates the detected USB port type :
      
       * /sys/kernel/fast_charge/USB_porttype_detected (ro)
       *
       * The port type will be returned in clear text.
      9074f71c
    • Dennis Rassmann's avatar
      config: updates for fast_charge · 34a69711
      Dennis Rassmann authored
      Signed-off-by: Dennis Rassmann's avatarshowp1984 <showp1984@gmail.com>
      34a69711
    • Yank555-lu's avatar
      USB forced fast charge · 515dedcf
      Yank555-lu authored
      Thanx to Chad Froebel for posting his mod for the Galaxy Nexus !
      (http://rootzwiki.com/topic/19720-kernel-patch-devs-only-force-ac-fast-charging/)
      
      Conflicts:
      
      	arch/arm/mach-msm/Kconfig
      	arch/arm/mach-msm/htc_battery_8x60.c
      515dedcf
    • Dennis Rassmann's avatar
      update to 3.33 source from HTCDev · fc4016b3
      Dennis Rassmann authored
      Signed-off-by: Dennis Rassmann's avatarshowp1984 <showp1984@gmail.com>
      
      Conflicts:
      
      	arch/arm/configs/bricked_defconfig
      	drivers/gpu/msm_adreno220/adreno.c
      	drivers/gpu/msm_adreno220/adreno_postmortem.c
      	drivers/gpu/msm_adreno220/kgsl.c
      	drivers/gpu/msm_adreno220/kgsl_device.h
      	drivers/gpu/msm_adreno220/kgsl_pwrctrl.c
      	drivers/gpu/msm_adreno220/kgsl_pwrscale_idlestats.c
      	drivers/gpu/msm_adreno220/z180.c
      	drivers/misc/pm8xxx-vibrator.c
      fc4016b3
  2. 28 Jun, 2012 9 commits
  3. 24 Jun, 2012 2 commits
  4. 23 Jun, 2012 12 commits
  5. 22 Jun, 2012 12 commits