From: Rob Herring <robherring2@gmail.com>
To: Tomasz Figa <tomasz.figa@gmail.com>
Cc: linux-samsung-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
devicetree-discuss@lists.ozlabs.org, kgene.kim@samsung.com,
broonie@opensource.wolfsonmicro.com, kwangwoo.lee@gmail.com,
jacmet@sunsite.dk, augulis.darius@gmail.com,
mcuelenaere@gmail.com, linux@arm.linux.org.uk,
Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH v5 5/6] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs
Date: Tue, 16 Apr 2013 08:09:10 -0500 [thread overview]
Message-ID: <516D4D76.2010409@gmail.com> (raw)
In-Reply-To: <1366060483-20342-6-git-send-email-tomasz.figa@gmail.com>
On 04/15/2013 04:14 PM, Tomasz Figa wrote:
> This patch adds basic device tree definitions for Samsung S3C64xx SoCs.
>
> Since all the SoCs in the series are very similar, the files are created
> hierarchically - one file for the whole series and then separate files
> for particular SoCs including the common one.
>
> Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
> ---
> arch/arm/boot/dts/s3c6400.dtsi | 33 ++
> arch/arm/boot/dts/s3c6410.dtsi | 33 ++
> arch/arm/boot/dts/s3c64xx-pinctrl.dtsi | 683 +++++++++++++++++++++++++++++++++
> arch/arm/boot/dts/s3c64xx.dtsi | 136 +++++++
> 4 files changed, 885 insertions(+)
> create mode 100644 arch/arm/boot/dts/s3c6400.dtsi
> create mode 100644 arch/arm/boot/dts/s3c6410.dtsi
> create mode 100644 arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/s3c64xx.dtsi
>
[...]
> +
> + vic0: interrupt-controller@71200000 {
These nodes should be off a "simple-bus" node.
Rob
> + compatible = "arm,pl192-vic";
> + interrupt-controller;
> + reg = <0x71200000 0x1000>;
> + #interrupt-cells = <1>;
> + };
> +
> + vic1: interrupt-controller@71300000 {
> + compatible = "arm,pl192-vic";
> + interrupt-controller;
> + reg = <0x71300000 0x1000>;
> + #interrupt-cells = <1>;
> + };
> +
> + pinctrl0: pinctrl@7f008000 {
> + compatible = "samsung,s3c64xx-pinctrl";
> + reg = <0x7f008000 0x1000>;
> + interrupt-parent = <&vic1>;
> + interrupts = <21>;
> +
> + pctrl_int_map: pinctrl-interrupt-map {
> + interrupt-map = <0 &vic0 0>,
> + <1 &vic0 1>,
> + <2 &vic1 0>,
> + <3 &vic1 1>;
> + #address-cells = <0>;
> + #size-cells = <0>;
> + #interrupt-cells = <1>;
> + };
> +
> + wakeup-interrupt-controller {
> + compatible = "samsung,s3c64xx-wakeup-eint";
> + interrupts = <0>, <1>, <2>, <3>;
> + interrupt-parent = <&pctrl_int_map>;
> + };
> + };
> +
> + pwm: pwm@7f006000 {
> + compatible = "samsung,s3c6400-pwm";
> + reg = <0x7f006000 0x1000>;
> + interrupt-parent = <&vic0>;
> + interrupts = <23>, <24>, <25>, <27>, <28>;
> + samsung,pwm-outputs = <0>, <1>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
> + uart0: serial@7f005000 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <5>;
> + status = "disabled";
> + };
> +
> + uart1: serial@7f005400 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005400 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <6>;
> + status = "disabled";
> + };
> +
> + uart2: serial@7f005800 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005800 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <7>;
> + status = "disabled";
> + };
> +
> + uart3: serial@7f005c00 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005c00 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <8>;
> + status = "disabled";
> + };
> +
> + sdhci0: sdhci@7c200000 {
> + compatible = "samsung,s3c6410-sdhci";
> + reg = <0x7c200000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <24>;
> + status = "disabled";
> + };
> +
> + sdhci1: sdhci@7c300000 {
> + compatible = "samsung,s3c6410-sdhci";
> + reg = <0x7c300000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <25>;
> + status = "disabled";
> + };
> +
> + sdhci2: sdhci@7c400000 {
> + compatible = "samsung,s3c6410-sdhci";
> + reg = <0x7c400000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <17>;
> + status = "disabled";
> + };
> +};
> +
> +/include/ "s3c64xx-pinctrl.dtsi"
>
WARNING: multiple messages have this Message-ID (diff)
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 5/6] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs
Date: Tue, 16 Apr 2013 08:09:10 -0500 [thread overview]
Message-ID: <516D4D76.2010409@gmail.com> (raw)
In-Reply-To: <1366060483-20342-6-git-send-email-tomasz.figa@gmail.com>
On 04/15/2013 04:14 PM, Tomasz Figa wrote:
> This patch adds basic device tree definitions for Samsung S3C64xx SoCs.
>
> Since all the SoCs in the series are very similar, the files are created
> hierarchically - one file for the whole series and then separate files
> for particular SoCs including the common one.
>
> Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
> ---
> arch/arm/boot/dts/s3c6400.dtsi | 33 ++
> arch/arm/boot/dts/s3c6410.dtsi | 33 ++
> arch/arm/boot/dts/s3c64xx-pinctrl.dtsi | 683 +++++++++++++++++++++++++++++++++
> arch/arm/boot/dts/s3c64xx.dtsi | 136 +++++++
> 4 files changed, 885 insertions(+)
> create mode 100644 arch/arm/boot/dts/s3c6400.dtsi
> create mode 100644 arch/arm/boot/dts/s3c6410.dtsi
> create mode 100644 arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/s3c64xx.dtsi
>
[...]
> +
> + vic0: interrupt-controller at 71200000 {
These nodes should be off a "simple-bus" node.
Rob
> + compatible = "arm,pl192-vic";
> + interrupt-controller;
> + reg = <0x71200000 0x1000>;
> + #interrupt-cells = <1>;
> + };
> +
> + vic1: interrupt-controller at 71300000 {
> + compatible = "arm,pl192-vic";
> + interrupt-controller;
> + reg = <0x71300000 0x1000>;
> + #interrupt-cells = <1>;
> + };
> +
> + pinctrl0: pinctrl at 7f008000 {
> + compatible = "samsung,s3c64xx-pinctrl";
> + reg = <0x7f008000 0x1000>;
> + interrupt-parent = <&vic1>;
> + interrupts = <21>;
> +
> + pctrl_int_map: pinctrl-interrupt-map {
> + interrupt-map = <0 &vic0 0>,
> + <1 &vic0 1>,
> + <2 &vic1 0>,
> + <3 &vic1 1>;
> + #address-cells = <0>;
> + #size-cells = <0>;
> + #interrupt-cells = <1>;
> + };
> +
> + wakeup-interrupt-controller {
> + compatible = "samsung,s3c64xx-wakeup-eint";
> + interrupts = <0>, <1>, <2>, <3>;
> + interrupt-parent = <&pctrl_int_map>;
> + };
> + };
> +
> + pwm: pwm at 7f006000 {
> + compatible = "samsung,s3c6400-pwm";
> + reg = <0x7f006000 0x1000>;
> + interrupt-parent = <&vic0>;
> + interrupts = <23>, <24>, <25>, <27>, <28>;
> + samsung,pwm-outputs = <0>, <1>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
> + uart0: serial at 7f005000 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <5>;
> + status = "disabled";
> + };
> +
> + uart1: serial at 7f005400 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005400 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <6>;
> + status = "disabled";
> + };
> +
> + uart2: serial at 7f005800 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005800 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <7>;
> + status = "disabled";
> + };
> +
> + uart3: serial at 7f005c00 {
> + compatible = "samsung,s3c6400-uart";
> + reg = <0x7f005c00 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <8>;
> + status = "disabled";
> + };
> +
> + sdhci0: sdhci at 7c200000 {
> + compatible = "samsung,s3c6410-sdhci";
> + reg = <0x7c200000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <24>;
> + status = "disabled";
> + };
> +
> + sdhci1: sdhci at 7c300000 {
> + compatible = "samsung,s3c6410-sdhci";
> + reg = <0x7c300000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <25>;
> + status = "disabled";
> + };
> +
> + sdhci2: sdhci at 7c400000 {
> + compatible = "samsung,s3c6410-sdhci";
> + reg = <0x7c400000 0x100>;
> + interrupt-parent = <&vic1>;
> + interrupts = <17>;
> + status = "disabled";
> + };
> +};
> +
> +/include/ "s3c64xx-pinctrl.dtsi"
>
next prev parent reply other threads:[~2013-04-16 13:09 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 21:14 [PATCH v5 0/6] Initial Device Tree support for S3C64xx Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-15 21:14 ` [PATCH v5 1/6] ARM: common: vic: Parse interrupt and resume masks from device tree Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-15 21:14 ` [PATCH v5 2/6] ARM: s3c64xx: Skip legacy EINT setup if pinctrl-s3c64xx driver is present Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-16 16:26 ` Mark Brown
2013-04-16 16:26 ` Mark Brown
2013-04-16 22:31 ` Tomasz Figa
2013-04-16 22:31 ` Tomasz Figa
2013-04-16 22:43 ` [PATCH v6 " Tomasz Figa
2013-04-16 22:43 ` Tomasz Figa
2013-04-15 21:14 ` [PATCH v5 3/6] gpio: samsung: Skip legacy GPIO registration if pinctrl-s3c64xx " Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-16 16:27 ` Mark Brown
2013-04-16 16:27 ` Mark Brown
2013-04-16 22:35 ` Tomasz Figa
2013-04-16 22:35 ` Tomasz Figa
2013-04-17 13:06 ` Mark Brown
2013-04-17 13:06 ` Mark Brown
2013-04-23 14:33 ` Kukjin Kim
2013-04-23 14:33 ` Kukjin Kim
2013-04-15 21:14 ` [PATCH v5 4/6] ARM: s3c64xx: Add board file for boot using Device Tree Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-15 21:14 ` [PATCH v5 5/6] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-16 13:09 ` Rob Herring [this message]
2013-04-16 13:09 ` Rob Herring
2013-04-16 13:19 ` Tomasz Figa
2013-04-16 13:19 ` Tomasz Figa
2013-04-17 17:46 ` Rob Herring
2013-04-17 17:46 ` Rob Herring
2013-04-23 14:29 ` Kukjin Kim
2013-04-23 14:29 ` Kukjin Kim
2013-04-23 14:44 ` Tomasz Figa
2013-04-23 14:44 ` Tomasz Figa
2013-04-23 14:48 ` Kukjin Kim
2013-04-23 14:48 ` Kukjin Kim
2013-04-15 21:14 ` [PATCH v5 6/6] ARM: dts: Add dts file for S3C6410-based Mini6410 board Tomasz Figa
2013-04-15 21:14 ` Tomasz Figa
2013-04-16 16:33 ` [PATCH v5 0/6] Initial Device Tree support for S3C64xx Mark Brown
2013-04-16 16:33 ` Mark Brown
2013-04-16 22:23 ` [PATCH 1/2] pinctrl: s3c64xx: Fix build error caused by undefined chained_irq_enter Tomasz Figa
2013-04-16 22:23 ` Tomasz Figa
2013-04-16 22:24 ` [PATCH 2/2] pinctrl: samsung: Fix link error with CONFIG_PINCTRL_EXYNOS disabled Tomasz Figa
2013-04-16 22:24 ` Tomasz Figa
2013-04-23 12:03 ` Linus Walleij
2013-04-23 12:03 ` Linus Walleij
2013-04-23 12:09 ` Tomasz Figa
2013-04-23 12:09 ` Tomasz Figa
2013-04-24 14:27 ` Linus Walleij
2013-04-24 14:27 ` Linus Walleij
2013-04-24 14:47 ` Tomasz Figa
2013-04-24 14:47 ` Tomasz Figa
2013-04-25 13:26 ` Linus Walleij
2013-04-25 13:26 ` Linus Walleij
2013-04-16 22:29 ` [PATCH RESEND " Tomasz Figa
2013-04-16 22:29 ` Tomasz Figa
2013-04-23 12:00 ` [PATCH 1/2] pinctrl: s3c64xx: Fix build error caused by undefined chained_irq_enter Linus Walleij
2013-04-23 12:00 ` Linus Walleij
2013-04-17 13:08 ` [PATCH v5 0/6] Initial Device Tree support for S3C64xx Mark Brown
2013-04-17 13:08 ` Mark Brown
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=516D4D76.2010409@gmail.com \
--to=robherring2@gmail.com \
--cc=augulis.darius@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=jacmet@sunsite.dk \
--cc=kgene.kim@samsung.com \
--cc=kwangwoo.lee@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=mcuelenaere@gmail.com \
--cc=tomasz.figa@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 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.