Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395658

[PATCH v6 0/9] mfd: max8997: Add regmap support

From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject [PATCH v6 0/9] mfd: max8997: Add regmap support
Date 2016-05-06 09:30 +0200
Message-ID <rvIn0-P0-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,


This is a rebase and extension of old Robert Baldyga's work. [0]

Robert no longer works in Samsung.

From the original cover letter:
"This patchset modifies max8997 driver and associated function drivers to use
register maps instead of operating directly on i2c bus. This change allowed
to simplify irq handling, and to move some initializations to individual
function drivers. Hence now when some functions are not enabled, their i2c
clients, regmaps and irqs are not registered."


My changes (since Robert's v5)
==============================
1. Rebase on v4.6-rc6.
2. Collect more acks.
3. Add few fixes:
   a. Haptic fix from Marek,
   b. Extcon and RTC fix from me,
   c. DTS fixes from Marek.

DTS changes are independent but rest of them (extcon/input/MFD) rely
on each other.

One way of merging would be to pick everything (except DTS) through
one tree. Or use tags.


Best regards,
Krzysztof

[0] http://lkml.iu.edu/hypermail//linux/kernel/1411.1/03152.html


Krzysztof Kozlowski (3):
  extcon: max8997: Fix handling error code of regmap_irq_get_virq()
  rtc: max8997: Check for ERRNO of regmap_irq_get_virq()
  extcon: max8997: Fix inconsistent indenting

Marek Szyprowski (3):
  input: max8997-haptic: Fix NULL pointer dereference
  ARM: dts: exynos: Fix regulator name to avoid forbidden character on
    exynos4210-trats
  ARM: dts: exynos: Add interrupt line to MAX8997 PMIC on
    exynos4210-trats

Robert Baldyga (3):
  mfd: max8997: Use regmap to access registers
  mfd: max8997: handle IRQs using regmap
  mfd: max8997: Change irq names to upper case

 arch/arm/boot/dts/exynos4210-trats.dts |   4 +-
 drivers/extcon/extcon-max8997.c        |  72 ++++---
 drivers/input/misc/max8997_haptic.c    |  40 ++--
 drivers/leds/leds-max8997.c            |  13 +-
 drivers/mfd/Kconfig                    |   3 +-
 drivers/mfd/Makefile                   |   2 +-
 drivers/mfd/max8997-irq.c              | 383 ---------------------------------
 drivers/mfd/max8997.c                  | 245 ++++++++++++++-------
 drivers/power/max8997_charger.c        |  33 +--
 drivers/regulator/max8997.c            |  87 ++++----
 drivers/rtc/rtc-max8997.c              |  60 +++---
 include/linux/mfd/max8997-private.h    |  82 +++++--
 12 files changed, 392 insertions(+), 632 deletions(-)
 delete mode 100644 drivers/mfd/max8997-irq.c

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/9] mfd: max8997: Add regmap support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
  [PATCH v6 1/9] input: max8997-haptic: Fix NULL pointer dereference Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
    [PATCH v6 4/9] mfd: max8997: Change irq names to upper case Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
    [PATCH v6 8/9] ARM: dts: exynos: Fix regulator name to avoid forbidden  character on exynos4210-trats Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
    [PATCH v6 3/9] mfd: max8997: handle IRQs using regmap Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
    [PATCH v6 6/9] rtc: max8997: Check for ERRNO of regmap_irq_get_virq() Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
      Re: [PATCH v6 6/9] rtc: max8997: Check for ERRNO of  regmap_irq_get_virq() Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-05-07 08:50 +0200
    [PATCH v6 9/9] ARM: dts: exynos: Add interrupt line to MAX8997 PMIC on  exynos4210-trats Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
    [PATCH v6 5/9] extcon: max8997: Fix handling error code of  regmap_irq_get_virq() Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:30 +0200
      Re: [PATCH v6 5/9] extcon: max8997: Fix handling error code of  regmap_irq_get_virq() Chanwoo Choi <cw00.choi@samsung.com> - 2016-05-10 03:30 +0200
    [PATCH v6 7/9] extcon: max8997: Fix inconsistent indenting Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-05-06 09:40 +0200
      Re: [PATCH v6 7/9] extcon: max8997: Fix inconsistent indenting Chanwoo Choi <cw00.choi@samsung.com> - 2016-05-10 03:30 +0200
    Re: [PATCH v6 2/9] mfd: max8997: Use regmap to access registers Jacek Anaszewski <j.anaszewski@samsung.com> - 2016-05-06 10:10 +0200
    Re: [PATCH v6 1/9] input: max8997-haptic: Fix NULL pointer  dereference Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-05-09 18:40 +0200
  Re: [PATCH v6 0/9] mfd: max8997: Add regmap support Lee Jones <lee.jones@linaro.org> - 2016-05-09 09:40 +0200

csiph-web