summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-01-19 10:30:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-20 09:10:31 +0100
commit25342f997f6f024504ba4dafa25e1b7af8187987 (patch)
tree8d333f3f07e07f7d9f12ac0e8d8e987068c9688e /include
parent595da7d68cb6a6826e6aceb690cbd6f0fc77d69a (diff)
downloadbarebox-25342f997f6f024504ba4dafa25e1b7af8187987.tar.gz
barebox-25342f997f6f024504ba4dafa25e1b7af8187987.tar.xz
regulator: Add pfuze driver
This is not yet a regulator driver, only the register map is exported as /dev/pfuze* so the registers can be accessed for debugging purposes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/mfd/pfuze.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mfd/pfuze.h b/include/mfd/pfuze.h
new file mode 100644
index 0000000000..6045ceec0a
--- /dev/null
+++ b/include/mfd/pfuze.h
@@ -0,0 +1,6 @@
+#ifndef __INCLUDE_PFUZE_H
+#define __INCLUDE_PFUZE_H
+
+int pfuze_register_init_callback(void(*callback)(struct regmap *map));
+
+#endif /* __INCLUDE_PFUZE_H */