From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jan Luebbe <jlu@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 04/12] mach-davinci: setup pin mux for da850
Date: Tue, 26 Jun 2012 21:00:46 +0200 [thread overview]
Message-ID: <20120626190046.GO14321@pengutronix.de> (raw)
In-Reply-To: <1340704314-12593-5-git-send-email-jlu@pengutronix.de>
On Tue, Jun 26, 2012 at 11:51:46AM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
> ---
> arch/arm/mach-davinci/Makefile | 1 +
> arch/arm/mach-davinci/da850.c | 279 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 280 insertions(+)
> create mode 100644 arch/arm/mach-davinci/da850.c
>
> diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile
> index 936566e..d617d9e 100644
> --- a/arch/arm/mach-davinci/Makefile
> +++ b/arch/arm/mach-davinci/Makefile
> @@ -1,4 +1,5 @@
> obj-y += clock.o
> obj-y += clocksource.o
> +obj-y += da850.o
> obj-y += gpio.o
> obj-y += mux.o
> diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
> new file mode 100644
> index 0000000..5d89a87
> --- /dev/null
> +++ b/arch/arm/mach-davinci/da850.c
> +
> +static int da8xx_mux_init(void)
> +{
> + if (davinci_cfg_reg_list(da850_uart2_pins))
> + printf("mux failed for da850_uart2_pins\n");
> +
> + if (davinci_cfg_reg_list(da850_gpio_pins))
> + printf("mux failed for da850_gpio_pins\n");
> +
> + if (davinci_cfg_reg_list(da850_emifa_pins))
> + printf("mux failed for da850_emifa_pins\n");
> +
> + if (davinci_cfg_reg_list(da850_spi0_pins))
> + printf("mux failed for da850_spi0_pins\n");
> +
> + if (davinci_cfg_reg_list(da850_spi1_pins))
> + printf("mux failed for da850_spi1_pins\n");
> +
> + if (davinci_cfg_reg_list(da850_emac_pins))
> + printf("mux failed for da850_emac_pins\n");
> +
> + return 0;
> +}
> +postconsole_initcall(da8xx_mux_init);
Is this really common to all da8xx boards?
Sascha
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-06-26 19:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 9:51 Add basic support for the OMAP-L138/DA850 Jan Luebbe
2012-06-26 9:51 ` [PATCH 01/12] mach-davinci: add platform and minimal board file for HMI10 Jan Luebbe
2012-06-26 9:51 ` [PATCH 02/12] mach-davinci: add GPIO support Jan Luebbe
2012-06-26 9:51 ` [PATCH 03/12] mach-davinci: add pin mux support Jan Luebbe
2012-06-26 18:59 ` Sascha Hauer
2012-06-26 9:51 ` [PATCH 04/12] mach-davinci: setup pin mux for da850 Jan Luebbe
2012-06-26 19:00 ` Sascha Hauer [this message]
2012-06-26 9:51 ` [PATCH 05/12] mach-davinci: add support for the PSC (Power and Sleep Controller) Jan Luebbe
2012-06-26 19:02 ` Sascha Hauer
2012-06-26 9:51 ` [PATCH 06/12] mach-davinci: support the USB 1.1 host controller (based on OHCI) Jan Luebbe
2012-06-26 19:05 ` Sascha Hauer
2012-06-26 9:51 ` [PATCH 07/12] mach-davinci: add support for AEMIF (NAND flash) Jan Luebbe
2012-06-26 9:51 ` [PATCH 08/12] drivers/mtd/nand: add driver for the davinci NAND flash controller Jan Luebbe
2012-06-26 19:19 ` Sascha Hauer
2012-06-26 9:51 ` [PATCH 09/12] board hmi10: enable support for NAND Jan Luebbe
2012-06-26 9:51 ` [PATCH 10/12] drivers/spi: add driver for the davinci SPI master Jan Luebbe
2012-06-26 9:51 ` [PATCH 11/12] board hmi10: enable support for SPI Jan Luebbe
2012-06-26 9:51 ` [PATCH 12/12] board hmi10: add default config Jan Luebbe
2012-06-26 11:59 ` Add basic support for the OMAP-L138/DA850 Yegor Yefremov
2012-06-26 12:06 ` Jan Lübbe
2012-06-26 20:52 ` Yegor Yefremov
2012-06-29 11:42 ` [PATCH] Initial BeagleBone support for second stage Jan Luebbe
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=20120626190046.GO14321@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=jlu@pengutronix.de \
/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