From: Vignesh R <vigneshr@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/11] spi: davinci_spi: Convert to driver to adapt to DM
Date: Mon, 2 May 2016 09:41:46 +0530 [thread overview]
Message-ID: <5726D382.8040804@ti.com> (raw)
In-Reply-To: <CAPnjgZ3bSZ64SogTiaX6FPt8TaDBR=osNhPCZtKd98Qf224PRA@mail.gmail.com>
Hi,
On 05/02/2016 12:25 AM, Simon Glass wrote:
> i Vignesh,
>
> On 21 April 2016 at 02:42, Vignesh R <vigneshr@ti.com> wrote:
[...]
>>>> +static int davinci_ofdata_to_platadata(struct udevice *bus)
>>>> +{
>>>> + struct davinci_spi_slave *ds = dev_get_priv(bus);
>>>> + const void *blob = gd->fdt_blob;
>>>> + int node = bus->of_offset;
>>>> +
>>>> + ds->regs = map_physmem(dev_get_addr(bus),
>>>> + sizeof(struct davinci_spi_regs), MAP_NOCACHE);
>>>
>>> Can you add a dev_map_physmem() to do this in one step?
>>
>> Sure, where would you like dev_map_physmem() to reside? In
>> drivers/core/device.c?
>
> Yes please.
I already posted v2 with this change:
https://www.mail-archive.com/u-boot at lists.denx.de/msg210771.html
--
Regards
Vignesh
next prev parent reply other threads:[~2016-05-02 4:11 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 11:33 [U-Boot] [PATCH 00/11] ARM: Keystone2: Convert davinci_spi to DM Vignesh R
2016-04-12 11:33 ` [U-Boot] [PATCH 01/11] spi: davinci_spi: Convert to driver to adapt " Vignesh R
2016-04-12 17:23 ` Tom Rini
2016-04-20 14:40 ` Simon Glass
2016-04-21 8:42 ` Vignesh R
2016-05-01 18:55 ` Simon Glass
2016-05-02 4:11 ` Vignesh R [this message]
2016-04-12 11:33 ` [U-Boot] [PATCH 02/11] keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 03/11] ARM: dts: keystone2: add SPI aliases for davinci SPI nodes Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-13 11:00 ` Vignesh R
2016-04-12 11:33 ` [U-Boot] [PATCH 04/11] ARM: dts: k2hk: Enable Davinci SPI controller Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 05/11] defconfig: k2hk_evm_defconfig: enable SPI driver model Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 06/11] ARM: dts: k2e: Enable Davinci SPI controller Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 07/11] defconfig: k2e_evm_defconfig: enable SPI driver model Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 08/11] ARM: dts: k2l: Enable Davinci SPI controller Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 09/11] defconfig: k2l_evm_defconfig: enable SPI driver model Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 10/11] ARM: dts: k2g: add support for Davinci SPI controller Vignesh R
2016-04-12 17:24 ` Tom Rini
2016-04-12 11:33 ` [U-Boot] [PATCH 11/11] defconfig: k2g_evm_defconfig: enable SPI driver model Vignesh R
2016-04-12 17:24 ` Tom Rini
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=5726D382.8040804@ti.com \
--to=vigneshr@ti.com \
--cc=u-boot@lists.denx.de \
/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 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.