mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
2a7e7274f3
The Spreadtrum SC27XX series PMICs supply the USB charger type detection function, and related registers are located on the PMIC global registers region, thus we implement and export this function in the MFD driver for users to get the USB charger type. Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
7 lines
228 B
C
7 lines
228 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __LINUX_MFD_SC27XX_PMIC_H
|
|
#define __LINUX_MFD_SC27XX_PMIC_H
|
|
|
|
extern enum usb_charger_type sprd_pmic_detect_charger_type(struct device *dev);
|
|
|
|
#endif /* __LINUX_MFD_SC27XX_PMIC_H */
|