All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information
Date: Tue, 27 Jan 2015 02:05:23 +0000	[thread overview]
Message-ID: <95fcb833572949c9aa2f406c0b147d1f@BL2FFO11FD060.protection.gbl> (raw)
In-Reply-To: <54C6D44C.4060106@suse.de>

On Tue, 2015-01-27 at 12:57AM +0100, Andreas Färber wrote:
> Am 09.01.2015 um 16:43 schrieb Soren Brinkmann:
> > Add pinctrl descriptions to the zc702 and zc706 device trees.
> > 
> > Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> > Tested-by: Andreas Färber <afaerber@suse.de>
> > ---
> > Changes since v1:
> >  - remove 'pinctrl-' prefix for pinctrl sub-nodes
> >  - separate config and mux nodes
> > 
> > Changes since RFC v2:
> >  - add pinconf properties to zc702 mdio node
> >  - remove arguments from bias-related props
> > 
> > Changes since RFC v1:
> >  - separate DT changes into their own patch
> > ---
> >  arch/arm/boot/dts/zynq-7000.dtsi |   8 +-
> >  arch/arm/boot/dts/zynq-zc702.dts | 181 +++++++++++++++++++++++++++++++++++++++
> >  arch/arm/boot/dts/zynq-zc706.dts | 152 ++++++++++++++++++++++++++++++++
> >  3 files changed, 340 insertions(+), 1 deletion(-)
> [...]
> > diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
> > index 280f02dd4ddc..4995412f116f 100644
> > --- a/arch/arm/boot/dts/zynq-zc702.dts
> > +++ b/arch/arm/boot/dts/zynq-zc702.dts
> [...]
> > @@ -50,15 +52,24 @@
> >  	status = "okay";
> >  	phy-mode = "rgmii-id";
> >  	phy-handle = <&ethernet_phy>;
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gem0_default>;
> >  
> >  	ethernet_phy: ethernet-phy@7 {
> >  		reg = <7>;
> >  	};
> >  };
> >  
> > +&gpio0 {
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gpio0_default>;
> 
> On linux-next the equivalent no longer works for the Parallella, with
> gpio failing to probe.
> 
> If I move these two properties to the leds node (for which I am
> configuring gpio 7) then I get a heartbeat as before.

I think for USB I have a fix (see other email with patch), but LEDs seem
to be broken too. On my zc702 I get:
   of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/ds23[0]' - status (-517)

517 is probe deferral. Looks like the LED driver needs to learn to defer
probing when the GPIO driver isn't available yet.

	Sören

WARNING: multiple messages have this Message-ID (diff)
From: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>, <devicetree@vger.kernel.org>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Heiko Stuebner <heiko@sntech.de>, <linux-sh@vger.kernel.org>,
	Bjorn Andersson <bjorn.andersson@sonymobile.com>,
	Michal Simek <michal.simek@xilinx.com>,
	<linux-kernel@vger.kernel.org>,
	Beniamino Galvani <b.galvani@gmail.com>,
	<linux-rockchip@lists.infradead.org>,
	"Ivan T. Ivanov" <iivanov@mm-sol.com>,
	Kumar Gala <galak@codeaurora.org>,
	Grant Likely <grant.likely@linaro.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Alessandro Rubini <rubini@unipv.it>
Subject: Re: [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information
Date: Mon, 26 Jan 2015 18:05:23 -0800	[thread overview]
Message-ID: <95fcb833572949c9aa2f406c0b147d1f@BL2FFO11FD060.protection.gbl> (raw)
In-Reply-To: <54C6D44C.4060106@suse.de>

On Tue, 2015-01-27 at 12:57AM +0100, Andreas Färber wrote:
> Am 09.01.2015 um 16:43 schrieb Soren Brinkmann:
> > Add pinctrl descriptions to the zc702 and zc706 device trees.
> > 
> > Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> > Tested-by: Andreas Färber <afaerber@suse.de>
> > ---
> > Changes since v1:
> >  - remove 'pinctrl-' prefix for pinctrl sub-nodes
> >  - separate config and mux nodes
> > 
> > Changes since RFC v2:
> >  - add pinconf properties to zc702 mdio node
> >  - remove arguments from bias-related props
> > 
> > Changes since RFC v1:
> >  - separate DT changes into their own patch
> > ---
> >  arch/arm/boot/dts/zynq-7000.dtsi |   8 +-
> >  arch/arm/boot/dts/zynq-zc702.dts | 181 +++++++++++++++++++++++++++++++++++++++
> >  arch/arm/boot/dts/zynq-zc706.dts | 152 ++++++++++++++++++++++++++++++++
> >  3 files changed, 340 insertions(+), 1 deletion(-)
> [...]
> > diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
> > index 280f02dd4ddc..4995412f116f 100644
> > --- a/arch/arm/boot/dts/zynq-zc702.dts
> > +++ b/arch/arm/boot/dts/zynq-zc702.dts
> [...]
> > @@ -50,15 +52,24 @@
> >  	status = "okay";
> >  	phy-mode = "rgmii-id";
> >  	phy-handle = <&ethernet_phy>;
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gem0_default>;
> >  
> >  	ethernet_phy: ethernet-phy@7 {
> >  		reg = <7>;
> >  	};
> >  };
> >  
> > +&gpio0 {
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gpio0_default>;
> 
> On linux-next the equivalent no longer works for the Parallella, with
> gpio failing to probe.
> 
> If I move these two properties to the leds node (for which I am
> configuring gpio 7) then I get a heartbeat as before.

I think for USB I have a fix (see other email with patch), but LEDs seem
to be broken too. On my zc702 I get:
   of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/ds23[0]' - status (-517)

517 is probe deferral. Looks like the LED driver needs to learn to defer
probing when the GPIO driver isn't available yet.

	Sören

WARNING: multiple messages have this Message-ID (diff)
From: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Heiko Stuebner <heiko@sntech.de>,
	linux-sh@vger.kernel.org,
	Bjorn Andersson <bjorn.andersson@sonymobile.com>,
	Michal Simek <michal.simek@xilinx.com>,
	linux-kernel@vger.kernel.org,
	Beniamino Galvani <b.galvani@gmail.com>,
	linux-rockchip@lists.infradead.org,
	"Ivan T. Ivanov" <iivanov@mm-sol.com>,
	Kumar Gala <galak@codeaurora.org>,
	Grant Likely <grant.likely@linaro.org>,
	linux-arm-kernel@lists.infradead.org,
	Alessandro Rubini <rubini@unipv.it>
Subject: Re: [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information
Date: Mon, 26 Jan 2015 18:05:23 -0800	[thread overview]
Message-ID: <95fcb833572949c9aa2f406c0b147d1f@BL2FFO11FD060.protection.gbl> (raw)
In-Reply-To: <54C6D44C.4060106@suse.de>

On Tue, 2015-01-27 at 12:57AM +0100, Andreas Färber wrote:
> Am 09.01.2015 um 16:43 schrieb Soren Brinkmann:
> > Add pinctrl descriptions to the zc702 and zc706 device trees.
> > 
> > Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> > Tested-by: Andreas Färber <afaerber@suse.de>
> > ---
> > Changes since v1:
> >  - remove 'pinctrl-' prefix for pinctrl sub-nodes
> >  - separate config and mux nodes
> > 
> > Changes since RFC v2:
> >  - add pinconf properties to zc702 mdio node
> >  - remove arguments from bias-related props
> > 
> > Changes since RFC v1:
> >  - separate DT changes into their own patch
> > ---
> >  arch/arm/boot/dts/zynq-7000.dtsi |   8 +-
> >  arch/arm/boot/dts/zynq-zc702.dts | 181 +++++++++++++++++++++++++++++++++++++++
> >  arch/arm/boot/dts/zynq-zc706.dts | 152 ++++++++++++++++++++++++++++++++
> >  3 files changed, 340 insertions(+), 1 deletion(-)
> [...]
> > diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
> > index 280f02dd4ddc..4995412f116f 100644
> > --- a/arch/arm/boot/dts/zynq-zc702.dts
> > +++ b/arch/arm/boot/dts/zynq-zc702.dts
> [...]
> > @@ -50,15 +52,24 @@
> >  	status = "okay";
> >  	phy-mode = "rgmii-id";
> >  	phy-handle = <&ethernet_phy>;
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gem0_default>;
> >  
> >  	ethernet_phy: ethernet-phy@7 {
> >  		reg = <7>;
> >  	};
> >  };
> >  
> > +&gpio0 {
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gpio0_default>;
> 
> On linux-next the equivalent no longer works for the Parallella, with
> gpio failing to probe.
> 
> If I move these two properties to the leds node (for which I am
> configuring gpio 7) then I get a heartbeat as before.

I think for USB I have a fix (see other email with patch), but LEDs seem
to be broken too. On my zc702 I get:
   of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/ds23[0]' - status (-517)

517 is probe deferral. Looks like the LED driver needs to learn to defer
probing when the GPIO driver isn't available yet.

	Sören

WARNING: multiple messages have this Message-ID (diff)
From: soren.brinkmann@xilinx.com (Sören Brinkmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information
Date: Mon, 26 Jan 2015 18:05:23 -0800	[thread overview]
Message-ID: <95fcb833572949c9aa2f406c0b147d1f@BL2FFO11FD060.protection.gbl> (raw)
In-Reply-To: <54C6D44C.4060106@suse.de>

On Tue, 2015-01-27 at 12:57AM +0100, Andreas F?rber wrote:
> Am 09.01.2015 um 16:43 schrieb Soren Brinkmann:
> > Add pinctrl descriptions to the zc702 and zc706 device trees.
> > 
> > Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> > Tested-by: Andreas F?rber <afaerber@suse.de>
> > ---
> > Changes since v1:
> >  - remove 'pinctrl-' prefix for pinctrl sub-nodes
> >  - separate config and mux nodes
> > 
> > Changes since RFC v2:
> >  - add pinconf properties to zc702 mdio node
> >  - remove arguments from bias-related props
> > 
> > Changes since RFC v1:
> >  - separate DT changes into their own patch
> > ---
> >  arch/arm/boot/dts/zynq-7000.dtsi |   8 +-
> >  arch/arm/boot/dts/zynq-zc702.dts | 181 +++++++++++++++++++++++++++++++++++++++
> >  arch/arm/boot/dts/zynq-zc706.dts | 152 ++++++++++++++++++++++++++++++++
> >  3 files changed, 340 insertions(+), 1 deletion(-)
> [...]
> > diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
> > index 280f02dd4ddc..4995412f116f 100644
> > --- a/arch/arm/boot/dts/zynq-zc702.dts
> > +++ b/arch/arm/boot/dts/zynq-zc702.dts
> [...]
> > @@ -50,15 +52,24 @@
> >  	status = "okay";
> >  	phy-mode = "rgmii-id";
> >  	phy-handle = <&ethernet_phy>;
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gem0_default>;
> >  
> >  	ethernet_phy: ethernet-phy at 7 {
> >  		reg = <7>;
> >  	};
> >  };
> >  
> > +&gpio0 {
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_gpio0_default>;
> 
> On linux-next the equivalent no longer works for the Parallella, with
> gpio failing to probe.
> 
> If I move these two properties to the leds node (for which I am
> configuring gpio 7) then I get a heartbeat as before.

I think for USB I have a fix (see other email with patch), but LEDs seem
to be broken too. On my zc702 I get:
   of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/ds23[0]' - status (-517)

517 is probe deferral. Looks like the LED driver needs to learn to defer
probing when the GPIO driver isn't available yet.

	S?ren

  parent reply	other threads:[~2015-01-27  2:05 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09 15:43 [PATCH v4 0/7] pinctrl support for Zynq Soren Brinkmann
2015-01-09 15:43 ` Soren Brinkmann
2015-01-09 15:43 ` Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 1/7] pinctrl: pinconf-generic: Infer map type from DT property Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 2/7] pinctrl: pinconf-generic: Allow driver to specify DT params Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 3/7] pinctrl: zynq: Document DT binding Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 4/7] pinctrl: Add driver for Zynq Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 5/7] ARM: zynq: Enable pinctrl Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-11 21:36   ` Linus Walleij
2015-01-11 21:36     ` Linus Walleij
2015-01-11 21:36     ` Linus Walleij
2015-01-11 21:36     ` Linus Walleij
2015-01-12  7:35     ` Michal Simek
2015-01-12  7:35       ` Michal Simek
2015-01-12  7:35       ` Michal Simek
2015-01-12  7:35       ` Michal Simek
2015-01-09 15:43 ` [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-11 21:38   ` Linus Walleij
2015-01-11 21:38     ` Linus Walleij
2015-01-11 21:38     ` Linus Walleij
2015-01-11 21:38     ` Linus Walleij
2015-01-12  7:27     ` Michal Simek
2015-01-12  7:27       ` Michal Simek
2015-01-12  7:27       ` Michal Simek
2015-01-12  7:27       ` Michal Simek
2015-01-27  0:00       ` Andreas Färber
2015-01-27  0:00         ` Andreas Färber
2015-01-27  0:00         ` Andreas Färber
2015-01-27  0:00         ` Andreas Färber
2015-01-28 14:22         ` Michal Simek
2015-01-28 14:22           ` Michal Simek
2015-01-28 14:22           ` Michal Simek
2015-01-28 14:22           ` Michal Simek
2015-01-26 23:57   ` Andreas Färber
2015-01-26 23:57     ` Andreas Färber
2015-01-26 23:57     ` Andreas Färber
2015-01-26 23:57     ` Andreas Färber
2015-01-27  0:32     ` Sören Brinkmann
2015-01-27  0:32       ` Sören Brinkmann
2015-01-27  0:32       ` Sören Brinkmann
2015-01-27  0:32       ` Sören Brinkmann
2015-01-27  2:05     ` Sören Brinkmann [this message]
2015-01-27  2:05       ` Sören Brinkmann
2015-01-27  2:05       ` Sören Brinkmann
2015-01-27  2:05       ` Sören Brinkmann
2015-01-09 15:43 ` [PATCH v4 7/7] pinctrl: qcom-spmi-gpio: Migrate to pinconf-generic Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-09 15:43   ` Soren Brinkmann
2015-01-11 21:40   ` Linus Walleij
2015-01-11 21:40     ` Linus Walleij
2015-01-11 21:40     ` Linus Walleij
2015-01-11 21:40     ` Linus Walleij
2015-01-12  9:09     ` Ivan T. Ivanov
2015-01-12  9:09       ` Ivan T. Ivanov
2015-01-12  9:09       ` Ivan T. Ivanov
2015-01-12  9:09       ` Ivan T. Ivanov
2015-01-09 16:53 ` [PATCH v4 0/7] pinctrl support for Zynq Sören Brinkmann
2015-01-09 16:53   ` Sören Brinkmann
2015-01-09 16:53   ` Sören Brinkmann
2015-01-09 16:53   ` Sören Brinkmann
2015-01-11 21:41   ` Linus Walleij
2015-01-11 21:41     ` Linus Walleij
2015-01-11 21:41     ` Linus Walleij
2015-01-11 21:41     ` Linus Walleij
2015-01-11 23:01     ` Sören Brinkmann
2015-01-11 23:01       ` Sören Brinkmann
2015-01-11 23:01       ` Sören Brinkmann
2015-01-11 23:01       ` Sören Brinkmann

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=95fcb833572949c9aa2f406c0b147d1f@BL2FFO11FD060.protection.gbl \
    --to=soren.brinkmann@xilinx.com \
    --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.