aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorDavide Ciminaghi <ciminaghi@gnudd.com>2012-11-09 09:19:59 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-20 06:21:16 -0500
commitdba6c1aeea4dd0e251e41c3f585abf4a06a4f057 (patch)
treeac7830cb39625b8dd2be1e82f10fd1430bc22098 /include/linux/mfd
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')
-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)
482#define COMPENSATION_REG3 0x3cc 482#define COMPENSATION_REG3 0x3cc
483#define TEST_CTL_REG 0x3d0 483#define TEST_CTL_REG 0x3d0
484 484
485/*
486 * SECR (OTP) registers
487 */
488#define STA2X11_SECR_CR 0x00
489#define STA2X11_SECR_FVR0 0x10
490#define STA2X11_SECR_FVR1 0x14
491
485extern int sta2x11_mfd_get_regs_data(struct platform_device *pdev, 492extern int sta2x11_mfd_get_regs_data(struct platform_device *pdev,
486 enum sta2x11_mfd_plat_dev index, 493 enum sta2x11_mfd_plat_dev index,
487 void __iomem **regs, 494 void __iomem **regs,