All of lore.kernel.org
 help / color / mirror / Atom feed
* DT config of io resource
@ 2015-12-31  5:46 Rolland Chau
  2016-01-12 17:31 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 3+ messages in thread
From: Rolland Chau @ 2015-12-31  5:46 UTC (permalink / raw)
  To: bigeasy, linux-kernel

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-13  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.