Skip to content

Add efuse driver for Ingenic JZ4780 SoC

Mathieu Malaterre linux-devicetree linux-mips lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 14 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

Properly handle offset and byte value from the main entry point. Also add a commit message in patch #2.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvmem: add driver for JZ4780 efuseDocumentation/ABI/testing/sysfs-driver-jz4780-efuse Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.txt MAINTAINERS +4 more+383 -129 replies
2/2dts: Probe efuse for CI20arch/mips/configs/ci20_defconfig+2 -02 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMathieu Malaterre
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add efuse driver for Ingenic JZ4780 SoC

This patchset bring support for read-only access to the JZ4780 efuse as found on MIPS Creator CI20.

To keep the driver as simple as possible, it was not possible to re-use most of the nvmem core functionalities. This driver is not compatible with the original efuse driver as found in the custom linux kernel from upstream (1), in particular it does not expose to the users neither:
/sys/devices/platform/*/chip_id nor /sys/devices/platform/*/user_id.

The goal of this driver is to provide access to the MAC address to the dm9000 driver.

(1) https://github.com/ZubairLK/CI20_linux/commit/6efd4ffca7dcfaff0794ab60cd6922ce96c60419

Changes in v2:
Properly handle offset and byte value from the main entry point. Also add a commit message in patch #2.

Mathieu Malaterre (1):
dts: Probe efuse for CI20

PrasannaKumar Muralidharan (1):
nvmem: add driver for JZ4780 efuse

 .../ABI/testing/sysfs-driver-jz4780-efuse          |  16 ++
 .../bindings/nvmem/ingenic,jz4780-efuse.txt        |  17 ++
 MAINTAINERS                                        |   5 +
 arch/mips/boot/dts/ingenic/jz4780.dtsi             |  40 ++-
 arch/mips/configs/ci20_defconfig                   |   2 +
 drivers/nvmem/Kconfig                              |  10 +
 drivers/nvmem/Makefile                             |   2 +
 drivers/nvmem/jz4780-efuse.c                       | 305 +++++++++++++++++++++
 8 files changed, 385 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-jz4780-efuse
 create mode 100644 Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.txt
 create mode 100644 drivers/nvmem/jz4780-efuse.c
Signature · 6 lines
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html