linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] nvmem: patches for 4.21
@ 2018-11-30 11:53 Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 1/6] nvmem: add type attribute Srinivas Kandagatla
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Srinivas Kandagatla

Hi Greg,

This patchset adds support to
	- new meson-efuse peripheral clock
	- add type attribute
	- add new config option to ignore dt node to scan cells.

Can you please pick them up for 4.21.

thanks,
srini


Alexandre Belloni (1):
  nvmem: add type attribute

Andy Shevchenko (1):
  nvmem: Move nvmem_type_str array to its only user

Bartosz Golaszewski (1):
  nvmem: add new config option

Jerome Brunet (3):
  nvmem: meson-efuse: add error message on user_max failure.
  nvmem: meson-efuse: bindings: add peripheral clock
  nvmem: meson-efuse: add peripheral clock

 .../bindings/nvmem/amlogic-efuse.txt          |  3 ++
 drivers/nvmem/core.c                          | 31 ++++++++++++++++++-
 drivers/nvmem/meson-efuse.c                   | 29 ++++++++++++++++-
 include/linux/nvmem-provider.h                | 11 +++++++
 4 files changed, 72 insertions(+), 2 deletions(-)

-- 
2.19.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/6] nvmem: add type attribute
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
@ 2018-11-30 11:53 ` Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 2/6] nvmem: meson-efuse: add error message on user_max failure Srinivas Kandagatla
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Alexandre Belloni, Srinivas Kandagatla

From: Alexandre Belloni <alexandre.belloni@bootlin.com>

Add a type attribute so userspace is able to know how the data is stored as
this can help taking the correct decision when selecting which device to
use. This will also help program display the proper warnings when burning
fuses for example.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/nvmem/core.c           | 21 +++++++++++++++++++++
 include/linux/nvmem-provider.h | 16 ++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index 27f67dfa649d..d9fd11033c1c 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -28,6 +28,7 @@ struct nvmem_device {
 	size_t			size;
 	bool			read_only;
 	int			flags;
+	enum nvmem_type		type;
 	struct bin_attribute	eeprom;
 	struct device		*base_dev;
 	struct list_head	cells;
@@ -83,6 +84,21 @@ static int nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset,
 	return -EINVAL;
 }
 
+static ssize_t type_show(struct device *dev,
+			 struct device_attribute *attr, char *buf)
+{
+	struct nvmem_device *nvmem = to_nvmem_device(dev);
+
+	return sprintf(buf, "%s\n", nvmem_type_str[nvmem->type]);
+}
+
+static DEVICE_ATTR_RO(type);
+
+static struct attribute *nvmem_attrs[] = {
+	&dev_attr_type.attr,
+	NULL,
+};
+
 static ssize_t bin_attr_nvmem_read(struct file *filp, struct kobject *kobj,
 				    struct bin_attribute *attr,
 				    char *buf, loff_t pos, size_t count)
@@ -168,6 +184,7 @@ static struct bin_attribute *nvmem_bin_rw_attributes[] = {
 
 static const struct attribute_group nvmem_bin_rw_group = {
 	.bin_attrs	= nvmem_bin_rw_attributes,
+	.attrs		= nvmem_attrs,
 };
 
 static const struct attribute_group *nvmem_rw_dev_groups[] = {
@@ -191,6 +208,7 @@ static struct bin_attribute *nvmem_bin_ro_attributes[] = {
 
 static const struct attribute_group nvmem_bin_ro_group = {
 	.bin_attrs	= nvmem_bin_ro_attributes,
+	.attrs		= nvmem_attrs,
 };
 
 static const struct attribute_group *nvmem_ro_dev_groups[] = {
@@ -215,6 +233,7 @@ static struct bin_attribute *nvmem_bin_rw_root_attributes[] = {
 
 static const struct attribute_group nvmem_bin_rw_root_group = {
 	.bin_attrs	= nvmem_bin_rw_root_attributes,
+	.attrs		= nvmem_attrs,
 };
 
 static const struct attribute_group *nvmem_rw_root_dev_groups[] = {
@@ -238,6 +257,7 @@ static struct bin_attribute *nvmem_bin_ro_root_attributes[] = {
 
 static const struct attribute_group nvmem_bin_ro_root_group = {
 	.bin_attrs	= nvmem_bin_ro_root_attributes,
+	.attrs		= nvmem_attrs,
 };
 
 static const struct attribute_group *nvmem_ro_root_dev_groups[] = {
@@ -605,6 +625,7 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config)
 	nvmem->dev.bus = &nvmem_bus_type;
 	nvmem->dev.parent = config->dev;
 	nvmem->priv = config->priv;
+	nvmem->type = config->type;
 	nvmem->reg_read = config->reg_read;
 	nvmem->reg_write = config->reg_write;
 	nvmem->dev.of_node = config->dev->of_node;
diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
index 1e3283c2af77..00ff92571683 100644
--- a/include/linux/nvmem-provider.h
+++ b/include/linux/nvmem-provider.h
@@ -19,6 +19,20 @@ typedef int (*nvmem_reg_read_t)(void *priv, unsigned int offset,
 typedef int (*nvmem_reg_write_t)(void *priv, unsigned int offset,
 				 void *val, size_t bytes);
 
+enum nvmem_type {
+	NVMEM_TYPE_UNKNOWN = 0,
+	NVMEM_TYPE_EEPROM,
+	NVMEM_TYPE_OTP,
+	NVMEM_TYPE_BATTERY_BACKED,
+};
+
+static const char * const nvmem_type_str[] = {
+	[NVMEM_TYPE_UNKNOWN] = "Unknown",
+	[NVMEM_TYPE_EEPROM] = "EEPROM",
+	[NVMEM_TYPE_OTP] = "OTP",
+	[NVMEM_TYPE_BATTERY_BACKED] = "Battery backed",
+};
+
 /**
  * struct nvmem_config - NVMEM device configuration
  *
@@ -28,6 +42,7 @@ typedef int (*nvmem_reg_write_t)(void *priv, unsigned int offset,
  * @owner:	Pointer to exporter module. Used for refcounting.
  * @cells:	Optional array of pre-defined NVMEM cells.
  * @ncells:	Number of elements in cells.
+ * @type:	Type of the nvmem storage
  * @read_only:	Device is read-only.
  * @root_only:	Device is accessibly to root only.
  * @reg_read:	Callback to read data.
@@ -51,6 +66,7 @@ struct nvmem_config {
 	struct module		*owner;
 	const struct nvmem_cell_info	*cells;
 	int			ncells;
+	enum nvmem_type		type;
 	bool			read_only;
 	bool			root_only;
 	nvmem_reg_read_t	reg_read;
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/6] nvmem: meson-efuse: add error message on user_max failure.
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 1/6] nvmem: add type attribute Srinivas Kandagatla
@ 2018-11-30 11:53 ` Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 3/6] nvmem: meson-efuse: bindings: add peripheral clock Srinivas Kandagatla
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Jerome Brunet, Srinivas Kandagatla

From: Jerome Brunet <jbrunet@baylibre.com>

Add an explicit error message when SM_EFUSE_USER_MAX command fails

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/nvmem/meson-efuse.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/nvmem/meson-efuse.c b/drivers/nvmem/meson-efuse.c
index d769840d1e18..40b9df1d030d 100644
--- a/drivers/nvmem/meson-efuse.c
+++ b/drivers/nvmem/meson-efuse.c
@@ -48,8 +48,10 @@ static int meson_efuse_probe(struct platform_device *pdev)
 	struct nvmem_config *econfig;
 	unsigned int size;
 
-	if (meson_sm_call(SM_EFUSE_USER_MAX, &size, 0, 0, 0, 0, 0) < 0)
+	if (meson_sm_call(SM_EFUSE_USER_MAX, &size, 0, 0, 0, 0, 0) < 0) {
+		dev_err(dev, "failed to get max user");
 		return -EINVAL;
+	}
 
 	econfig = devm_kzalloc(dev, sizeof(*econfig), GFP_KERNEL);
 	if (!econfig)
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/6] nvmem: meson-efuse: bindings: add peripheral clock
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 1/6] nvmem: add type attribute Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 2/6] nvmem: meson-efuse: add error message on user_max failure Srinivas Kandagatla
@ 2018-11-30 11:53 ` Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 4/6] nvmem: meson-efuse: " Srinivas Kandagatla
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Jerome Brunet, Srinivas Kandagatla

From: Jerome Brunet <jbrunet@baylibre.com>

The efuse found in gx SoC requires a peripheral clock to properly operate.
We have been able to work without it until now because the clock was on by
default, and left on by the CCF. Soon, it will not be the case anymore, so
the device needs to claim the clock it needs

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
index e3298e18de26..2e0723ab3384 100644
--- a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
+++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
@@ -2,6 +2,8 @@
 
 Required properties:
 - compatible: should be "amlogic,meson-gxbb-efuse"
+- clocks: phandle to the efuse peripheral clock provided by the
+	  clock controller.
 
 = Data cells =
 Are child nodes of eFuse, bindings of which as described in
@@ -11,6 +13,7 @@ Example:
 
 	efuse: efuse {
 		compatible = "amlogic,meson-gxbb-efuse";
+		clocks = <&clkc CLKID_EFUSE>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/6] nvmem: meson-efuse: add peripheral clock
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
                   ` (2 preceding siblings ...)
  2018-11-30 11:53 ` [PATCH 3/6] nvmem: meson-efuse: bindings: add peripheral clock Srinivas Kandagatla
@ 2018-11-30 11:53 ` Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 5/6] nvmem: Move nvmem_type_str array to its only user Srinivas Kandagatla
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Jerome Brunet, Srinivas Kandagatla

From: Jerome Brunet <jbrunet@baylibre.com>

Get and enable the peripheral clock required by the efuse device.
The driver has been handle to work without it so far because the
clock was left enabled by default but it won't be the case soon.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/nvmem/meson-efuse.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/drivers/nvmem/meson-efuse.c b/drivers/nvmem/meson-efuse.c
index 40b9df1d030d..99372768446b 100644
--- a/drivers/nvmem/meson-efuse.c
+++ b/drivers/nvmem/meson-efuse.c
@@ -14,6 +14,7 @@
  * more details.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/nvmem-provider.h>
 #include <linux/of.h>
@@ -46,7 +47,31 @@ static int meson_efuse_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	struct nvmem_device *nvmem;
 	struct nvmem_config *econfig;
+	struct clk *clk;
 	unsigned int size;
+	int ret;
+
+	clk = devm_clk_get(dev, NULL);
+	if (IS_ERR(clk)) {
+		ret = PTR_ERR(clk);
+		if (ret != -EPROBE_DEFER)
+			dev_err(dev, "failed to get efuse gate");
+		return ret;
+	}
+
+	ret = clk_prepare_enable(clk);
+	if (ret) {
+		dev_err(dev, "failed to enable gate");
+		return ret;
+	}
+
+	ret = devm_add_action_or_reset(dev,
+				       (void(*)(void *))clk_disable_unprepare,
+				       clk);
+	if (ret) {
+		dev_err(dev, "failed to add disable callback");
+		return ret;
+	}
 
 	if (meson_sm_call(SM_EFUSE_USER_MAX, &size, 0, 0, 0, 0, 0) < 0) {
 		dev_err(dev, "failed to get max user");
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 5/6] nvmem: Move nvmem_type_str array to its only user
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
                   ` (3 preceding siblings ...)
  2018-11-30 11:53 ` [PATCH 4/6] nvmem: meson-efuse: " Srinivas Kandagatla
@ 2018-11-30 11:53 ` Srinivas Kandagatla
  2018-11-30 11:53 ` [PATCH 6/6] nvmem: add new config option Srinivas Kandagatla
  2018-11-30 12:11 ` [PATCH 0/6] nvmem: patches for 4.21 Bartosz Golaszewski
  6 siblings, 0 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Andy Shevchenko, Srinivas Kandagatla

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Since we put static variable to a header file it's copied to each module
that includes the header. But not all of them are actually using it.

Move nvmem_type_str array to its only user to make a compiler happy:

In file included from include/linux/rtc.h:18,
                 from drivers/rtc/rtc-proc.c:15:
include/linux/nvmem-provider.h:29:27: warning: 'nvmem_type_str'
defined but not used [-Wunused-const-variable=]
 static const char * const nvmem_type_str[] = {
                           ^~~~~~~~~~~~~~

Suggested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Joe Perches <joe@perches.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/nvmem/core.c           | 7 +++++++
 include/linux/nvmem-provider.h | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index d9fd11033c1c..22345e65a301 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -61,6 +61,13 @@ static LIST_HEAD(nvmem_lookup_list);
 
 static BLOCKING_NOTIFIER_HEAD(nvmem_notifier);
 
+static const char * const nvmem_type_str[] = {
+	[NVMEM_TYPE_UNKNOWN] = "Unknown",
+	[NVMEM_TYPE_EEPROM] = "EEPROM",
+	[NVMEM_TYPE_OTP] = "OTP",
+	[NVMEM_TYPE_BATTERY_BACKED] = "Battery backed",
+};
+
 #ifdef CONFIG_DEBUG_LOCK_ALLOC
 static struct lock_class_key eeprom_lock_key;
 #endif
diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
index 00ff92571683..5b2dd0a987d2 100644
--- a/include/linux/nvmem-provider.h
+++ b/include/linux/nvmem-provider.h
@@ -26,13 +26,6 @@ enum nvmem_type {
 	NVMEM_TYPE_BATTERY_BACKED,
 };
 
-static const char * const nvmem_type_str[] = {
-	[NVMEM_TYPE_UNKNOWN] = "Unknown",
-	[NVMEM_TYPE_EEPROM] = "EEPROM",
-	[NVMEM_TYPE_OTP] = "OTP",
-	[NVMEM_TYPE_BATTERY_BACKED] = "Battery backed",
-};
-
 /**
  * struct nvmem_config - NVMEM device configuration
  *
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 6/6] nvmem: add new config option
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
                   ` (4 preceding siblings ...)
  2018-11-30 11:53 ` [PATCH 5/6] nvmem: Move nvmem_type_str array to its only user Srinivas Kandagatla
@ 2018-11-30 11:53 ` Srinivas Kandagatla
  2018-11-30 12:11 ` [PATCH 0/6] nvmem: patches for 4.21 Bartosz Golaszewski
  6 siblings, 0 replies; 9+ messages in thread
From: Srinivas Kandagatla @ 2018-11-30 11:53 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Bartosz Golaszewski, Srinivas Kandagatla

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

We want to add nvmem support for MTD. TI DaVinci is the first platform
that will be using it, but only in non-DT mode. In order not to
introduce any new interface to supporting of which we would have to
commit - add a new config option that tells nvmem not to use the DT
node of the parent device.

This way we won't be creating nvmem devices corresponding with MTD
partitions defined in device tree. By default MTD will set this new
field to true.

Once a set of bindings for MTD nvmem cells is agreed upon, we'll be
able to remove this option.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/nvmem/core.c           | 3 ++-
 include/linux/nvmem-provider.h | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index 22345e65a301..f7301bb4ef3b 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -635,7 +635,8 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config)
 	nvmem->type = config->type;
 	nvmem->reg_read = config->reg_read;
 	nvmem->reg_write = config->reg_write;
-	nvmem->dev.of_node = config->dev->of_node;
+	if (!config->no_of_node)
+		nvmem->dev.of_node = config->dev->of_node;
 
 	if (config->id == -1 && config->name) {
 		dev_set_name(&nvmem->dev, "%s", config->name);
diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
index 5b2dd0a987d2..fe051323be0a 100644
--- a/include/linux/nvmem-provider.h
+++ b/include/linux/nvmem-provider.h
@@ -38,6 +38,7 @@ enum nvmem_type {
  * @type:	Type of the nvmem storage
  * @read_only:	Device is read-only.
  * @root_only:	Device is accessibly to root only.
+ * @no_of_node:	Device should not use the parent's of_node even if it's !NULL.
  * @reg_read:	Callback to read data.
  * @reg_write:	Callback to write data.
  * @size:	Device size.
@@ -62,6 +63,7 @@ struct nvmem_config {
 	enum nvmem_type		type;
 	bool			read_only;
 	bool			root_only;
+	bool			no_of_node;
 	nvmem_reg_read_t	reg_read;
 	nvmem_reg_write_t	reg_write;
 	int	size;
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/6] nvmem: patches for 4.21
  2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
                   ` (5 preceding siblings ...)
  2018-11-30 11:53 ` [PATCH 6/6] nvmem: add new config option Srinivas Kandagatla
@ 2018-11-30 12:11 ` Bartosz Golaszewski
  2018-12-06 14:49   ` Greg Kroah-Hartman
  6 siblings, 1 reply; 9+ messages in thread
From: Bartosz Golaszewski @ 2018-11-30 12:11 UTC (permalink / raw)
  To: Srinivas Kandagatla; +Cc: Greg Kroah-Hartman, Linux Kernel Mailing List

pt., 30 lis 2018 o 12:53 Srinivas Kandagatla
<srinivas.kandagatla@linaro.org> napisał(a):
>
> Hi Greg,
>
> This patchset adds support to
>         - new meson-efuse peripheral clock
>         - add type attribute
>         - add new config option to ignore dt node to scan cells.
>
> Can you please pick them up for 4.21.
>

Greg,

could you also pick up this one:
https://patchwork.kernel.org/patch/10680701/ together with my nvmem
patch from this series?

Bart

> thanks,
> srini
>
>
> Alexandre Belloni (1):
>   nvmem: add type attribute
>
> Andy Shevchenko (1):
>   nvmem: Move nvmem_type_str array to its only user
>
> Bartosz Golaszewski (1):
>   nvmem: add new config option
>
> Jerome Brunet (3):
>   nvmem: meson-efuse: add error message on user_max failure.
>   nvmem: meson-efuse: bindings: add peripheral clock
>   nvmem: meson-efuse: add peripheral clock
>
>  .../bindings/nvmem/amlogic-efuse.txt          |  3 ++
>  drivers/nvmem/core.c                          | 31 ++++++++++++++++++-
>  drivers/nvmem/meson-efuse.c                   | 29 ++++++++++++++++-
>  include/linux/nvmem-provider.h                | 11 +++++++
>  4 files changed, 72 insertions(+), 2 deletions(-)
>
> --
> 2.19.2
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/6] nvmem: patches for 4.21
  2018-11-30 12:11 ` [PATCH 0/6] nvmem: patches for 4.21 Bartosz Golaszewski
@ 2018-12-06 14:49   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 9+ messages in thread
From: Greg Kroah-Hartman @ 2018-12-06 14:49 UTC (permalink / raw)
  To: Bartosz Golaszewski; +Cc: Srinivas Kandagatla, Linux Kernel Mailing List

On Fri, Nov 30, 2018 at 01:11:30PM +0100, Bartosz Golaszewski wrote:
> pt., 30 lis 2018 o 12:53 Srinivas Kandagatla
> <srinivas.kandagatla@linaro.org> napisał(a):
> >
> > Hi Greg,
> >
> > This patchset adds support to
> >         - new meson-efuse peripheral clock
> >         - add type attribute
> >         - add new config option to ignore dt node to scan cells.
> >
> > Can you please pick them up for 4.21.
> >
> 
> Greg,
> 
> could you also pick up this one:
> https://patchwork.kernel.org/patch/10680701/ together with my nvmem
> patch from this series?

Ok, now picked up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-12-06 14:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-30 11:53 [PATCH 0/6] nvmem: patches for 4.21 Srinivas Kandagatla
2018-11-30 11:53 ` [PATCH 1/6] nvmem: add type attribute Srinivas Kandagatla
2018-11-30 11:53 ` [PATCH 2/6] nvmem: meson-efuse: add error message on user_max failure Srinivas Kandagatla
2018-11-30 11:53 ` [PATCH 3/6] nvmem: meson-efuse: bindings: add peripheral clock Srinivas Kandagatla
2018-11-30 11:53 ` [PATCH 4/6] nvmem: meson-efuse: " Srinivas Kandagatla
2018-11-30 11:53 ` [PATCH 5/6] nvmem: Move nvmem_type_str array to its only user Srinivas Kandagatla
2018-11-30 11:53 ` [PATCH 6/6] nvmem: add new config option Srinivas Kandagatla
2018-11-30 12:11 ` [PATCH 0/6] nvmem: patches for 4.21 Bartosz Golaszewski
2018-12-06 14:49   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).