All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Wang <sean.wang@mediatek.com>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	<linux-rockchip@lists.infradead.org>,
	Kevin Hilman <khilman@baylibre.com>,
	<linux-kernel@vger.kernel.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	<linux-mediatek@lists.infradead.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	<linux-amlogic@lists.infradead.org>,
	Carlo Caione <carlo@caione.org>, <cphealy@gmail.com>
Subject: Re: [PATCH v3 01/22] nvmem: Document struct nvmem_config
Date: Thu, 1 Mar 2018 02:34:48 +0800	[thread overview]
Message-ID: <1519842888.8089.88.camel@mtkswgap22> (raw)
In-Reply-To: <20180103200114.23922-2-andrew.smirnov@gmail.com>

On Wed, 2018-01-03 at 12:00 -0800, Andrey Smirnov wrote:
> Add a simple description of struct nvmem_config and its fields.
> 
> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Carlo Caione <carlo@caione.org>
> Cc: Kevin Hilman <khilman@baylibre.com>
> Cc: Matthias Brugger <matthias.bgg@gmail.com>
> Cc: cphealy@gmail.com
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-mediatek@lists.infradead.org
> Cc: linux-rockchip@lists.infradead.org
> Cc: linux-amlogic@lists.infradead.org
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  include/linux/nvmem-provider.h | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
> index 497706f5adca..27e599222ec1 100644
> --- a/include/linux/nvmem-provider.h
> +++ b/include/linux/nvmem-provider.h
> @@ -22,6 +22,28 @@ 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);
>  
> +/**
> + * struct nvmem_config - NVMEM device configuration
> + *
> + * @dev:	Parent device.
> + * @name:	Optional name.
> + * @id:		Optional device ID used in full name. Ignored if name is NULL.
> + * @owner:	Pointer to exporter module. Used for refcounting.
> + * @cells:	Optional array of pre-defined NVMEM cells.
> + * @ncells:	Number of elements in cells.
> + * @read_only:	Device is read-only.
> + * @root_only:	Device is accessibly to root only.
> + * @reg_read:	Callback to read data.
> + * @reg_write:	Callback to write data.
> + * @size:	Device size.
> + * @word_size:	Minimum read/write access granularity.
> + * @stride:	Minimum read/write access stide.

typo on stide ?

> + * @priv:	User context passed to read/write callbacks.
> + *
> + * Note: A default "nvmem<id>" name will be assigned to the device if
> + * no name is specified in its configuration. In such case "<id>" is
> + * generated with ida_simple_get() and provided id field is ignored.
> + */
>  struct nvmem_config {
>  	struct device		*dev;
>  	const char		*name;

WARNING: multiple messages have this Message-ID (diff)
From: Sean Wang <sean.wang@mediatek.com>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	linux-rockchip@lists.infradead.org,
	Kevin Hilman <khilman@baylibre.com>,
	linux-kernel@vger.kernel.org,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	Matthias Brugger <matthias.bgg@gmail.com>,
	linux-amlogic@lists.infradead.org,
	Carlo Caione <carlo@caione.org>,
	cphealy@gmail.com
Subject: Re: [PATCH v3 01/22] nvmem: Document struct nvmem_config
Date: Thu, 1 Mar 2018 02:34:48 +0800	[thread overview]
Message-ID: <1519842888.8089.88.camel@mtkswgap22> (raw)
In-Reply-To: <20180103200114.23922-2-andrew.smirnov@gmail.com>

On Wed, 2018-01-03 at 12:00 -0800, Andrey Smirnov wrote:
> Add a simple description of struct nvmem_config and its fields.
> 
> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Carlo Caione <carlo@caione.org>
> Cc: Kevin Hilman <khilman@baylibre.com>
> Cc: Matthias Brugger <matthias.bgg@gmail.com>
> Cc: cphealy@gmail.com
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-mediatek@lists.infradead.org
> Cc: linux-rockchip@lists.infradead.org
> Cc: linux-amlogic@lists.infradead.org
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  include/linux/nvmem-provider.h | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
> index 497706f5adca..27e599222ec1 100644
> --- a/include/linux/nvmem-provider.h
> +++ b/include/linux/nvmem-provider.h
> @@ -22,6 +22,28 @@ 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);
>  
> +/**
> + * struct nvmem_config - NVMEM device configuration
> + *
> + * @dev:	Parent device.
> + * @name:	Optional name.
> + * @id:		Optional device ID used in full name. Ignored if name is NULL.
> + * @owner:	Pointer to exporter module. Used for refcounting.
> + * @cells:	Optional array of pre-defined NVMEM cells.
> + * @ncells:	Number of elements in cells.
> + * @read_only:	Device is read-only.
> + * @root_only:	Device is accessibly to root only.
> + * @reg_read:	Callback to read data.
> + * @reg_write:	Callback to write data.
> + * @size:	Device size.
> + * @word_size:	Minimum read/write access granularity.
> + * @stride:	Minimum read/write access stide.

typo on stide ?

> + * @priv:	User context passed to read/write callbacks.
> + *
> + * Note: A default "nvmem<id>" name will be assigned to the device if
> + * no name is specified in its configuration. In such case "<id>" is
> + * generated with ida_simple_get() and provided id field is ignored.
> + */
>  struct nvmem_config {
>  	struct device		*dev;
>  	const char		*name;

WARNING: multiple messages have this Message-ID (diff)
From: sean.wang@mediatek.com (Sean Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 01/22] nvmem: Document struct nvmem_config
Date: Thu, 1 Mar 2018 02:34:48 +0800	[thread overview]
Message-ID: <1519842888.8089.88.camel@mtkswgap22> (raw)
In-Reply-To: <20180103200114.23922-2-andrew.smirnov@gmail.com>

On Wed, 2018-01-03 at 12:00 -0800, Andrey Smirnov wrote:
> Add a simple description of struct nvmem_config and its fields.
> 
> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Carlo Caione <carlo@caione.org>
> Cc: Kevin Hilman <khilman@baylibre.com>
> Cc: Matthias Brugger <matthias.bgg@gmail.com>
> Cc: cphealy at gmail.com
> Cc: linux-kernel at vger.kernel.org
> Cc: linux-mediatek at lists.infradead.org
> Cc: linux-rockchip at lists.infradead.org
> Cc: linux-amlogic at lists.infradead.org
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  include/linux/nvmem-provider.h | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
> index 497706f5adca..27e599222ec1 100644
> --- a/include/linux/nvmem-provider.h
> +++ b/include/linux/nvmem-provider.h
> @@ -22,6 +22,28 @@ 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);
>  
> +/**
> + * struct nvmem_config - NVMEM device configuration
> + *
> + * @dev:	Parent device.
> + * @name:	Optional name.
> + * @id:		Optional device ID used in full name. Ignored if name is NULL.
> + * @owner:	Pointer to exporter module. Used for refcounting.
> + * @cells:	Optional array of pre-defined NVMEM cells.
> + * @ncells:	Number of elements in cells.
> + * @read_only:	Device is read-only.
> + * @root_only:	Device is accessibly to root only.
> + * @reg_read:	Callback to read data.
> + * @reg_write:	Callback to write data.
> + * @size:	Device size.
> + * @word_size:	Minimum read/write access granularity.
> + * @stride:	Minimum read/write access stide.

typo on stide ?

> + * @priv:	User context passed to read/write callbacks.
> + *
> + * Note: A default "nvmem<id>" name will be assigned to the device if
> + * no name is specified in its configuration. In such case "<id>" is
> + * generated with ida_simple_get() and provided id field is ignored.
> + */
>  struct nvmem_config {
>  	struct device		*dev;
>  	const char		*name;

WARNING: multiple messages have this Message-ID (diff)
From: sean.wang@mediatek.com (Sean Wang)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v3 01/22] nvmem: Document struct nvmem_config
Date: Thu, 1 Mar 2018 02:34:48 +0800	[thread overview]
Message-ID: <1519842888.8089.88.camel@mtkswgap22> (raw)
In-Reply-To: <20180103200114.23922-2-andrew.smirnov@gmail.com>

On Wed, 2018-01-03 at 12:00 -0800, Andrey Smirnov wrote:
> Add a simple description of struct nvmem_config and its fields.
> 
> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Carlo Caione <carlo@caione.org>
> Cc: Kevin Hilman <khilman@baylibre.com>
> Cc: Matthias Brugger <matthias.bgg@gmail.com>
> Cc: cphealy at gmail.com
> Cc: linux-kernel at vger.kernel.org
> Cc: linux-mediatek at lists.infradead.org
> Cc: linux-rockchip at lists.infradead.org
> Cc: linux-amlogic at lists.infradead.org
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  include/linux/nvmem-provider.h | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h
> index 497706f5adca..27e599222ec1 100644
> --- a/include/linux/nvmem-provider.h
> +++ b/include/linux/nvmem-provider.h
> @@ -22,6 +22,28 @@ 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);
>  
> +/**
> + * struct nvmem_config - NVMEM device configuration
> + *
> + * @dev:	Parent device.
> + * @name:	Optional name.
> + * @id:		Optional device ID used in full name. Ignored if name is NULL.
> + * @owner:	Pointer to exporter module. Used for refcounting.
> + * @cells:	Optional array of pre-defined NVMEM cells.
> + * @ncells:	Number of elements in cells.
> + * @read_only:	Device is read-only.
> + * @root_only:	Device is accessibly to root only.
> + * @reg_read:	Callback to read data.
> + * @reg_write:	Callback to write data.
> + * @size:	Device size.
> + * @word_size:	Minimum read/write access granularity.
> + * @stride:	Minimum read/write access stide.

typo on stide ?

> + * @priv:	User context passed to read/write callbacks.
> + *
> + * Note: A default "nvmem<id>" name will be assigned to the device if
> + * no name is specified in its configuration. In such case "<id>" is
> + * generated with ida_simple_get() and provided id field is ignored.
> + */
>  struct nvmem_config {
>  	struct device		*dev;
>  	const char		*name;

  reply	other threads:[~2018-02-28 18:34 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-03 20:00 [PATCH v3 00/22] Verbatim device names and devm_nvmem_(un)register() Andrey Smirnov
2018-01-03 20:00 ` Andrey Smirnov
2018-01-03 20:00 ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 01/22] nvmem: Document struct nvmem_config Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-02-28 18:34   ` Sean Wang [this message]
2018-02-28 18:34     ` Sean Wang
2018-02-28 18:34     ` Sean Wang
2018-02-28 18:34     ` Sean Wang
2018-03-08 18:22     ` Andrey Smirnov
2018-03-08 18:22       ` Andrey Smirnov
2018-03-08 18:22       ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 02/22] nvmem: core: Allow specifying device name verbatim Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 03/22] nvmem: Introduce devm_nvmem_(un)register() Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 04/22] nvmem: vf610-ocotp: Convert to use devm_nvmem_register() Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 05/22] nvmem: imx-ocotp: " Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 06/22] nvmem: uniphier-efuse: " Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00 ` [PATCH v3 07/22] nvmem: snvs_lgpr: " Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:00   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 08/22] nvmem: rockchip-efuse: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 09/22] nvmem: qfprom: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 10/22] nvmem: mtk-efuse: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 11/22] nvmem: meson-mx-efuse: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 12/22] nvmem: meson-efuse: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 13/22] nvmem: lpc18xx_otp: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 14/22] nvmem: imx-iim: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 15/22] nvmem: bcm-ocotp: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 16/22] nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 17/22] nvmem: snvs_lpgpr: Convert commas to semicolons Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 18/22] nvmem: rockchip-efuse: Make use of of_device_get_match_data() Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 19/22] nvmem: vf610-ocotp: Do not use "&pdev->dev" explicitly Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 20/22] nvmem: rockchip-efuse: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 21/22] nvmem: imx-iim: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01 ` [PATCH v3 22/22] nvmem: bcm-ocotp: " Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-03 20:01   ` Andrey Smirnov
2018-01-24 11:13 ` [PATCH v3 00/22] Verbatim device names and devm_nvmem_(un)register() Bartosz Golaszewski
2018-01-24 11:13   ` Bartosz Golaszewski
2018-01-24 11:13   ` Bartosz Golaszewski
2018-01-25  9:17   ` Srinivas Kandagatla
2018-01-25  9:17     ` Srinivas Kandagatla
2018-01-25  9:17     ` Srinivas Kandagatla
2018-01-25  9:17     ` Srinivas Kandagatla
2018-02-26  3:45     ` Andrey Smirnov
2018-02-26  3:45       ` Andrey Smirnov
2018-02-26  3:45       ` Andrey Smirnov
2018-02-26  9:30       ` Srinivas Kandagatla
2018-02-26  9:30         ` Srinivas Kandagatla
2018-02-26  9:30         ` Srinivas Kandagatla

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=1519842888.8089.88.camel@mtkswgap22 \
    --to=sean.wang@mediatek.com \
    --cc=andrew.smirnov@gmail.com \
    --cc=carlo@caione.org \
    --cc=cphealy@gmail.com \
    --cc=heiko@sntech.de \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=yamada.masahiro@socionext.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.