devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "ivan.khoronzhuk" <ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
To: Grygorii Strashko
	<grygorii.strashko-l0cyMroinI0@public.gmane.org>,
	Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>,
	"Shilimkar,
	Santosh" <santosh.shilimkar-l0cyMroinI0@public.gmane.org>,
	Rob Landley <rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala
	<galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH 06/12] mtd: nand: davinci: adjust DT properties to MTD generic
Date: Tue, 26 Nov 2013 12:49:46 +0200	[thread overview]
Message-ID: <52947CCA.2010400@ti.com> (raw)
In-Reply-To: <52947832.3080309-l0cyMroinI0@public.gmane.org>

On 11/26/2013 12:30 PM, Grygorii Strashko wrote:
> On 11/26/2013 09:03 AM, Sekhar Nori wrote:
>> On Monday 11 November 2013 10:31 PM, Khoronzhuk, Ivan wrote:
>>> The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth
>>> are MTD generic. Correct names for them are: nand-ecc-mode, nand-on-flash-bbt,
>>> nand-bus-width accordingly. So rename them in dts and documentation.
>>>
>>> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
>>> ---
>>>    .../devicetree/bindings/mtd/davinci-nand.txt       |   25 ++++++++++++++++----
>>>    drivers/mtd/nand/davinci_nand.c                    |   11 ++++++---
>>>    2 files changed, 28 insertions(+), 8 deletions(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
>>> index d2a3fc0..befaa5b 100644
>>> --- a/Documentation/devicetree/bindings/mtd/davinci-nand.txt
>>> +++ b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
>>> @@ -37,7 +37,7 @@ Recommended properties :
>>>    - ti,davinci-mask-chipsel:     mask for chipselect address. Needed to mask
>>>                                   addresses for given chipselect.
>>>
>>> -- ti,davinci-ecc-mode:         operation mode of the NAND ecc mode. ECC mode
>>> +- nand-ecc-mode:               operation mode of the NAND ecc mode. ECC mode
>>>                                   valid values for davinci driver:
>>>                                   - "none"
>>>                                   - "soft"
>>> @@ -45,10 +45,25 @@ Recommended properties :
>>>
>>>    - ti,davinci-ecc-bits:         used ECC bits, currently supported 1 or 4.
>>>
>>> -- ti,davinci-nand-buswidth:    buswidth 8 or 16.
>>
>> Shouldn't we keep the documentation for existing bindings while just
>> marking them as deprecated?
>
> I haven't found any requirements about this in doc.
> It's done in both way in other drivers - some keep properties in bindings
> documentation and some are not.
>
> Regards,
> -grygorii
>

For me this is not needed, but for example from mtd:
Documentation/devicetree/bindings/mtd/gpmc-nand.txt
,it contains deprecated properties, like a lot of others.

And this sad me I should remain deprecated properties.
Anyway if we have these properties in driver we should describe them.

-- 
Regards,
Ivan Khoronzhuk
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-11-26 10:49 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1384187188-5776-1-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 16:47 ` [PATCH 00/12] Introduce davinci AEMIF driver Khoronzhuk, Ivan
     [not found] ` <1384187188-5776-2-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 16:52   ` [PATCH 01/12] mtd: nand: davinci: fix driver registration Khoronzhuk, Ivan
2013-11-12 15:45     ` Santosh Shilimkar
     [not found] ` <1384187188-5776-3-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 16:53   ` [PATCH 02/12] mtd: nand: davinci: check required ti,davinci-chipselect property Khoronzhuk, Ivan
2013-11-12 15:50     ` [PATCH 02/12] mtd: nand: davinci: check required ti, davinci-chipselect property Santosh Shilimkar
2013-11-18 18:25       ` ivan.khoronzhuk
     [not found] ` <1384187188-5776-4-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 16:54   ` [PATCH 03/12] mtd: nand: davinci: simplify error handling Khoronzhuk, Ivan
     [not found]     ` <4F5844B3A985794BA902E12C070812375F8CFB-bXo5r3zvlxeIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-11-12 15:52       ` Santosh Shilimkar
     [not found] ` <1384187188-5776-5-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 16:55   ` [PATCH 04/12] mtd: nand: davinci: move bindings under mtd Khoronzhuk, Ivan
     [not found]     ` <4F5844B3A985794BA902E12C070812375F8D08-bXo5r3zvlxeIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-11-12 15:53       ` Santosh Shilimkar
     [not found] ` <1384187188-5776-6-git-send-email-ivan.khoronzhuk@ti.com>
     [not found]   ` <1384187188-5776-6-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2013-11-11 16:58     ` [PATCH 05/12] mtd: nand: davinci: extend description of bindings Khoronzhuk, Ivan
     [not found]       ` <4F5844B3A985794BA902E12C070812375F8D14-bXo5r3zvlxeIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-11-12 15:55         ` Santosh Shilimkar
     [not found] ` <1384187188-5776-7-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 17:01   ` [PATCH 06/12] mtd: nand: davinci: adjust DT properties to MTD generic Khoronzhuk, Ivan
2013-11-26  7:03     ` Sekhar Nori
2013-11-26 10:30       ` Grygorii Strashko
     [not found]         ` <52947832.3080309-l0cyMroinI0@public.gmane.org>
2013-11-26 10:49           ` ivan.khoronzhuk [this message]
     [not found] ` <1384187188-5776-8-git-send-email-ivan.khoronzhuk@ti.com>
     [not found]   ` <1384187188-5776-8-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2013-11-11 17:06     ` [PATCH 07/12] memory: davinci-aemif: introduce AEMIF driver Khoronzhuk, Ivan
     [not found]       ` <4F5844B3A985794BA902E12C070812375F8D2E-bXo5r3zvlxeIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-11-12 16:08         ` Santosh Shilimkar
2013-11-18 19:15           ` ivan.khoronzhuk
2013-11-26  7:20       ` Sekhar Nori
2013-11-26 15:05         ` Santosh Shilimkar
2013-11-26 17:21           ` Sekhar Nori
     [not found]             ` <5294D8AD.5030106-l0cyMroinI0@public.gmane.org>
2013-11-26 18:26               ` Santosh Shilimkar
2013-11-26 18:29                 ` ivan.khoronzhuk
     [not found]                 ` <5294E7E4.3060600-l0cyMroinI0@public.gmane.org>
2013-11-27  0:37                   ` Brian Norris
2013-11-27 10:22                     ` ivan.khoronzhuk
2013-11-26 17:44         ` ivan.khoronzhuk
2013-11-26 18:30           ` Santosh Shilimkar
     [not found]             ` <5294E8B6.5000102-l0cyMroinI0@public.gmane.org>
2013-11-26 18:30               ` ivan.khoronzhuk
2013-11-27  4:05           ` Sekhar Nori
     [not found] ` <1384187188-5776-9-git-send-email-ivan.khoronzhuk@ti.com>
     [not found]   ` <1384187188-5776-9-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2013-11-11 17:09     ` [PATCH 08/12] memory: davinci-aemif: add bindings for " Khoronzhuk, Ivan
     [not found] ` <1384187188-5776-10-git-send-email-ivan.khoronzhuk@ti.com>
     [not found]   ` <1384187188-5776-10-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2013-11-11 17:09     ` [PATCH 09/12] mtd: nand: davinci: reuse driver for Keystone arch Khoronzhuk, Ivan
2013-11-12 16:09       ` Santosh Shilimkar
     [not found] ` <1384187188-5776-11-git-send-email-ivan.khoronzhuk@ti.com>
     [not found]   ` <1384187188-5776-11-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2013-11-11 17:10     ` [PATCH 10/12] mtd: nand: davinci: don't set timings if AEMIF is used Khoronzhuk, Ivan
     [not found]       ` <4F5844B3A985794BA902E12C070812375F8D53-bXo5r3zvlxeIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-11-12 16:13         ` Santosh Shilimkar
     [not found]           ` <528253B7.2060408-l0cyMroinI0@public.gmane.org>
2013-11-18 11:35             ` Grygorii Strashko
2013-11-18 14:08               ` Santosh Shilimkar
2013-11-18 19:32                 ` ivan.khoronzhuk
2013-11-13  5:02         ` Sekhar Nori
2013-11-13 14:14           ` Santosh Shilimkar
     [not found]             ` <52838941.4060207-l0cyMroinI0@public.gmane.org>
2013-11-14 10:53               ` Sekhar Nori
     [not found]                 ` <5284ABB9.70608-l0cyMroinI0@public.gmane.org>
2013-11-14 14:36                   ` Santosh Shilimkar
2013-11-18 19:35                     ` ivan.khoronzhuk
2013-11-21 17:07                     ` Sekhar Nori
     [not found]                       ` <528E3DD4.7030607-l0cyMroinI0@public.gmane.org>
2013-11-22 17:38                         ` Santosh Shilimkar
2013-11-24  9:46                           ` Sekhar Nori
2013-11-25 20:00                             ` [PATCH] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif Ivan Khoronzhuk
2013-11-27  8:35                               ` Sekhar Nori
2013-11-27 11:01                                 ` ivan.khoronzhuk
2013-11-27 13:07                                   ` Sekhar Nori
2013-11-27 13:21                                     ` ivan.khoronzhuk
2013-11-26  0:55                             ` [PATCH 10/12] mtd: nand: davinci: don't set timings if AEMIF is used Santosh Shilimkar
     [not found] ` <1384187188-5776-12-git-send-email-ivan.khoronzhuk@ti.com>
2013-11-11 17:12   ` [PATCH 11/12] mtd: nand: davinci: don't request AEMIF address range Khoronzhuk, Ivan
2013-11-12 16:15     ` Santosh Shilimkar
     [not found] ` <1384187188-5776-13-git-send-email-ivan.khoronzhuk@ti.com>
     [not found]   ` <1384187188-5776-13-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2013-11-11 17:13     ` [PATCH 12/12] arm: dts: keystone: add AEMIF/NAND device entry Khoronzhuk, Ivan
2013-11-12 16:19       ` Santosh Shilimkar

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=52947CCA.2010400@ti.com \
    --to=ivan.khoronzhuk-l0cymroini0@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org \
    --cc=grygorii.strashko-l0cyMroinI0@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=nsekhar-l0cyMroinI0@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=santosh.shilimkar-l0cyMroinI0@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    /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).