devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] da9055: Driver initialisation fixes, add DT support
@ 2014-02-06 18:03 Adam Thomson
  2014-02-06 18:03 ` [PATCH v2 1/8] ASoC: da9055: Fix device registration of PMIC and CODEC devices Adam Thomson
                   ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: Adam Thomson @ 2014-02-06 18:03 UTC (permalink / raw)
  To: Mark Brown, Lee Jones
  Cc: devicetree, alsa-devel, Alessandro Zummo, Linus Walleij,
	Dmitry Torokhov, linux-kernel, Rob Herring, Guenter Roeck

This patch series provides the following updates for DA9055 drivers:

 - Fixes an issue with da9055 driver initialisation (conflicting device ids) of
   PMIC (MFD) and CODEC drivers which means they cannot be used together on
   the same I2C bus.
 - Add initial DT support for DA9055 related drivers, including binding
   documentation.
 - Remove use of regmap_irq_get_virq() in driver probes which was conflicting
   with use of platform_get_irq_byname(). platform_get_irq_byname() already
   returns the VIRQ number due to MFD core translation so using
   regmap_irq_get_virq() on that returned value results in an incorrect IRQ
   being requested. The driver probes then fail because of this.

[Changes since v1]:

 - Regulator:
    * fixed coding style issue (lack of braces for if,else statement)
    * removal of 'ifdef' around DT related headers
    * Use of 'of_regulator_match()' for retrieving regulator related info
      from DT nodes.

 - General:
    * Instead of removing platform_get_irq_byname() usage and device resources
      to fix IRQ conflict in driver probes, now removed 'regmap_irq_get_virq()'
      as advised. This has been tested on target for both DT and non-DT setups
      and works as expected.

Adam Thomson (8):
  ASoC: da9055: Fix device registration of PMIC and CODEC devices
  ASoC: da9055: Add DT support for CODEC
  mfd: da9055: Add DT support for PMIC
  regulator: da9055: Add DT support
  onkey: da9055: Remove use of regmap_irq_get_virq()
  hwmon: da9055: Remove use of regmap_irq_get_virq()
  rtc: da9055: Remove use of regmap_irq_get_virq()
  regulator: da9055: Remove use of regmap_irq_get_virq()

 Documentation/devicetree/bindings/mfd/da9055.txt   |   73 ++++++++++++++++++++
 Documentation/devicetree/bindings/sound/da9055.txt |   22 ++++++
 drivers/hwmon/da9055-hwmon.c                       |    4 -
 drivers/input/misc/da9055_onkey.c                  |    1 -
 drivers/mfd/da9055-i2c.c                           |   20 +++++-
 drivers/regulator/da9055-regulator.c               |   73 ++++++++++++++++++--
 drivers/rtc/rtc-da9055.c                           |    4 +-
 sound/soc/codecs/da9055.c                          |   19 +++++-
 8 files changed, 201 insertions(+), 15 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/da9055.txt
 create mode 100644 Documentation/devicetree/bindings/sound/da9055.txt

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-02-10 14:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 18:03 [PATCH v2 0/8] da9055: Driver initialisation fixes, add DT support Adam Thomson
2014-02-06 18:03 ` [PATCH v2 1/8] ASoC: da9055: Fix device registration of PMIC and CODEC devices Adam Thomson
     [not found]   ` <6a398d176b0b2bf8792d27bd5e2995fd96afb32d.1391705989.git.Adam.Thomson.Opensource-WBD+wuPFNBhBDgjK7y7TUQ@public.gmane.org>
2014-02-07 10:56     ` Lee Jones
2014-02-07 12:58       ` Mark Brown
2014-02-10 11:51         ` Lee Jones
2014-02-10 13:43   ` Mark Brown
     [not found]     ` <20140210134310.GH1757-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-02-10 13:59       ` Lee Jones
2014-02-10 14:14         ` Mark Brown
2014-02-10 14:42           ` Lee Jones
2014-02-10 14:51             ` Mark Brown
2014-02-06 18:03 ` [PATCH v2 2/8] ASoC: da9055: Add DT support for CODEC Adam Thomson
2014-02-07 16:25   ` Mark Brown
     [not found]     ` <20140207162504.GP32298-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-02-07 16:26       ` Mark Brown
2014-02-10 10:48         ` Opensource [Adam Thomson]
2014-02-06 18:03 ` [PATCH v2 3/8] mfd: da9055: Add DT support for PMIC Adam Thomson
2014-02-07 11:03   ` Lee Jones
2014-02-07 15:45     ` Opensource [Adam Thomson]
2014-02-06 18:03 ` [PATCH v2 4/8] regulator: da9055: Add DT support Adam Thomson
     [not found]   ` <9c9235270af15eb50bd2d5c20daa7a81858910a4.1391705989.git.Adam.Thomson.Opensource-WBD+wuPFNBhBDgjK7y7TUQ@public.gmane.org>
2014-02-07 16:31     ` Mark Brown
2014-02-06 18:03 ` [PATCH v2 5/8] onkey: da9055: Remove use of regmap_irq_get_virq() Adam Thomson
2014-02-06 18:03 ` [PATCH v2 6/8] hwmon: " Adam Thomson
2014-02-07  1:29   ` Guenter Roeck
2014-02-06 18:03 ` [PATCH v2 7/8] rtc: " Adam Thomson
     [not found] ` <cover.1391705989.git.Adam.Thomson.Opensource-WBD+wuPFNBhBDgjK7y7TUQ@public.gmane.org>
2014-02-06 18:03   ` [PATCH v2 8/8] regulator: " Adam Thomson
2014-02-07 16:31     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).