From: "Mohammed, Afzal" <afzal@ti.com> To: Daniel Mack <zonque@gmail.com> Cc: "tony@atomide.com" <tony@atomide.com>, "Hunter, Jon" <jon-hunter@ti.com>, "paul@pwsan.com" <paul@pwsan.com>, "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Subject: RE: [PATCH v6 00/10] OMAP-GPMC: generic time calc, prepare for driver Date: Mon, 27 Aug 2012 14:01:00 +0000 [thread overview] Message-ID: <C8443D0743D26F4388EA172BF4E2A7A93E9BA7DA@DBDE01.ent.ti.com> (raw) In-Reply-To: <503B7678.90308@gmail.com> Hi Daniel, On Mon, Aug 27, 2012 at 19:00:32, Daniel Mack wrote: > So the GPMC driver is the one that is matched from DT, and the NAND > driver will the be instanciated from the (generic) GPMC driver? I think you were referring to nand device being instantiated from gpmc driver?, hence resulting in nand driver getting probed. What I have in mind is to represent peripherals connected to gpmc as childs of gpmc node. For devices like smsc911x, as they already have DT bindings, creating an of device for childs by parsing DT hopefully should relieve task of handling their platform data. Similarly for nand, creating an of device is to be done by gpmc driver. Once the bigger issue of timing is resolved, I am planning to implement DT as said above Also for the existing boards on non-DT boot, plan is to keep the existing interface as such, with no change needed in board files. > > > No change would be needed for client drivers like smc91x ethernet drivers, > > but NAND driver may need some change to live with DT as it is tightly > > coupled with GPMC. > > NAND drivers also typically parse partition entries that are children of > the DT node the are owning. Yes, in addition to the above, omap nand driver would need to determine a few gpmc specific like transfer mode. > I do have a beaglboard xM, but the board I'm currently working with is a > custom one based on an AM33xx. I was in need of a board like rx51, n800 that currently calculate gpmc timings at runtime to test the generic timing function, np, thanks again Regards Afzal
WARNING: multiple messages have this Message-ID (diff)
From: afzal@ti.com (Mohammed, Afzal) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 00/10] OMAP-GPMC: generic time calc, prepare for driver Date: Mon, 27 Aug 2012 14:01:00 +0000 [thread overview] Message-ID: <C8443D0743D26F4388EA172BF4E2A7A93E9BA7DA@DBDE01.ent.ti.com> (raw) In-Reply-To: <503B7678.90308@gmail.com> Hi Daniel, On Mon, Aug 27, 2012 at 19:00:32, Daniel Mack wrote: > So the GPMC driver is the one that is matched from DT, and the NAND > driver will the be instanciated from the (generic) GPMC driver? I think you were referring to nand device being instantiated from gpmc driver?, hence resulting in nand driver getting probed. What I have in mind is to represent peripherals connected to gpmc as childs of gpmc node. For devices like smsc911x, as they already have DT bindings, creating an of device for childs by parsing DT hopefully should relieve task of handling their platform data. Similarly for nand, creating an of device is to be done by gpmc driver. Once the bigger issue of timing is resolved, I am planning to implement DT as said above Also for the existing boards on non-DT boot, plan is to keep the existing interface as such, with no change needed in board files. > > > No change would be needed for client drivers like smc91x ethernet drivers, > > but NAND driver may need some change to live with DT as it is tightly > > coupled with GPMC. > > NAND drivers also typically parse partition entries that are children of > the DT node the are owning. Yes, in addition to the above, omap nand driver would need to determine a few gpmc specific like transfer mode. > I do have a beaglboard xM, but the board I'm currently working with is a > custom one based on an AM33xx. I was in need of a board like rx51, n800 that currently calculate gpmc timings at runtime to test the generic timing function, np, thanks again Regards Afzal
next prev parent reply other threads:[~2012-08-27 14:01 UTC|newest] Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-21 10:41 [PATCH v6 00/10] OMAP-GPMC: generic time calc, prepare for driver Afzal Mohammed 2012-08-21 10:41 ` Afzal Mohammed 2012-08-21 10:45 ` [PATCH v6 01/10] ARM: OMAP2+: nand: unify init functions Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-21 11:37 ` Igor Grinberg 2012-08-21 11:37 ` Igor Grinberg 2012-08-21 10:45 ` [PATCH v6 02/10] ARM: OMAP2+: gpmc: handle additional timings Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-21 10:45 ` [PATCH v6 03/10] ARM: OMAP2+: onenand: refactor for clarity Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-21 10:45 ` [PATCH v6 04/10] ARM: OMAP2+: GPMC: Remove unused OneNAND get_freq() platform function Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-21 10:45 ` [PATCH v6 05/10] ARM: OMAP2+: gpmc: find features by ip rev check Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-22 2:08 ` Jon Hunter 2012-08-22 2:08 ` Jon Hunter 2012-08-21 10:45 ` [PATCH v6 06/10] ARM: OMAP2+: gpmc: remove cs# in sync clk div calc Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-22 2:11 ` Jon Hunter 2012-08-22 2:11 ` Jon Hunter 2012-08-21 10:45 ` [PATCH v6 07/10] ARM: OMAP2+: gpmc: generic timing calculation Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-23 2:58 ` Jon Hunter 2012-08-23 2:58 ` Jon Hunter 2012-08-24 19:54 ` Tony Lindgren 2012-08-24 19:54 ` Tony Lindgren 2012-08-27 11:46 ` Mohammed, Afzal 2012-08-27 11:46 ` Mohammed, Afzal 2012-08-27 10:37 ` Mohammed, Afzal 2012-08-27 10:37 ` Mohammed, Afzal 2012-08-27 20:30 ` Jon Hunter 2012-08-27 20:30 ` Jon Hunter 2012-08-28 12:21 ` Mohammed, Afzal 2012-08-28 12:21 ` Mohammed, Afzal 2012-08-21 10:45 ` [PATCH v6 08/10] ARM: OMAP2+: onenand: " Afzal Mohammed 2012-08-21 10:45 ` Afzal Mohammed 2012-08-21 10:46 ` [PATCH v6 09/10] ARM: OMAP2+: smc91x: " Afzal Mohammed 2012-08-21 10:46 ` Afzal Mohammed 2012-08-21 10:46 ` [PATCH v6 10/10] ARM: OMAP2+: tusb6010: " Afzal Mohammed 2012-08-21 10:46 ` Afzal Mohammed 2012-08-24 19:46 ` Tony Lindgren 2012-08-24 19:46 ` Tony Lindgren 2012-08-27 8:34 ` Mohammed, Afzal 2012-08-27 8:34 ` Mohammed, Afzal 2012-09-03 5:34 ` Mohammed, Afzal 2012-09-03 5:34 ` Mohammed, Afzal 2012-09-06 7:39 ` Mohammed, Afzal 2012-09-06 7:39 ` Mohammed, Afzal 2012-09-06 20:43 ` Tony Lindgren 2012-09-06 20:43 ` Tony Lindgren 2012-09-11 18:46 ` Tony Lindgren 2012-09-11 18:46 ` Tony Lindgren 2012-09-12 9:50 ` Mohammed, Afzal 2012-09-12 9:50 ` Mohammed, Afzal 2012-09-14 10:20 ` Mohammed, Afzal 2012-09-14 10:20 ` Mohammed, Afzal 2012-09-17 8:39 ` Mohammed, Afzal 2012-09-17 8:39 ` Mohammed, Afzal 2012-09-17 22:50 ` Tony Lindgren 2012-09-17 22:50 ` Tony Lindgren 2012-09-17 23:10 ` Tony Lindgren 2012-09-17 23:10 ` Tony Lindgren 2012-09-19 13:43 ` Mohammed, Afzal 2012-09-19 13:43 ` Mohammed, Afzal 2012-09-07 0:15 ` Paul Walmsley 2012-09-07 0:15 ` Paul Walmsley 2012-08-27 12:16 ` [PATCH v6 00/10] OMAP-GPMC: generic time calc, prepare for driver Daniel Mack 2012-08-27 12:16 ` Daniel Mack 2012-08-27 12:38 ` Mohammed, Afzal 2012-08-27 12:38 ` Mohammed, Afzal 2012-08-27 13:30 ` Daniel Mack 2012-08-27 13:30 ` Daniel Mack 2012-08-27 14:01 ` Mohammed, Afzal [this message] 2012-08-27 14:01 ` Mohammed, Afzal
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=C8443D0743D26F4388EA172BF4E2A7A93E9BA7DA@DBDE01.ent.ti.com \ --to=afzal@ti.com \ --cc=jon-hunter@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=paul@pwsan.com \ --cc=tony@atomide.com \ --cc=zonque@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: linkBe 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.