All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Taehun Kim <kth3321@gmail.com>
Cc: Vasily Khoruzhick <anarsoul@gmail.com>,
	Ben Dooks <ben-linux@fluff.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Russell King <linux@arm.linux.org.uk>,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support
Date: Mon, 03 Sep 2012 10:54:06 +0200	[thread overview]
Message-ID: <5044702E.3070209@samsung.com> (raw)
In-Reply-To: <CA+E=qVfGN9_Lj5GWqERfZGQsTtnnK_fARgXuCujdVeZ0PBoJEQ@mail.gmail.com>

Hi,

On 09/03/2012 09:56 AM, Vasily Khoruzhick wrote:
>> +static void __init w5300e01_init(void)
>> +{
>> +       s3c_nand_set_platdata(&w5300e01_nand_info);
>> +       platform_add_devices(w5300e01_devices, ARRAY_SIZE(w5300e01_devices));
>> +
>> +       /* W5300 interrupt pin. */
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(0), S3C2410_GPIO_IRQ);
>> +
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(4), S3C2410_GPIO_OUTPUT);
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(5), S3C2410_GPIO_OUTPUT);
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(6), S3C2410_GPIO_OUTPUT);
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(7), S3C2410_GPIO_OUTPUT);
>> +
>> +       s3c2410_gpio_setpin(S3C2410_GPF(0), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(4), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(5), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(6), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(7), 1);
>> +
> 
> Please use gpiolib API, legacy s3c2410_gpio_* API will be removed soon.

Right, you'll find some information about this in
Documentation/arm/Samsung-S3C24XX/GPIO.txt.

These links may be useful as well:
http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg11985.html
http://www.spinics.net/lists/arm-kernel/msg192119.html

--

Regards,
Sylwester

WARNING: multiple messages have this Message-ID (diff)
From: s.nawrocki@samsung.com (Sylwester Nawrocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support
Date: Mon, 03 Sep 2012 10:54:06 +0200	[thread overview]
Message-ID: <5044702E.3070209@samsung.com> (raw)
In-Reply-To: <CA+E=qVfGN9_Lj5GWqERfZGQsTtnnK_fARgXuCujdVeZ0PBoJEQ@mail.gmail.com>

Hi,

On 09/03/2012 09:56 AM, Vasily Khoruzhick wrote:
>> +static void __init w5300e01_init(void)
>> +{
>> +       s3c_nand_set_platdata(&w5300e01_nand_info);
>> +       platform_add_devices(w5300e01_devices, ARRAY_SIZE(w5300e01_devices));
>> +
>> +       /* W5300 interrupt pin. */
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(0), S3C2410_GPIO_IRQ);
>> +
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(4), S3C2410_GPIO_OUTPUT);
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(5), S3C2410_GPIO_OUTPUT);
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(6), S3C2410_GPIO_OUTPUT);
>> +       s3c2410_gpio_cfgpin(S3C2410_GPF(7), S3C2410_GPIO_OUTPUT);
>> +
>> +       s3c2410_gpio_setpin(S3C2410_GPF(0), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(4), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(5), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(6), 1);
>> +       s3c2410_gpio_setpin(S3C2410_GPF(7), 1);
>> +
> 
> Please use gpiolib API, legacy s3c2410_gpio_* API will be removed soon.

Right, you'll find some information about this in
Documentation/arm/Samsung-S3C24XX/GPIO.txt.

These links may be useful as well:
http://www.mail-archive.com/linux-samsung-soc at vger.kernel.org/msg11985.html
http://www.spinics.net/lists/arm-kernel/msg192119.html

--

Regards,
Sylwester

  reply	other threads:[~2012-09-03  8:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03  6:20 [PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support Taehun Kim
2012-09-03  6:20 ` Taehun Kim
2012-09-03  7:56 ` Vasily Khoruzhick
2012-09-03  7:56   ` Vasily Khoruzhick
2012-09-03  8:54   ` Sylwester Nawrocki [this message]
2012-09-03  8:54     ` Sylwester Nawrocki
2012-09-03 15:39     ` Taehun Kim
2012-09-03 15:39       ` Taehun Kim
2012-09-03 17:36 ` [PATCH v2] " Taehun Kim
2012-09-03 17:36   ` Taehun Kim
2012-09-03 18:00   ` Vasily Khoruzhick
2012-09-03 18:00     ` Vasily Khoruzhick
2012-09-03 19:26   ` Sylwester Nawrocki
2012-09-03 19:26     ` Sylwester Nawrocki
2012-09-04 18:32     ` Taehun Kim
2012-09-04 18:32       ` Taehun Kim
2012-09-06  4:27 ` [PATCH v3] " Taehun Kim
2012-09-06  4:27   ` Taehun Kim
2012-09-19 23:38   ` Kukjin Kim
2012-09-19 23:38     ` Kukjin Kim
2012-11-20  4:54   ` Kukjin Kim
2012-11-20  4:54     ` Kukjin Kim

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=5044702E.3070209@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=anarsoul@gmail.com \
    --cc=ben-linux@fluff.org \
    --cc=kgene.kim@samsung.com \
    --cc=kth3321@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.