mbox series

[0/6] Add i.MX8MM support

Message ID 20190419100327.31483-1-pure.logic@nexus-software.ie (mailing list archive)
Headers show
Series Add i.MX8MM support | expand

Message

Bryan O'Donoghue April 19, 2019, 10:03 a.m. UTC
This set adds support for the i.MX8MM.

When adding support for this processor there are two interesting gotchas to
watch for.

#1 We current do not preserve the WAIT field for i.MX6 and since we are
   reusing the i.MX6 set_timing() values, this would also affect i.MX8.
   On the face of it, it appears to be an inocuous error with no real side
   effects.

#2 Secondly the i.MX8MM will calculate a zero value for the RELAX bit-field
   when programming up OTP fuses.
   This is fine for programming the fuses but, it introduces a strange
   failure state with reloading the shadow registers subsequent to blowing
   an OTP fuse.
   The second important patch here then is ensuring the RELAX field is
   non-zero to avoid the failure state.

Bryan O'Donoghue (6):
  nvmem: imx-ocotp: Allow selection of OCOTP for imx8 processors
  nvmem: imx-ocotp: Fix i.MX OC-OTP naming prompt
  nvmem: imx-ocotp: Add i.MX8MM support
  nvmem: imx-ocotp: Ensure WAIT bits are preserved when setting timing
  nvmem: imx-ocotp: Ensure the RELAX field is non-zero
  dt-bindings: imx-ocotp: Add i.MX8MM support

 .../devicetree/bindings/nvmem/imx-ocotp.txt     |  1 +
 drivers/nvmem/Kconfig                           |  4 ++--
 drivers/nvmem/imx-ocotp.c                       | 17 ++++++++++++++++-
 3 files changed, 19 insertions(+), 3 deletions(-)