All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolland Chau <zourongrong@gmail.com>
To: bigeasy@linutronix.de, linux-kernel@vger.kernel.org
Subject: DT config of io resource
Date: Thu, 31 Dec 2015 13:46:14 +0800	[thread overview]
Message-ID: <5684C126.6080901@gmail.com> (raw)

Hi Sebastian,

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.


 > +ISA Example:
 > +
 > +	rtc@70 {
 > +	         compatible = "motorola,mc146818";
 > +	         interrupts = <8 3>;
 > +	         interrupt-parent = <&ioapic1>;
 > +	         ctrl-reg = <2>;
 > +	         freq-reg = <0x26>;
 > +	         reg = <1 0x70 2>;
 > +	 };

 >  	return cmos_do_probe(&pdev->dev,
 >  			platform_get_resource(pdev, IORESOURCE_IO, 0),

Regaurds!

             reply	other threads:[~2015-12-31  5:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-31  5:46 Rolland Chau [this message]
2016-01-12 17:31 ` DT config of io resource Sebastian Andrzej Siewior
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=5684C126.6080901@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 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.