[PATCH 3/7] drivers: Introduce new eFuse subsystem stub

2015-02-25 Thread Ezequiel Garcia
This commit introduces a new eFuse subsystem stub to hold all the eFuse-like
device drivers. This will be used to host the currently supported Tegra
eFuse driver, and will allow to add support for other platforms as well.

Cc: Thierry Reding 
Cc: Stephen Warren 
Cc: Maxime Ripard 
Cc: Arnd Bergmann 
Cc: Stefan Wahren 
Signed-off-by: Ezequiel Garcia 
---
 drivers/Kconfig| 2 ++
 drivers/Makefile   | 1 +
 drivers/efuse/Kconfig  | 3 +++
 drivers/efuse/Makefile | 0
 4 files changed, 6 insertions(+)
 create mode 100644 drivers/efuse/Kconfig
 create mode 100644 drivers/efuse/Makefile

diff --git a/drivers/Kconfig b/drivers/Kconfig
index c0cc96b..9c0d93d 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -146,6 +146,8 @@ source "drivers/remoteproc/Kconfig"
 
 source "drivers/rpmsg/Kconfig"
 
+source "drivers/efuse/Kconfig"
+
 source "drivers/soc/Kconfig"
 
 source "drivers/devfreq/Kconfig"
diff --git a/drivers/Makefile b/drivers/Makefile
index 527a6da..5572728 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -34,6 +34,7 @@ obj-y += amba/
 obj-$(CONFIG_DMADEVICES)   += dma/
 
 # SOC specific infrastructure drivers.
+obj-y  += efuse/
 obj-y  += soc/
 
 obj-$(CONFIG_VIRTIO)   += virtio/
diff --git a/drivers/efuse/Kconfig b/drivers/efuse/Kconfig
new file mode 100644
index 000..617476f
--- /dev/null
+++ b/drivers/efuse/Kconfig
@@ -0,0 +1,3 @@
+menu "eFuse drivers"
+
+endmenu
diff --git a/drivers/efuse/Makefile b/drivers/efuse/Makefile
new file mode 100644
index 000..e69de29
-- 
2.3.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 3/7] drivers: Introduce new eFuse subsystem stub

2015-02-25 Thread Stefan Wahren
Hi,

[adding devicetree list]

Am 25.02.2015 um 12:45 schrieb Ezequiel Garcia:
> This commit introduces a new eFuse subsystem stub to hold all the eFuse-like
> device drivers. This will be used to host the currently supported Tegra
> eFuse driver, and will allow to add support for other platforms as well.

as i mentioned in the old discussion it would be nice to keep drivers
and devicetree binding documentation consistent.

So how about renaming?

Documentation/devicetree/bindings/fuse/ ->
Documentation/devicetree/bindings/efuse/

Best regards
Stefan




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 3/7] drivers: Introduce new eFuse subsystem stub

2015-02-28 Thread Paul Bolle
On Wed, 2015-02-25 at 08:45 -0300, Ezequiel Garcia wrote:
> This commit introduces a new eFuse subsystem stub to hold all the eFuse-like
> device drivers. This will be used to host the currently supported Tegra
> eFuse driver, and will allow to add support for other platforms as well.
> 
> Cc: Thierry Reding 
> Cc: Stephen Warren 
> Cc: Maxime Ripard 
> Cc: Arnd Bergmann 
> Cc: Stefan Wahren 
> Signed-off-by: Ezequiel Garcia 
> ---
>  drivers/Kconfig| 2 ++
>  drivers/Makefile   | 1 +
>  drivers/efuse/Kconfig  | 3 +++
>  drivers/efuse/Makefile | 0
>  4 files changed, 6 insertions(+)
>  create mode 100644 drivers/efuse/Kconfig
>  create mode 100644 drivers/efuse/Makefile
> 
> diff --git a/drivers/Kconfig b/drivers/Kconfig
> index c0cc96b..9c0d93d 100644
> --- a/drivers/Kconfig
> +++ b/drivers/Kconfig
> @@ -146,6 +146,8 @@ source "drivers/remoteproc/Kconfig"
>  
>  source "drivers/rpmsg/Kconfig"
>  
> +source "drivers/efuse/Kconfig"
> +
>  source "drivers/soc/Kconfig"
>  
>  source "drivers/devfreq/Kconfig"
> diff --git a/drivers/Makefile b/drivers/Makefile
> index 527a6da..5572728 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -34,6 +34,7 @@ obj-y   += amba/
>  obj-$(CONFIG_DMADEVICES) += dma/
>  
>  # SOC specific infrastructure drivers.
> +obj-y+= efuse/
>  obj-y+= soc/
>  
>  obj-$(CONFIG_VIRTIO) += virtio/
> diff --git a/drivers/efuse/Kconfig b/drivers/efuse/Kconfig
> new file mode 100644
> index 000..617476f
> --- /dev/null
> +++ b/drivers/efuse/Kconfig
> @@ -0,0 +1,3 @@
> +menu "eFuse drivers"
> +
> +endmenu

This adds an empty entry.

> diff --git a/drivers/efuse/Makefile b/drivers/efuse/Makefile
> new file mode 100644
> index 000..e69de29

And this adds an empty file. Odd.

Is there a reason why this can't be merged into 4/7?


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/