Skip to content

Palmas updates

Ian Lartey linux-arm-kernel linux-devicetree linux-leds linux-watchdog lkml 3 versions – Applied

Status from this message: I applied this one now, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest12 patches 15 repliesApplied
  2. v90 of 12 patches 0 repliesSuperseded
  3. v812 patches 8 repliesSuperseded

Changes in v10 from the cover letter

Added in missing [PATCH 01/12] mfd: DT bindings.
Now all patch sequence numbers with the v9 changes below are correct. Please refer to the changes below as they have not been reviewed.

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/12mfd: DT bindings for the palmas family MFDDocumentation/devicetree/bindings/clock/palmas-clk.txt Documentation/devicetree/bindings/gpio/gpio-palmas.txt Documentation/devicetree/bindings/input/palmas-pwrbutton.txt +5 more+415 -06 replies
2/12mfd: palmas: is_palmas_charger needed by multiple driversinclude/linux/mfd/palmas.h+11 -11 reply
3/12mfd: palmas add variant and OTP detectiondrivers/mfd/palmas.c include/linux/mfd/palmas.h+113 -241 reply
4/12watchdog: add Palmas Watchdog supportdrivers/watchdog/palmas_wdt.c+169 -02 replies
5/12watchdog: Kconfig for Palmas watchdogdrivers/watchdog/Kconfig drivers/watchdog/Makefile+9 -01 reply
6/12gpio: palmas: add in GPIO support for palmas chargerdrivers/gpio/gpio-palmas.c include/linux/mfd/palmas.h+74 -150 replies
7/12gpio: palmas: Enable DT support for palmas gpio.drivers/gpio/gpio-palmas.c+13 -00 replies
8/12gpio: Palmas palmas_gpio_(read|write|update) factoringdrivers/gpio/gpio-palmas.c+16 -160 replies
9/12leds: Add support for Palmas LEDsdrivers/leds/Kconfig drivers/leds/Makefile drivers/leds/leds-palmas.c +1 more+651 -01 reply
10/12clk: add a clock driver for palmasdrivers/clk/clk-palmas.c+275 -00 replies
11/12clk: Kconfig for Palmas clock driverdrivers/clk/Kconfig drivers/clk/Makefile+9 -00 replies
12/12regulator: palmas remove palmas-charger option from DT bindingsdrivers/regulator/palmas-regulator.c+0 -11 reply

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLaxman DewanganiLinus WalleijMike Turquette
SeriesA-b
1/12
2/12A-b
3/12
4/12
5/12
6/12
7/12A-b
8/12
9/12
10/12A-b
11/12
12/12

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

Read the v10 thread

Cover letter [PATCH v10 0/12] Palmas updates

This patchset adds to the support for the Palmas series of PMIC chips.

Some of the patches have previously been submitted individually. The DT bindings doc has been added first due to comments that it was missing.

Patches based on linux-next-20130319

Changes since v9
Added in missing [PATCH 01/12] mfd: DT bindings.
Now all patch sequence numbers with the v9 changes below are correct. Please refer to the changes below as they have not been reviewed.

Changes since v8
The .compatible = "palmas-charger-xxx" has been removed from the DT for all palmas source files as the charger driver is not yet present.

[PATCH 01/12] mfd: DT bindings... - Added in missing descriptions for properties and added in properties that were missing

[PATCH 08/12] gpio: Palmas.... - Added palmas_gpio_(read|write|update) gpio parameter renamed to offset
palmas_gpio_write renamed to palmas_gpio_clear_and_set
as it no longer takes a data value instead it always sets the offset bit and clears all other bits -
this is how it was being used by the callers

[PATCH 09/12] leds: Add support... - Combined patches for drivers/leds/leds-palmas.c, drivers/leds/Kconfig and drivers/leds/Makefile. palmas_dt_to_pdata - added bounds checking for DT values and removed use of child node.
palmas_led.on_time and palmas_led.period both changed to enums. palmas_get_crtl_and_period added which contains factored code from palmas_leds_work for maintainability.

[PATCH 10/12] clk: Add a clock... - clock names taken from DT if provided

palmas-regulator not in patchset - patch Now applied by Mark Brown

[PATCH 12/12] regulator: palmas-charger-pmic removed from DT compatible list

 .../devicetree/bindings/clock/palmas-clk.txt       |   27 +
 .../devicetree/bindings/gpio/gpio-palmas.txt       |   35 ++
 .../devicetree/bindings/input/palmas-pwrbutton.txt |   26 +
 .../devicetree/bindings/leds/leds-palmas.txt       |   36 ++
 Documentation/devicetree/bindings/mfd/palmas.txt   |   81 +++
 .../devicetree/bindings/regulator/palmas-pmic.txt  |  168 ++++++
 .../devicetree/bindings/rtc/palmas-rtc.txt         |   21 +
 .../devicetree/bindings/watchdog/palmas-wdt.txt    |   21 +
 drivers/clk/Kconfig                                |    8 +
 drivers/clk/Makefile                               |    1 +
 drivers/clk/clk-palmas.c                           |  275 ++++++++++
 drivers/gpio/gpio-palmas.c                         |   90 +++-
 drivers/leds/Kconfig                               |    9 +
 drivers/leds/Makefile                              |    1 +
 drivers/leds/leds-palmas.c                         |  561 ++++++++++++++++++++
 drivers/mfd/palmas.c                               |  102 +++-
 drivers/regulator/palmas-regulator.c               |    1 -
 drivers/watchdog/Kconfig                           |    8 +
 drivers/watchdog/Makefile                          |    1 +
 drivers/watchdog/palmas_wdt.c                      |  169 ++++++
 include/linux/mfd/palmas.h                         |  139 +++++-
 21 files changed, 1739 insertions(+), 41 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/palmas-clk.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-palmas.txt
 create mode 100644 Documentation/devicetree/bindings/input/palmas-pwrbutton.txt
 create mode 100644 Documentation/devicetree/bindings/leds/leds-palmas.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/palmas.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/palmas-pmic.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/palmas-rtc.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/palmas-wdt.txt
 create mode 100644 drivers/clk/clk-palmas.c
 create mode 100644 drivers/leds/leds-palmas.c
 create mode 100644 drivers/watchdog/palmas_wdt.c