|
|
Log in / Subscribe / Register

MIPS: CI20: Add efuse driver for Ingenic JZ4780 and attach to DM9000 for stable MAC addresses

From:  "H. Nikolaus Schaller" <hns-AT-goldelico.com>
To:  PrasannaKumar Muralidharan <prasannatsmkumar-AT-gmail.com>, Paul Cercueil <paul-AT-crapouillou.net>, Mathieu Malaterre <malat-AT-debian.org>, Srinivas Kandagatla <srinivas.kandagatla-AT-linaro.org>, Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>, Ralf Baechle <ralf-AT-linux-mips.org>, Paul Burton <paulburton-AT-kernel.org>, Mauro Carvalho Chehab <mchehab+samsung-AT-kernel.org>, "David S. Miller" <davem-AT-davemloft.net>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, Jonathan Cameron <Jonathan.Cameron-AT-huawei.com>, "H. Nikolaus Schaller" <hns-AT-goldelico.com>, Krzysztof Kozlowski <krzk-AT-kernel.org>, Kees Cook <keescook-AT-chromium.org>, Andi Kleen <ak-AT-linux.intel.com>, Geert Uytterhoeven <geert+renesas-AT-glider.be>
Subject:  [RFC v3 0/9] MIPS: CI20: Add efuse driver for Ingenic JZ4780 and attach to DM9000 for stable MAC addresses
Date:  Sun, 16 Feb 2020 20:20:42 +0100
Message-ID:  <cover.1581880851.git.hns@goldelico.com>
Cc:  linux-kernel-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-mips-AT-vger.kernel.org, letux-kernel-AT-openphoenux.org, kernel-AT-pyra-handheld.com
Archive-link:  Article

This series is based on and a follow up for

https://lore.kernel.org/patchwork/cover/868157/

("[v2,0/2] Add efuse driver for Ingenic JZ4780 SoC")

Original authors were
PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Mathieu Malaterre <malat@debian.org>

and there are additions / code improvements by
H. Nikolaus Schaller <hns@goldelico.com>
Paul Cercueil <paul@crapouillou.net>

This setup works, if the dm9000 driver is compiled
as a module.

Therefore it is all RFC level. It is also not completely
checkpatched.


H. Nikolaus Schaller (2):
  MIPS: DTS: CI20: make DM9000 Ethernet controller use NVMEM to find the
    default MAC address
  MIPS: CI20 defconfig: DEMO HACK: make DM9000 a module

Mathieu Malaterre (1):
  MIPS: CI20 defconfig: Probe efuse for CI20

Paul Cercueil (1):
  rework to use regmap

PrasannaKumar Muralidharan (5):
  nvmem: add driver for JZ4780 efuse
  Bindings: nvmem: add bindings for JZ4780 efuse
  Documentation: ABI: nvmem: add documentation for JZ4780 efuse ABI
  nvmem: MAINTAINERS: add maintainer for JZ4780 efuse driver
  MIPS: DTS: JZ4780: define node for JZ4780 efuse

 .../ABI/testing/sysfs-driver-jz4780-efuse     |  16 ++
 .../bindings/nvmem/ingenic,jz4780-efuse.txt   |  17 ++
 MAINTAINERS                                   |   5 +
 arch/mips/boot/dts/ingenic/ci20.dts           |   3 +
 arch/mips/boot/dts/ingenic/jz4780.dtsi        |  17 +-
 arch/mips/configs/ci20_defconfig              |   4 +-
 drivers/nvmem/Kconfig                         |  10 +
 drivers/nvmem/Makefile                        |   2 +
 drivers/nvmem/jz4780-efuse.c                  | 238 ++++++++++++++++++
 9 files changed, 310 insertions(+), 2 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

-- 
2.23.0



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds