Skip to content

PCF50633 support

Balaji Rao lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesIn review
  2. v27 patches 18 repliesApplied
  3. v17 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- Changed RTC driver to use new alarm/update interfaces.
- Cosmetic changes in ADC driver.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mfd: PCF50633 core driverdrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/pcf50633-core.c +1 more+940 -10 replies
2/7mfd: PCF50633 adc driverdrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/pcf50633-adc.c +1 more+357 -00 replies
3/7mfd: PCF50633 gpio supportdrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/pcf50633-gpio.c +1 more+178 -00 replies
4/7rtc: PCF50633 rtc driverdrivers/rtc/Kconfig drivers/rtc/Makefile drivers/rtc/rtc-pcf50633.c+352 -01 reply
5/7power_supply: PCF50633 battery charger driverdrivers/power/Kconfig drivers/power/Makefile drivers/power/pcf50633-charger.c +1 more+499 -00 replies
6/7input: PCF50633 input driverdrivers/input/misc/Kconfig drivers/input/misc/Makefile drivers/input/misc/pcf50633-input.c+140 -00 replies
7/7regulator: PCF50633 pmic driverdrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/pcf50633-regulator.c +1 more+404 -00 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchJonathan CameronAnton VorontsovDmitry TorokhovMark BrownAlessandro Zummo
1/7
2/7A-b
3/7
4/7A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v3 thread

Cover letter [PATCH V3 0/7] PCF50633 support

Changes from V1:
- Subdevice specific header files now included in its respective patch.
- Introduces pcf50633_register_irq and pcf50633_free_irq for irq management
- Many changes in how subdevices are created and information is passed to them. Thanks to Alessandro Zummo for suggestions.
Changes from V2:
- Changed RTC driver to use new alarm/update interfaces.
- Cosmetic changes in ADC driver.

The following series implements support for NXP PCF50633. It's basically an I2C device with 9 regulators, an ADC, a PMIC, a Battery Charger and a RTC.

This chip is used in Openmoko Neo Freerunner mobile phone.

The specs are open and are available at
http://people.openmoko.org/tony_tu/GTA02/datasheet/PMU/PCF50633DS_02.pdf

---
Balaji Rao (7):
mfd: PCF50633 core driver
mfd: PCF50633 adc driver
mfd: PCF50633 gpio support
rtc: PCF50633 rtc driver
power_supply: PCF50633 battery charger driver
input: PCF50633 input driver
regulator: PCF50633 pmic driver

 drivers/input/misc/Kconfig             |    7 
 drivers/input/misc/Makefile            |    1 
 drivers/input/misc/pcf50633-input.c    |  132 ++++++
 drivers/mfd/Kconfig                    |   23 +
 drivers/mfd/Makefile                   |    6 
 drivers/mfd/pcf50633-adc.c             |  277 ++++++++++++
 drivers/mfd/pcf50633-core.c            |  710 ++++++++++++++++++++++++++++++++
 drivers/mfd/pcf50633-gpio.c            |  118 +++++
 drivers/power/Kconfig                  |    6 
 drivers/power/Makefile                 |    1 
 drivers/power/pcf50633-charger.c       |  358 ++++++++++++++++
 drivers/regulator/Kconfig              |    7 
 drivers/regulator/Makefile             |    1 
 drivers/regulator/pcf50633-regulator.c |  329 +++++++++++++++
 drivers/rtc/Kconfig                    |    7 
 drivers/rtc/Makefile                   |    1 
 drivers/rtc/rtc-pcf50633.c             |  344 ++++++++++++++++
 include/linux/mfd/pcf50633/adc.h       |   72 +++
 include/linux/mfd/pcf50633/core.h      |  218 ++++++++++
 include/linux/mfd/pcf50633/gpio.h      |   52 ++
 include/linux/mfd/pcf50633/mbc.h       |  134 ++++++
 include/linux/mfd/pcf50633/pmic.h      |   67 +++
 22 files changed, 2870 insertions(+), 1 deletions(-)
 create mode 100644 drivers/input/misc/pcf50633-input.c
 create mode 100644 drivers/mfd/pcf50633-adc.c
 create mode 100644 drivers/mfd/pcf50633-core.c
 create mode 100644 drivers/mfd/pcf50633-gpio.c
 create mode 100644 drivers/power/pcf50633-charger.c
 create mode 100644 drivers/regulator/pcf50633-regulator.c
 create mode 100644 drivers/rtc/rtc-pcf50633.c
 create mode 100644 include/linux/mfd/pcf50633/adc.h
 create mode 100644 include/linux/mfd/pcf50633/core.h
 create mode 100644 include/linux/mfd/pcf50633/gpio.h
 create mode 100644 include/linux/mfd/pcf50633/mbc.h
 create mode 100644 include/linux/mfd/pcf50633/pmic.h
Signature · 2 lines
Thanks,
Balaji Rao