[PATCH 0/2] GPIO control of physmap-ed chip's VPP

Pawel Moll pawel.moll at arm.com
Thu Jul 12 12:38:39 EDT 2012


Hi All,

Some time ago physmap driver gained "set_vpp" platform function. That's
good but it can't be used on a Device Tree platform. This micro-series
adds the necessary bindings in the physmap_of driver, and - to keep
harmony in nature ;-) - makes similar change in the "normal" physmap
driver.

Alternatively this could be done via regulator framework (flash chip
could request a "vpp" supply) instead of GPIO. I don't mind either
solution - I just came up with GPIO first. If there is any preference
on the regulator side, I'll rework this code.

Regards

Pawel

Pawel Moll (2):
  mtd: maps: physmap: Add GPIO VPP control
  mtd: maps: physmap_of: Add GPIO VPP control

 .../devicetree/bindings/mtd/mtd-physmap.txt        |    7 +++-
 drivers/mtd/maps/physmap.c                         |   22 ++++++++++
 drivers/mtd/maps/physmap_of.c                      |   42 ++++++++++++++++++++
 include/linux/mtd/physmap.h                        |    2 +
 4 files changed, 72 insertions(+), 1 deletion(-)

-- 
1.7.9.5





More information about the linux-mtd mailing list