From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [patch v2 2/2] efika mx/sb: enable watchdog
Date: Thu, 3 Mar 2011 13:54:04 +0100 [thread overview]
Message-ID: <20110303125404.GM29521@pengutronix.de> (raw)
In-Reply-To: <20110302185002.798370465@rtp-net.org>
Arnaud,
On Wed, Mar 02, 2011 at 07:45:14PM +0100, Arnaud Patard wrote:
> Register watchdog for efika mx and sb systems.
I promised myself to keep a better eye on patches I can't take because
they have dependencies to other subsystems. This patch is one of those
as it depends on the wdi_reboot field in the platform data.
Can you please resend this once the other patches have hit mainline?
Sascha
>
> v2:
> - reorder Kconfig entry
> - set wdi_reboot in mc13xxx platform data
>
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
>
> Index: linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c
> ===================================================================
> --- linux-2.6-submit.orig/arch/arm/mach-mx5/mx51_efika.c 2011-03-01 22:24:31.000000000 +0100
> +++ linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c 2011-03-01 22:36:35.000000000 +0100
> @@ -574,6 +574,7 @@
> .flags = MC13XXX_USE_RTC | MC13XXX_USE_REGULATOR,
> .num_regulators = ARRAY_SIZE(mx51_efika_regulators),
> .regulators = mx51_efika_regulators,
> + .wdi_reboot = 1,
> };
>
> static struct spi_board_info mx51_efika_spi_board_info[] __initdata = {
> @@ -611,6 +612,7 @@
> ARRAY_SIZE(mx51efika_pads));
> imx51_add_imx_uart(0, &uart_pdata);
> mx51_efika_usb();
> + imx51_add_imx2_wdt(0, NULL);
> imx51_add_sdhci_esdhc_imx(0, NULL);
>
> /* FIXME: comes from original code. check this. */
> Index: linux-2.6-submit/arch/arm/mach-mx5/Kconfig
> ===================================================================
> --- linux-2.6-submit.orig/arch/arm/mach-mx5/Kconfig 2011-03-01 22:24:31.000000000 +0100
> +++ linux-2.6-submit/arch/arm/mach-mx5/Kconfig 2011-03-01 22:35:47.000000000 +0100
> @@ -116,6 +116,7 @@
> config MX51_EFIKA_COMMON
> bool
> select SOC_IMX51
> + select IMX_HAVE_PLATFORM_IMX2_WDT
> select IMX_HAVE_PLATFORM_IMX_UART
> select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
> select IMX_HAVE_PLATFORM_SPI_IMX
>
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2011-03-03 12:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 18:45 [patch v2 0/2] Get watchdog reboot working on efika smartbook Arnaud Patard (Rtp)
2011-03-02 18:45 ` [patch v2 1/2] mc13892: reboot on wdi event Arnaud Patard (Rtp)
2011-03-02 19:47 ` Uwe Kleine-König
2011-03-02 19:58 ` Arnaud Patard (Rtp)
2011-03-03 12:22 ` Sergei Shtylyov
2011-03-02 18:45 ` [patch v2 2/2] efika mx/sb: enable watchdog Arnaud Patard (Rtp)
2011-03-03 12:54 ` Sascha Hauer [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=20110303125404.GM29521@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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).