From: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Arnd Bergmann <arnd@arndb.de>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Andrew Bresticker <abrestic@chromium.org>,
James Hartley <james.hartley@imgtec.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Subject: [PATCH 0/7] New eFuse subsystem
Date: Wed, 25 Feb 2015 08:45:12 -0300 [thread overview]
Message-ID: <1424864719-3390-1-git-send-email-ezequiel.garcia@imgtec.com> (raw)
This patchset introduces a new driver subsystem, meant to support eFuse
(alias OTP, one-time-programmable) devices.
The motivation behind this work is to have a common place for drivers
that are currently more or less scattered: the tegra efuses are in
drivers/soc/ and the sunxi efuses in drivers/misc/eeprom.
For now, there's no proposal for a generic efuse API. Instead, we simply
group the drivers together.
This patchset is the result of the initial submission for IMG Pistachio
eFuse support [1]. Our first proposal was to follow the Tegra efuse, and
put the Pistachio efuse in drivers/soc. After some discussion we finally
agreed [2] to first create an efuse directoy, and then put all efuse drivers
in it.
As always, all comments are welcome!
[1] http://www.spinics.net/lists/devicetree/msg59246.html
[2] http://www.spinics.net/lists/arm-kernel/msg389325.html
Ezequiel Garcia (7):
soc: tegra: Add missing include linux/types.h
soc: tegra: Move the fuse header to a separate directory
drivers: Introduce new eFuse subsystem stub
efuse: Move Tegra efuse driver
ARM: tegra: Make sure efuse is always selected
efuse: Move Sunxi fuse driver
ARM: sunxi: Rename EFUSE_SUNXI option in defconfigs
arch/arm/configs/multi_v7_defconfig | 2 +-
arch/arm/configs/sunxi_defconfig | 2 +-
arch/arm/mach-tegra/Kconfig | 1 +
arch/arm/mach-tegra/cpuidle.c | 3 +--
arch/arm/mach-tegra/flowctrl.c | 3 +--
arch/arm/mach-tegra/hotplug.c | 2 +-
arch/arm/mach-tegra/platsmp.c | 2 +-
arch/arm/mach-tegra/pm.c | 2 +-
arch/arm/mach-tegra/reset-handler.S | 3 +--
arch/arm/mach-tegra/reset.c | 3 +--
arch/arm/mach-tegra/sleep-tegra30.S | 3 +--
arch/arm/mach-tegra/tegra.c | 2 +-
drivers/Kconfig | 2 ++
drivers/Makefile | 1 +
drivers/ata/ahci_tegra.c | 2 +-
drivers/clk/tegra/clk-periph-gate.c | 3 +--
drivers/clk/tegra/clk.c | 3 +--
drivers/efuse/Kconfig | 22 ++++++++++++++++++++++
drivers/efuse/Makefile | 2 ++
drivers/{misc/eeprom => efuse}/sunxi_sid.c | 0
drivers/{soc/tegra/fuse => efuse/tegra}/Makefile | 0
.../{soc/tegra/fuse => efuse/tegra}/fuse-tegra.c | 2 +-
.../{soc/tegra/fuse => efuse/tegra}/fuse-tegra20.c | 3 +--
.../{soc/tegra/fuse => efuse/tegra}/fuse-tegra30.c | 3 +--
drivers/{soc/tegra/fuse => efuse/tegra}/fuse.h | 0
.../tegra/fuse => efuse/tegra}/speedo-tegra114.c | 3 +--
.../tegra/fuse => efuse/tegra}/speedo-tegra124.c | 3 +--
.../tegra/fuse => efuse/tegra}/speedo-tegra20.c | 3 +--
.../tegra/fuse => efuse/tegra}/speedo-tegra30.c | 3 +--
.../tegra/fuse => efuse/tegra}/tegra-apbmisc.c | 3 +--
drivers/gpu/drm/nouveau/nouveau_platform.c | 2 +-
drivers/misc/eeprom/Kconfig | 13 -------------
drivers/misc/eeprom/Makefile | 1 -
drivers/soc/tegra/Makefile | 2 --
drivers/soc/tegra/pmc.c | 2 +-
drivers/thermal/tegra_soctherm.c | 3 +--
include/{soc/tegra/fuse.h => linux/efuse/tegra.h} | 2 ++
37 files changed, 55 insertions(+), 56 deletions(-)
create mode 100644 drivers/efuse/Kconfig
create mode 100644 drivers/efuse/Makefile
rename drivers/{misc/eeprom => efuse}/sunxi_sid.c (100%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/Makefile (100%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/fuse-tegra.c (99%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/fuse-tegra20.c (99%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/fuse-tegra30.c (99%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/fuse.h (100%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/speedo-tegra114.c (98%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/speedo-tegra124.c (99%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/speedo-tegra20.c (99%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/speedo-tegra30.c (99%)
rename drivers/{soc/tegra/fuse => efuse/tegra}/tegra-apbmisc.c (98%)
rename include/{soc/tegra/fuse.h => linux/efuse/tegra.h} (98%)
--
2.3.0
next reply other threads:[~2015-02-25 11:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 11:45 Ezequiel Garcia [this message]
2015-02-25 11:45 ` [PATCH 1/7] soc: tegra: Add missing include linux/types.h Ezequiel Garcia
2015-02-25 11:45 ` [PATCH 2/7] soc: tegra: Move the fuse header to a separate directory Ezequiel Garcia
2015-02-25 11:45 ` [PATCH 3/7] drivers: Introduce new eFuse subsystem stub Ezequiel Garcia
2015-02-25 12:29 ` Stefan Wahren
2015-02-28 15:45 ` Paul Bolle
2015-02-25 11:45 ` [PATCH 4/7] efuse: Move Tegra efuse driver Ezequiel Garcia
2015-02-28 15:51 ` Paul Bolle
2015-02-25 12:02 ` [PATCH 0/7] New eFuse subsystem Maxime Ripard
2015-02-25 12:30 ` Ezequiel Garcia
2015-02-25 13:12 ` James Hartley
2015-02-25 15:15 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424864719-3390-1-git-send-email-ezequiel.garcia@imgtec.com \
--to=ezequiel.garcia@imgtec.com \
--cc=abrestic@chromium.org \
--cc=arnd@arndb.de \
--cc=james.hartley@imgtec.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.ripard@free-electrons.com \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®