config MTK_CHARGER
	bool "MediaTek Charging Driver"
	depends on MEDIATEK_SOLUTION
	help
	  Say yes here to enable MediaTek charging driver.
	  This driver contains charging control flow and
	  maintains charging status.
	  Say no if not using MediaTek charging driver.

config POWER_EXT
	bool "MediaTek Power Ext"
	help
	  Check this if the device is not powered by battery.
	  For example, if the device is powered by AC adapter.
	  Select No if the device needs info about
	  battery voltage, temperature, etc.

config MTK_SWCHR_SUPPORT
	bool "MediaTek switch charger"
	depends on MTK_CHARGER
	help
	  This is to enable switching charger control flow.
	  switching charger has better performance than pulse charger
	  Set to yes if switching charger is used.
	  Set to no if pmic pulse charger is used.

config MTK_KERNEL_POWER_OFF_CHARGING
	bool "MTK kernel power off charging"
	depends on MTK_CHARGER
	help
	  yes : support KPOC feature, power off charging would running by
	  kernel and charging animation by kpoc service. no: not support KPOC
	  feature.
	  device won't enter charging mode if config is no.

config MTK_PUMP_EXPRESS_PLUS_SUPPORT
	bool "MediaTek PUMP EXPRESS PLUS"
	depends on MTK_CHARGER
	help
	  Fast charging technology using switch charger and current pattern
	  to achive better charging ability.
	  Set Yes to enable PE+
	  Set No to disable PE+

config MTK_PUMP_EXPRESS_PLUS_20_SUPPORT
	bool "MediaTek PUMP EXPRESS PLUS 2.0"
	depends on MTK_CHARGER
	help
	  Fast charging technology using switch charger and current pattern
	  to achive better charging ability. It has higher charging efficiency
	  and has better thermal performance than PE+.
	  Set Yes to enable PE+2.0
	  Set No to disable PE+2.0

config MTK_PUMP_EXPRESS_50_SUPPORT
	bool "Mediatek Pump Express 5.0"
	select RT_PROP_CHGALGO
	depends on MTK_CHARGER
	help
	  Fast charging technology using divider charger to achieve better
	  charging ability. It has higher charging efficiency and better
	  thermal performance than using switching charger.
	  Set Yes to enable PE5.0
	  Set No to disable PE5.0

config MTK_DUAL_CHARGER_SUPPORT
	bool "MediaTek dual charger support"
	depends on MTK_CHARGER
	help
	  Use two charging ICs (master and slave) to charge the system.
	  The master IC is connected to VBUS, VSYS, and VBAT, the slave
	  IC is conneceted to PMID pin from the master and VBAT.
	  Say Yes to enable dual charger support.

config SWCHR_POWER_PATH
	bool "External charger IC supports powerpath"
	depends on MTK_CHARGER
	help
	  Set Yes if the external charger IC
	  supports power path function.
	  This affects setting of auxadc channels
	  used to representing voltage of system
	  or battery.

config MTK_BQ24196_SUPPORT
	bool "MediaTek Battery driver for TI BQ24196 charger IC"
	help
	  BQ24196 charger IC support
	  This is to enable MediaTek supports to BQ24196.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT
	  Set to Yes if BQ24196 is used.

config MTK_BQ24296_SUPPORT
	bool "MediaTek Battery driver for TI BQ24296 charger IC"
	help
	  This is to enable MediaTek supports to BQ24296 Charger IC.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT
	  Set to Yes if BQ24296 is used.

config CHARGER_MT6362
	tristate "MT6362 SPMI CHG driver"
	depends on MFD_MT6362
	help
	  Say yes here to have support for the MT6362 CHG
	  It supports BC1.2 and OTG boost.
	  The driver can also be build as a module.
	  If so, the module will be called mt6362_chg

config CHARGER_RT9465
	bool "Charger Driver for Richtek RT9465 Charger IC"
	depends on MTK_CHARGER
	help
	  Say Yes to enable Richtek RT9465 driver.
	  It is mainly used as slave IC for dual charger
	  application.
	  It depends on config MTK_CHARGER.

config CHARGER_RT9458
	bool "Charger Driver for Richtek RT9458 Charger IC"
	depends on MTK_SWCHR_SUPPORT
	help
	  Say Y to enable
	  Richtek RT9458 driver.
	  It depends on
	  the config MTK_SWCHR_SUPPORT.

config CHARGER_RT9466
	bool "Charger Driver for Richtek RT9466 Charger IC"
	default n
	depends on MTK_SWCHR_SUPPORT
	help
	  Say Yes to enable
	  Say No to disable
	  Richtek RT9466 driver.
	  It depends on config  MTK_SWCHR_SUPPORT.

config CHARGER_RT9467
	bool "Charger Driver for Richtek RT9467 Charger IC"
	depends on MTK_CHARGER
	help
	  Say Yes to enable Richtek RT9467 driver.
	  It is mainly used as slave IC for dual charger
	  application.
	  It depends on config MTK_CHARGER.

config CHARGER_RT9471
	bool "Charger Driver for Richtek RT9471 Charger IC"
	depends on MTK_CHARGER
	help
	  Say Yes to enable Richtek RT9471 charger driver.
	  It supports RT9470/RT9470D/RT9471/RT9471D/RT9472/RT9472D,
	  which RT9470D, RT9471D and RT9472D support BC1.2
	  It depends on config MTK_CHARGER.
# begin, prize-sunshuai-20200111, add for wireless power receiver mt5715
config PRIZE_WIRELESS_RECEIVER_MAXIC_MT5715
        bool "driver for Wireless Power Receiver MAXIC MT5715 IC"
        default n
        help
          Set to Yes if MT5715 is used.
# end, prize-sunshuai-20200111, add for wireless power receiver mt5715
#prize add by sunshuai for A-C 30w charge 20201109-start
config  PRIZE_ATOC_TYPEC_CHARGE
        bool "A-C 30w charge"
        default n
        help
          Set to Yes if A-C 30w charge is used.
#prize add by sunshuai for A-C 30w charge 20201109-end

config CHARGER_RT9759
	bool "Richtek RT9759 Divider Charger Driver"
	depends on MTK_CHARGER
	help
	  Say Y here to enable support of rt9759 divider charger
	  It is mainly used as divider charger for
	  direct charge
	  It depends on config MTK_CHARGER
#add by liaojie 20210305  for sc8551 30w start	  
config CHARGER_SC8551
	bool "Richtek SC8551 Divider Charger Driver"
	depends on MTK_CHARGER
	help
	  Say Y here to enable support of SC8551 divider charger
	  It is mainly used as divider charger for
	  direct charge
	  It depends on config MTK_CHARGER
#add by liaojie 20210305  for sc8551 30w end	  
config RT_PROP_CHGALGO
	bool "Richtek Proprietary Charging Algorithm"
	help
	  Say Y to enable
	  Richtek Proprietary charging algorithm
	  Say N to disable
	  Richtek Proprietary charging algorithm

config MTK_CHARGER_UNLIMITED
	bool "MediaTek Charger Unlimited"
	depends on MTK_CHARGER
	help
	  Say Yes to release charging current restrictions.
	  Say No to not release charging current restrictions.
	  It is mainly used for long-term tests.
	  It depends on config MTK_CHARGER.

config CHARGER_HL7005
	bool "Charger Driver for Halo HL7005 Charger IC"
	depends on MTK_SWCHR_SUPPORT
	help
	  Say Y to enable
	  Halo HL7005 driver.
	  It depends on config MTK_SWCHR_SUPPORT.

config CHARGER_BQ25601
	bool "CHARGER_BQ25601"
	help
	  This is to enable MediaTek supports to BQ25601.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT
	  Set to Yes if BQ25601 is used.
# prize add by pengzhipeng for Bright screen current limit  20210127 start
config PRIZE_CHARGE_CTRL_POLICY
	bool "PRIZE_CHARGE_CTRL_POLICY"
	default y
	help
	  This is used to PRIZE_CHARGE_CTRL_POLICY
# prize  add by pengzhipeng for Bright screen current limit  20210127 end

# begin, prize-lifenfen-20181217, add for input current regulation
config PRIZE_CONSTANT_AICR_SUPPORT
	bool "PRIZE_CONSTANT_AICR_SUPPORT"
	default n
	help
	  This is used to PRIZE_CONSTANT_AICR_SUPPORT
# end, prize-lifenfen-20181217, add for input current regulation

config LOAD_SWITCH_RT9750
	bool "Load Switch Driver for Richtek RT9750"
	depends on MTK_CHARGER
	help
	  Say Yes to enable Richtek RT9750 driver.
	  It is a load switch,
	  which is good for direct charge.
	  It depends on config MTK_CHARGER.

#//prize added by huarui, hl7005 support, 20190111-start 
config HIGH_BATTERY_VOLTAGE_SUPPORT_44
	bool "Support battery 4.4V"
	default n
	help
	  Set Yes to config if 4.4V battery is to be supported.

config HL7005ALL_CHARGER_SUPPORT
	bool "Charger Driver for Halo HL7005 Charger IC"
	default n
	help
	  Say Y to enable
	  Halo HL7005 driver.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT.

config PSC5415A_56MR_SUPPORT
	bool "Modifile Halo HL7005 Charger IC driver as PSC5415A with 56mr"
	default n
	depends on HL7005ALL_CHARGER_SUPPORT
	help
	  Say Y to enable PSC5415A driver.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT.

config PSC5415A_68MR_SUPPORT
	bool "Modifile Halo HL7005 Charger IC driver as PSC5415A with 68mr"
	default n
	depends on HL7005ALL_CHARGER_SUPPORT
	help
	  Say Y to enable PSC5415A driver.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT.

config PSC5425_40MR_SUPPORT
	bool "Modifile Halo HL7005 Charger IC driver as PSC5425 with 40mr"
	default n
	depends on HL7005ALL_CHARGER_SUPPORT
	help
	  Say Y to enable PSC5425 driver.
	  It depends on config MTK_SMART_BATTERY
	  and config MTK_SWCHR_SUPPORT.

config PSC5425_33MR_SUPPORT
	bool "Modifile Halo HL7005 Charger IC driver as PSC5425 with 33mr"
	default n
	depends on HL7005ALL_CHARGER_SUPPORT
	help
	  Say Y to enable PSC5425 driver.
#//prize added by huarui, hl7005 support, 20190111-end

#//prize added by sunshuai, mt5725-15W support, 20200507-start
config PRIZE_MT5725_SUPPORT_15W
	bool "PRIZE_MT5725_SUPPORT_15W"
	default n
	help
	  Set to Yes if mt5725_15W is used.
#//prize added by sunshuai, mt5725-15W support, 20200507-end

# prize add  by wangfei for GIGAST customer  20210902 start
config  PRIZE_CHARGE_CURRENT_CTRL_GIGAST
        bool "Charging is controlled according to the battery specification"
        default n
        help
           This is used to PRIZE_CHARGE_CURRENT_CTRL_GIGAST
# prize add by wangfei for GIGAST customer 20210902 end


#//prize added by sunshuai, CV8035D support, 20200618 start
config PRIZE_CV8035D_SUPPORT
	bool "PRIZE_CV8035D_SUPPORT"
	default n
	help
	  Set to Yes if PRIZE_CV8035D_SUPPORT is used.
	  
#prize add by lipengpeng 20210308 start
config PRIZE_REVERE_CHARGING_MODE
	bool "prize revere charging mode"
	default n
	help
	  Say Y here if you use prize revere charging mode.
	  If unsure, say N.
	  To compile this dirver as a module, choose M here: the
	  module will be called.
#prize add by lipengpeng 20210308 start

#prize add by lipengpeng 20210416 start
# prize-add by sunshuai for German customers Charging restrictions  20200604 start
config  PRIZE_GIGASET_CHARGE_RESTRICTION
        bool "Charging restrictions"
        default n
        help
           This is used to PRIZE_GIGASET_CHARGE_RESTRICTION
# prize-add by sunshuai for  German customers Charging restrictions 20200604 end

config PRIZE_MT5725_SUPPORT_15W_NEW
	bool "PRIZE_MT5725_SUPPORT_15W_NEW"
	default n
	help
	  Set to Yes if mt5725_15W is used.
	   
#prize add by lipengpeng 20210416 end 

#//prize added by huarui, sgm41512 support, 20190111-start 
config CHARGER_SGM41512
	bool "CHARGER_SGM41512"
	default n
	help
	  This is used to CHARGER_SGM41512
#//prize added by huarui, sgm41512 support, 20190111-end
