]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] pcm037: add 1wire support
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 1 Dec 2008 22:15:40 +0000 (14:15 -0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 14 Dec 2008 12:05:02 +0000 (12:05 +0000)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-mx3/pcm037.c

index 843f68c8ead11d2d1c1ada2bd017d1b93b0cd817..8cd1fdf1897c895201fde891fe88fb616d9a78aa 100644 (file)
@@ -81,6 +81,9 @@ static void __init mxc_board_init(void)
        mxc_iomux_mode(MX31_PIN_CSPI3_MISO__TXD3);
 
        mxc_register_device(&mxc_uart_device2, &uart_pdata);
+
+       mxc_iomux_mode(MX31_PIN_BATT_LINE__OWIRE);
+       mxc_register_device(&mxc_w1_master_device, NULL);
 }
 
 /*