diff options
| author | engstk <eng.stk@sapo.pt> | 2017-07-31 18:28:24 +0100 |
|---|---|---|
| committer | Semavi Ulusoy <doc.divxm@gmail.com> | 2023-05-25 01:48:28 +0300 |
| commit | f2357465a39723366faac4a9fb77489fd5c08739 (patch) | |
| tree | 2e02a4474e18cc87673e9d0b7e864195dda8bd98 /include/linux | |
| parent | b870015c90676065016aaa65244a159f8e8c35dc (diff) | |
echo 0 /sys/kernel/fast_charge/force_fast_charge (disable)
echo 1 /sys/kernel/fast_charge/force_fast_charge (enable)
Enables force charging up to 900mA in usb2 mode
Signed-off-by: engstk <eng.stk@sapo.pt>
Signed-off-by: AnierinB <anierin@evolution-x.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fastchg.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/fastchg.h b/include/linux/fastchg.h new file mode 100644 index 000000000000..7ab4c91e0388 --- /dev/null +++ b/include/linux/fastchg.h @@ -0,0 +1,22 @@ +/* + * Author (legacy sysfs): Chad Froebel <chadfroebel@gmail.com> + * + * Port to lemonadep/kebab and powers supply hooks: engstk <eng.stk@sapo.pt> + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _LINUX_FASTCHG_H +#define _LINUX_FASTCHG_H + +extern int force_fast_charge; + +#endif |
