summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | pinctrl: tegra: try to select "boot" stateLucas Stach2014-11-042-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New DTs call the initial pinctrl state "boot" in order to avoid Linux reconfiguring the pinctrl by default. The bootloader should explicitly set this state. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: defconfig: enable barebox OF driversLucas Stach2014-11-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We use them to configure the environment location so it's a good idea to have them available by default. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: pmc: add support for reset src detectionLucas Stach2014-11-043-0/+42
| | | | | | | | | | | | | | | | | | | | | Also activate in defconfig. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | reset_source: add thermal resetLucas Stach2014-11-042-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some SoCs are able to detect if they got reset in response to an overtemperature event. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: tegra124: add environment path to Jetson-TK1 DTLucas Stach2014-11-041-1/+8
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: tegra30: add environment path to Beaver DTLucas Stach2014-11-041-1/+8
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: jetson-tk1: set hostname in board initLucas Stach2014-11-041-2/+13
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: beaver: set hostname in board initLucas Stach2014-11-041-2/+13
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: tegra: add tegra124 supportLucas Stach2014-11-041-22/+134
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | add generic PHY frameworkLucas Stach2014-11-046-0/+583
| | | | | | | | | | | | | | | | | | | | | | | | | | | This brings in the generix PHY framework from Linux. I tried to strip it down as much as possible while keeping it useful. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: tegra124: add PCIe clocksLucas Stach2014-11-041-0/+35
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: tegra124: add PLLE setup functionsLucas Stach2014-11-042-3/+177
| | | | | | | | | | | | | | | | | | | | | | | | This adds functions to bring up the new style Tegra114+ PLL_E. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: jetson-tk1: enable 1.05V_RUNLucas Stach2014-11-043-1/+53
| | | | | | | | | | | | | | | | | | | | | Needed for the PCIe PLL amongst other things. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: pmc: work around power domain failureLucas Stach2014-11-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes a power domain didn't properly power up, reading back the command register seems to fix this by flushing the write. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: rtl8169: clean receive buffer after net handlerLucas Stach2014-11-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The processing of the buffer might change some data, which will eventually trigger a cache writeback later on, corrupting data written by the network chip. Clean the cache range to make sure there is no writeback pending. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: rtl8169: add support for RTL-8168/8111gLucas Stach2014-11-031-0/+1
| | | | | | | | | | | | | | | | | | | | | This is the version of the chip found on Jetson-TK1. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: tegra: enable network related options in defconfigLucas Stach2014-10-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Now that we have working network support on the Beaver board it makes sense to enable some network options. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: add rtl8169 driverLucas Stach2014-10-083-0/+575
| | | | | | | | | | | | | | | | | | | | | | | | This adds the driver for RealTek 8169 and compatible pci attached network chips. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: tegra: advertise PCI supportLucas Stach2014-10-082-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: add Tegra host controller driverLucas Stach2014-10-083-0/+1201
| | | | | | | | | | | | | | | | | | | | | Only tested on Tegra30 for now. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: import pci range parser from linuxLucas Stach2014-10-083-0/+126
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: pmc: add powerdomain handlingLucas Stach2014-10-082-3/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | In order to use some devices we first have to power up their power domain. Add support to do this in a generic way. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: tegra: beaver: enable PEX voltage railLucas Stach2014-10-081-1/+10
| | | | | | | | | | | | | | | | | | | | | Supply for the PCIe PLL. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i2c: tegra: move to fs initcallLucas Stach2014-10-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | i2c is needed to enable voltage rails that are later needed by other drivers. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: tegra30: add PCIe clocksLucas Stach2014-10-082-0/+33
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: tegra: add PLLE setup functionsLucas Stach2014-10-083-0/+124
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | commands: lspci: go down into subordinate bussesLucas Stach2014-10-081-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | This way we also list devices that are behind bridges. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: track parent<->child relationshipLucas Stach2014-10-082-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | So that PCI devices hang down from bridges and root bridges down from the PCI host controller when calling devinfo. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: prettyprint device namesLucas Stach2014-10-081-1/+2
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: defer device registration until after bridge setupLucas Stach2014-10-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the drivers for a device may probe before the devices parent bridge is fully configured, which leads to errors when accessing the BARs. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: setup bridges and traverse buses behind themLucas Stach2014-10-082-3/+117
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: properly populate prefetchable BARsLucas Stach2014-10-082-14/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some host controllers provide a prefetchable memory area and devices will prefer this for some of their BARs. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: add resource enumLucas Stach2014-10-082-6/+14
| | | | | | | | | | | | | | | | | | | | | Makes things way clearer than juggling numbers. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pci: split out device initLucas Stach2014-10-081-63/+74
| | | | | | | | | | | | | | | | | | | | | To make it reusable and the code more readable. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: malta: fix pci IO resource assignmentLucas Stach2014-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | Does the same thing as the Linux kernel now. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/nitrogen6x'Sascha Hauer2014-11-0511-17/+223
|\ \ \
| * | | ARM: nitrogen6x: remove clock gate manipulation from DCDSascha Hauer2014-10-083-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The clock driver will ungate all clocks anyway during startup, so manipulating them in the DCD has no effect. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: nitrogen6x: Add support for 2GB board variantsSascha Hauer2014-10-086-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The nitrogen6x have variants with 2GB SDRAM. Add support for them. The imxcfg files are from U-Boot. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: nitrogen6x: Fix Duallite RAM TimingSascha Hauer2014-10-082-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The i.MX6DL only supports up to 800MHz RAM timing, so add the corresponding file from U-Boot and use it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: nitrogen6x: update 1066MHz 4x128M16 timing from U-BootSascha Hauer2014-10-081-1/+14
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: nitrogen6x: whitespace cleanupSascha Hauer2014-10-081-6/+6
| |/ / | | | | | | | | | | | | | | | Align hex values under each other. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mxs'Sascha Hauer2014-11-055-125/+107
|\ \ \
| * | | ARM: imx23-olinuxino: discover usb before ifupDmitry Voytik2014-11-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.MX233 in OLinuXino uses LAN9512 for Ethernet connection. LAN9512 is connected to USB. Execute usb command before bringing network up. This patch makes 'ifup eth0' workable. Signed-off-by: Dmitry Voytik <voytikd@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mxs: iomux-imx23/imx28: add additional checks on modeUwe Kleine-König2014-11-031-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This catches wrong modes: - request to enable the pull up on a pin that doesn't have one. - ditto for bit keepers, drive strength and voltage Additionally only write values for a given pin if the mode has the corresponding value set. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mxs: iomux-imx23/imx28: unify mode definitionUwe Kleine-König2014-11-033-121/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.MX23 and i.MX28 iomux mode definitions differ for no good reason. Compared to the two previous definitions this introduces a few flags that are not used yet but this changes in the next commit to detect broken definitions. Apart from different constants this commit intends to be a no-op. If there are changes in the register values there is either a bug in this patch or the used mode is broken (e.g. a pullup value is defined for a pin that has a bitkeeper). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/misc'Sascha Hauer2014-11-0523-68/+875
|\ \ \ \
| * | | | common: fix mbr filetype detectionZahari Doychev2014-11-053-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes mbr is erroneously recocognised as FAT partion. Due to this the mbr partition parser is not being called and the partitions on the media are not detected. This patch should fix the problem. The checking is done as in the linux kernel. I have seen the problem using usb sticks. Although partitioning and formatting them under linux. The file system type field in the mbr remains there which causes the wrong detections as FAT32 type and not as mbr. Signed-off-by: Zahari Doychev <zahari.doychev@linux.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | serial: ns16550: Remove unused fields from NS16550_plat structureAlexander Shiyan2014-11-032-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: atmel: add sama5d4 xplained ultra board supportBo Shen2014-11-037-0/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sama5d4 xplained ultra board support following features: - NAND flash support - SPI flash support - MMC card support (MCI1) - LCD display support (with QT1070) - Ethernet support Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | Makefile: fix typosAntony Pavlov2014-11-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is based on these linux kernel commits: commit d384e35a25445bb60457b7dab8cffe178c6b7ecb Author: Linus Nilsson <lajnold@acc.umu.se> Date: Sun Jan 20 17:10:01 2008 +0100 Makefile: Change typoed 'behavour' to 'behaviour' commit fe8d0a41081d6d0912386f3672ccc0bf1d675630 Author: Kirill Smelkov <kirr@mns.spb.ru> Date: Thu Apr 9 15:34:34 2009 +0400 kbuild: fix a few typos in top-level Makefile Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>