mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
a8f3740feb
These are device tree conversions for a number of platforms, with the intention of turning code from board files into device tree descriptions. Notable changes are: * davinci bindings for pinctrl, MTD, RTC, watchdog and i2c * nomadik bindings for all devices, removing the board files * bcm2835 bindings for mmc and i2c * tegra bindings for hdmi, keyboard, audio, as well as some updates * at91 bindings for hardware ecc and for devices on RM9200 * mxs bindings for cfa100xx * sunxi support for Miniand Hackberry board -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUAUSUyRWCrR//JCVInAQKjPg/6AlHFCcLd2ZNjbp/br9uY9VGDTXC8XBJP aIlEIujOi8PZUzyOK+RfAbMtI9EYlFIM1angoQE2x4E8Wf/5bh0zMD1qdsndhceV acBGcUug4hv1OBFU+VZNNHu+WzcbiWIwNPXGksIOZpgkYJ+6P2BqVdv/HgwdKiJD /Qo5iO6qNeYW387DcVXY5GoDhof56WtsUkb7VrXn5z/ewTq+xu+GuDaAtdsKjHyW hjsAjv6BCCf4fKjxGVhePdVqMtTv3pwVQO0B3DuXdNLESecpTobin/jc+oCSY9Yy LI21KOjjwYYQahwVsNp2sMcfmbVzeOyHqITF/Qt11OY4YtPbf4OBPM61TDqIYlJ3 0PoBtm4AL24wiKSCSiQNn6k7woW531r65lqpGOKYoglGYo50gCvxzsBZYkGzpEkV 7JmUm76Ohppk5QDhO/pIQBFE783IA9rjMg+aPc0SDDwrr499iGBZ2nM7s75MThkm EjHpf4O8JYsXj9KANo9D5cL4zupdnH1jm+qhD8zl9w7EBQXJ6zXy38FaUy04Lgr1 NkHEtwlAeNJ0W6qpu89cNZEaerzeF6uzEFgp06dMwy8X+/NTCLXM1kCJC+mytW83 aFYDlQedqnXeh9fDCrkbYDA8HGKZm0ENxoLOx40iqF761h8cBfhfCIEObClKhXy2 mGBl4NF5ZAU= =NLEa -----END PGP SIGNATURE----- Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC device tree conversions from Arnd Bergmann: "These are device tree conversions for a number of platforms, with the intention of turning code from board files into device tree descriptions. Notable changes are: - davinci bindings for pinctrl, MTD, RTC, watchdog and i2c - nomadik bindings for all devices, removing the board files - bcm2835 bindings for mmc and i2c - tegra bindings for hdmi, keyboard, audio, as well as some updates - at91 bindings for hardware ecc and for devices on RM9200 - mxs bindings for cfa100xx - sunxi support for Miniand Hackberry board" * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (72 commits) Revert "sunxi: a10-cubieboard: Add user LEDs to the device tree" Revert "sunxi: a13-olinuxino: Add user LED to the device tree" clk: tegra: initialise parent of uart clocks ARM: tegra: remove clock-frequency properties from serial nodes clk: tegra: fix driver to match DT binding clk: tegra: local arrays should be static clk: tegra: Add missing spinlock for hclk and pclk clk: tegra: Implement locking for super clock clk: tegra: fix wrong clock index between se to sata_cold sunxi: a13-olinuxino: Add user LED to the device tree ARM: davinci: da850 DT: add support for machine reboot ARM: davinci: da850: add wdt DT node ARM: davinci: da850: add DT node for I2C0 ARM: at91: at91sam9n12: add DT parameters to enable PMECC ARM: at91: at91sam9x5: add DT parameters to enable PMECC ARM: at91: add EMAC bindings to RM9200 DT ARM: at91: add SSC bindings to RM9200 DT ARM: at91: add MMC bindings to RM9200 DT ARM: at91: Animeo IP: enable watchdog support ARM: nomadik: fix OF compilation regression ...
61 lines
1.7 KiB
C
61 lines
1.7 KiB
C
/*
|
|
* Copyright (C) 2008 STMicroelectronics
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_UNCOMPRESS_H
|
|
#define __ASM_ARCH_UNCOMPRESS_H
|
|
|
|
#include <asm/setup.h>
|
|
#include <asm/io.h>
|
|
|
|
/* we need the constants in amba/serial.h, but it refers to amba_device */
|
|
struct amba_device;
|
|
#include <linux/amba/serial.h>
|
|
|
|
#define NOMADIK_UART_DR (void __iomem *)0x101FB000
|
|
#define NOMADIK_UART_LCRH (void __iomem *)0x101FB02c
|
|
#define NOMADIK_UART_CR (void __iomem *)0x101FB030
|
|
#define NOMADIK_UART_FR (void __iomem *)0x101FB018
|
|
|
|
static void putc(const char c)
|
|
{
|
|
/* Do nothing if the UART is not enabled. */
|
|
if (!(readb(NOMADIK_UART_CR) & UART01x_CR_UARTEN))
|
|
return;
|
|
|
|
if (c == '\n')
|
|
putc('\r');
|
|
|
|
while (readb(NOMADIK_UART_FR) & UART01x_FR_TXFF)
|
|
barrier();
|
|
writeb(c, NOMADIK_UART_DR);
|
|
}
|
|
|
|
static void flush(void)
|
|
{
|
|
if (!(readb(NOMADIK_UART_CR) & UART01x_CR_UARTEN))
|
|
return;
|
|
while (readb(NOMADIK_UART_FR) & UART01x_FR_BUSY)
|
|
barrier();
|
|
}
|
|
|
|
static inline void arch_decomp_setup(void)
|
|
{
|
|
}
|
|
|
|
#endif /* __ASM_ARCH_UNCOMPRESS_H */
|