public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 07/11] ARM: tegra: pinmux naming consistency fixes
Date: Fri, 14 Mar 2014 17:43:04 -0600	[thread overview]
Message-ID: <53239408.9070101@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ11Ao+gqRUpamNjicupqUwSLztbph94yV5Dy=283SDBhQ@mail.gmail.com>

On 03/14/2014 02:15 PM, Simon Glass wrote:
> Hi Stephen,
> 
> On 13 March 2014 11:42, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> From: Stephen Warren <swarren@nvidia.com>
>>
>> Clean up the naming of pinmux-related objects:
>> * Refer to drive groups rather than pad groups to match the Linux kernel.
>> * Ensure all pinmux API types are prefixed with pmux_, values (defines)
>>   are prefixed with PMUX_, and functions prefixed with pinmux_.
>> * Modify a few type names to make their content clearer.
>> * Minimal changes to SoC-specific .h/.c files are made so the code still
>>   compiles. A separate per-SoC change will be made immediately following,
>>   in order to keep individual patch size down.

>> diff --git a/arch/arm/include/asm/arch-tegra114/pinmux.h b/arch/arm/include/asm/arch-tegra114/pinmux.h

>> @@ -202,10 +202,10 @@ enum pmux_pingrp {
>>         PINGRP_SDMMC3_CLK_LB_IN,
>>         PINGRP_SDMMC3_CLK_LB_OUT,
>>         PINGRP_RESET_OUT_N = PINGRP_SDMMC3_CLK_LB_OUT + 2,
>> -       PINGRP_COUNT,
>> +       PMUX_PINGRP_COUNT,
> 
> It seems odd that this doesn't match the others. Why not a PMUX_
> prefix on all of them? Same comment in other cases below.

This is fixed in the per-SoC patches that follow, which replace the
contents of all the data tables with fresh content. Logically, those
patches are also part of this patch, but I split them up into a core
patch which made minimal changes to the per-SoC files, and per-SoC
patches, simply to keep the patch size down.

I'll look into your other comments when I get back on Wednesday; I have
a short trip planned:-)

  reply	other threads:[~2014-03-14 23:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 17:41 [U-Boot] [PATCH 00/11] ARM: tegra: pinmux driver cleanup Stephen Warren
2014-03-13 17:41 ` [U-Boot] [PATCH 01/11] ARM: tegra: pinctrl: remove func_safe Stephen Warren
2014-03-14 18:22   ` Simon Glass
2014-03-14 18:45     ` Stephen Warren
2014-03-13 17:41 ` [U-Boot] [PATCH 02/11] ARM: tegra: pinctrl: remove vddio Stephen Warren
2014-03-14 18:23   ` Simon Glass
2014-03-13 17:41 ` [U-Boot] [PATCH 03/11] ARM: tegra: pinctrl: make pmux_func values consistent on Tegra20 Stephen Warren
2014-03-14 18:25   ` Simon Glass
2014-03-13 17:42 ` [U-Boot] [PATCH 04/11] ARM: tegra: prototype pinmux_init() in board.h Stephen Warren
2014-03-14 18:26   ` Simon Glass
2014-03-13 17:42 ` [U-Boot] [PATCH 05/11] ARM: tegra: pinctrl: remove duplication Stephen Warren
2014-03-14 19:37   ` Simon Glass
2014-03-20 19:57     ` Stephen Warren
2014-03-21  1:25       ` Simon Glass
2014-03-21  4:07         ` Stephen Warren
2014-03-13 17:42 ` [U-Boot] [PATCH 06/11] ARM: tegra: reduce public pinmux API Stephen Warren
2014-03-14 19:39   ` Simon Glass
2014-03-13 17:42 ` [U-Boot] [PATCH 07/11] ARM: tegra: pinmux naming consistency fixes Stephen Warren
2014-03-14 20:15   ` Simon Glass
2014-03-14 23:43     ` Stephen Warren [this message]
2014-03-20 19:08     ` Stephen Warren
2014-03-13 17:42 ` [U-Boot] [PATCH 08/11] ARM: tegra: Tegra20 pinmux cleanup Stephen Warren
2014-03-13 17:42 ` [U-Boot] [PATCH 09/11] ARM: tegra: Tegra30 " Stephen Warren
2014-03-13 17:42 ` [U-Boot] [PATCH 10/11] ARM: tegra: Tegra114 " Stephen Warren
2014-03-13 17:42 ` [U-Boot] [PATCH 11/11] ARM: tegra: Tegra124 " Stephen Warren

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=53239408.9070101@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox