linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mcrapet@gmail.com (Matthieu Crapet)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ep93xx: register the pwm devices on the ts-72xx dev boards
Date: Wed, 06 Jan 2010 07:40:28 +0100	[thread overview]
Message-ID: <4B44305C.3030305@gmail.com> (raw)

ep93xx: register the pwm devices on the ts-72xx dev boards

Add the platform init code to register the pwm devices that exist
on the various ts-72xx development boards.

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>

---

diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c
index 259f782..1a831a5 100644
--- a/arch/arm/mach-ep93xx/ts72xx.c
+++ b/arch/arm/mach-ep93xx/ts72xx.c
@@ -177,6 +177,9 @@ static void __init ts72xx_init_machine(void)
        platform_device_register(&ts72xx_rtc_device);
 
        ep93xx_register_eth(&ts72xx_eth_data, 1);
+
+       /* PWM1 is DIO_6 on TS-72xx header */
+       ep93xx_register_pwm(0, 1);
 }
 
 MACHINE_START(TS72XX, "Technologic Systems TS-72xx SBC")

                 reply	other threads:[~2010-01-06  6:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4B44305C.3030305@gmail.com \
    --to=mcrapet@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).