Skip to contentSkip to conversation

LP3943 MFD driver for a GPIO expander and a PWM generator

PATCH Superseded Milo Kim 4 participants 8 messages Sep 25, 2013 – Dec 6, 2013 PWM

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Milo Kim

author
#0 lore raw

v4 cover LP3943 MFD driver for a GPIO expander and a PWM generator

LP3943 is an integrated device capable of driving 16 output channels. It can be used for GPIO expander and PWM generators. LP3493 registers are controlled via the I2C interface.

This patch-set consists of four parts - MFD, GPIO, PWM and documents.

Update from v3 to v4:
Move the driver description from the documentation to the MFD driver file.

Milo Kim (4):
mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

 .../devicetree/bindings/gpio/gpio-lp3943.txt       |   37 +++
 Documentation/devicetree/bindings/mfd/lp3943.txt   |   33 ++
 .../devicetree/bindings/pwm/pwm-lp3943.txt         |   58 ++++
 drivers/gpio/Kconfig                               |    8 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/gpio-lp3943.c                         |  242 +++++++++++++++
 drivers/mfd/Kconfig                                |   11 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/lp3943.c                               |  167 +++++++++++
 drivers/pwm/Kconfig                                |   10 +
 drivers/pwm/Makefile                               |    1 +
 drivers/pwm/pwm-lp3943.c                           |  314 ++++++++++++++++++++
 include/linux/mfd/lp3943.h                         |  114 +++++++
 13 files changed, 997 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/lp3943.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
 create mode 100644 drivers/gpio/gpio-lp3943.c
 create mode 100644 drivers/mfd/lp3943.c
 create mode 100644 drivers/pwm/pwm-lp3943.c
 create mode 100644 include/linux/mfd/lp3943.h
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#1 lore raw

Hello Guys,

Could you check this patchset?
Driver documentation was moved from 'Documentation' to 'drivers/mfd/lp3943.c'.

Thanks,
Milo

Quoted 37 lines · Milo Kim

LP3943 is an integrated device capable of driving 16 output channels. It can be used for GPIO expander and PWM generators. LP3493 registers are controlled via the I2C interface.

This patch-set consists of four parts - MFD, GPIO, PWM and documents.

Update from v3 to v4:
Move the driver description from the documentation to the MFD driver file.

Milo Kim (4):
mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

  .../devicetree/bindings/gpio/gpio-lp3943.txt       |   37 +++
  Documentation/devicetree/bindings/mfd/lp3943.txt   |   33 ++
  .../devicetree/bindings/pwm/pwm-lp3943.txt         |   58 ++++
  drivers/gpio/Kconfig                               |    8 +
  drivers/gpio/Makefile                              |    1 +
  drivers/gpio/gpio-lp3943.c                         |  242 +++++++++++++++
  drivers/mfd/Kconfig                                |   11 +
  drivers/mfd/Makefile                               |    1 +
  drivers/mfd/lp3943.c                               |  167 +++++++++++
  drivers/pwm/Kconfig                                |   10 +
  drivers/pwm/Makefile                               |    1 +
  drivers/pwm/pwm-lp3943.c                           |  314 ++++++++++++++++++++
  include/linux/mfd/lp3943.h                         |  114 +++++++
  13 files changed, 997 insertions(+)

create mode 100644 Documentation/devicetree/bindings/gpio/gpio-lp3943.txt create mode 100644 Documentation/devicetree/bindings/mfd/lp3943.txt create mode 100644 Documentation/devicetree/bindings/pwm/pwm-lp3943.txt create mode 100644 drivers/gpio/gpio-lp3943.c
create mode 100644 drivers/mfd/lp3943.c
create mode 100644 drivers/pwm/pwm-lp3943.c
create mode 100644 include/linux/mfd/lp3943.h

#2 lore raw
Quoted 3 lines

Could you check this patchset?
Driver documentation was moved from 'Documentation' to 'drivers/mfd/lp3943.c'.

Well because the reset of the patch-set wasn't sent as replies to [PATCH 0/X], it's now lost in the ulu. You will have to resubmit.

Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
#3 lore raw
In reply to Milo Kim
Quoted 6 lines · Milo Kim

LP3943 is an integrated device capable of driving 16 output channels. It can be used for GPIO expander and PWM generators. LP3493 registers are controlled via the I2C interface.

This patch-set consists of four parts - MFD, GPIO, PWM and documents.

Quoted 8 lines

Update from v3 to v4:
Move the driver description from the documentation to the MFD driver file.

Milo Kim (4):
mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

I suspect that given the build-time dependencies Lee may want to take all four patches through the MFD tree, so I've acked the PWM parts.

Thierry

#4 lore raw
Quoted 9 lines
Quoted 9 lines

LP3943 is an integrated device capable of driving 16 output channels. It can be used for GPIO expander and PWM generators. LP3493 registers are controlled via the I2C interface.

This patch-set consists of four parts - MFD, GPIO, PWM and documents.

Update from v3 to v4:
Move the driver description from the documentation to the MFD driver file.

Quoted 8 lines
Quoted 5 lines

Milo Kim (4):
mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

I suspect that given the build-time dependencies Lee may want to take all four patches through the MFD tree, so I've acked the PWM parts.

Thanks Thierry.

Milo, would you mind re-sending the patch-set complete with Thierry's Acks please? Also, can you send [PATCH 1/X]..[PATCH X/X] as replies to [PATCH 0/X], as it aids greatly with status tracking.

Please see git send-email options:
--[no-]thread and --[no-]chain-reply-to

For shallow threading, which is what I believe you want, you need:
--thread --no-chain-reply-to

Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
#5 lore raw
In reply to Thierry Reding
Quoted 9 lines · Thierry Reding
Quoted 4 lines · Milo Kim

mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

I suspect that given the build-time dependencies Lee may want to take all four patches through the MFD tree, so I've acked the PWM parts.

FWIW this isn't an issue with new MFDs - since the function drivers will depend on the core driver it's not possible to enable them in Kconfig until the core driver is also merged and you don't get bisect issues.

#6 lore raw
Quoted 8 lines · Mark Brown
Quoted 6 lines · Thierry Reding
Quoted 4 lines · Milo Kim

mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

Quoted 6 lines
Quoted 2 lines

I suspect that given the build-time dependencies Lee may want to take all four patches through the MFD tree, so I've acked the PWM parts.

FWIW this isn't an issue with new MFDs - since the function drivers will depend on the core driver it's not possible to enable them in Kconfig until the core driver is also merged and you don't get bisect issues.

Right. I hadn't thought about that. Thanks for mentioning it.

Thierry

#7 lore raw
Quoted 9 lines · Thierry Reding
Quoted 8 lines · Mark Brown
Quoted 6 lines · Thierry Reding
Quoted 4 lines · Milo Kim

mfd: add LP3943 MFD driver
gpio: add LP3943 I2C GPIO expander driver
pwm: add LP3943 PWM driver
Documentation: add LP3943 DT bindings and document

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

I suspect that given the build-time dependencies Lee may want to take all four patches through the MFD tree, so I've acked the PWM parts.

FWIW this isn't an issue with new MFDs - since the function drivers will depend on the core driver it's not possible to enable them in Kconfig until the core driver is also merged and you don't get bisect issues.

Right. I hadn't thought about that. Thanks for mentioning it.

I have applied them all with the relevant Acks in any case.

Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog