[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5684C126.6080901@gmail.com>
Date: Thu, 31 Dec 2015 13:46:14 +0800
From: Rolland Chau <zourongrong@...il.com>
To: bigeasy@...utronix.de, linux-kernel@...r.kernel.org
Subject: DT config of io resource
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists