summaryrefslogtreecommitdiff
path: root/include/linux/mfd/sta2x11-mfd.h
diff options
context:
space:
mode:
authorDavide Ciminaghi <ciminaghi@gnudd.com>2012-11-09 15:19:59 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-20 12:21:16 +0100
commitdba6c1aeea4dd0e251e41c3f585abf4a06a4f057 (patch)
treeac7830cb39625b8dd2be1e82f10fd1430bc22098 /include/linux/mfd/sta2x11-mfd.h
parente885ba298098959d03c58d946c6fad8f8ed4a1c7 (diff)
mfd: sta2x11-mfd: Add scr (otp registers) platform driver
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com> Acked-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/sta2x11-mfd.h')
-rw-r--r--include/linux/mfd/sta2x11-mfd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/sta2x11-mfd.h b/include/linux/mfd/sta2x11-mfd.h
index 058de2bacf76..08cad95758c6 100644
--- a/include/linux/mfd/sta2x11-mfd.h
+++ b/include/linux/mfd/sta2x11-mfd.h
@@ -482,6 +482,13 @@ u32 sta2x11_apb_soc_regs_mask(struct pci_dev *pdev, u32 reg, u32 mask, u32 val)
#define COMPENSATION_REG3 0x3cc
#define TEST_CTL_REG 0x3d0
+/*
+ * SECR (OTP) registers
+ */
+#define STA2X11_SECR_CR 0x00
+#define STA2X11_SECR_FVR0 0x10
+#define STA2X11_SECR_FVR1 0x14
+
extern int sta2x11_mfd_get_regs_data(struct platform_device *pdev,
enum sta2x11_mfd_plat_dev index,
void __iomem **regs,