All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] regulator: twl: Fix regulator mode support
@ 2016-03-26  8:28 Ivaylo Dimitrov
  2016-03-26  8:28 ` [PATCH 1/3] regulator: twl: Make sure we have access to powerbus before trying to write to it Ivaylo Dimitrov
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Ivaylo Dimitrov @ 2016-03-26  8:28 UTC (permalink / raw)
  To: tony, lgirdwood, broonie
  Cc: sre, pali.rohar, linux-omap, linux-kernel, Ivaylo Dimitrov

On Nokia N900 regulators are left in the mode last set by the bootloader
or by the stock kernel, depends on whether it is power-on or reboot from
stock kernel to mainline. That leads to problem with devices connected
to vmmc2 regulator - when the device is rebooted from stock kernel vmmc2
is left in "sleep" mode (REGULATOR_STATUS_STANDBY in terms of regulator
framework) and as noone in mainline kernel switches vmmc2 regulator to
normal (REGULATOR_STATUS_NORMAL) mode, devices supplied by it does not
get enough power to operate normally.

Fix that by providing the correct functionality for initial mode setting
from the board DTS. Fix i2c access to powerbus while at it.

I will send a follow-up patch for N900 board DTS that sets initial
regulators mode once the $subject series is assumed to be ok.

Ivaylo Dimitrov (3):
  regulator: twl: Make sure we have access to powerbus before trying to
    write to it
  regulator: twl: Provide of_map_mode for twl4030
  regulator: twl: Regulator mode should not depend on regulator enabled
    state

 drivers/regulator/twl-regulator.c | 100 +++++++++++++++++++++++++++++++-------
 1 file changed, 82 insertions(+), 18 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-04-24 17:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-26  8:28 [PATCH 0/3] regulator: twl: Fix regulator mode support Ivaylo Dimitrov
2016-03-26  8:28 ` [PATCH 1/3] regulator: twl: Make sure we have access to powerbus before trying to write to it Ivaylo Dimitrov
2016-04-05 22:26   ` Ivaylo Dimitrov
2016-04-06  6:06     ` [PATCH] regulator: twl: Fix a typo in twl4030_send_pb_msg Ivaylo Dimitrov
2016-04-24 16:10   ` [PATCH 1/3] regulator: twl: Make sure we have access to powerbus before trying to write to it Pavel Machek
2016-04-24 17:14     ` Ivaylo Dimitrov
2016-03-26  8:28 ` [PATCH 2/3] regulator: twl: Provide of_map_mode for twl4030 Ivaylo Dimitrov
2016-03-28  9:39   ` Mark Brown
2016-04-04 18:57     ` [PATCH] " Ivaylo Dimitrov
2016-04-04 18:57       ` Ivaylo Dimitrov
2016-04-04 22:26       ` Mark Brown
2016-04-05  5:59         ` [PATCH v1] " Ivaylo Dimitrov
2016-04-07 17:57           ` Rob Herring
2016-04-08 15:49             ` Tony Lindgren
2016-04-08 16:08               ` Sebastian Reichel
2016-04-08 16:08                 ` Sebastian Reichel
2016-04-08 16:19                 ` Tony Lindgren
2016-04-08 16:19                   ` Tony Lindgren
2016-04-08 17:54                   ` Tony Lindgren
2016-04-08 17:54                     ` Tony Lindgren
2016-03-26  8:28 ` [PATCH 3/3] regulator: twl: Regulator mode should not depend on regulator enabled state Ivaylo Dimitrov
2016-04-24 16:11   ` Pavel Machek
2016-04-24 17:01     ` Ivaylo Dimitrov

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.