public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V3 0/5] power: pfuze100: support driver model and regulator
@ 2015-08-07  8:43 Peng Fan
  2015-08-07  8:43 ` [U-Boot] [PATCH V3 1/6] power: pfuze100 correct SWBST macro definition Peng Fan
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Peng Fan @ 2015-08-07  8:43 UTC (permalink / raw)
  To: u-boot

This patch set is to support driver model for pfuze100 and implement
regulator driver for pfuze100. Patches has been tested on i.MX7D
validation board.

Here registeres for standby mode are not touched, all operation read/write
register are for NORMAL state. For example, to pfuze100,
sw1volt is for controlling voltage for normal state, sw1stdby is for
controlling voltage for standby state. The driver only read/write sw1volt,
but not touch sw1stdby. This will be done later, since I do not come up
with a good idea to operate sw1stdby.

This pfuze driver model part and regulator driver use max77686 driver
as a reference.

Changes V3:
 Mainly discard the double pointer. See changelog in each patch.

Changes v2:
 Addressed comments from Simon and Przemyslaw. Detailed changelog see
 each patch.

Peng Fan (5):
  power: pfuze100 correct SWBST macro definition
  power: regulator use node name when no regulator-name
  power: pmic: pfuze100 support driver model
  power: regulator: add pfuze100 support
  fsl: common: pfuze: no use original pfuze code if DM_PMIC

 board/freescale/common/pfuze.c             |   2 +
 drivers/power/pmic/Kconfig                 |   7 +
 drivers/power/pmic/Makefile                |   1 +
 drivers/power/pmic/pfuze100.c              |  99 +++++
 drivers/power/regulator/Kconfig            |   8 +
 drivers/power/regulator/Makefile           |   1 +
 drivers/power/regulator/pfuze100.c         | 568 +++++++++++++++++++++++++++++
 drivers/power/regulator/regulator-uclass.c |   4 +-
 include/power/pfuze100_pmic.h              |  33 +-
 9 files changed, 716 insertions(+), 7 deletions(-)
 create mode 100644 drivers/power/pmic/pfuze100.c
 create mode 100644 drivers/power/regulator/pfuze100.c

-- 
1.8.4

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

end of thread, other threads:[~2015-08-12 10:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-07  8:43 [U-Boot] [PATCH V3 0/5] power: pfuze100: support driver model and regulator Peng Fan
2015-08-07  8:43 ` [U-Boot] [PATCH V3 1/6] power: pfuze100 correct SWBST macro definition Peng Fan
2015-08-12 10:09   ` Przemyslaw Marczak
2015-08-07  8:43 ` [U-Boot] [PATCH V3 2/6] power: regulator use node name when no regulator-name Peng Fan
2015-08-07 15:39   ` Simon Glass
2015-08-12 10:09   ` Przemyslaw Marczak
2015-08-07  8:43 ` [U-Boot] [PATCH V3 3/6] power: regulator: update comments for regulator-name Peng Fan
2015-08-12 10:09   ` Przemyslaw Marczak
2015-08-07  8:43 ` [U-Boot] [PATCH V3 4/6] power: pmic: pfuze100 support driver model Peng Fan
2015-08-12 10:09   ` Przemyslaw Marczak
2015-08-07  8:43 ` [U-Boot] [PATCH V3 5/6] power: regulator: add pfuze100 support Peng Fan
2015-08-07 19:09   ` Simon Glass
2015-08-12 10:10   ` Przemyslaw Marczak
2015-08-07  8:43 ` [U-Boot] [PATCH V3 6/6] fsl: common: pfuze: no use original pfuze code if DM_PMIC Peng Fan
2015-08-12 10:10   ` Przemyslaw Marczak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox