9
0
Fork 0
Commit Graph

11319 Commits

Author SHA1 Message Date
Sascha Hauer 3fae863387 dts: update to v3.15-rc5
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 10:11:28 +02:00
Michael Olbrich ab353f0c4e ARM: mini2440: update defconfig
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:44:58 +02:00
Michael Olbrich 81d081d1ad ARM: mini2440: switch to env2
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:39:14 +02:00
Michael Olbrich f104f55c04 net: dm9k: only read on packet for each call to dm9k_eth_rx()
Some users such as fs/nfs.c just save the pointer to the packet in the
handler and process it after net_poll() returns. This break when more than
one packet is received using the same buffer.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:38:43 +02:00
Michael Olbrich 558d72dc51 ARM Samsung: fix booting from NAND with pbl
The ARM pbl is linked at (TEXT_BASE - SZ_2M). This conflicts with the temporary
stack used in s3c24x0_nand_boot. Moving the stack to (TEXT_BASE - SZ_2M) fixes
this problem. With this patch a compressed barebox with pbl can boot on
mini2440 from NAND.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:37:27 +02:00
Silvio Fricke 9f297c8754 ARM: i.MX: edmqmx6: disable menu framework
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:18:02 +02:00
Wadim Egorov c4832fcd16 phycore-am335x: Added bbu nand xloadslots handler
Added bbu nand xloadslots handler to phycore-am335x.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:15:59 +02:00
Wadim Egorov 2565cac2cf ARM: omap: barebox update nand xloadslots handler
- Added barebox nand xloadslots update handler
- This handler updates all given xload slots in nand

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 09:15:39 +02:00
Sascha Hauer d8767b95d6 ARM: dts: i.MX6: drop now unused imx6qdl-pingrp.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:19 +02:00
Sascha Hauer a5207a633a ARM: dts: i.MX6: drop usage of pin group defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:19 +02:00
Sascha Hauer eeb3cd1369 ARM: dts: i.MX6qdl-nitrogen6x: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:19 +02:00
Sascha Hauer a20779be76 ARM: dts: i.MX6qdl-microsom: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:19 +02:00
Sascha Hauer 87fce28f39 ARM: dts: i.MX6qdl-dfi-fs700-m60: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:18 +02:00
Sascha Hauer a1da469359 ARM: dts: i.MX6q-sabreslite: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:18 +02:00
Sascha Hauer c60b5bbead ARM: dts: i.MX6qdl-sabresd: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:18 +02:00
Sascha Hauer b0141a9083 ARM: dts: i.MX6q-gk802: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:18 +02:00
Sascha Hauer 9b1126e00a ARM: dts: i.MX6dl-hummingboard: Use upstream dts file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:18 +02:00
Sascha Hauer d2e80db0a3 ARM: dts: i.MX51 babbage: overwrite upstream FEC iomux settings
As of v3.15-rc4 these contain NO_PAD_CTRL settings which are not
suitable for an initial setup. Overwrite upstream settings until
these are fixed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:18 +02:00
Sascha Hauer 7fe470e3e0 ARM: i.MX51 babbage: use mc13xxx_register_callback to initialize PMIC
This makes sure the PMIC is initialized once it's available. Move the
initcall to coredevice_initcall to make sure we initialize the PMIC
before the FEC driver is initialized. The ethernet phy needs vgen3
enabled in the PMIC initialization.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:37:13 +02:00
Sascha Hauer b42bcee8f4 mfd: mc13xxx: move to coredevice_initcall
The PMIC is often a dependency for other devices, so make sure
it's initialized early. While at it, merge the spi/i2c registration
into a single initcall and use IS_ENABLED instead of ifdefs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:36:37 +02:00
Sascha Hauer b90e1f70c8 spi: i.MX: Move to coredevice_initcall
SPI is often used by other devices, so make sure it's initialized
early.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:36:37 +02:00
Sascha Hauer 214f0d9264 mfd: mc13xxx: Allow to set callback for mc13xxx
Some boards have to initialize the PMIC before other devices can
be initialized. This requires three levels of initcalls: one level
in which the PMIC is probed, one in which the board can call mc13xxx_get()
and the third one to initialize the PMIC dependent devices.

Allow to register a callback which is called once the PMIC is initialized.
This way mc13xxx_get() is no longer necessary and the number of required
initcalls levels is reduced to two.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-19 08:36:33 +02:00
Sascha Hauer f81f26afbd hush: setting variables may fail
In case of device parameters setting variables may fail. return
the result of set_local_var so that the user has a chance to detect
the failure with $?.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-16 15:12:57 +02:00
Sascha Hauer 579dce92c8 ARM: i.MX: iim: Check result of dev_request_mem_region
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-16 09:13:55 +02:00
Steffen Trumtrar 852867e078 syscon: fix prototype compile error
gcc 4.8.3 throws the following error

include/mfd/syscon.h: In function 'syscon_base_lookup_by_pdevname':
include/mfd/syscon.h:22:1: error: parameter name omitted
 static inline void __iomem *syscon_base_lookup_by_pdevname(const char *)

Fix it by adding the name to the function prototype.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-16 08:04:22 +02:00
Franck Jullien b4ce62d3d2 drivers/net/ethoc: add mdio bus support
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-16 08:02:59 +02:00
Holger Schurig 46e8eb8219 commands: rename "gpiolib" -> "gpioinfo"
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 15:00:53 +02:00
Holger Schurig 0b6d24c0d7 magicvars: can now also list values
Also uppercased the abbreviation GPIO in printf.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:44:33 +02:00
Lucas Stach ec4b4a6406 images: tegra: rename ac100 image
To make it clear that this image is only suitable
for loading via usbloader. We can't do anything
about this, as there is no upstream BCT available
for AC100.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:26 +02:00
Lucas Stach f2a17be263 images: tegra: build NVidia Beaver image
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:26 +02:00
Lucas Stach 820f37ce0a ARM: boards: beaver: import BCT cfg
From https://github.com/NVIDIA/cbootimage-configs.git

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach 669a7911a8 images: tegra: build all Toradex Colibri images
Six images for the the 256MB and 512MB version with
different boot sources (MMC, NAND [different chips on
pre-/production modules]).

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach 57196a5df9 ARM: boards: colibri t20: import BCT cfgs
From https://github.com/NVIDIA/cbootimage-configs.git

There are a bunch of different versions and boot options
for this board. Import BCTs for all of them.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach c3bb8574c6 images: add Tegra30 image build rules
Allows to build persistent images for the Tegra30
line of SoCs.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach 8c08cd524d images: add Tegra20 image build rules
Allows to build persistent images for the Tegra20
line of SoCs.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach 4f84368972 Makefile.lib: add rule to built Tegra BCTs
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach faae9deff3 tegra: cbootimage: remove noisy output
Our build is quiet by default, so don't allow cbootimage
to spam our logs.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach ce41c53bf3 scripts: tegra: import cbootimage
Needed to built the BCTs and bootable images.

Version 1.2 from https://github.com/NVIDIA/cbootimage.git

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:19:25 +02:00
Lucas Stach fd940ff651 pinctrl: tegra30: parse drive groups
These are special groups to configure pad properties
such as drive strength and slew rate for a group of
pads.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:13 +02:00
Lucas Stach 840896e227 mci: tegra: don't set 8bit mode unconditionally
Those flags should be set from the DT parsing code.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach ce41b64299 mci: tegra: apply pad autocalibration on T30
Needed for SD cards connected to sdmmc1 or sdmmc3
to work properly.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach 1fc137d4cd ARM: tegra: beaver: adjust pinmux to make sdmmc1 work
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach 5f2965cc80 ARM: tegra: beaver: activate sdmmc1 voltage rail
In order to get the SD card solt working.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach bcd83cc862 i2c: add Tegra driver
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach bf9b3842b4 clk: tegra20: register i2c clocks
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach 86a752954b clk: tegra30: register i2c clocks
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach a1f576c1e9 clk: tegra: allow to register clocks with 16 bit divider
Some peripherals have a double wide divider in front
of them.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach bbe4ddd10c clk: tegra: remove device reset hack
Now that we have a proper reset controller, it
isn't necessary anymore to keep the device reset
hack coupled to the clock.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach 17a72b1f16 mci: tegra: add reset control
Enable the driver to reset the device itself.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00
Lucas Stach ee493a6152 clk: tegra: reset UARTS from clock controller
The console devices are the only ones that can't
use the reset controller properly, as they get
registered from platform code. Reset those devices
from the clock controller.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-15 14:17:12 +02:00