Skip to contentSkip to conversation

regulator updates for v4.5

GIT PULL Mark Brown 2 participants 5 messages Jan 12, 2016

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

The following changes since commit 168309855a7d1e16db751e9c647119fe2d2dc878:

Linux 4.4-rc8 (2016-01-03 15:15:37 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.5

for you to fetch changes up to 2986a09d86ff5d1ec52c8a1fc95a66942b1f5eae:

Merge remote-tracking branches 'regulator/topic/tps65218' and 'regulator/topic/wm831x' into regulator-next (2016-01-11 18:35:32 +0000)

----------------------------------------------------------------
regulator: Update for v4.5

Aside from a fix for a spurious warning (which caused more problems than it fixed in the fixing really) this is all driver updates, including new drivers for Dialog PV88060/90 and TI LM363x and TPS65086 devices. The qcom_smd driver has had PM8916 and PMA8084 support added.

----------------------------------------------------------------
Andrew F. Davis (2):
regulator: tps65086: Add regulator driver for the TPS65086 PMIC
regulator: tps65086: Update regulator driver for the TPS65086 PMIC

Andy Gross (3):
soc: qcom: documentation: Update SMD/RPM Docs
regulator: qcom-smd: Add PM8916 support
regulator: qcom-smd: Add support for PMA8084

Arnd Bergmann (3):
regulator: core: avoid unused variable warning
regulator: core: fix regulator_lock_supply regression
regulator: max8973: add THERMAL_OF dependency

Axel Lin (5):
regulator: tps6105x: Convert to use regmap helper functions
regulator: pv88060: Fix irq leak
regulator: lm363x: Remove struct lm363x_regulator which is not necessary
regulator: lm363x: Staticise ldo_cont_enable_time
regulator: pv88090: Fix irq leak

Bjorn Andersson (1):
regulator: Make bulk API support optional supplies

Chen-Yu Tsai (1):

      regulator: axp20x: Fix GPIO LDO enable value for AXP22x

Dan Carpenter (3):
regulator: pv88060: fix error handling in probe
regulator: pv88090: logical vs bitwise AND typo
regulator: core: remove some dead code

Daniel Kurtz (1):
regulator: mt6311: Use REGCACHE_RBTREE

Geliang Tang (1):
regulator: core: use dev_to_rdev

Henry Chen (1):
regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C

James Ban (2):
regulator: pv88060: new regulator driver
regulator: pv88090: new regulator driver

Julia Lawall (3):
regulator: da9*: constify regulator_ops structures
regulator: wm8*: constify regulator_ops structures
regulator: lp8788: constify regulator_ops structures

Keerthy (1):
regulator: tps65917/palmas: Add bypass ops for LDOs with bypass capability

Laxman Dewangan (1):
regulator: max8973: add support for junction thermal warning

Mark Brown (8):
regulator: core: Ensure we lock all regulators
Merge remote-tracking branch 'regulator/fix/core' into regulator-linus
Merge remote-tracking branches 'regulator/fix/axp20x' and 'regulator/fix/mt6311' into regulator-linus
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
Merge remote-tracking branches 'regulator/topic/const', 'regulator/topic/lm363x', 'regulator/topic/lockdep' and 'regulator/topic/lp872x' into regulator-next Merge remote-tracking branches 'regulator/topic/lp8788', 'regulator/topic/max8973', 'regulator/topic/mt6311', 'regulator/topic/optional' and 'regulator/topic/palmas' into regulator-next Merge remote-tracking branches 'regulator/topic/pv88060', 'regulator/topic/pv88090', 'regulator/topic/qcom-smd', 'regulator/topic/tps6105x' and 'regulator/topic/tps65086' into regulator-next Merge remote-tracking branches 'regulator/topic/tps65218' and 'regulator/topic/wm831x' into regulator-next

Milo Kim (2):
regulator: add LM363X driver
regulator: lm363x: add LM363x regulator binding information

Nikita Kiryanov (1):
regulator: tps65218: add support for LS3 current regulator

Paul Kocialkowski (2):
regulator: lp872x: Add missing of_match in regulators descriptions
regulator: lp872x: Get rid of duplicate reference to DVS GPIO

Thierry Reding (4):
regulator: core: Fix nested locking of supplies
regulator: lp8788-ldo: Use platform_register/unregister_drivers()
regulator: wm831x-dcdc: Use platform_register/unregister_drivers()
regulator: wm831x-ldo: Use platform_register/unregister_drivers()

 .../bindings/regulator/lm363x-regulator.txt        |  34 ++
 .../bindings/regulator/max8973-regulator.txt       |   5 +
 .../devicetree/bindings/regulator/pv88060.txt      | 124 ++++++
 .../devicetree/bindings/regulator/pv88090.txt      |  65 +++
 .../qcom,smd-rpm-regulator.txt}                    |  84 +++-
 .../devicetree/bindings/soc/qcom/qcom,smd-rpm.txt  |  58 +++
 drivers/regulator/Kconfig                          |  34 ++
 drivers/regulator/Makefile                         |   4 +
 drivers/regulator/axp20x-regulator.c               |   4 +-
 drivers/regulator/core.c                           |  41 +-
 drivers/regulator/da903x.c                         |  10 +-
 drivers/regulator/da9052-regulator.c               |   4 +-
 drivers/regulator/da9055-regulator.c               |   4 +-
 drivers/regulator/da9062-regulator.c               |   4 +-
 drivers/regulator/da9063-regulator.c               |   4 +-
 drivers/regulator/da9210-regulator.c               |   2 +-
 drivers/regulator/da9211-regulator.c               |   2 +-
 drivers/regulator/devres.c                         |   7 +-
 drivers/regulator/lm363x-regulator.c               | 291 +++++++++++++
 drivers/regulator/lp872x.c                         |  17 +-
 drivers/regulator/lp8788-buck.c                    |   4 +-
 drivers/regulator/lp8788-ldo.c                     |  20 +-
 drivers/regulator/max8973-regulator.c              | 140 ++++++-
 drivers/regulator/mt6311-regulator.c               |   1 +
 drivers/regulator/palmas-regulator.c               |  39 ++
 drivers/regulator/pv88060-regulator.c              | 437 ++++++++++++++++++++
 drivers/regulator/pv88060-regulator.h              |  69 ++++
 drivers/regulator/pv88090-regulator.c              | 458 +++++++++++++++++++++
 drivers/regulator/pv88090-regulator.h              |  98 +++++
 drivers/regulator/qcom_smd-regulator.c             | 159 +++++++
 drivers/regulator/tps6105x-regulator.c             |  95 +----
 drivers/regulator/tps65086-regulator.c             | 251 +++++++++++
 drivers/regulator/tps65218-regulator.c             | 137 ++++--
 drivers/regulator/wm831x-dcdc.c                    |  39 +-
 drivers/regulator/wm831x-isink.c                   |   2 +-
 drivers/regulator/wm831x-ldo.c                     |  33 +-
 drivers/regulator/wm8350-regulator.c               |   8 +-
 drivers/regulator/wm8400-regulator.c               |   4 +-
 drivers/regulator/wm8994-regulator.c               |   4 +-
 include/linux/mfd/tps65218.h                       |   7 +-
 include/linux/regulator/consumer.h                 |   3 +
 include/linux/regulator/driver.h                   |   2 +
 include/linux/regulator/max8973-regulator.h        |   4 +
 43 files changed, 2562 insertions(+), 250 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/pv88060.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/pv88090.txt
 rename Documentation/devicetree/bindings/{soc/qcom,smd-rpm.txt => regulator/qcom,smd-rpm-regulator.txt} (53%)
 create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
 create mode 100644 drivers/regulator/lm363x-regulator.c
 create mode 100644 drivers/regulator/pv88060-regulator.c
 create mode 100644 drivers/regulator/pv88060-regulator.h
 create mode 100644 drivers/regulator/pv88090-regulator.c
 create mode 100644 drivers/regulator/pv88090-regulator.h
 create mode 100644 drivers/regulator/tps65086-regulator.c
#1 lore raw
Quoted 7 lines · Mark Brown

The following changes since commit 168309855a7d1e16db751e9c647119fe2d2dc878:

Linux 4.4-rc8 (2016-01-03 15:15:37 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.5

Nope. No can do.

I get a build error:

drivers/regulator/max8973-regulator.c:506:4: error:
‘THERMAL_DEVICE_EVENT_THRESHOLD’ undeclared

and grepping around for this that is not some merge error: even in your tree (before being merged into mine), that thing simply does not exist except in that one place:

[torvalds@i7 linux]$ git grep THERMAL_DEVICE_EVENT_THRESHOLD 2986a09d8 2986a09d8:drivers/regulator/max8973-regulator.c:
THERMAL_DEVICE_EVENT_THRESHOLD);

and that's it.

So this tree clearly can never have worked, and never have compiled.

Consider yourself cursed at.

Linus

#2 lore raw
Quoted 2 lines · Linus Torvalds

Consider yourself cursed at.

Side note: I'm dropping your other pull request without even bothering testing it, since you clearly didn't.

Don't bother re-sending until you have tested your pull requests better and have had them in linux-next for a while.

Linus

author
#4 lore raw
In reply to Linus Torvalds
Quoted 13 lines · Linus Torvalds

Nope. No can do.

I get a build error:

drivers/regulator/max8973-regulator.c:506:4: error:
‘THERMAL_DEVICE_EVENT_THRESHOLD’ undeclared

and grepping around for this that is not some merge error: even in your tree (before being merged into mine), that thing simply does not exist except in that one place:

[torvalds@i7 linux]$ git grep THERMAL_DEVICE_EVENT_THRESHOLD 2986a09d8 2986a09d8:drivers/regulator/max8973-regulator.c:

Quoted 7 lines
   THERMAL_DEVICE_EVENT_THRESHOLD);

and that's it.

So this tree clearly can never have worked, and never have compiled.

Consider yourself cursed at.

Ugh, right. It builds fine in -next because that has been introduced in the thermal tree and that gets merged first (the code had been there), I hadn't updated the local test configs and for some reason the kernelci results got lost in the noise.

author
#3 lore raw
In reply to Linus Torvalds
Quoted 5 lines · Linus Torvalds

Side note: I'm dropping your other pull request without even bothering testing it, since you clearly didn't.

Don't bother re-sending until you have tested your pull requests better and have had them in linux-next for a while.

The SPI code has been tested successfully on kernelci.org:

    http://kernelci.org/build/broonie-spi/kernel/v4.4-rc8-78-gcabeea980879/

is the same thing I tagged at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v4.5

It is in -next.