From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: imx5: start numbering pad from 0
Date: Wed, 15 Aug 2012 09:39:02 -0600 [thread overview]
Message-ID: <502BC296.8030108@wwwdotorg.org> (raw)
In-Reply-To: <20120815135947.GC2258@S2101-09.ap.freescale.net>
On 08/15/2012 07:59 AM, Shawn Guo wrote:
> On Wed, Aug 15, 2012 at 05:25:40PM +0800, Dong Aisheng wrote:
>> On Wed, Aug 15, 2012 at 03:51:17PM +0800, Uwe Kleine-K?nig wrote:
>>> That is just
>>>
>>> #define MX35_PAD_COMPARE__SDMA_EXTDMA_2 11
>>>
>>> vs.
>>>
>>> #define MX35_PAD_COMPARE__SDMA_EXTDMA_2 0x32c, 0x008, 7, 0x0, 0
>>>
>>> isn't it? (Actually I'd not go for cpp as preprocessor, but that's a
>>> different story.)
>>>
>> Hmm, not sure if dt macro may support this kind of syntax but yes if it supports.
>> Grant,
>> Do you know if dt macro can support it?
>>
> I have the same doubt there. Copied Stephen who might have a better
> insight on this.
You mean like C pre-processor on .dts files? There's currently no
support for anything like that at all, with either syntax above. I
honestly don't know if/when there will be.
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
"Dong Aisheng"
<dong.aisheng-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
"Uwe Kleine-König"
<u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Subject: Re: [PATCH] pinctrl: imx5: start numbering pad from 0
Date: Wed, 15 Aug 2012 09:39:02 -0600 [thread overview]
Message-ID: <502BC296.8030108@wwwdotorg.org> (raw)
In-Reply-To: <20120815135947.GC2258-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
On 08/15/2012 07:59 AM, Shawn Guo wrote:
> On Wed, Aug 15, 2012 at 05:25:40PM +0800, Dong Aisheng wrote:
>> On Wed, Aug 15, 2012 at 03:51:17PM +0800, Uwe Kleine-König wrote:
>>> That is just
>>>
>>> #define MX35_PAD_COMPARE__SDMA_EXTDMA_2 11
>>>
>>> vs.
>>>
>>> #define MX35_PAD_COMPARE__SDMA_EXTDMA_2 0x32c, 0x008, 7, 0x0, 0
>>>
>>> isn't it? (Actually I'd not go for cpp as preprocessor, but that's a
>>> different story.)
>>>
>> Hmm, not sure if dt macro may support this kind of syntax but yes if it supports.
>> Grant,
>> Do you know if dt macro can support it?
>>
> I have the same doubt there. Copied Stephen who might have a better
> insight on this.
You mean like C pre-processor on .dts files? There's currently no
support for anything like that at all, with either syntax above. I
honestly don't know if/when there will be.
next prev parent reply other threads:[~2012-08-15 15:39 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 14:47 [PATCH] pinctrl: imx5: start numbering pad from 0 Shawn Guo
2012-08-13 15:12 ` Matt Sealey
2012-08-14 7:20 ` Dong Aisheng
2012-08-14 19:37 ` Matt Sealey
2012-08-15 3:59 ` Dong Aisheng
2012-08-15 5:44 ` Uwe Kleine-König
2012-08-15 5:44 ` Uwe Kleine-König
2012-08-15 6:55 ` Dong Aisheng
2012-08-15 6:55 ` Dong Aisheng
2012-08-15 7:51 ` Uwe Kleine-König
2012-08-15 7:51 ` Uwe Kleine-König
2012-08-15 9:25 ` Dong Aisheng
2012-08-15 9:25 ` Dong Aisheng
2012-08-15 10:33 ` Dong Aisheng
2012-08-15 10:33 ` Dong Aisheng
2012-08-15 13:59 ` Shawn Guo
2012-08-15 13:59 ` Shawn Guo
2012-08-15 15:31 ` Shawn Guo
2012-08-15 15:31 ` Shawn Guo
2012-08-15 16:49 ` Matt Sealey
2012-08-15 16:49 ` Matt Sealey
2012-08-16 3:45 ` Shawn Guo
2012-08-16 3:45 ` Shawn Guo
2012-08-16 17:39 ` Matt Sealey
2012-08-16 17:39 ` Matt Sealey
2012-08-15 15:39 ` Stephen Warren [this message]
2012-08-15 15:39 ` Stephen Warren
2012-08-16 3:30 ` Dong Aisheng
2012-08-16 3:30 ` Dong Aisheng
2012-08-16 18:51 ` Matt Sealey
2012-08-16 18:51 ` Matt Sealey
2012-08-16 21:12 ` Stephen Warren
2012-08-16 21:12 ` Stephen Warren
2012-08-21 12:52 ` Linus Walleij
2012-08-21 12:52 ` Linus Walleij
2012-08-21 12:46 ` Linus Walleij
2012-08-21 12:46 ` Linus Walleij
2012-08-13 19:26 ` Troy Kisky
2012-08-14 7:30 ` Dong Aisheng
2012-08-14 18:09 ` Troy Kisky
2012-08-15 4:00 ` Dong Aisheng
2012-08-14 8:13 ` Linus Walleij
2012-08-14 8:22 ` Shawn Guo
2012-08-14 9:48 ` Linus Walleij
2012-08-14 9:50 ` Linus Walleij
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=502BC296.8030108@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--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.