linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rongrong Zou <zourongrong@gmail.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: DT config of io resource
Date: Wed, 13 Jan 2016 09:55:15 +0800	[thread overview]
Message-ID: <5695AE83.8010003@gmail.com> (raw)
In-Reply-To: <20160112173101.GC31009@linutronix.de>

On 2016/1/13 1:31, Sebastian Andrzej Siewior wrote:
> * Rolland Chau | 2015-12-31 13:46:14 [+0800]:
>
>> Hi Sebastian,
> Hi,
>
>> I see that your sent a patch contain the below dt config.
>>
>> I want to konw how can i get IO resource from dts, how is the
>>
>> parent node configed? thanks.
>
> The complete node can be found in
>      arch/x86/platform/ce4100/falconfalls.dts
>
> The ressource should be configured by the platform_device code so a
>      platform_get_resource(pdev, IORESOURCE_IO, 0);
> should do the trick. The upper bus is ISA and the first 1 in reg
> classifies the memory as IO memory and not memory mapped.
>

I found your isa node is as subnode of pci node, so does the I/O port on isa
is memory-mapped into PCI address space ?

> Sebastian
>

Regards,
Rongrong

      reply	other threads:[~2016-01-13  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-31  5:46 DT config of io resource Rolland Chau
2016-01-12 17:31 ` Sebastian Andrzej Siewior
2016-01-13  1:55   ` Rongrong Zou [this message]

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=5695AE83.8010003@gmail.com \
    --to=zourongrong@gmail.com \
    --cc=bigeasy@linutronix.de \
    --cc=linux-kernel@vger.kernel.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).