linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Gupta, Pekon" <pekon@ti.com>
Cc: "Jason Kridner" <jkridner@gmail.com>,
	"Robert Nelson" <robertcnelson@gmail.com>,
	linux-omap <linux-omap@vger.kernel.org>,
	linux-mtd <linux-mtd@lists.infradead.org>,
	"Guido Martínez" <guido@vanguardiasur.com.ar>
Subject: Re: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape
Date: Tue, 1 Jul 2014 01:47:10 -0700	[thread overview]
Message-ID: <20140701084709.GO28884@atomide.com> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EAF8248@DBDE04.ent.ti.com>

* Gupta, Pekon <pekon@ti.com> [140627 14:08]:
> >From: Guido Martínez [mailto:guido@vanguardiasur.com.ar]
> >>On Tue, Jun 24, 2014 at 05:54:24PM +0530, Pekon Gupta wrote:
> 
> [...]
> 
> >> +&gpmc {
> >> +	ranges = <0 0 0 0x01000000>;	/* address range = 16MB (minimum GPMC partition) */
> >> +	nand@0,0 {
> >> +		status = "disabled";
> >> +		reg = <0 0 4>;		/* device IO registers */
> >> +		pinctrl-names = "default";
> >> +		pinctrl-0 = <&bbcape_nand_flash_pins>;
> >This doesn't seem to work as pinctrl properties are not parsed for
> >childs of the gpmc node. Did this work for you?
> >Putting this in the gpmc node makes it work, but how will we control
> >pins for the nand and nor independently? I believe there is currently no
> >support for muxing individual gpmc devices. If we want to add both
> >devices to the DT and enable them as needed we'd need to add support for
> >this, right?
> >
> Yes, And that should be the case, because different devices would be
> connected to different chip-selects, so there should be support of
> providing individual pin-mux for different GPMC devices.
> 
> Currently both NAND and NOR cape share GPMC_CS0, so both NAND and NOR
> capes will not work simultaneously. But I'm planning to modify NOR cape
> hardware at my end to use GPMC_CS1 instead of GPMC_CS0.
> - NAND on GPMC_CS0
> - NOR on GPMC_CS1

Hmm but we should have these working with both using CS0 without
any need to modify the hardware though?

In that case we should make sure we always set large enough GPMC
partition and that the pins are muxed for the connected GPMC
devices only.

Regards,

Tony

  reply	other threads:[~2014-07-01  8:47 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24 12:24 [PATCH v1 0/3] ARM: dts: am335x-bone: Beaglebone cape DTS Pekon Gupta
2014-06-24 12:24 ` [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape Pekon Gupta
2014-06-25 15:27   ` Ezequiel Garcia
2014-06-26  5:43     ` Gupta, Pekon
2014-06-26 10:40   ` Tony Lindgren
2014-06-26 15:06     ` Guido Martínez
2014-07-01  7:01       ` Gupta, Pekon
2014-07-01 23:42         ` Guido Martínez
2014-07-02  5:29           ` Gupta, Pekon
2014-06-26 19:48   ` Guido Martínez
2014-06-27 21:06     ` Gupta, Pekon
2014-07-01  8:47       ` Tony Lindgren [this message]
2014-07-01  9:07         ` Gupta, Pekon
2014-07-01 13:28           ` Tony Lindgren
2014-06-24 12:24 ` [PATCH v1 2/3] ARM: dts: am335x-bone: add support for beaglebone NOR cape Pekon Gupta
2014-06-24 12:24 ` [PATCH v1 3/3] ARM: dts: am335x-bone: add support for beaglebone LCD4 cape Pekon Gupta
2014-06-24 15:03   ` Ezequiel Garcia
2014-06-25  4:38     ` Gupta, Pekon
2014-06-25 14:59       ` Ezequiel Garcia
2014-06-24 15:24   ` Jason Kridner
2014-06-25  5:49     ` Gupta, Pekon
2014-06-26  4:30       ` Jason Kridner
2014-06-26 15:40   ` Guido Martínez
2014-06-26 18:35     ` Darren Etheridge
2014-06-27 11:38       ` Gupta, Pekon
  -- strict thread matches above, loose matches on Subject: below --
2014-03-12 10:49 [PATCH v1 0/3] add parallel NAND support for TI's new OMAPx and AMxx platforms (Part-2) Pekon Gupta
2014-03-12 10:49 ` [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape Pekon Gupta
2014-03-12 14:35   ` Nishanth Menon
2014-03-12 18:26     ` Gupta, Pekon
2014-03-12 18:57       ` Nishanth Menon
2014-03-12 19:08         ` Robert Nelson
2014-03-12 19:28           ` Tony Lindgren
2014-03-12 20:51             ` Nishanth Menon
2014-03-12 21:13               ` Gupta, Pekon
2014-03-12 21:53                 ` Nishanth Menon
2014-03-13  6:19                   ` Gupta, Pekon
2014-03-13 13:03                     ` Nishanth Menon
2014-03-13 13:30                       ` Robert Nelson
2014-03-13 16:55                         ` Tony Lindgren

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=20140701084709.GO28884@atomide.com \
    --to=tony@atomide.com \
    --cc=guido@vanguardiasur.com.ar \
    --cc=jkridner@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=pekon@ti.com \
    --cc=robertcnelson@gmail.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 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).