[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5298AB08.3090108@ti.com>
Date: Fri, 29 Nov 2013 16:56:08 +0200
From: Grygorii Strashko <grygorii.strashko@...com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>,
"ivan.khoronzhuk" <ivan.khoronzhuk@...com>,
Linus Walleij <linus.walleij@...aro.org>
CC: Santosh Shilimkar <santosh.shilimkar@...com>,
Rob Landley <rob@...dley.net>,
Russell King <linux@....linux.org.uk>,
Mark Rutland <mark.rutland@....com>,
<devicetree@...r.kernel.org>, Pawel Moll <pawel.moll@....com>,
Stephen Warren <swarren@...dotorg.org>,
<gregkh@...uxfoundation.org>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...nel.crashing.org>,
Rob Herring <rob.herring@...xeda.com>,
<linux-kernel@...r.kernel.org>, <linux-mtd@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 2/2] memory: ti-aemif: add bindings for AEMIF driver
Hi Jean-Christophe,
On 11/22/2013 08:42 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 21:03 Wed 20 Nov , ivan.khoronzhuk wrote:
>> On 11/20/2013 08:21 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
>>>> + the chip select signal.
>>>> + Minimum value is 1 (0 treated as 1).
>>>> +
>>>> +- ti,cs-wsetup: write setup width, ns
>>>> + Time between the beginning of a memory cycle
>>>> + and the activation of write strobe.
>>>> + Minimum value is 1 (0 treated as 1).
>>>> +
>>>> +- ti,cs-wstrobe: write strobe width, ns
>>>> + Time between the activation and deactivation of
>>>> + the write strobe.
>>>> + Minimum value is 1 (0 treated as 1).
>>>> +
>>>> +- ti,cs-whold: write hold width, ns
>>>> + Time between the deactivation of the write
>>>> + strobe and the end of the cycle (which may be
>>>> + either an address change or the deactivation of
>>>> + the chip select signal.
>>>> + Minimum value is 1 (0 treated as 1).
>>>> +
>>>> +If any of the above parameters are absent, current parameter value will be taken
>>>> +from the corresponding HW reg.
>>>> +
>>>> +The name for cs node must be in format csN, where N is the cs number.
>>>
>>> this is wired we should use reg instead to represent the cs as done for SPI
>>> or a an other property
>>>
>>> Best Regards,
>>> J.
>>>
>>
>> Ok, I will add new property cs-chipselect like following :
>>
>> ti,cs-chipselect: number of chipselect. Indicates on the
>> aemif driver which chipselect is used
>> for accessing the memory.
>> For compatibles "ti,davinci-aemif" and
>> "ti,keystone-aemif" it can be in range [0-3].
>> For compatible "ti,omap-L138-aemif" range is [2-5].
>>
>> Is it OK?
>
> yes
>
> I just have one issue the whole memory concept
>
> for me we should do as done on pinctrl have a phandle on the device that
> require it and handle it at device core level
>
> as the memory controller is not necessarely on the same bus as the memory
> device them selves
Could you clarify your point a bit, pls?
Are you talking about external ASRAM, NOR and NAND chips wired to CS interface?
Regards,
- grygorii
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists