diff options
author | Bryan O'Donoghue | 2017-10-24 10:54:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-11-08 14:19:05 +0100 |
commit | ffd9115f6548c51d347489e76bfb7d10e728f43d (patch) | |
tree | fca055d4b4e8d1ccb93c29c6633bc283c698aeef /drivers/i2c/i2c-smbus.c | |
parent | e20d2b291ba2f5441fd4aacd746c21e60d48b559 (diff) |
nvmem: imx-ocotp: Add support for banked OTP addressing
The i.MX7S/D takes the bank address in the CTRLn.ADDR field and the data
value in one of the DATAx {0, 1, 2, 3} register fields. The current write
routine is based on writing the CTRLn.ADDR field and writing a single DATA
register only.
Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c/i2c-smbus.c')
0 files changed, 0 insertions, 0 deletions