[GIT PULL] MFD fixes for v4.18

From: Lee Jones
Date: Mon Jun 11 2018 - 08:36:49 EST


Good afternoon Linus,

As promised. Enjoy!

The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338:

Linux 4.17-rc1 (2018-04-15 18:24:20 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-next-4.18

for you to fetch changes up to 556c242045f0c1613aac2e64dc5b2ff0e4bc89e1:

mfd: cros_ec: Remove unused __remove function (2018-06-11 09:11:12 +0100)

----------------------------------------------------------------
- New Device Support
- Add support for AXP813 ADC to AXP20x
- Add support for PM8005, PM8998 and PMI8998

- New Functionality
- Add support for Battery Power Supply to AXP813
- Add support for SYSCON to SPARD SC27XX SPI
- Add support for RTC to ChromeOS Embedded-Controller

- Fix-ups
- Remove unused code; exynos{4,5}-pmu, cros_ec, cros_ec_acpi_gpe
- Remove duplicate error messages (-ENOMEM, etc); htc-i2cpld, janz-cmodio,
max8997, rc5t583, sm501, smsc-ece1099, abx500-core, si476x-i2c,
ti_am335x_tscadc, tps65090, tps6586x, tps65910, tps80031,
twl6030-irq, viperboard
- Succinctly use ptr to struct in sizeof(); rc5t583, abx500-core, sm501,
smsc-ece1099
- Simplify syntax for NULL ptr checking; abx500-core, sm501
- No not unnecessarily initialise variables; tps65910, tps65910
- Reorganise and simplify driver data; omap-usb-tll
- Move to SPDX license statement; tps68470
- Probe ADCs via DT; axp20x
- Use new GPIOD API; arizona-core
- Constify things; axp20x
- Reduce code-size (use MACROS, etc); axp20x, omap-usb-host
- Add DT support/docs; motorola-cpcap
- Remove VLAs; rave-sp
- Use devm_* managed resources; cros_ec
- Interrogate HW for firmware version; rave-sp
- Provide ACPI support for ChromeOS Embedded-Controller

- Bug Fixes
- Reorder ordered (enum) device list; tps65218
- Only accept valid data from the offset; rave-sp
- Refrain from copying junk from failed SPI read; cros_ec_dev
- Fix potential memory leaks; pcf50633-core
- Fix clock initialisation; twl-core
- Fix build-issue; tps65911
- Fix off-by-one error; tps65911
- Fix code ordering issues; intel-lpss
- Fix COMPILE_TEST related issues; pwm-stm32
- Fix broken MMC card detection; asic3
- Fix clocking related issues; intel-lpss-pci

----------------------------------------------------------------
Andrey Gusakov (1):
hwmon: MC13783: Add uid and die temperature sensor inputs

Andrey Smirnov (3):
mfd: rave-sp: Add code to print firmware versions
mfd: rave-sp: Convert print_hex_dump() to print_hex_dump_debug()
mfd: rave-sp: Check received frame length before accepting next byte

Andy Shevchenko (2):
mfd: intel-lpss: Program REMAP register in PIO mode
mfd: intel-lpss: Correct names of RESETS register bits

Arnd Bergmann (1):
mfd: cros_ec: Remove unused __remove function

Baolin Wang (1):
mfd: sprd: Add one syscon cell to access PMIC global registers

Charles Keepax (2):
mfd: arizona: Update reset pin to use GPIOD
mfd: arizona: Update DT doc to support more standard Reset binding

Chen Zhong (5):
mfd: mt6397: Create irq mappings in mfd core driver
dt-bindings: input: Add document bindings for mtk-pmic-keys
dt-bindings: mfd: Add bindings for the keys as subnode of PMIC
input: Add MediaTek PMIC keys support
mfd: mt6397: Add PMIC keys support to MT6397 driver

Chen-Yu Tsai (3):
mfd: axp20x: Constify struct mfd_cell and struct resource
mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells
mfd: axp20x: Correct AXP806 POK interrupt prefix

Christophe JAILLET (1):
mfd: pcf50633: Fix some memory leaks in the error handling path of 'pcf50633_probe()'

Colin Ian King (1):
mfd: timberdale: Fix spelling mistake "Uknown" -> "Unknown"

Dan Carpenter (1):
mfd: tps65911-comparator: Fix a build error

Daniel Hung-yu Wu (1):
mfd: cros_ec_dev: Register shutdown function for debugfs

Dave Gerlach (1):
mfd: tps65218: Reorder tps65218_regulator_id enum

David Lechner (1):
mfd: syscon: Set regmap name to DT node name

Douglas Anderson (1):
mfd: cros_ec: Don't try to grab log when suspended

Enric Balletbo i Serra (1):
mfd: cros_ec_dev: Register cros-ec-rtc driver as a subdevice

Fabrice Gasnier (7):
mfd: stm32-timers: Add support for DMAs
pwm: stm32: Add capture support
pwm: stm32: Improve capture by tuning counter prescaler
pwm: stm32: Use input prescaler to improve period capture
MAINTAINERS: Add entry for STM32 timer and lptimer drivers
pwm: stm32: Initialize raw local variables
mfd: stm32-timers: Fix pwm-stm32 linker issue with COMPILE_TEST

Gwendal Grignou (1):
mfd: cros_ec: Use devm_kzalloc for private data

Himanshu Jha (1):
mfd: ab8500-debugfs: Use kasprintf

Jarkko Nikula (1):
mfd: intel-lpss: Fix Intel Cannon Lake LPSS I2C input clock

Jeffy Chen (1):
mfd: syscon: Set name of regmap_config

Joseph Lo (1):
mfd: cros_ec_i2c: Moving the system sleep pm ops to late

Krzysztof Kozlowski (1):
mfd: syscon: Remove unused Exynos PMU headers

Kyle Spiers (1):
mfd: rave-sp: Remove VLA

Ladislav Michl (1):
mfd: omap-usb-tll: Allocate driver data at once

Lee Jones (2):
Merge tags 'ib-mfd-hwmon-v4.18', 'ib-mfd-input-rtc-v4.18' and 'ib-mfd-pwm-v4.18' into ibs-for-mfd-merged
mfd: tps65911-comparator: Fix an off by one bug

Marek Vasut (1):
dt-bindings: mfd: Add bindings for DA9063L

Markus Elfring (25):
mfd: htc-i2cpld: Delete error message for a failed memory allocation
mfd: janz-cmodio: Delete error message for a failed memory allocation
mfd: jz4740-adc: Delete error message for a failed memory allocation
mfd: max8997: Delete error message for a failed memory allocation
mfd: rc5t583: Delete error message for a failed memory allocation
mfd: rc5t583: Improve a size determination
mfd: sm501: Delete error message for a failed memory allocation in two places
mfd: smsc-ece1099: Delete an error message for a failed memory allocation
mfd: abx500-core: Delete an error message for a failed memory allocation in abx500_register_ops()
mfd: abx500-core: Improve two size determinations in abx500_register_ops()
mfd: abx500-core: Adjust 14 checks for null pointers
mfd: si476x-i2c: Delete an error message for a failed memory allocation in si476x_core_probe()
mfd: sm501: Improve a size determination in two functions
mfd: sm501: Adjust 12 checks for null pointers
mfd: smsc-ece1099: Improve a size determination in smsc_i2c_probe()
mfd: ti_am335x_tscadc: Delete an error message for a failed memory allocation in ti_tscadc_probe()
mfd: tps65090: Delete an error message for a failed memory allocation in tps65090_i2c_probe()
mfd: tps6586x: Delete an error message for a failed memory allocation in tps6586x_parse_dt()
mfd: tps65910: Delete an error message for a failed memory allocation in tps65910_parse_dt()
mfd: tps65910: Delete an unnecessary variable initialisation in four functions
mfd: tps65910: Delete an unnecessary variable initialisation in tps65910_sleepinit()
mfd: tps65910: Move an assignment in tps65910_sleepinit()
mfd: tps80031: Delete an error message for a failed memory allocation in tps80031_probe()
mfd: twl6030-irq: Delete an error message for a failed memory allocation in twl6030_init_irq()
mfd: viperboard: Delete an error message for a failed memory allocation in vprbrd_probe()

Peter Ujfalusi (1):
mfd: twl-core: Fix clock initialization

Quentin Schulz (3):
mfd: axp20x: Make AXP209/22x cells probe their ADC via DT
mfd: axp20x: Probe axp20x_adc driver for AXP813
mfd: axp20x: Add battery power supply cell for AXP813

Rajmohan Mani (1):
mfd: Update to SPDX license identifier

Robert Jarzmik (2):
mfd: asic3: Fix broken MMC card detection
mfd: wm97xx-core: Platform data can be NULL

Sebastian Andrzej Siewior (1):
mfd: syscon: atmel-smc: Include string.h

Sebastian Reichel (1):
dt-bindings: mfd: motorola-cpcap: Document audio-codec

Stephen Boyd (2):
mfd: qcom-spmi-pmic: Add support for pm8005, pm8998 and pmi8998
mfd: cros_ec_dev: Don't advertise junk features on failure

Steve Twiss (1):
mfd: da9062: Use core helper regmap_reg_range macros

Vincent Palatin (2):
mfd: cros_ec: Fail early if we cannot identify the EC
mfd: cros_ec: Free IRQ automatically

Wei-Ning Huang (1):
mfd: cros_ec_i2c: Add ACPI module device table

Wenkai Du (1):
Revert "mfd: cros_ec: Add ACPI GPE handler for LID0 devices"

Yisheng Xie (1):
mfd: omap-usb-host: Use match_string() helper

.../devicetree/bindings/input/mtk-pmic-keys.txt | 43 ++
Documentation/devicetree/bindings/mfd/arizona.txt | 6 +-
Documentation/devicetree/bindings/mfd/da9063.txt | 32 +-
.../devicetree/bindings/mfd/motorola-cpcap.txt | 42 ++
Documentation/devicetree/bindings/mfd/mt6397.txt | 6 +
.../devicetree/bindings/mfd/qcom,spmi-pmic.txt | 3 +
MAINTAINERS | 10 +
drivers/hwmon/mc13783-adc.c | 60 +++
drivers/input/keyboard/Kconfig | 9 +
drivers/input/keyboard/Makefile | 1 +
drivers/input/keyboard/mtk-pmic-keys.c | 339 +++++++++++++++
drivers/mfd/Makefile | 1 -
drivers/mfd/ab8500-debugfs.c | 3 +-
drivers/mfd/abx500-core.c | 25 +-
drivers/mfd/arizona-core.c | 53 ++-
drivers/mfd/asic3.c | 3 +
drivers/mfd/atmel-smc.c | 1 +
drivers/mfd/axp20x.c | 252 +++--------
drivers/mfd/cros_ec.c | 41 +-
drivers/mfd/cros_ec_acpi_gpe.c | 103 -----
drivers/mfd/cros_ec_dev.c | 45 +-
drivers/mfd/cros_ec_i2c.c | 17 +-
drivers/mfd/da9062-core.c | 462 +++++----------------
drivers/mfd/htc-i2cpld.c | 4 +-
drivers/mfd/intel-lpss-pci.c | 25 +-
drivers/mfd/intel-lpss.c | 8 +-
drivers/mfd/janz-cmodio.c | 4 +-
drivers/mfd/jz4740-adc.c | 4 +-
drivers/mfd/max8997.c | 4 +-
drivers/mfd/mc13xxx-core.c | 15 +-
drivers/mfd/mt6397-core.c | 26 +-
drivers/mfd/omap-usb-host.c | 24 +-
drivers/mfd/omap-usb-tll.c | 60 ++-
drivers/mfd/pcf50633-core.c | 7 +-
drivers/mfd/qcom-spmi-pmic.c | 6 +
drivers/mfd/rave-sp.c | 118 +++++-
drivers/mfd/rc5t583.c | 6 +-
drivers/mfd/si476x-i2c.c | 6 +-
drivers/mfd/sm501.c | 32 +-
drivers/mfd/smsc-ece1099.c | 7 +-
drivers/mfd/sprd-sc27xx-spi.c | 3 +
drivers/mfd/stm32-timers.c | 201 ++++++++-
drivers/mfd/syscon.c | 2 +
drivers/mfd/ti_am335x_tscadc.c | 5 +-
drivers/mfd/timberdale.c | 2 +-
drivers/mfd/tps65090.c | 4 +-
drivers/mfd/tps6586x.c | 4 +-
drivers/mfd/tps65910.c | 18 +-
drivers/mfd/tps65911-comparator.c | 17 +-
drivers/mfd/tps68470.c | 10 +-
drivers/mfd/tps80031.c | 4 +-
drivers/mfd/twl-core.c | 2 +-
drivers/mfd/twl6030-irq.c | 4 +-
drivers/mfd/viperboard.c | 4 +-
drivers/mfd/wm97xx-core.c | 2 +-
drivers/platform/chrome/cros_ec_debugfs.c | 20 +
drivers/pwm/pwm-stm32.c | 257 ++++++++++++
drivers/rtc/rtc-mt6397.c | 7 +-
include/linux/mfd/arizona/pdata.h | 3 +-
include/linux/mfd/axp20x.h | 10 +-
include/linux/mfd/cros_ec.h | 20 +-
include/linux/mfd/mc13xxx.h | 2 +
include/linux/mfd/stm32-timers.h | 70 ++++
include/linux/mfd/syscon/exynos4-pmu.h | 21 -
include/linux/mfd/syscon/exynos5-pmu.h | 19 -
include/linux/mfd/tps65218.h | 4 +-
include/linux/mfd/tps68470.h | 17 +-
67 files changed, 1650 insertions(+), 995 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
create mode 100644 drivers/input/keyboard/mtk-pmic-keys.c
delete mode 100644 drivers/mfd/cros_ec_acpi_gpe.c
delete mode 100644 include/linux/mfd/syscon/exynos4-pmu.h
delete mode 100644 include/linux/mfd/syscon/exynos5-pmu.h

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog