diff options
author | Davide Ciminaghi <ciminaghi@gnudd.com> | 2012-11-09 15:19:59 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-20 12:21:16 +0100 |
commit | dba6c1aeea4dd0e251e41c3f585abf4a06a4f057 (patch) | |
tree | ac7830cb39625b8dd2be1e82f10fd1430bc22098 /include/linux/mfd | |
parent | e885ba298098959d03c58d946c6fad8f8ed4a1c7 (diff) | |
download | op-kernel-dev-dba6c1aeea4dd0e251e41c3f585abf4a06a4f057.zip op-kernel-dev-dba6c1aeea4dd0e251e41c3f585abf4a06a4f057.tar.gz |
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/sta2x11-mfd.h b/include/linux/mfd/sta2x11-mfd.h index 058de2b..08cad95 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, |