summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tps65217.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-09-05 22:16:18 +0100
committerLee Jones <lee.jones@linaro.org>2014-09-26 08:23:50 +0100
commit0b496b4c95c74ba795bc642a6092263ebf905759 (patch)
treeb372fddfa8621307155ef6b5ac53c583e734f174 /include/linux/mfd/tps65217.h
parent34a4958e4cfe1a379ed18fb3e2d0b93ba08f28d3 (diff)
mfd: tps65217: Tell regmap what registers are valid
Allow regmap to provide debugfs access to the register map by telling it what registers are valid. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/tps65217.h')
-rw-r--r--include/linux/mfd/tps65217.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h
index 95d6938737fd..ac7fba44d7e4 100644
--- a/include/linux/mfd/tps65217.h
+++ b/include/linux/mfd/tps65217.h
@@ -60,6 +60,8 @@
#define TPS65217_REG_SEQ5 0X1D
#define TPS65217_REG_SEQ6 0X1E
+#define TPS65217_REG_MAX TPS65217_REG_SEQ6
+
/* Register field definitions */
#define TPS65217_CHIPID_CHIP_MASK 0xF0
#define TPS65217_CHIPID_REV_MASK 0x0F