From: David Jander <david.jander@protonic.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/4] MX51: iomux: Added support for mxc_iomux_set_input ()
Date: Fri, 20 Aug 2010 10:40:18 +0200 [thread overview]
Message-ID: <201008201040.19105.david.jander@protonic.nl> (raw)
In-Reply-To: <4C6E3889.9040708@denx.de>
Hi Stefano,
On Friday 20 August 2010 10:10:49 am Stefano Babic wrote:
> Hi Dave,
>
> > arch/arm/cpu/armv7/mx51/iomux.c | 8 +++++++-
> > 1 files changed, 7 insertions(+), 1 deletions(-)
>
> Probably iut is better you set a more useful comment in your commit.
> Instead of "Added support for mxc_iomux_set_input()", you can explain
> which is the new feature you provide. Something to explain you add a
> utility for the "daisy chain" pins, to control the input path to a
> module when the module can be connected to more as one pin.
Hmmm. I thought it was a trivial and obviously missing function to make
iomux.c complete. Someone just needed to write it. I didn't think it needed
any more explaining than that, but I'll do it in the next version of the patch
set (will take a while).
> The patch is part of a series. However, I can see only the first two
> patches. Is there something missing ? I do not see any relation between
> these two patches, too.
I sent 4 patches and received them all on the mailing-list. Are you sure you
miss two of them?
The first three patches introduce some minimal fixes/additions in order to
implement the BSP for PRTLVT2 boards (patch 4/4).
> > +void mxc_iomux_set_input(iomux_input_select_t input, u32 config)
> > +{
> > + u32 pad_reg = IOMUXSW_INPUT_CTL+(input*4);
>
> Code styling, you should add spaces:
>
> u32 pad_reg = IOMUXSW_INPUT_CTL + (input * 4);
Ok.
Best regards,
--
David Jander
Protonic Holland.
next prev parent reply other threads:[~2010-08-20 8:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 11:42 [U-Boot] [PATCH 0/4] Add support for PRTLVT2 boards David Jander
2010-08-19 11:42 ` [U-Boot] [PATCH 1/4] MX51: iomux: Added support for mxc_iomux_set_input() David Jander
2010-08-19 11:42 ` [U-Boot] [PATCH 2/4] MX51: Added missing pin definition David Jander
2010-08-19 11:42 ` [U-Boot] [PATCH 3/4] mc13982 driver: corrected/added some definitions according to latest user-manual David Jander
2010-08-19 11:42 ` [U-Boot] [PATCH 4/4] Added initial support for PRTLVT2-based boards David Jander
2010-08-19 13:03 ` Wolfgang Denk
2010-08-19 15:55 ` David Jander
2010-08-20 9:30 ` Stefano Babic
2010-08-20 9:51 ` Stefano Babic
2010-08-20 10:22 ` David Jander
2010-08-20 10:43 ` Stefano Babic
2010-08-20 8:12 ` [U-Boot] [PATCH 2/4] MX51: Added missing pin definition Stefano Babic
2010-08-20 8:41 ` David Jander
2010-08-20 8:10 ` [U-Boot] [PATCH 1/4] MX51: iomux: Added support for mxc_iomux_set_input() Stefano Babic
2010-08-20 8:40 ` David Jander [this message]
2010-08-20 9:08 ` Stefano Babic
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=201008201040.19105.david.jander@protonic.nl \
--to=david.jander@protonic.nl \
--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