From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Rolland Chau <zourongrong@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: DT config of io resource
Date: Tue, 12 Jan 2016 18:31:01 +0100 [thread overview]
Message-ID: <20160112173101.GC31009@linutronix.de> (raw)
In-Reply-To: <5684C126.6080901@gmail.com>
* 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.
Sebastian
next prev parent reply other threads:[~2016-01-12 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-31 5:46 Rolland Chau
2016-01-12 17:31 ` Sebastian Andrzej Siewior [this message]
2016-01-13 1:55 ` Rongrong Zou
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=20160112173101.GC31009@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=zourongrong@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: 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
Powered by JetHome