All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/8] DA906x PMIC driver
  2012-08-24  8:32 ` [lm-sensors] " Krystian Garbaciak
@ 2012-08-24 13:45 ` Krystian Garbaciak
  -1 siblings, 0 replies; 66+ messages in thread
From: Krystian Garbaciak @ 2012-08-24 13:45 UTC (permalink / raw)
  To: linux-kernel, rtc-linux, lm-sensors, linux-input, linux-watchdog,
	linux-leds
  Cc: Alessandro Zummo, Andrew Jones, Dmitry Torokhov, Samuel Ortiz,
	Ashish Jangam, Mark Brown, Donggeun Kim, Wim Van Sebroeck,
	Richard Purdie <rpurdie@rpsys.net> Anthony Olech, Bryan Wu,
	Liam Girdwood

Greetings,

The following patch set adds new multifunction device providing support for
DA906x PMIC chips.

I am resending this as it looks, the first send failed.

Please add some comments to the driver patch, which targets Linux Kernel v3.6.

Thank you,

---
Krystian Garbaciak (8):
  mfd: Add Dialog DA906x core driver.
  regulator: Add Dialog DA906x voltage regulators support.
  rtc: Add RTC driver for DA906x PMIC.
  hwmon: Add DA906x hardware monitoring support.
  input: Add support for DA906x PMIC OnKey detection.
  input: Add support for DA906x vibration motor driver.
  watchdog: Add DA906x PMIC watchdog driver.
  leds: Add DA906x PMIC LED driver.

 drivers/hwmon/Kconfig                 |    6 +
 drivers/hwmon/Makefile                |    1 +
 drivers/hwmon/da906x-hwmon.c          |  393 ++++++++++++
 drivers/input/misc/Kconfig            |   13 +
 drivers/input/misc/Makefile           |    2 +
 drivers/input/misc/da906x-onkey.c     |  139 +++++
 drivers/input/misc/da906x-vibration.c |  153 +++++
 drivers/leds/Kconfig                  |    8 +
 drivers/leds/Makefile                 |    1 +
 drivers/leds/leds-da906x.c            |  438 +++++++++++++
 drivers/mfd/Kconfig                   |   11 +
 drivers/mfd/Makefile                  |    4 +
 drivers/mfd/da906x-core.c             |  228 +++++++
 drivers/mfd/da906x-i2c.c              |  389 ++++++++++++
 drivers/mfd/da906x-irq.c              |  192 ++++++
 drivers/regulator/Kconfig             |    6 +
 drivers/regulator/Makefile            |    1 +
 drivers/regulator/da906x-regulator.c  | 1018 ++++++++++++++++++++++++++++++
 drivers/rtc/Kconfig                   |    7 +
 drivers/rtc/Makefile                  |    1 +
 drivers/rtc/rtc-da906x.c              |  379 ++++++++++++
 drivers/watchdog/Kconfig              |   27 +
 drivers/watchdog/Makefile             |    1 +
 drivers/watchdog/da906x_wdt.c         |  276 +++++++++
 include/linux/mfd/da906x/core.h       |  121 ++++
 include/linux/mfd/da906x/pdata.h      |  114 ++++
 include/linux/mfd/da906x/registers.h  | 1093 +++++++++++++++++++++++++++++++++
 27 files changed, 5022 insertions(+), 0 deletions(-)
 create mode 100644 drivers/hwmon/da906x-hwmon.c
 create mode 100644 drivers/input/misc/da906x-onkey.c
 create mode 100644 drivers/input/misc/da906x-vibration.c
 create mode 100644 drivers/leds/leds-da906x.c
 create mode 100644 drivers/mfd/da906x-core.c
 create mode 100644 drivers/mfd/da906x-i2c.c
 create mode 100644 drivers/mfd/da906x-irq.c
 create mode 100644 drivers/regulator/da906x-regulator.c
 create mode 100644 drivers/rtc/rtc-da906x.c
 create mode 100644 drivers/watchdog/da906x_wdt.c
 create mode 100644 include/linux/mfd/da906x/core.h
 create mode 100644 include/linux/mfd/da906x/pdata.h
 create mode 100644 include/linux/mfd/da906x/registers.h


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 66+ messages in thread
* [RFC PATCH 0/8] DA906x PMIC driver
@ 2012-08-24  8:32 ` Krystian Garbaciak
  0 siblings, 0 replies; 66+ messages in thread
From: Krystian Garbaciak @ 2012-08-24  8:32 UTC (permalink / raw)
  To: linux-kernel, rtc-linux, lm-sensors, linux-input, linux-watchdog,
	linux-leds
  Cc: Alessandro Zummo, Andrew Jones, Dmitry Torokhov, Samuel Ortiz,
	Ashish Jangam, Mark Brown, Donggeun Kim, Wim Van Sebroeck,
	Richard Purdie, Bryan Wu, Liam Girdwood

Greetings,

The following patch set adds new multifunction device providing support for
DA906x PMIC chips.

Please add some comments to the driver, which targets Linux Kernel v3.6.

Thank you,

---
Krystian Garbaciak (8):
  mfd: Add Dialog DA906x core driver.
  regulator: Add Dialog DA906x voltage regulators support.
  rtc: Add RTC driver for DA906x PMIC.
  hwmon: Add DA906x hardware monitoring support.
  input: Add support for DA906x PMIC OnKey detection.
  input: Add support for DA906x vibration motor driver.
  watchdog: Add DA906x PMIC watchdog driver.
  leds: Add DA906x PMIC LED driver.

 drivers/hwmon/Kconfig                 |    6 +
 drivers/hwmon/Makefile                |    1 +
 drivers/hwmon/da906x-hwmon.c          |  393 ++++++++++++
 drivers/input/misc/Kconfig            |   13 +
 drivers/input/misc/Makefile           |    2 +
 drivers/input/misc/da906x-onkey.c     |  139 +++++
 drivers/input/misc/da906x-vibration.c |  153 +++++
 drivers/leds/Kconfig                  |    8 +
 drivers/leds/Makefile                 |    1 +
 drivers/leds/leds-da906x.c            |  438 +++++++++++++
 drivers/mfd/Kconfig                   |   11 +
 drivers/mfd/Makefile                  |    4 +
 drivers/mfd/da906x-core.c             |  228 +++++++
 drivers/mfd/da906x-i2c.c              |  389 ++++++++++++
 drivers/mfd/da906x-irq.c              |  192 ++++++
 drivers/regulator/Kconfig             |    6 +
 drivers/regulator/Makefile            |    1 +
 drivers/regulator/da906x-regulator.c  | 1018 ++++++++++++++++++++++++++++++
 drivers/rtc/Kconfig                   |    7 +
 drivers/rtc/Makefile                  |    1 +
 drivers/rtc/rtc-da906x.c              |  379 ++++++++++++
 drivers/watchdog/Kconfig              |   27 +
 drivers/watchdog/Makefile             |    1 +
 drivers/watchdog/da906x_wdt.c         |  276 +++++++++
 include/linux/mfd/da906x/core.h       |  121 ++++
 include/linux/mfd/da906x/pdata.h      |  114 ++++
 include/linux/mfd/da906x/registers.h  | 1093 +++++++++++++++++++++++++++++++++
 27 files changed, 5022 insertions(+), 0 deletions(-)
 create mode 100644 drivers/hwmon/da906x-hwmon.c
 create mode 100644 drivers/input/misc/da906x-onkey.c
 create mode 100644 drivers/input/misc/da906x-vibration.c
 create mode 100644 drivers/leds/leds-da906x.c
 create mode 100644 drivers/mfd/da906x-core.c
 create mode 100644 drivers/mfd/da906x-i2c.c
 create mode 100644 drivers/mfd/da906x-irq.c
 create mode 100644 drivers/regulator/da906x-regulator.c
 create mode 100644 drivers/rtc/rtc-da906x.c
 create mode 100644 drivers/watchdog/da906x_wdt.c
 create mode 100644 include/linux/mfd/da906x/core.h
 create mode 100644 include/linux/mfd/da906x/pdata.h
 create mode 100644 include/linux/mfd/da906x/registers.h


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 66+ messages in thread
* [PATCH] regulator: Fix bug in regulator_mode_to_status() core function.
@ 2012-07-11 12:10 Krystian Garbaciak
  2012-07-11 13:28 ` Mark Brown
  0 siblings, 1 reply; 66+ messages in thread
From: Krystian Garbaciak @ 2012-07-11 12:10 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-kernel

Fix typo for case REGULATOR_STATUS_STANDBY -> REGULATOR_MODE_STANDBY.
For undefined mode, return REGULATOR_STATUS_ERROR (0 is not valid status).

Signed-off-by: Krystian Garbaciak <krystian.garbaciak@diasemi.com>
---
 drivers/regulator/core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 09a737c..b821a9f 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -2909,10 +2909,10 @@ int regulator_mode_to_status(unsigned int mode)
 		return REGULATOR_STATUS_NORMAL;
 	case REGULATOR_MODE_IDLE:
 		return REGULATOR_STATUS_IDLE;
-	case REGULATOR_STATUS_STANDBY:
+	case REGULATOR_MODE_STANDBY:
 		return REGULATOR_STATUS_STANDBY;
 	default:
-		return 0;
+		return REGULATOR_STATUS_ERROR;
 	}
 }
 EXPORT_SYMBOL_GPL(regulator_mode_to_status);
-- 
1.7.0.4


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

end of thread, other threads:[~2013-05-09 14:50 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-24 13:45 [RFC PATCH 0/8] DA906x PMIC driver Krystian Garbaciak
2012-08-24 13:45 ` [lm-sensors] " Krystian Garbaciak
2012-08-24 13:50 ` [PATCH 1/8] mfd: Add Dialog DA906x core driver Krystian Garbaciak
2012-08-24 13:50   ` [lm-sensors] " Krystian Garbaciak
2012-08-24 13:55   ` [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support Krystian Garbaciak
2012-08-24 13:55     ` [lm-sensors] " Krystian Garbaciak
2012-08-24 14:00     ` [RFC PATCH 3/8] rtc: Add RTC driver for DA906x PMIC Krystian Garbaciak
2012-08-24 14:00       ` [lm-sensors] " Krystian Garbaciak
2012-08-24 14:05       ` [RFC PATCH 4/8] hwmon: Add DA906x hardware monitoring support Krystian Garbaciak
2012-08-24 14:05         ` [lm-sensors] " Krystian Garbaciak
2012-08-24 14:10         ` [RFC PATCH 5/8] input: Add support for DA906x PMIC OnKey detection Krystian Garbaciak
2012-08-24 14:10           ` [lm-sensors] " Krystian Garbaciak
2012-08-24 14:15           ` [RFC PATCH 6/8] input: Add support for DA906x vibration motor driver Krystian Garbaciak
2012-08-24 14:15             ` [lm-sensors] " Krystian Garbaciak
2012-08-24 14:20             ` [RFC PATCH 7/8] watchdog: Add DA906x PMIC watchdog driver Krystian Garbaciak
2012-08-24 14:20               ` [lm-sensors] " Krystian Garbaciak
2012-08-24 14:25               ` [RFC PATCH 8/8] leds: Add DA906x PMIC LED driver Krystian Garbaciak
2012-08-24 14:25                 ` [lm-sensors] " Krystian Garbaciak
2012-08-24 18:45         ` [RFC PATCH 4/8] hwmon: Add DA906x hardware monitoring support Guenter Roeck
2012-08-24 18:45           ` [lm-sensors] " Guenter Roeck
2012-08-29 13:25           ` [PATCH] regulator: Fix bug in regulator_mode_to_status() core function Krystian Garbaciak
2012-08-29 13:25             ` [lm-sensors] " Krystian Garbaciak
2012-08-25 15:10     ` [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support Mark Brown
2012-08-25 15:10       ` [lm-sensors] " Mark Brown
2012-08-29 14:50       ` Krystian Garbaciak
2012-08-29 14:50         ` [lm-sensors] " Krystian Garbaciak
2012-08-29 14:50         ` Krystian Garbaciak
2012-08-30 17:47         ` Mark Brown
2012-08-30 17:47           ` [lm-sensors] " Mark Brown
2012-08-31 10:00           ` Krystian Garbaciak
2012-08-31 10:00             ` [lm-sensors] " Krystian Garbaciak
2012-08-31 10:00             ` Krystian Garbaciak
2013-05-09 14:05             ` Guennadi Liakhovetski
2013-05-09 14:18               ` Anthony Olech
2013-05-09 14:28                 ` Guennadi Liakhovetski
2013-05-09 14:42                   ` Anthony Olech
2013-05-09 14:50                     ` Guennadi Liakhovetski
2012-08-25 18:31   ` [PATCH 1/8] mfd: Add Dialog DA906x core driver Mark Brown
2012-08-25 18:31     ` [lm-sensors] " Mark Brown
2012-08-31 11:20     ` Krystian Garbaciak
2012-08-31 11:20       ` [lm-sensors] " Krystian Garbaciak
2012-08-31 11:20       ` Krystian Garbaciak
2012-08-31 11:37       ` Philippe Rétornaz
2012-08-31 11:37         ` [lm-sensors] " Philippe Rétornaz
2012-08-31 11:37         ` Philippe Rétornaz
2012-08-31 11:37         ` Philippe Rétornaz
2012-08-31 17:16       ` Mark Brown
2012-08-31 17:16         ` [lm-sensors] " Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2012-08-24  8:32 [RFC PATCH 0/8] DA906x PMIC driver Krystian Garbaciak
2012-08-24  8:32 ` [lm-sensors] " Krystian Garbaciak
2012-08-24  8:32 ` [PATCH 1/8] mfd: Add Dialog DA906x core driver Krystian Garbaciak
2012-08-24  8:32   ` [lm-sensors] " Krystian Garbaciak
2012-08-24  8:32   ` [PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support Krystian Garbaciak
2012-08-24  8:32     ` [lm-sensors] " Krystian Garbaciak
2012-08-24  8:32     ` [PATCH 3/8] rtc: Add RTC driver for DA906x PMIC Krystian Garbaciak
2012-08-24  8:32       ` [lm-sensors] " Krystian Garbaciak
2012-08-24  8:32       ` [PATCH 4/8] hwmon: Add DA906x hardware monitoring support Krystian Garbaciak
2012-08-24  8:32         ` [lm-sensors] " Krystian Garbaciak
2012-08-24  8:32         ` [PATCH 5/8] input: Add support for DA906x PMIC OnKey detection Krystian Garbaciak
2012-08-24  8:32           ` [lm-sensors] " Krystian Garbaciak
2012-07-11 12:10 [PATCH] regulator: Fix bug in regulator_mode_to_status() core function Krystian Garbaciak
2012-07-11 13:28 ` Mark Brown
2012-07-11 14:18   ` Krystian Garbaciak
2012-07-11 14:26     ` Mark Brown
2012-07-11 15:13     ` Krystian Garbaciak
2012-07-11 17:42       ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.