From: Rob Herring <robh+dt@kernel.org>
To: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>,
Mark Rutland <mark.rutland@arm.com>,
Javier Martinez Canillas <javier@dowhile0.org>,
David Lechner <david@lechnology.com>,
Divagar Mohandass <divagar.mohandass@intel.com>,
Peter Rosin <peda@axentia.se>,
Linux I2C <linux-i2c@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 1/5] dt-bindings: at24: consistently document the compatible property
Date: Wed, 27 Dec 2017 11:24:01 -0600 [thread overview]
Message-ID: <CAL_JsqJwt1FfdiOCRnMSKWmAW668XqGvKsuZqKrXfkNnt3MPRQ@mail.gmail.com> (raw)
In-Reply-To: <20171227135054.29690-2-brgl@bgdev.pl>
On Wed, Dec 27, 2017 at 7:50 AM, Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> Current description of the compatible property for at24 is quite vague.
>
> State explicitly that any "<manufacturer>,<model>" pair is accepted as
> long as one of the listed strings is used as fallback.
>
> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
> ---
> Documentation/devicetree/bindings/eeprom/at24.txt | 37 +++++++++--------------
> 1 file changed, 15 insertions(+), 22 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt
> index cbc80e194ac6..b5ce5a247554 100644
> --- a/Documentation/devicetree/bindings/eeprom/at24.txt
> +++ b/Documentation/devicetree/bindings/eeprom/at24.txt
> @@ -2,28 +2,21 @@ EEPROMs (I2C)
>
> Required properties:
>
> - - compatible : should be "<manufacturer>,<type>", like these:
> -
> - "atmel,24c00", "atmel,24c01", "atmel,24c02", "atmel,24c04",
> - "atmel,24c08", "atmel,24c16", "atmel,24c32", "atmel,24c64",
> - "atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024"
> -
> - "catalyst,24c32"
> -
> - "microchip,24c128"
> -
> - "ramtron,24c64"
> -
> - "renesas,r1ex24002"
> -
> - The following manufacturers values have been deprecated:
> - "at", "at24"
> -
> - If there is no specific driver for <manufacturer>, a generic
> - device with <type> and manufacturer "atmel" should be used.
> - Possible types are:
> - "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
> - "24c128", "24c256", "24c512", "24c1024", "spd"
> + - compatible: must be a "<manufacturer>,<model>" pair with one of the
Also, why do you add "must" here and then fix it with "Must" in patch
3? Just get it right here.
Rob
next prev parent reply other threads:[~2017-12-27 17:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-27 13:50 [PATCH v3 0/5] eeprom: at24: device tree support fixes Bartosz Golaszewski
2017-12-27 13:50 ` [PATCH v3 1/5] dt-bindings: at24: consistently document the compatible property Bartosz Golaszewski
2017-12-27 17:21 ` Rob Herring
2017-12-27 17:24 ` Rob Herring [this message]
2017-12-27 22:02 ` Peter Rosin
2017-12-27 13:50 ` [PATCH v3 2/5] dt-bindings: at24: add a missing compatible Bartosz Golaszewski
[not found] ` <20171227135054.29690-1-brgl-ARrdPY/1zhM@public.gmane.org>
2017-12-27 13:50 ` [PATCH v3 3/5] dt-bindings: at24: fix formatting and style Bartosz Golaszewski
2017-12-27 13:50 ` [PATCH v3 4/5] dt-bindings: at24: extend the list of supported chips Bartosz Golaszewski
2017-12-27 13:50 ` [PATCH v3 5/5] eeprom: at24: extend the list of chips supported in DT Bartosz Golaszewski
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=CAL_JsqJwt1FfdiOCRnMSKWmAW668XqGvKsuZqKrXfkNnt3MPRQ@mail.gmail.com \
--to=robh+dt@kernel.org \
--cc=andy.shevchenko@gmail.com \
--cc=brgl@bgdev.pl \
--cc=david@lechnology.com \
--cc=devicetree@vger.kernel.org \
--cc=divagar.mohandass@intel.com \
--cc=javier@dowhile0.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=peda@axentia.se \
/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;
as well as URLs for NNTP newsgroup(s).