public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: alex@digriz.org.uk (Alexander Clouter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7] OpenRD: Enable SD/UART selection for serial port 1
Date: Thu, 26 Aug 2010 09:25:28 +0100	[thread overview]
Message-ID: <20100826082528.GM9915@chipmunk> (raw)
In-Reply-To: <1282801318-2291-1-git-send-email-tanmay.upadhyay@einfochips.com>

* Tanmay Upadhyay <tanmay.upadhyay@einfochips.com> [2010-08-26 11:11:58+0530]:
>
> This patch enables users to choose either the SDIO interface or UART1
> (RS232/RS485). The selection can be done through kernel parameter.
> 
> By default the port would be used for SDIO interface. Passing the string
> "kw_openrd_init_uart1=232" or "kw_openrd_init_uart1=485" enables either
> the RS-232 or RS-485 port respectively; disabling the SDIO interface.
> Anything else selects the default SDIO interface.
> 
> "kw_openrd_init_uart1=485" is ignored on OpenRD-Base as it doesn't
> have RS485 port.
> 
> v2 - use gpio* functions instead of read/write to set/reset GPIO
> v3 - notify user when wrong kernel paramter is passed
> v4 - use linux/gpio.h instead of mach/gpio.h
> v5 - changed uart1_mpp_config to be static, global & __initdata
> v6 - changed kernel parameter to 'kw_openrd_init_uart1=...' from 'uart=...'
> v7 - remove compilation error due to same name used for variable & function
> 
> Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
>
Acked-by: Alexander Clouter <alex@digriz.org.uk>

Cheers

-- 
Alexander Clouter
.sigmonster says: Experience varies directly with equipment ruined.

  reply	other threads:[~2010-08-26  8:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26  5:41 [PATCH v7] OpenRD: Enable SD/UART selection for serial port 1 Tanmay Upadhyay
2010-08-26  8:25 ` Alexander Clouter [this message]
2010-08-26  8:42   ` Samsung Linux project management status page...? Nick Pelling
2010-09-02 16:21     ` Tim Bird

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=20100826082528.GM9915@chipmunk \
    --to=alex@digriz.org.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox