From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [RFC 08/10] ARM: shmobile: r8a7790: lager: i2c support
Date: Fri, 30 Aug 2013 17:35:15 +0000 [thread overview]
Message-ID: <5220D7D3.8000002@cogentembedded.com> (raw)
In-Reply-To: <1377866264-21110-9-git-send-email-ulrich.hecht@gmail.com>
Hello.
On 08/30/2013 04:37 PM, Ulrich Hecht wrote:
> Enables the four i2c busses on the Lager board.
> Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com>
> ---
> arch/arm/mach-shmobile/board-lager.c | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
> index 4c3e694..c6b5f21 100644
> --- a/arch/arm/mach-shmobile/board-lager.c
> +++ b/arch/arm/mach-shmobile/board-lager.c
[...]
> @@ -220,6 +243,15 @@ static void __init lager_add_standard_devices(void)
> ðer_pdata, sizeof(ether_pdata));
>
> lager_add_du_device();
> +
> + r8a7790_add_i2c_device(0, &i2c_pdata);
> + r8a7790_add_i2c_device(1, &i2c_pdata);
> + r8a7790_add_i2c_device(2, &i2c_pdata);
> + r8a7790_add_i2c_device(3, &i2c_pdata);
> +
> + /* I2C channels 0 and 3 are wired to external connectors; channel 1
> + has only one device (da9063) for which no driver exists. */
The preferred kernel multi-line comment style is this:
/*
* bla
* bla
*/
WBR, Sergei
prev parent reply other threads:[~2013-08-30 17:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 12:37 [RFC 08/10] ARM: shmobile: r8a7790: lager: i2c support Ulrich Hecht
2013-08-30 17:35 ` Sergei Shtylyov [this message]
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=5220D7D3.8000002@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-sh@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).