linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rdunlap@infradead.org (Randy Dunlap)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 1/7] of: Provide function to request and map memory
Date: Fri, 06 Jun 2014 09:56:06 -0700	[thread overview]
Message-ID: <5391F2A6.4040202@infradead.org> (raw)
In-Reply-To: <CAL_Jsq+KS8W6kZpCSpd68Oku7neFxPVLct1j=AYaXnyvOD3tGA@mail.gmail.com>

On 06/06/2014 08:19 AM, Rob Herring wrote:
> On Thu, Jun 5, 2014 at 12:26 PM, Matthias Brugger
> <matthias.bgg@gmail.com> wrote:
>> A call to of_iomap does not request the memory region.
>> This patch adds the function of_io_request_and_map which requests
>> the memory region before mapping it.
>>
>> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>> ---
>>  drivers/of/address.c       |   28 ++++++++++++++++++++++++++++
>>  include/linux/of_address.h |    8 ++++++++
>>  2 files changed, 36 insertions(+)
>>
>> diff --git a/drivers/of/address.c b/drivers/of/address.c
>> index cb4242a..c55b107 100644
>> --- a/drivers/of/address.c
>> +++ b/drivers/of/address.c
>> @@ -721,3 +721,31 @@ void __iomem *of_iomap(struct device_node *np, int index)
>>         return ioremap(res.start, resource_size(&res));
>>  }
>>  EXPORT_SYMBOL(of_iomap);
>> +
>> +/**
>> + * of_io_request_and_map - Requests a resource and maps the memory mapped IO
>> + *                        for a given device_node
> 
> I believe docbook requires this to be 1 line.

No longer so.  That was fixed a couple of years ago.


-- 
~Randy

  reply	other threads:[~2014-06-06 16:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 17:26 [PATCH v7 0/7] arm: Add basic support for Mediatek Cortex-A7 SoCs Matthias Brugger
2014-06-05 17:26 ` [PATCH v7 1/7] of: Provide function to request and map memory Matthias Brugger
2014-06-06 15:19   ` Rob Herring
2014-06-06 16:56     ` Randy Dunlap [this message]
2014-06-07  5:59     ` Grant Likely
2014-06-09 14:36       ` Rob Herring
2014-06-09 15:02         ` Matthias Brugger
2014-06-10 12:31         ` Grant Likely
2014-06-05 17:26 ` [PATCH v7 2/7] clocksource: Add support for the Mediatek SoCs Matthias Brugger
2014-06-05 17:26 ` [PATCH v7 3/7] dt-bindings: add mtk-timer bindings Matthias Brugger
2014-06-05 17:26 ` [PATCH v7 4/7] vendor-prefixes: add prefix for Mediaktek Inc Matthias Brugger
2014-06-05 17:26 ` [PATCH v7 5/7] arm: add basic support for Mediatek MT6589 boards Matthias Brugger
2014-06-05 18:21   ` Mark Rutland
2014-06-11 11:18     ` Matthias Brugger
2014-06-05 17:26 ` [PATCH v7 6/7] dt-bindings: add documentation for Mediatek SoC Matthias Brugger
2014-06-05 17:26 ` [PATCH v7 7/7] arm: mediatek: add dts for Aquaris5 mobile phone Matthias Brugger

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=5391F2A6.4040202@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).