Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Varadarajan, Charulatha
Date: Tuesday, November 30, 2010 - 11:04 pm

David,

On Wed, Dec 1, 2010 at 01:28, David Sin <davidsin@ti.com> wrote:

Do not use these #ifdefs as it would not work as intended in multi-omap build.
This driver is making use of omap_hwmod fw. Try to take advantage of hwmod_fw
and avoid these checks.


Do not use "oh_name" as it is confusing.


Any specific reson for not assigning it directly to omap_dmm_latency?
I think this is redundant and omap_dmm_latency can be directly passed
to omap_device_build()


name "pdata" is confusing. Also no need to iterate over the list of
devices using
NUM_PDATA. If you have multiple devices, make use of hwmod class.


I do not find any other devices sharing same name for the device name
and oh->name.
Normally the device's name is preferred to be "omap_devname.id" to be
consistent across all drivers
and the oh->name is given as "devname(id)"

example: McSPI's device name could be "omap_mcspi" and it's hwmod name
could be "mcspi"


not required. Make use of platform_get APIs in probe to extract the
base, dma and irq info using pdev.


print the error message.


<<snip>>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC v2 0/8] TI DMM-TILER driver, David Sin, (Tue Nov 30, 12:58 pm)
[RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, David Sin, (Tue Nov 30, 12:58 pm)
Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, Varadarajan, Charulatha, (Tue Nov 30, 11:04 pm)
Re: [RFC v2 0/8] TI DMM-TILER driver, Varadarajan, Charulatha, (Tue Nov 30, 11:47 pm)
Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, Kanigeri, Hari, (Wed Dec 1, 7:10 pm)
Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, Kanigeri, Hari, (Wed Dec 1, 7:27 pm)
Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, Varadarajan, Charulatha, (Wed Dec 1, 10:16 pm)
Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, Hari Kanigeri, (Thu Dec 2, 3:23 am)
Re: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER, Varadarajan, Charulatha, (Thu Dec 2, 3:31 am)
Re: [RFC v2 0/8] TI DMM-TILER driver, David Sin, (Thu Dec 2, 6:52 am)