[PATCH 0/6] Versatile flash protection in DT

Linus Walleij linus.walleij at linaro.org
Tue Jan 26 03:11:59 PST 2016


This patch set augments the physmap driver to react to the
"arm,versatile-flash" compatible string by installing special
VPP/writeprotect handling so that the corresponding boardfile
code can be removed from the ARM boardfiles.

The patches pretty much speak for themselves, I would eventually
like to have the two mtd patches merged into the MTD tree
by themselves, and the rest of the patches merged into the
ARM SoC tree, as there is no compile-time dependency between
them and we can do a smooth transition along with other
cleanup patches in the ARM SoC tree.

Linus Walleij (6):
  mtd: augment the "arm,versatile-flash" bindings
  mtd: physmap_of: add a hook for Versatile write protection
  ARM: versatile: move flash registration to the device tree
  ARM: integrator: move flash registration to device tree
  ARM: realview: add flash devices to the PB1176 DTS
  ARM: realview: fix up PB11MP flash compat strings

 .../devicetree/bindings/mtd/arm-versatile.txt      |  20 +-
 arch/arm/boot/dts/arm-realview-pb1176.dts          |  32 +++
 arch/arm/boot/dts/arm-realview-pb11mp.dts          |   4 +-
 arch/arm/boot/dts/integrator.dtsi                  |   3 +-
 arch/arm/boot/dts/versatile-ab.dts                 |   5 +-
 arch/arm/mach-integrator/integrator_ap.c           |  62 -----
 arch/arm/mach-integrator/integrator_cp.c           |  51 -----
 arch/arm/mach-versatile/versatile_dt.c             |  47 ----
 drivers/mtd/maps/Kconfig                           |  10 +
 drivers/mtd/maps/Makefile                          |   1 +
 drivers/mtd/maps/physmap_of.c                      |   6 +
 drivers/mtd/maps/physmap_of_versatile.c            | 253 +++++++++++++++++++++
 drivers/mtd/maps/physmap_of_versatile.h            |  16 ++
 13 files changed, 344 insertions(+), 166 deletions(-)
 create mode 100644 drivers/mtd/maps/physmap_of_versatile.c
 create mode 100644 drivers/mtd/maps/physmap_of_versatile.h

-- 
2.4.3




More information about the linux-mtd mailing list