From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 01/22] pinctrl: generic: Add DT bindings
Date: Thu, 13 Jun 2013 22:23:26 +0000 [thread overview]
Message-ID: <1961223.akELqavQP8@avalon> (raw)
In-Reply-To: <CACRpkdYev+hapkM075Sw7Yi0u+XpRvL74SwT39DV1aV1RtHC+Q@mail.gmail.com>
Hi Linus,
On Wednesday 12 June 2013 11:24:38 Linus Walleij wrote:
> On Wed, Jun 12, 2013 at 12:22 AM, Laurent Pinchart wrote:
> > Document DT properties for the generic pinctrl parameters and add a
> > parser function.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
>
> It appears we have a race here, as something like three people,
> or four, happened to do generic pinconf bindings at the same time.
>
> Yesterday I applied Heiko Stübners patch
> "pinctrl: add function to parse generic pinconfig properties from a dt node"
> doing basically the same thing. With subtle differences...
> but it already supports schmittrigging and some more.
>
> It appears to be close to your idea though!
>
> Would it be possible for you to look at what I have on my "devel" branch
> now (same as submitted for -next), rebase on that and patch any problems?
OK, I will do so. In the meantime I'll resubmit this patch series without the
pinconf DT bindings for inclusion in v3.11, and will then post follow-up
patches to add pinconf DT support, for v3.11 or v3.12 depending on the timing.
> > + if (param->flag) {
> > + ret = of_property_read_bool(np, param->property)
> > + ? 0 : -EINVAL;
> > + val = 1;
> > + } else {
> > + ret = of_property_read_u32(np, param->property,
> > &val); + }
>
> This construct is done differently in Heiko's code, please review it so we
> know we have a nice, efficient parser.
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 01/22] pinctrl: generic: Add DT bindings
Date: Fri, 14 Jun 2013 00:23:26 +0200 [thread overview]
Message-ID: <1961223.akELqavQP8@avalon> (raw)
In-Reply-To: <CACRpkdYev+hapkM075Sw7Yi0u+XpRvL74SwT39DV1aV1RtHC+Q@mail.gmail.com>
Hi Linus,
On Wednesday 12 June 2013 11:24:38 Linus Walleij wrote:
> On Wed, Jun 12, 2013 at 12:22 AM, Laurent Pinchart wrote:
> > Document DT properties for the generic pinctrl parameters and add a
> > parser function.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
>
> It appears we have a race here, as something like three people,
> or four, happened to do generic pinconf bindings at the same time.
>
> Yesterday I applied Heiko St?bners patch
> "pinctrl: add function to parse generic pinconfig properties from a dt node"
> doing basically the same thing. With subtle differences...
> but it already supports schmittrigging and some more.
>
> It appears to be close to your idea though!
>
> Would it be possible for you to look at what I have on my "devel" branch
> now (same as submitted for -next), rebase on that and patch any problems?
OK, I will do so. In the meantime I'll resubmit this patch series without the
pinconf DT bindings for inclusion in v3.11, and will then post follow-up
patches to add pinconf DT support, for v3.11 or v3.12 depending on the timing.
> > + if (param->flag) {
> > + ret = of_property_read_bool(np, param->property)
> > + ? 0 : -EINVAL;
> > + val = 1;
> > + } else {
> > + ret = of_property_read_u32(np, param->property,
> > &val); + }
>
> This construct is done differently in Heiko's code, please review it so we
> know we have a nice, efficient parser.
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: "Laurent Pinchart" <laurent.pinchart+renesas@ideasonboard.com>,
"Heiko Stübner" <heiko@sntech.de>,
"linux-sh@vger.kernel.org" <linux-sh@vger.kernel.org>,
"devicetree-discuss@lists.ozlabs.org"
<devicetree-discuss@lists.ozlabs.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"Magnus Damm" <damm@opensource.se>,
"Guennadi Liakhovetski" <g.liakhovetski@gmx.de>,
"James Hogan" <james.hogan@imgtec.com>
Subject: Re: [PATCH v5 01/22] pinctrl: generic: Add DT bindings
Date: Fri, 14 Jun 2013 00:23:26 +0200 [thread overview]
Message-ID: <1961223.akELqavQP8@avalon> (raw)
In-Reply-To: <CACRpkdYev+hapkM075Sw7Yi0u+XpRvL74SwT39DV1aV1RtHC+Q@mail.gmail.com>
Hi Linus,
On Wednesday 12 June 2013 11:24:38 Linus Walleij wrote:
> On Wed, Jun 12, 2013 at 12:22 AM, Laurent Pinchart wrote:
> > Document DT properties for the generic pinctrl parameters and add a
> > parser function.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
>
> It appears we have a race here, as something like three people,
> or four, happened to do generic pinconf bindings at the same time.
>
> Yesterday I applied Heiko Stübners patch
> "pinctrl: add function to parse generic pinconfig properties from a dt node"
> doing basically the same thing. With subtle differences...
> but it already supports schmittrigging and some more.
>
> It appears to be close to your idea though!
>
> Would it be possible for you to look at what I have on my "devel" branch
> now (same as submitted for -next), rebase on that and patch any problems?
OK, I will do so. In the meantime I'll resubmit this patch series without the
pinconf DT bindings for inclusion in v3.11, and will then post follow-up
patches to add pinconf DT support, for v3.11 or v3.12 depending on the timing.
> > + if (param->flag) {
> > + ret = of_property_read_bool(np, param->property)
> > + ? 0 : -EINVAL;
> > + val = 1;
> > + } else {
> > + ret = of_property_read_u32(np, param->property,
> > &val); + }
>
> This construct is done differently in Heiko's code, please review it so we
> know we have a nice, efficient parser.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2013-06-13 22:23 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 22:22 [PATCH v5 00/22] SH pinctrl DT support Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 01/22] pinctrl: generic: Add DT bindings Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-12 9:24 ` Linus Walleij
2013-06-12 9:24 ` Linus Walleij
2013-06-12 9:24 ` Linus Walleij
2013-06-13 22:23 ` Laurent Pinchart [this message]
2013-06-13 22:23 ` Laurent Pinchart
2013-06-13 22:23 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 02/22] sh-pfc: Remove support for platform data Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 03/22] sh-pfc: Add DT support Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 04/22] ARM: shmobile: r8a73a4: Add pin control device to device tree Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 05/22] ARM: shmobile: r8a7740: " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 06/22] ARM: shmobile: r8a7778: " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 07/22] ARM: shmobile: r8a7778: Add GPIO controller devices " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 08/22] ARM: shmobile: r8a7779: Add pin control device " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 09/22] ARM: shmobile: r8a7779: Add GPIO controller devices " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 10/22] ARM: shmobile: r8a7790: Add pin control device " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 11/22] ARM: shmobile: r8a7790: Add GPIO controller devices " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 12/22] ARM: shmobile: sh7372: Add pin control device " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 13/22] ARM: shmobile: sh73a0: " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 14/22] ARM: shmobile: armadillo-reference: Move pinctrl mappings " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 15/22] ARM: shmobile: armadillo-reference: Add st1232 pin mappings Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 16/22] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 17/22] ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 18/22] ARM: shmobile: kzm9g-reference: Move pinctrl mappings to " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 19/22] ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 20/22] ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 21/22] ARM: shmobile: marzen-reference: Move pinctrl mappings to " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` [PATCH v5 22/22] ARM: shmobile: marzen-reference: Add LED2-LED4 to the " Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
2013-06-11 22:22 ` Laurent Pinchart
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=1961223.akELqavQP8@avalon \
--to=laurent.pinchart@ideasonboard.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.