mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 15:48:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
37
include/linux/battery/charger/bq24260_charger.h
Normal file
37
include/linux/battery/charger/bq24260_charger.h
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* bq24260_charger.h
|
||||
* Samsung BQ24260 Charger Header
|
||||
*
|
||||
* Copyright (C) 2012 Samsung Electronics, Inc.
|
||||
*
|
||||
*
|
||||
* 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 __BQ24260_CHARGER_H
|
||||
#define __BQ24260_CHARGER_H __FILE__
|
||||
|
||||
/* Slave address should be shifted to the right 1bit.
|
||||
* R/W bit should NOT be included.
|
||||
*/
|
||||
#define SEC_CHARGER_I2C_SLAVEADDR (0x6B)
|
||||
|
||||
/* BQ24260 Registers. */
|
||||
#define BQ24260_STATUS 0x00
|
||||
#define BQ24260_CONTROL 0x01
|
||||
#define BQ24260_VOLTAGE 0x02
|
||||
#define BQ24260_VENDOR 0x03
|
||||
#define BQ24260_CURRENT 0x04
|
||||
#define BQ24260_SPECIAL 0x05
|
||||
#define BQ24260_SAFETY 0x06
|
||||
|
||||
#endif /* __BQ24260_CHARGER_H */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue