Changes in 4.9.276 ALSA: usb-audio: fix rate on Ozone Z90 USB headset media: dvb-usb: fix wrong definition Input: usbtouchscreen - fix control-request directions net: can: ems_usb: fix use-after-free in ems_usb_disconnect() usb: gadget: eem: fix echo command packet response issue USB: cdc-acm: blacklist Heimann USB Appset device ntfs: fix validity check for file name attribute iov_iter_fault_in_readable() should do nothing in xarray case Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl ARM: dts: at91: sama5d4: fix pinctrl muxing btrfs: clear defrag status of a root if starting transaction fails ext4: fix kernel infoleak via ext4_extent_header ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit ext4: remove check for zero nr_to_scan in ext4_es_scan() ext4: fix avefreec in find_group_orlov SUNRPC: Fix the batch tasks count wraparound. SUNRPC: Should wake up the privileged task firstly. s390/cio: dont call css_wait_for_slow_path() inside a lock iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR iio: ltr501: ltr501_read_ps(): add missing endianness conversion serial: sh-sci: Stop dmaengine transfer in sci_stop_tx() serial_cs: Add Option International GSM-Ready 56K/ISDN modem serial_cs: remove wrong GLOBETROTTER.cis entry ath9k: Fix kernel NULL pointer dereference during ath_reset_internal() ssb: sdio: Don't overwrite const buffer if block_write fails seq_buf: Make trace_seq_putmem_hex() support data longer than 8 fuse: check connected before queueing on fpq->io spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf' spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages() spi: omap-100k: Fix the length judgment problem crypto: nx - add missing MODULE_DEVICE_TABLE media: cpia2: fix memory leak in cpia2_usb_probe media: cobalt: fix race condition in setting HPD media: pvrusb2: fix warning in pvr2_i2c_core_done crypto: qat - check return code of qat_hal_rd_rel_reg() crypto: qat - remove unused macro in FW loader media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release media: bt8xx: Fix a missing check bug in bt878_probe media: st-hva: Fix potential NULL pointer dereferences mmc: via-sdmmc: add a check against NULL pointer dereference crypto: shash - avoid comparing pointers to exported functions under CFI media: dvb_net: avoid speculation from net slot media: siano: fix device register error path btrfs: abort transaction if we fail to update the delayed inode btrfs: disable build on platforms having page size 256K regulator: da9052: Ensure enough delay time for .set_voltage_time_sel ACPI: processor idle: Fix up C-state latency if not ordered block_dump: remove block_dump feature in mark_inode_dirty() fs: dlm: cancel work sync othercon random32: Fix implicit truncation warning in prandom_seed_state() fs: dlm: fix memory leak when fenced ACPI: bus: Call kobject_put() in acpi_init() error path platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard() ACPI: tables: Add custom DSDT file as makefile prerequisite ia64: mca_drv: fix incorrect array size calculation media: s5p_cec: decrement usage count if disabled crypto: ixp4xx - dma_unmap the correct address crypto: ux500 - Fix error return code in hash_hw_final() sata_highbank: fix deferred probing pata_rb532_cf: fix deferred probing media: I2C: change 'RST' to "RSET" to fix multiple build errors pata_octeon_cf: avoid WARN_ON() in ata_host_activate() pata_ep93xx: fix deferred probing media: tc358743: Fix error return code in tc358743_probe_of() media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2() mmc: usdhi6rol0: fix error return code in usdhi6_probe() media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx hwmon: (max31722) Remove non-standard ACPI device IDs hwmon: (max31790) Fix fan speed reporting for fan7..12 spi: spi-sun6i: Fix chipselect/clock bug crypto: nx - Fix RCU warning in nx842_OF_upd_status ACPI: sysfs: Fix a buffer overrun problem with description_show() ocfs2: fix snprintf() checking net: pch_gbe: Propagate error from devm_gpio_request_one() ehea: fix error return code in ehea_restart_qps() RDMA/rxe: Fix failure during driver load drm: qxl: ensure surf.data is ininitialized wireless: carl9170: fix LEDS build errors & warnings brcmsmac: mac80211_if: Fix a resource leak in an error handling path ath10k: Fix an error code in ath10k_add_interface() netlabel: Fix memory leak in netlbl_mgmt_add_common netfilter: nft_exthdr: check for IPv6 packet before further processing net: ethernet: aeroflex: fix UAF in greth_of_remove net: ethernet: ezchip: fix UAF in nps_enet_remove net: ethernet: ezchip: fix error handling vxlan: add missing rcu_read_lock() in neigh_reduce() i40e: Fix error handling in i40e_vsi_open Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid writeback: fix obtain a reference to a freeing memcg css net: sched: fix warning in tcindex_alloc_perfect_hash tty: nozomi: Fix a resource leak in an error handling function iio: adis_buffer: do not return ints in irq handlers iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp() iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp() Input: hil_kbd - fix error return code in hil_dev_connect() char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol() tty: nozomi: Fix the error handling path of 'nozomi_card_init()' scsi: FlashPoint: Rename si_flags field s390: appldata depends on PROC_SYSCTL staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt() staging: gdm724x: check for overflow in gdm_lte_netif_rx() of: Fix truncation of memory sizes on 32-bit platforms scsi: mpt3sas: Fix error return value in _scsih_expander_add() phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe() extcon: sm5502: Drop invalid register write in sm5502_reg_data extcon: max8997: Add missing modalias string configfs: fix memleak in configfs_release_bin_file leds: ktd2692: Fix an error handling path mm/huge_memory.c: don't discard hugepage if other processes are mapping it selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random mmc: vub3000: fix control-request direction scsi: core: Retry I/O for Notify (Enable Spinup) Required error net: pch_gbe: Use proper accessors to BE data in pch_ptp_match() hugetlb: clear huge pte during flush function on mips platform atm: iphase: fix possible use-after-free in ia_module_exit() mISDN: fix possible use-after-free in HFC_cleanup() atm: nicstar: Fix possible use-after-free in nicstar_cleanup() net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT reiserfs: add check for invalid 1st journal block drm/virtio: Fix double free on probe failure udf: Fix NULL pointer dereference in udf_symlink function e100: handle eeprom as little endian clk: tegra: Ensure that PLLU configuration is applied properly ipv6: use prandom_u32() for ID generation RDMA/cxgb4: Fix missing error code in create_qp() dm space maps: don't reset space map allocation cursor when committing net: micrel: check return value after calling platform_get_resource() fjes: check return value after calling platform_get_resource() selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC xfrm: Fix error reporting in xfrm_state_construct. wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP wl1251: Fix possible buffer overflow in wl1251_cmd_scan cw1200: add missing MODULE_DEVICE_TABLE MIPS: add PMD table accounting into MIPS'pmd_alloc_one atm: nicstar: use 'dma_free_coherent' instead of 'kfree' atm: nicstar: register the interrupt handler in the right place RDMA/rxe: Don't overwrite errno from ib_umem_get() sfc: avoid double pci_remove of VFs sfc: error code if SRIOV cannot be disabled wireless: wext-spy: Fix out-of-bounds warning RDMA/cma: Fix rdma_resolve_route() memory leak Bluetooth: Fix the HCI to MGMT status conversion table Bluetooth: Shutdown controller after workqueues are flushed or cancelled Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc. sctp: add size validation when walking chunks fuse: reject internal errno can: gw: synchronize rcu operations before removing gw job entry can: bcm: delay release of struct bcm_op after synchronize_rcu() mac80211: fix memory corruption in EAPOL handling powerpc/barrier: Avoid collision with clang's __lwsync macro pinctrl/amd: Add device HID for new AMD GPIO controller mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode mmc: core: clear flags before allowing to retune ata: ahci_sunxi: Disable DIPM ASoC: tegra: Set driver_name=tegra for all machine drivers qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute ipmi/watchdog: Stop watchdog timer when the current action is 'none' power: supply: ab8500: Fix an old bug seq_buf: Fix overflow in seq_buf_putmem_hex() ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe dm btree remove: assign new_root only when removal succeeds media: dtv5100: fix control-request directions media: zr364xx: fix memory leak in zr364xx_start_readpipe media: gspca/sq905: fix control-request direction media: gspca/sunplus: fix zero-length control requests media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K jfs: fix GPF in diFree smackfs: restrict bytes count in smk_set_cipso() KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run() scsi: core: Fix bad pointer dereference when ehandler kthread is invalid tracing: Do not reference char * as a string in histograms fscrypt: don't ignore minor_hash when hash is 0 tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero misc/libmasm/module: Fix two use after free in ibmasm_init_one Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology tty: serial: 8250: serial_cs: Fix a memory leak in error handling path fs/jfs: Fix missing error code in lmLogInit() scsi: iscsi: Add iscsi_cls_conn refcount helpers mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE s390/sclp_vt220: fix console name to match device ALSA: sb: Fix potential double-free of CSP mixer elements powerpc/ps3: Add dma_mask to ps3_dma_region gpio: zynq: Check return value of pm_runtime_get_sync ALSA: ppc: fix error return code in snd_pmac_probe() selftests/powerpc: Fix "no_handler" EBB selftest ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing() ALSA: bebob: add support for ToneWeal FW66 usb: gadget: f_hid: fix endianness issue with descriptors usb: gadget: hid: fix error return code in hid_bind() powerpc/boot: Fixup device-tree on little endian backlight: lm3630a: Fix return code of .update_status() callback ALSA: hda: Add IRQ check for platform_get_irq() i2c: core: Disable client irq on reboot/shutdown lib/decompress_unlz4.c: correctly handle zero-padding around initrds. pwm: spear: Don't modify HW state in .remove callback power: supply: ab8500: Avoid NULL pointers power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1 watchdog: Fix possible use-after-free in wdt_startup() watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff() watchdog: Fix possible use-after-free by calling del_timer_sync() x86/fpu: Return proper error codes from user access functions orangefs: fix orangefs df output. ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty power: supply: charger-manager: add missing MODULE_DEVICE_TABLE power: supply: ab8500: add missing MODULE_DEVICE_TABLE pwm: tegra: Don't modify HW state in .remove callback ACPI: AMBA: Fix resource name in /proc/iomem virtio-blk: Fix memory leak among suspend/resume procedure virtio_console: Assure used length from device is limited PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun power: supply: rt5033_battery: Fix device tree enumeration um: fix error return code in slip_open() um: fix error return code in winch_tramp() watchdog: aspeed: fix hardware timeout calculation nfs: fix acl memory leak of posix_acl_create() ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode x86/fpu: Limit xstate copy size in xstateregs_set() ALSA: isa: Fix error return code in snd_cmi8330_probe() hexagon: use common DISCARDS macro ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4 rtc: fix snprintf() checking in is_rtc_hctosys() ARM: dts: r8a7779, marzen: Fix DU clock names reset: bail if try_module_get() fails memory: fsl_ifc: fix leak of IO mapping on probe failure memory: fsl_ifc: fix leak of private memory on probe failure ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe() mips: always link byteswap helpers into decompressor mips: disable branch profiling in boot/decompress.o MIPS: vdso: Invalid GIC access through VDSO seq_file: disallow extremely large seq buffer allocations Linux 4.9.276 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I595c090068eb1b1934b15a0d54394abc38b4b0cc
516 lines
15 KiB
Plaintext
516 lines
15 KiB
Plaintext
menuconfig POWER_SUPPLY
|
|
bool "Power supply class support"
|
|
help
|
|
Say Y here to enable power supply class support. This allows
|
|
power supply (batteries, AC, USB) monitoring by userspace
|
|
via sysfs and uevent (if available) and/or APM kernel interface
|
|
(if selected below).
|
|
|
|
if POWER_SUPPLY
|
|
|
|
config POWER_SUPPLY_DEBUG
|
|
bool "Power supply debug"
|
|
help
|
|
Say Y here to enable debugging messages for power supply class
|
|
and drivers.
|
|
|
|
config PDA_POWER
|
|
tristate "Generic PDA/phone power driver"
|
|
depends on !S390
|
|
help
|
|
Say Y here to enable generic power driver for PDAs and phones with
|
|
one or two external power supplies (AC/USB) connected to main and
|
|
backup batteries, and optional builtin charger.
|
|
|
|
config APM_POWER
|
|
tristate "APM emulation for class batteries"
|
|
depends on APM_EMULATION
|
|
help
|
|
Say Y here to enable support APM status emulation using
|
|
battery class devices.
|
|
|
|
config GENERIC_ADC_BATTERY
|
|
tristate "Generic battery support using IIO"
|
|
depends on IIO
|
|
help
|
|
Say Y here to enable support for the generic battery driver
|
|
which uses IIO framework to read adc.
|
|
|
|
config MAX8925_POWER
|
|
tristate "MAX8925 battery charger support"
|
|
depends on MFD_MAX8925
|
|
help
|
|
Say Y here to enable support for the battery charger in the Maxim
|
|
MAX8925 PMIC.
|
|
|
|
config WM831X_BACKUP
|
|
tristate "WM831X backup battery charger support"
|
|
depends on MFD_WM831X
|
|
help
|
|
Say Y here to enable support for the backup battery charger
|
|
in the Wolfson Microelectronics WM831x PMICs.
|
|
|
|
config WM831X_POWER
|
|
tristate "WM831X PMU support"
|
|
depends on MFD_WM831X
|
|
help
|
|
Say Y here to enable support for the power management unit
|
|
provided by Wolfson Microelectronics WM831x PMICs.
|
|
|
|
config WM8350_POWER
|
|
tristate "WM8350 PMU support"
|
|
depends on MFD_WM8350
|
|
help
|
|
Say Y here to enable support for the power management unit
|
|
provided by the Wolfson Microelectronics WM8350 PMIC.
|
|
|
|
config TEST_POWER
|
|
tristate "Test power driver"
|
|
help
|
|
This driver is used for testing. It's safe to say M here.
|
|
|
|
config BATTERY_88PM860X
|
|
tristate "Marvell 88PM860x battery driver"
|
|
depends on MFD_88PM860X
|
|
help
|
|
Say Y here to enable battery monitor for Marvell 88PM860x chip.
|
|
|
|
config BATTERY_ACT8945A
|
|
tristate "Active-semi ACT8945A charger driver"
|
|
depends on MFD_ACT8945A || COMPILE_TEST
|
|
help
|
|
Say Y here to enable support for power supply provided by
|
|
Active-semi ActivePath ACT8945A charger.
|
|
|
|
config BATTERY_DS2760
|
|
tristate "DS2760 battery driver (HP iPAQ & others)"
|
|
depends on W1 && W1_SLAVE_DS2760
|
|
help
|
|
Say Y here to enable support for batteries with ds2760 chip.
|
|
|
|
config BATTERY_DS2780
|
|
tristate "DS2780 battery driver"
|
|
depends on HAS_IOMEM
|
|
select W1
|
|
select W1_SLAVE_DS2780
|
|
help
|
|
Say Y here to enable support for batteries with ds2780 chip.
|
|
|
|
config BATTERY_DS2781
|
|
tristate "DS2781 battery driver"
|
|
depends on HAS_IOMEM
|
|
select W1
|
|
select W1_SLAVE_DS2781
|
|
help
|
|
If you enable this you will have the DS2781 battery driver support.
|
|
|
|
The battery monitor chip is used in many batteries/devices
|
|
as the one who is responsible for charging/discharging/monitoring
|
|
Li+ batteries.
|
|
|
|
If you are unsure, say N.
|
|
|
|
config BATTERY_DS2782
|
|
tristate "DS2782/DS2786 standalone gas-gauge"
|
|
depends on I2C
|
|
help
|
|
Say Y here to enable support for the DS2782/DS2786 standalone battery
|
|
gas-gauge.
|
|
|
|
config BATTERY_PMU
|
|
tristate "Apple PMU battery"
|
|
depends on PPC32 && ADB_PMU
|
|
help
|
|
Say Y here to expose battery information on Apple machines
|
|
through the generic battery class.
|
|
|
|
config BATTERY_OLPC
|
|
tristate "One Laptop Per Child battery"
|
|
depends on X86_32 && OLPC
|
|
help
|
|
Say Y to enable support for the battery on the OLPC laptop.
|
|
|
|
config BATTERY_TOSA
|
|
tristate "Sharp SL-6000 (tosa) battery"
|
|
depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
|
|
help
|
|
Say Y to enable support for the battery on the Sharp Zaurus
|
|
SL-6000 (tosa) models.
|
|
|
|
config BATTERY_COLLIE
|
|
tristate "Sharp SL-5500 (collie) battery"
|
|
depends on SA1100_COLLIE && MCP_UCB1200
|
|
help
|
|
Say Y to enable support for the battery on the Sharp Zaurus
|
|
SL-5500 (collie) models.
|
|
|
|
config BATTERY_IPAQ_MICRO
|
|
tristate "iPAQ Atmel Micro ASIC battery driver"
|
|
depends on MFD_IPAQ_MICRO
|
|
help
|
|
Choose this option if you want to monitor battery status on
|
|
Compaq/HP iPAQ h3100 and h3600.
|
|
|
|
config BATTERY_WM97XX
|
|
bool "WM97xx generic battery driver"
|
|
depends on TOUCHSCREEN_WM97XX=y
|
|
help
|
|
Say Y to enable support for battery measured by WM97xx aux port.
|
|
|
|
config BATTERY_SBS
|
|
tristate "SBS Compliant gas gauge"
|
|
depends on I2C
|
|
help
|
|
Say Y to include support for SBS battery driver for SBS-compliant
|
|
gas gauges.
|
|
|
|
config BATTERY_BQ27XXX
|
|
tristate "BQ27xxx battery driver"
|
|
help
|
|
Say Y here to enable support for batteries with BQ27xxx chips.
|
|
|
|
config BATTERY_BQ27XXX_I2C
|
|
tristate "BQ27xxx I2C support"
|
|
depends on BATTERY_BQ27XXX
|
|
depends on I2C
|
|
default y
|
|
help
|
|
Say Y here to enable support for batteries with BQ27xxx chips
|
|
connected over an I2C bus.
|
|
|
|
config BATTERY_DA9030
|
|
tristate "DA9030 battery driver"
|
|
depends on PMIC_DA903X
|
|
help
|
|
Say Y here to enable support for batteries charger integrated into
|
|
DA9030 PMIC.
|
|
|
|
config BATTERY_DA9052
|
|
tristate "Dialog DA9052 Battery"
|
|
depends on PMIC_DA9052
|
|
help
|
|
Say Y here to enable support for batteries charger integrated into
|
|
DA9052 PMIC.
|
|
|
|
config CHARGER_DA9150
|
|
tristate "Dialog Semiconductor DA9150 Charger support"
|
|
depends on MFD_DA9150
|
|
depends on DA9150_GPADC
|
|
depends on IIO
|
|
help
|
|
Say Y here to enable support for charger unit of the DA9150
|
|
Integrated Charger & Fuel-Gauge IC.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called da9150-charger.
|
|
|
|
config BATTERY_DA9150
|
|
tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
|
|
depends on MFD_DA9150
|
|
help
|
|
Say Y here to enable support for the Fuel-Gauge unit of the DA9150
|
|
Integrated Charger & Fuel-Gauge IC
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called da9150-fg.
|
|
|
|
config AXP288_CHARGER
|
|
tristate "X-Powers AXP288 Charger"
|
|
depends on MFD_AXP20X && EXTCON_AXP288
|
|
help
|
|
Say yes here to have support X-Power AXP288 power management IC (PMIC)
|
|
integrated charger.
|
|
|
|
config AXP288_FUEL_GAUGE
|
|
tristate "X-Powers AXP288 Fuel Gauge"
|
|
depends on MFD_AXP20X && IIO
|
|
help
|
|
Say yes here to have support for X-Power power management IC (PMIC)
|
|
Fuel Gauge. The device provides battery statistics and status
|
|
monitoring as well as alerts for battery over/under voltage and
|
|
over/under temperature.
|
|
|
|
config BATTERY_MAX17040
|
|
tristate "Maxim MAX17040 Fuel Gauge"
|
|
depends on I2C
|
|
help
|
|
MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
|
|
in handheld and portable equipment. The MAX17040 is configured
|
|
to operate with a single lithium cell
|
|
|
|
config BATTERY_MAX17042
|
|
tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
help
|
|
MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
|
|
in handheld and portable equipment. The MAX17042 is configured
|
|
to operate with a single lithium cell. MAX8997 and MAX8966 are
|
|
multi-function devices that include fuel gauages that are compatible
|
|
with MAX17042. This driver also supports max17047/50 chips which are
|
|
improved version of max17042.
|
|
|
|
config BATTERY_Z2
|
|
tristate "Z2 battery driver"
|
|
depends on I2C && MACH_ZIPIT2
|
|
help
|
|
Say Y to include support for the battery on the Zipit Z2.
|
|
|
|
config BATTERY_S3C_ADC
|
|
tristate "Battery driver for Samsung ADC based monitoring"
|
|
depends on S3C_ADC
|
|
help
|
|
Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
|
|
|
|
config BATTERY_TWL4030_MADC
|
|
tristate "TWL4030 MADC battery driver"
|
|
depends on TWL4030_MADC
|
|
help
|
|
Say Y here to enable this dumb driver for batteries managed
|
|
through the TWL4030 MADC.
|
|
|
|
config CHARGER_88PM860X
|
|
tristate "Marvell 88PM860x Charger driver"
|
|
depends on MFD_88PM860X && BATTERY_88PM860X
|
|
help
|
|
Say Y here to enable charger for Marvell 88PM860x chip.
|
|
|
|
config CHARGER_PCF50633
|
|
tristate "NXP PCF50633 MBC"
|
|
depends on MFD_PCF50633
|
|
help
|
|
Say Y to include support for NXP PCF50633 Main Battery Charger.
|
|
|
|
config BATTERY_JZ4740
|
|
tristate "Ingenic JZ4740 battery"
|
|
depends on MACH_JZ4740
|
|
depends on MFD_JZ4740_ADC
|
|
help
|
|
Say Y to enable support for the battery on Ingenic JZ4740 based
|
|
boards.
|
|
|
|
This driver can be build as a module. If so, the module will be
|
|
called jz4740-battery.
|
|
|
|
config BATTERY_INTEL_MID
|
|
tristate "Battery driver for Intel MID platforms"
|
|
depends on INTEL_SCU_IPC && SPI
|
|
help
|
|
Say Y here to enable the battery driver on Intel MID
|
|
platforms.
|
|
|
|
config BATTERY_RX51
|
|
tristate "Nokia RX-51 (N900) battery driver"
|
|
depends on TWL4030_MADC
|
|
help
|
|
Say Y here to enable support for battery information on Nokia
|
|
RX-51, also known as N900 tablet.
|
|
|
|
config CHARGER_ISP1704
|
|
tristate "ISP1704 USB Charger Detection"
|
|
depends on USB_PHY
|
|
depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
|
|
help
|
|
Say Y to enable support for USB Charger Detection with
|
|
ISP1707/ISP1704 USB transceivers.
|
|
|
|
config CHARGER_MAX8903
|
|
tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
|
|
help
|
|
Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
|
|
The driver supports controlling charger-enable and current-limit
|
|
pins based on the status of charger connections with interrupt
|
|
handlers.
|
|
|
|
config CHARGER_TWL4030
|
|
tristate "OMAP TWL4030 BCI charger driver"
|
|
depends on IIO && TWL4030_CORE
|
|
help
|
|
Say Y here to enable support for TWL4030 Battery Charge Interface.
|
|
|
|
config CHARGER_LP8727
|
|
tristate "TI/National Semiconductor LP8727 charger driver"
|
|
depends on I2C
|
|
help
|
|
Say Y here to enable support for LP8727 Charger Driver.
|
|
|
|
config CHARGER_LP8788
|
|
tristate "TI LP8788 charger driver"
|
|
depends on MFD_LP8788
|
|
depends on LP8788_ADC
|
|
depends on IIO
|
|
help
|
|
Say Y to enable support for the LP8788 linear charger.
|
|
|
|
config CHARGER_GPIO
|
|
tristate "GPIO charger"
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
help
|
|
Say Y to include support for chargers which report their online status
|
|
through a GPIO pin.
|
|
|
|
This driver can be build as a module. If so, the module will be
|
|
called gpio-charger.
|
|
|
|
config CHARGER_MANAGER
|
|
bool "Battery charger manager for multiple chargers"
|
|
depends on REGULATOR
|
|
select EXTCON
|
|
help
|
|
Say Y to enable charger-manager support, which allows multiple
|
|
chargers attached to a battery and multiple batteries attached to a
|
|
system. The charger-manager also can monitor charging status in
|
|
runtime and in suspend-to-RAM by waking up the system periodically
|
|
with help of suspend_again support.
|
|
|
|
config CHARGER_MAX14577
|
|
tristate "Maxim MAX14577/77836 battery charger driver"
|
|
depends on MFD_MAX14577
|
|
help
|
|
Say Y to enable support for the battery charger control sysfs and
|
|
platform data of MAX14577/77836 MUICs.
|
|
|
|
config CHARGER_MAX77693
|
|
tristate "Maxim MAX77693 battery charger driver"
|
|
depends on MFD_MAX77693
|
|
help
|
|
Say Y to enable support for the Maxim MAX77693 battery charger.
|
|
|
|
config CHARGER_MAX8997
|
|
tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
|
|
depends on MFD_MAX8997 && REGULATOR_MAX8997
|
|
help
|
|
Say Y to enable support for the battery charger control sysfs and
|
|
platform data of MAX8997/LP3974 PMICs.
|
|
|
|
config CHARGER_MAX8998
|
|
tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
|
|
depends on MFD_MAX8998 && REGULATOR_MAX8998
|
|
help
|
|
Say Y to enable support for the battery charger control sysfs and
|
|
platform data of MAX8998/LP3974 PMICs.
|
|
|
|
config CHARGER_QCOM_SMBB
|
|
tristate "Qualcomm Switch-Mode Battery Charger and Boost"
|
|
depends on MFD_SPMI_PMIC || COMPILE_TEST
|
|
depends on OF
|
|
depends on EXTCON
|
|
help
|
|
Say Y to include support for the Switch-Mode Battery Charger and
|
|
Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger
|
|
is an integrated, single-cell lithium-ion battery charger. DT
|
|
configuration is required for loading, see the devicetree
|
|
documentation for more detail. The base name for this driver is
|
|
'pm8941_charger'.
|
|
|
|
config CHARGER_BQ2415X
|
|
tristate "TI BQ2415x battery charger driver"
|
|
depends on I2C
|
|
help
|
|
Say Y to enable support for the TI BQ2415x battery charger
|
|
PMICs.
|
|
|
|
You'll need this driver to charge batteries on e.g. Nokia
|
|
RX-51/N900.
|
|
|
|
config CHARGER_BQ24190
|
|
tristate "TI BQ24190 battery charger driver"
|
|
depends on I2C
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
help
|
|
Say Y to enable support for the TI BQ24190 battery charger.
|
|
|
|
config CHARGER_BQ24257
|
|
tristate "TI BQ24250/24251/24257 battery charger driver"
|
|
depends on I2C
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
select REGMAP_I2C
|
|
help
|
|
Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
|
|
chargers.
|
|
|
|
config CHARGER_BQ24735
|
|
tristate "TI BQ24735 battery charger support"
|
|
depends on I2C
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
help
|
|
Say Y to enable support for the TI BQ24735 battery charger.
|
|
|
|
config CHARGER_BQ25890
|
|
tristate "TI BQ25890 battery charger driver"
|
|
depends on I2C
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
select REGMAP_I2C
|
|
help
|
|
Say Y to enable support for the TI BQ25890 battery charger.
|
|
|
|
config CHARGER_SMB347
|
|
tristate "Summit Microelectronics SMB347 Battery Charger"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
help
|
|
Say Y to include support for Summit Microelectronics SMB347
|
|
Battery Charger.
|
|
|
|
config CHARGER_TPS65090
|
|
tristate "TPS65090 battery charger driver"
|
|
depends on MFD_TPS65090
|
|
help
|
|
Say Y here to enable support for battery charging with TPS65090
|
|
PMIC chips.
|
|
|
|
config CHARGER_TPS65217
|
|
tristate "TPS65217 battery charger driver"
|
|
depends on MFD_TPS65217
|
|
help
|
|
Say Y here to enable support for battery charging with TPS65217
|
|
PMIC chips.
|
|
|
|
config BATTERY_GAUGE_LTC2941
|
|
tristate "LTC2941/LTC2943 Battery Gauge Driver"
|
|
depends on I2C
|
|
help
|
|
Say Y here to include support for LTC2941 and LTC2943 Battery
|
|
Gauge IC. The driver reports the charge count continuously, and
|
|
measures the voltage and temperature every 10 seconds.
|
|
|
|
config AB8500_BM
|
|
bool "AB8500 Battery Management Driver"
|
|
depends on AB8500_CORE && AB8500_GPADC
|
|
help
|
|
Say Y to include support for AB8500 battery management.
|
|
|
|
config BATTERY_GOLDFISH
|
|
tristate "Goldfish battery driver"
|
|
depends on GOLDFISH || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
help
|
|
Say Y to enable support for the battery and AC power in the
|
|
Goldfish emulator.
|
|
|
|
config BATTERY_RT5033
|
|
tristate "RT5033 fuel gauge support"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
help
|
|
This adds support for battery fuel gauge in Richtek RT5033 PMIC.
|
|
The fuelgauge calculates and determines the battery state of charge
|
|
according to battery open circuit voltage.
|
|
|
|
config CHARGER_RT9455
|
|
tristate "Richtek RT9455 battery charger driver"
|
|
depends on I2C
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
select REGMAP_I2C
|
|
help
|
|
Say Y to enable support for Richtek RT9455 battery charger.
|
|
|
|
config AXP20X_POWER
|
|
tristate "AXP20x power supply driver"
|
|
depends on MFD_AXP20X
|
|
help
|
|
This driver provides support for the power supply features of
|
|
AXP20x PMIC.
|
|
|
|
endif # POWER_SUPPLY
|