Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254645

Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants

From "Andrew F. Davis" <afd@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants
Date 2015-10-23 16:40 +0200
Message-ID <qmLFE-4cC-17@gated-at.bofh.it> (permalink)
References <qmqUy-7Ri-21@gated-at.bofh.it> <qmvAS-6ed-1@gated-at.bofh.it> <qmKgz-2iZ-31@gated-at.bofh.it> <qmLvX-41p-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/23/2015 09:29 AM, Javier Martinez Canillas wrote:
> Hello Andrew,
>
> On Fri, Oct 23, 2015 at 3:08 PM, Andrew F. Davis <afd@ti.com> wrote:
>> On 10/22/2015 04:23 PM, Tony Lindgren wrote:
>>>
>>> * Andrew F. Davis <afd@ti.com> [151022 09:21]:
>>>>
>>>> Using constants for pinctrl allows better readability and removes
>>>> redundancy with comments.
>>>
>>>
>>> You should use the include/dt-bindings/pinctrl/omap.h macro
>>> AM33XX_IOPAD(pa, val) while at it. Otherwise we'll end up patching
>>> the same things again later on.
>>>
>>
>> Hmm, I haven't really been following this change, it kind of seems to add
>> some unnecessary abstraction by using physical hardware addresses instead
>> of offsets, then just converting them back to offsets. The offset style DT
>> nodes are already auto-generated with existing tools anyway:
>> https://dev.ti.com/pinmux
>>
>> I'm sure this has been discussed already so if this is a blocker I'll
>> re-spin this.
>>
>
> The good thing about the IOPAD pinmux macros is that matches what is
> in the TRM so it is easier to read the DTS and verify that is correct.
>
> I've on my queue to migrate all the remaining DTS for TI SoCs to use
> the IOPAD macros but is just that I didn't have time to do it this
> week. Probably I'll do it at the end of the next week.
>

Then this patch can probably be dropped, hopefully the converted constants
in this patch can be of some help for you though.

Andrew

>> Andrew
>>
>>
>>> Regards,
>>>
>
> Best regards,
> Javier
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants "Andrew F. Davis" <afd@ti.com> - 2015-10-22 18:30 +0200
  Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants Tony Lindgren <tony@atomide.com> - 2015-10-22 23:30 +0200
    Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants "Andrew F. Davis" <afd@ti.com> - 2015-10-23 15:10 +0200
      Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants Javier Martinez Canillas <javier@dowhile0.org> - 2015-10-23 16:30 +0200
        Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants "Andrew F. Davis" <afd@ti.com> - 2015-10-23 16:40 +0200
          Re: [PATCH] ARM: dts: am335x-boneblack: Use pinctrl constants Javier Martinez Canillas <javier@dowhile0.org> - 2015-10-23 16:50 +0200

csiph-web