forked from luck/tmp_suning_uos_patched
0ce5c79f38
* New chip/feature support - bq27xxx: support updating battery config from DT - bq24190: support loading battery charge info from DT - LTC2941: add LTC2942/LTC2944 support - max17042: add ACPI support - max1721x: new driver * Misc - Move bq27xxx w1 driver from w1 into power-supply subsystem - Introduce power_supply_set_input_current_limit_from_supplier - constify stuff - some minor fixes -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlmxSSQACgkQ2O7X88g7 +ppf2xAAliDRdNPuxpKu69syiX+iNPaPHTqRXd41sAJlEX2IYv/avcoNFcGySplR gJYdlbx2Qd86aBaMf92h4tGihk2iNa87It9xkA+JgO3wNoKiZ+b5lk///IDk8aDF 8sknSTXJtGYse0jwBRKTT4cL1ZW/g10heUxPr8AiX8nL4QhMf0TIxXawWQteAZDE dDz/UEAqbINooD5HtP716Z0e3U6FyWTqFc6UzuR+n8c6wC6n/JA6h91ASAHUmExT aH1JuQyrmucBp8cLhP01ThSkoIdGbcZM7nJ3WQBlfDricFJXa/yThug/mHvjztJX 3U1UOZBqsb/LL9Dh5hl/D3+i+7qI29KCyUZiYUrwoiSjxM/AtOB2t4cAWmU7+PnJ V3coYC1s2DlwYcLIUiyE2zmVWIDcOuuOJhQjCdpUBTPvz83nQ0v5oXMn7VnQmWlO 8Z/IRWnW90v2D2iHmSPAwFG3ATfH0pAP8G/4Wrudti+ymSxAhXaLqQcj3HHjKjvI 3CEGOPAN9Opuof7SfkIVuoOjPzazx5GUpAZQKi8LS87KRdXN4ics3vbNB6VBDR50 FzVhJJZBTeAOJCDogInuu4gDa0L5Ikfdkhqc+nvNfcdsE2k3H8Nb//+UPiPnfgEA mEFyp9gaY08/3ylDEHxp3N/W7POrL4QelTjv0dvdKW70i7KtWpA= =iy5f -----END PGP SIGNATURE----- Merge tag 'for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply Pull power supply and reset changes from Sebastian Reichel: "New chip/feature support: - bq27xxx: support updating battery config from DT - bq24190: support loading battery charge info from DT - LTC2941: add LTC2942/LTC2944 support - max17042: add ACPI support - max1721x: new driver Misc: - Move bq27xxx w1 driver from w1 into power-supply subsystem - Introduce power_supply_set_input_current_limit_from_supplier - constify stuff - some minor fixes" * tag 'for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (39 commits) power: supply: bq27xxx: enable writing capacity values for bq27421 power: supply: bq24190_charger: Get input_current_limit from our supplier power: supply: bq24190_charger: Export 5V boost converter as regulator power: supply: bq24190_charger: Add power_supply_battery_info support power: supply: bq24190_charger: Add property system-minimum-microvolt power: supply: bq24190_charger: Enable devicetree config dt-bindings: power: supply: Add docs for TI BQ24190 battery charger power: supply: bq27xxx: Remove duplicate chip data arrays power: supply: bq27xxx: Enable data memory update for certain chips power: supply: bq27xxx: Add chip IDs for previously shadowed chips power: supply: bq27xxx: Create single chip data table power: supply: bq24190_charger: Add ti,bq24192i to devicetree table power: supply: bq24190_charger: Add input_current_limit property power: supply: Add power_supply_set_input_current_limit_from_supplier helper power: supply: max17042_battery: Fix compiler warning power: supply: core: Delete two error messages for a failed memory allocation in power_supply_check_supplies() power: supply: make device_attribute const power: supply: max17042_battery: Fix ACPI interrupt issues power: supply: max17042_battery: Add support for ACPI enumeration power: supply: lp8788: Make several arrays static const * const ...
152 lines
4.3 KiB
Plaintext
152 lines
4.3 KiB
Plaintext
#
|
|
# 1-wire slaves configuration
|
|
#
|
|
|
|
menu "1-wire Slaves"
|
|
|
|
config W1_SLAVE_THERM
|
|
tristate "Thermal family implementation"
|
|
help
|
|
Say Y here if you want to connect 1-wire thermal sensors to your
|
|
wire.
|
|
|
|
config W1_SLAVE_SMEM
|
|
tristate "Simple 64bit memory family implementation"
|
|
help
|
|
Say Y here if you want to connect 1-wire
|
|
simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire.
|
|
|
|
config W1_SLAVE_DS2405
|
|
tristate "DS2405 Addressable Switch"
|
|
help
|
|
Say Y or M here if you want to use a DS2405 1-wire
|
|
single-channel addressable switch.
|
|
This device can also work as a single-channel
|
|
binary remote sensor.
|
|
|
|
config W1_SLAVE_DS2408
|
|
tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
|
|
help
|
|
Say Y here if you want to use a 1-wire
|
|
DS2408 8-Channel Addressable Switch device support
|
|
|
|
config W1_SLAVE_DS2408_READBACK
|
|
bool "Read-back values written to DS2408's output register"
|
|
depends on W1_SLAVE_DS2408
|
|
default y
|
|
help
|
|
Enabling this will cause the driver to read back the values written
|
|
to the chip's output register in order to detect errors.
|
|
|
|
This is slower but useful when debugging chips and/or busses.
|
|
|
|
config W1_SLAVE_DS2413
|
|
tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
|
|
help
|
|
Say Y here if you want to use a 1-wire
|
|
DS2413 Dual Channel Addressable Switch device support
|
|
|
|
config W1_SLAVE_DS2406
|
|
tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
|
|
select CRC16
|
|
help
|
|
Say Y or M here if you want to use a 1-wire
|
|
DS2406 Dual Channel Addressable Switch. EPROM read/write
|
|
support for these devices is not implemented.
|
|
|
|
config W1_SLAVE_DS2423
|
|
tristate "Counter 1-wire device (DS2423)"
|
|
select CRC16
|
|
help
|
|
If you enable this you can read the counter values available
|
|
in the DS2423 chipset from the w1_slave file under the
|
|
sys file system.
|
|
|
|
Say Y here if you want to use a 1-wire
|
|
counter family device (DS2423).
|
|
|
|
config W1_SLAVE_DS2805
|
|
tristate "112-byte EEPROM support (DS28E05)"
|
|
help
|
|
Say Y here if you want to use a 1-wire
|
|
is a 112-byte user-programmable EEPROM is
|
|
organized as 7 pages of 16 bytes each with 64bit
|
|
unique number. Requires OverDrive Speed to talk to.
|
|
|
|
config W1_SLAVE_DS2431
|
|
tristate "1kb EEPROM family support (DS2431)"
|
|
help
|
|
Say Y here if you want to use a 1-wire
|
|
1kb EEPROM family device (DS2431)
|
|
|
|
config W1_SLAVE_DS2433
|
|
tristate "4kb EEPROM family support (DS2433)"
|
|
help
|
|
Say Y here if you want to use a 1-wire
|
|
4kb EEPROM family device (DS2433).
|
|
|
|
config W1_SLAVE_DS2433_CRC
|
|
bool "Protect DS2433 data with a CRC16"
|
|
depends on W1_SLAVE_DS2433
|
|
select CRC16
|
|
help
|
|
Say Y here to protect DS2433 data with a CRC16.
|
|
Each block has 30 bytes of data and a two byte CRC16.
|
|
Full block writes are only allowed if the CRC is valid.
|
|
|
|
config W1_SLAVE_DS2438
|
|
tristate "DS2438 Smart Battery Monitor 0x26 family support"
|
|
help
|
|
Say Y here if you want to use a 1-wire
|
|
DS2438 Smart Battery Monitor device support
|
|
|
|
config W1_SLAVE_DS2760
|
|
tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
|
|
help
|
|
If you enable this you will have the DS2760 battery monitor
|
|
chip 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 W1_SLAVE_DS2780
|
|
tristate "Dallas 2780 battery monitor chip"
|
|
help
|
|
If you enable this you will have the DS2780 battery monitor
|
|
chip 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 W1_SLAVE_DS2781
|
|
tristate "Dallas 2781 battery monitor chip"
|
|
help
|
|
If you enable this you will have the DS2781 battery monitor
|
|
chip 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 W1_SLAVE_DS28E04
|
|
tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
|
|
select CRC16
|
|
help
|
|
If you enable this you will have the DS28E04-100
|
|
chip support.
|
|
|
|
Say Y here if you want to use a 1-wire
|
|
4kb EEPROM with PIO family device (DS28E04).
|
|
|
|
If you are unsure, say N.
|
|
|
|
endmenu
|