All of lore.kernel.org
 help / color / mirror / Atom feed
From: chris.ruehl@gtsys.com.hk (Chris Ruehl)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: imx1-core populate subdevices
Date: Wed, 27 Nov 2013 11:33:15 +0800	[thread overview]
Message-ID: <529567FB.5090501@gtsys.com.hk> (raw)
In-Reply-To: <CACRpkdaQcY43wnfD_phsi6rCo3oUmOUcei+gb9phyGT7F1iZyA@mail.gmail.com>

On Wednesday, November 20, 2013 04:01 AM, Linus Walleij wrote:
> On Mon, Nov 11, 2013 at 7:19 PM, Markus Pargmann<mpa@pengutronix.de>  wrote:
>
>> Support gpio devicetree subnodes to allow a more detailed DT hardware
>> description.
>>
>> Signed-off-by: Markus Pargmann<mpa@pengutronix.de>
>
> Looks good to me.
>
> Tentatively applied this, the DT people may want to say something
> about this.
>
> Yours,
> Linus Walleij
> --

Hi,

I tried the new configuration but the kernel oops when probing the
dm9000 caused by insufficient resources more likely the real reason
that somehow the gpio6: triggers a problem


[    0.115718] irq: no irq domain found for 
/soc/aipi at 10000000/iomuxc at 10015000/gpio at 10015500 !
[    0.115768] ------------[ cut here ]------------
[    0.115853] WARNING: CPU: 0 PID: 1 at drivers/of/platform.c:171 
of_device_alloc+0x110/0x15c()
[    0.117824] ---[ end trace 0e10ae727e6e0ab1 ]---
[    0.121236] Failed to request board ext/int gpios
[    0.152712] imx27-pinctrl 10015000.iomuxc: initialized IMX pinctrl driver


iomuxc: iomuxc at 10015000 {
         compatible = "fsl,imx27-iomuxc";
         reg = <0x10015000 0x600>;
         #address-cells = <1>;
         #size-cells = <1>;
         ranges;

         gpio1: gpio at 10015000 {
              compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
              reg = <0x10015000 0x100>;
              interrupts = <8>;
              gpio-controller;
              #gpio-cells = <2>;
              interrupt-controller;
              #interrupt-cells = <2>;
         };
...
         gpio6: gpio at 10015500 {
              compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
              reg = <0x10015500 0x100>;
              interrupts = <8>;
              gpio-controller;
              #gpio-cells = <2>;
              interrupt-controller;
              #interrupt-cells = <2>;
         };
};

Kernel Linux version 3.13.0-rc1-next-20131125-dirty

With kind regards
Chris

WARNING: multiple messages have this Message-ID (diff)
From: Chris Ruehl <chris.ruehl-CR359r9tUDPXPF5Rlphj1Q@public.gmane.org>
To: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Markus Pargmann <mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	Matt Sealey <neko-HhXTZounMxbZATc7fWT8Dg@public.gmane.org>,
	Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH] pinctrl: imx1-core populate subdevices
Date: Wed, 27 Nov 2013 11:33:15 +0800	[thread overview]
Message-ID: <529567FB.5090501@gtsys.com.hk> (raw)
In-Reply-To: <CACRpkdaQcY43wnfD_phsi6rCo3oUmOUcei+gb9phyGT7F1iZyA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Wednesday, November 20, 2013 04:01 AM, Linus Walleij wrote:
> On Mon, Nov 11, 2013 at 7:19 PM, Markus Pargmann<mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>  wrote:
>
>> Support gpio devicetree subnodes to allow a more detailed DT hardware
>> description.
>>
>> Signed-off-by: Markus Pargmann<mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
>
> Looks good to me.
>
> Tentatively applied this, the DT people may want to say something
> about this.
>
> Yours,
> Linus Walleij
> --

Hi,

I tried the new configuration but the kernel oops when probing the
dm9000 caused by insufficient resources more likely the real reason
that somehow the gpio6: triggers a problem


[    0.115718] irq: no irq domain found for 
/soc/aipi@10000000/iomuxc@10015000/gpio@10015500 !
[    0.115768] ------------[ cut here ]------------
[    0.115853] WARNING: CPU: 0 PID: 1 at drivers/of/platform.c:171 
of_device_alloc+0x110/0x15c()
[    0.117824] ---[ end trace 0e10ae727e6e0ab1 ]---
[    0.121236] Failed to request board ext/int gpios
[    0.152712] imx27-pinctrl 10015000.iomuxc: initialized IMX pinctrl driver


iomuxc: iomuxc@10015000 {
         compatible = "fsl,imx27-iomuxc";
         reg = <0x10015000 0x600>;
         #address-cells = <1>;
         #size-cells = <1>;
         ranges;

         gpio1: gpio@10015000 {
              compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
              reg = <0x10015000 0x100>;
              interrupts = <8>;
              gpio-controller;
              #gpio-cells = <2>;
              interrupt-controller;
              #interrupt-cells = <2>;
         };
...
         gpio6: gpio@10015500 {
              compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
              reg = <0x10015500 0x100>;
              interrupts = <8>;
              gpio-controller;
              #gpio-cells = <2>;
              interrupt-controller;
              #interrupt-cells = <2>;
         };
};

Kernel Linux version 3.13.0-rc1-next-20131125-dirty

With kind regards
Chris

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-11-27  3:33 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-28  9:00 [PATCH v6 0/8] ARM: imx27 pinctrl Markus Pargmann
2013-10-28  9:00 ` Markus Pargmann
2013-10-28  9:00 ` [PATCH v6 1/8] pinctrl: imx1 core driver Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-10-29 13:55   ` Linus Walleij
2013-10-29 13:55     ` Linus Walleij
2013-10-29 15:10     ` Markus Pargmann
2013-10-29 15:10       ` Markus Pargmann
2013-10-29 14:09   ` Linus Walleij
2013-10-29 14:09     ` Linus Walleij
2013-10-28  9:00 ` [PATCH v6 2/8] pinctrl: imx27: imx27 pincontrol driver Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-10-28 11:17   ` Kumar Gala
2013-10-28 11:17     ` Kumar Gala
2013-10-28 16:43     ` Markus Pargmann
2013-10-28 16:43       ` Markus Pargmann
2013-10-28 19:28       ` Kumar Gala
2013-10-28 19:28         ` Kumar Gala
2013-10-29 14:03   ` Linus Walleij
2013-10-29 14:03     ` Linus Walleij
2013-10-29 14:32   ` [PATCH v7] " Markus Pargmann
2013-10-29 14:32     ` Markus Pargmann
2013-10-29 16:00     ` Linus Walleij
2013-10-29 16:00       ` Linus Walleij
2013-11-06 16:54       ` Matt Sealey
2013-11-06 16:54         ` Matt Sealey
2013-11-07  9:12         ` Markus Pargmann
2013-11-07  9:12           ` Markus Pargmann
2013-11-07  9:28           ` Lucas Stach
2013-11-07  9:28             ` Lucas Stach
2013-11-07 10:38             ` Markus Pargmann
2013-11-07 10:38               ` Markus Pargmann
2013-11-07 16:58               ` Matt Sealey
2013-11-07 16:58                 ` Matt Sealey
2013-11-11  9:50               ` Linus Walleij
2013-11-11  9:50                 ` Linus Walleij
2013-10-28  9:00 ` [PATCH v6 3/8] ARM: dts: imx27 pin functions Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-10-28  9:00 ` [PATCH v6 4/8] ARM: dts: imx27 pinctrl Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-11-06 22:43   ` Matt Sealey
2013-11-06 22:43     ` Matt Sealey
2013-11-08  9:45     ` Linus Walleij
2013-11-08  9:45       ` Linus Walleij
2013-11-08 13:56       ` Markus Pargmann
2013-11-08 13:56         ` Markus Pargmann
2013-11-11 10:29         ` Linus Walleij
2013-11-11 10:29           ` Linus Walleij
2013-11-11 18:19           ` [PATCH] pinctrl: imx1-core populate subdevices Markus Pargmann
2013-11-11 18:19             ` Markus Pargmann
2013-11-19 20:01             ` Linus Walleij
2013-11-19 20:01               ` Linus Walleij
2013-11-27  3:33               ` Chris Ruehl [this message]
2013-11-27  3:33                 ` Chris Ruehl
2013-11-27  5:19                 ` Chris Ruehl
2013-11-27  5:19                   ` Chris Ruehl
2013-11-27  7:31                 ` Markus Pargmann
2013-11-27  7:31                   ` Markus Pargmann
2013-11-27  8:45                   ` Chris Ruehl
2013-11-27  8:45                     ` Chris Ruehl
2013-10-28  9:00 ` [PATCH v6 5/8] ARM: dts: imx27 phyCARD-S pinctrl Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-10-28  9:00 ` [PATCH v6 6/8] ARM: dts: imx27 phycore move uart1 to rdk Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-10-28  9:00 ` [PATCH v6 7/8] ARM: dts: imx27 phycore pinctrl Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-10-28  9:00 ` [PATCH v6 8/8] ARM: imx27: enable pinctrl Markus Pargmann
2013-10-28  9:00   ` Markus Pargmann
2013-11-06 12:49 ` [PATCH v6 0/8] ARM: imx27 pinctrl Markus Pargmann
2013-11-06 12:49   ` Markus Pargmann
2013-11-06 13:27   ` Shawn Guo
2013-11-06 13:27     ` Shawn Guo

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=529567FB.5090501@gtsys.com.hk \
    --to=chris.ruehl@gtsys.com.hk \
    --cc=linux-arm-kernel@lists.infradead.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.