[PATCH] Add regmap support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds simple regmap support. It's overdue to have regmap
support in barebox since regmap can make register accesses far more
generic and convenient. More and more kernel code depends on it, so
here it is for barebox. Two drivers are switched over to regmap to
provide some users.

----------------------------------------------------------------
Sascha Hauer (3):
      Add initial regmap support
      mfd: mc13xxx: Switch to regmap support
      ARM: i.MX ocotp: Switch to regmap support

Steffen Trumtrar (1):
      bitops: Fix shift overflow in GENMASK macros

 arch/arm/mach-imx/ocotp.c      | 146 ++++++---------
 drivers/base/Makefile          |   1 +
 drivers/base/regmap/Makefile   |   1 +
 drivers/base/regmap/internal.h |  18 ++
 drivers/base/regmap/regmap.c   | 398 +++++++++++++++++++++++++++++++++++++++++
 drivers/mfd/mc13xxx.c          | 123 ++++++-------
 include/linux/bitops.h         |   7 +-
 include/regmap.h               |  62 +++++++
 8 files changed, 594 insertions(+), 162 deletions(-)
 create mode 100644 drivers/base/regmap/Makefile
 create mode 100644 drivers/base/regmap/internal.h
 create mode 100644 drivers/base/regmap/regmap.c
 create mode 100644 include/regmap.h

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux