To: | Marcin Nowakowski <marcin.nowakowski@mips.com> |
---|---|
Subject: | [PATCH v2 0/2] Add efuse driver for Ingenic JZ4780 SoC |
From: | Mathieu Malaterre <malat@debian.org> |
Date: | Thu, 28 Dec 2017 22:29:51 +0100 |
Cc: | Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Zubair.Kakakhel@mips.com, Mathieu Malaterre <malat@debian.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Ralf Baechle <ralf@linux-mips.org>, PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@linux-mips.org |
Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=PCeqksEvtJzi8IRN3Tr9ndQQSSlncjM5YKxT7M90uuE=; b=BWcW9smKYkEthMMzYmlmiHhcQPfk9eNwZhRjHoz392kBvmPYucreY2x2V7QGn9OBSn 0wHmLD8+brQaiOJCPB9bCpegXb4R4p3Rrr9d7Lz+IsDE4qG7VUd3RaS2rKAKc0PubJqz pDhD825X1pS78T+uRNsv5nUplQSExs7uF17qvdBCl1XUu8QFJnekMY576DxmLwttqpyR V3DEV4j+0VTGi0Xwj90jYjF/xcMvdkRbDEYvfFzoPahsWtCpb6Pvas52ldn0hUIAd9ei Fm2oBbuATAm0rjHKsHu7jCxpRWt5mGPz2loeKeETkmorUAed4kxB4UmbmalIRkKTIjqa 9e+A== |
List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
List-owner: | <mailto:ralf@linux-mips.org> |
List-post: | <mailto:linux-mips@linux-mips.org> |
List-software: | Ecartis version 1.0.0 |
List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
Original-recipient: | rfc822;linux-mips@linux-mips.org |
Sender: | linux-mips-bounce@linux-mips.org |
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 -- 2.11.0 |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [PATCH 2/7] watchdog: jz4740: Use devm_* functions, Guenter Roeck |
---|---|
Next by Date: | [PATCH v2 1/2] nvmem: add driver for JZ4780 efuse, Mathieu Malaterre |
Previous by Thread: | [PATCH 3.16 177/204] MIPS: AR7: Ensure that serial ports are properly set up, Ben Hutchings |
Next by Thread: | [PATCH v2 1/2] nvmem: add driver for JZ4780 efuse, Mathieu Malaterre |
Indexes: | [Date] [Thread] [Top] [All Lists] |