- Nov 17, 2014
-
-
Bo Shen authored
When boot up without mac address setting, it will give the warning message like: "Warning: failed to set MAC address", however when execute network related command, it still execute them without any warning information. With this patch, it will exit directly with following information: "gmac0: mac address is not valid" It also solve the problem after bootup then set mac address and the mac address won't set to net device issue. Signed-off-by:
Bo Shen <voice.shen@atmel.com> Tested-by:
Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Nov 14, 2014
-
-
Shaohui Xie authored
NEG bit default is '1' for external MDIOs as per FMAN-v3 RM, but on some platforms, e.g. T2080QDS, this bit is '0', which leads to MDIO failure on XAUI PHY, so set this bit definitely to align with the RM. Signed-off-by:
Shaohui Xie <Shaohui.Xie@freescale.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Shaohui Xie authored
1. use Payload length check disable when enable MAC; 2. add XGMII support for setting MAC interface mode; 3. only enable auto negotiation for Non-XGMII mode; 4. return 0xffff if clause 22 is used to read 10G phy_id; Signed-off-by:
Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by:
Roy Zang <tie-fei.zang@freescale.com> Acked-By:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Nov 13, 2014
-
-
Hans de Goede authored
Add support for the 2 ehci controllers found on the sun6i (A31) soc. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk> Acked-by:
Marek Vasut <marex@denx.de>
-
Hans de Goede authored
Add proper Kconfig options to select the usb Vbus gpio-s, besides moving to Kconfig being the right thing to do, an added advantage of this is that it allows for boards without Vbus gpio-s. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Oliver Schinagl authored
The A31 uses the AXP221 pmic for various voltages. Signed-off-by:
Oliver Schinagl <oliver@schinagl.nl> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk> -- Changes in v2: -Rebase Changes in v3: -Add support for all dldo and aldo-s -Add Kconfig option to select building AXP221 and to select voltage of dldo and aldo-s Changes in v4: -Add axp221_setbits helper function -Use symbolic names for enabled bits in CTRL1 - CTRL3 registers
-
- Nov 12, 2014
-
-
Masahiro Yamada authored
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4 to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A, CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- Nov 11, 2014
-
-
Masahiro Yamada authored
Support EHCI host driver used on Panasonic UniPhier platform. Since Device Tree is not supported on UniPhier yet, the base address of USB cores are passed from board files (platdevice.c). TODO for me: Move the base address to device trees. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Masahiro Yamada authored
The same bit-field macros are defined in include/linux/serial_reg.h so let's include it and delete duplicated defines. Also, remove unnecessary inclusion of <common.h>. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Nov 10, 2014
-
-
Nobuhiro Iwamatsu authored
In case of repeated START condition, the restart has to be kicked before clear status (MSR register). If it is kicked after clear status, R-Car I2C may transfer data (TXD register) or receive data (RXD register) instead of transferring slave address (MAR register). Signed-off-by:
Ryo Kataoka <ryo.kataoka.wt@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-
Shaveta Leekha authored
Some slow I2C devices like Power Monitor(ZM7304) at times do not work well with low timeout value, so I2C bus get stuck during read cycle with this device, changing it to 100ms from 10ms works fine A lot of other i2c drivers like mxc and i2c drivers of BOOTROM also use relax timeouts to give sufficient ticks to work well with slower devices Signed-off-by:
Shaveta Leekha <shaveta@freescale.com> Signed-off-by:
Poonam Aggrwal <poonam.aggrwal@freescale.com>
-
Dirk Eibach authored
ppc4xx i2c master gets stuck on errors while repeated start is active. Can be easily reproduced by "i2c md" on an unpopulated i2c address. There is not stop condition given, scl remains pulled low. The only way out seems to be doing a stop manually and then a soft reset. Signed-off-by:
Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Dirk Eibach authored
Debugging some i2c trouble I saw on my scope that repeated start is not working properply. The 4xx even held clock pulled down after transfers. Having a look in the driver I realized that IIC_CNTL_RPST is set on that part of the transfer that should begin with a repeated start. But repeated start is about not sending a stop condition, so IIC_CNTL_RPST has to be set on the last transfer before the repeated start happens. Signed-off-by:
Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- Nov 07, 2014
-
-
Wolfgang Denk authored
Fix error detected by cppcheck: [drivers/net/uli526x.c:551]: (error) printf format string requires 3 parameters but only 2 are given. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Roy Zang <tie-fei.zang@freescale.com>
-
Tom Rini authored
The pmic_spi_free function isn't ever used, and as the frameworks stand today, cannot be, so remove it. Integrate the probe function into pmic_reg as it's not really a "probe" today. Finally, add an err label for the common failure cases. Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Make sure to keep the MAC address programmed in the SMC911x ADDRH and ADDRL registers. Linux can read those registers to determine the MAC address on EEPROM-less configurations. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Tom Rini <trini@ti.com>
-
Pavel Machek authored
Sort drivers/mmc makefile, as requested by wd. Signed-off-by:
Pavel Machek <pavel@denx.de> Acked-by:
Chin Liang See <clsee@altera.com>
-
Rene Griessl authored
fix obj-y term Signed-off-by:
Rene Griessl <rgriessl@cit-ec.uni-bielefeld.de>
-
Nobuhiro Iwamatsu authored
Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> CC: Marek Vasut <marex@denx.de>
-
Masahiro Yamada authored
CMD_IAAD (Interrupt on Async Advance Doorbell) is bit 6, not bit 5. While we are here, sort the flags. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Marek Vasut authored
Allow passing in a custom configuration of the gusbcfg register via platform data. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Acked-by:
Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Reviewed-by:
Lukasz Majewski <l.majewski@samsung.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Marek Vasut authored
Split the Samsung specific PHY control into a separate file and compile this into the S3C OTG driver only if used on a Samsung system. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Acked-by:
Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Reviewed-by:
Lukasz Majewski <l.majewski@samsung.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com>
-
- Nov 06, 2014
-
-
Marek Vasut authored
Encapsulate the Samsung PHY control and its register accesses into the otg_phy_init() and otg_phy_off() functions. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Cc: Stefan Roese <sr@denx.de> Acked-by:
Pavel Machek <pavel@denx.de> Acked-by:
Lukasz Majewski <l.majewski@samsung.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Marek Vasut authored
Remove the useless inclusion of arch/arm/gpio.h , which is completely bogus in this driver. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Cc: Stefan Roese <sr@denx.de> Acked-by:
Pavel Machek <pavel@denx.de> Acked-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Igor Grinberg authored
Switch the default CD GPIO polarity to active low. The current hsmmc driver assumption that the CD GPIO is active high, but in the real hardware, usually the opposite holds. The usual SD card socket has a mechanical switch which is grounded as soon as a card is inserted. Of course there might be some board logic which inverts the signal, but as far as current users are concerned, there is no such logic. Current U-Boot users either not using the CD functionality, or have a different way (e.g. external to SoC GPIO controller) for checking the card presence. This patch also brings the polarity assumption in line with the Linux kernel and adds appropriate comments. This patch also might spare issues once the TWL GPIO driver will be converted to the DM. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Dmitry Lifshitz <lifshitz@compulab.co.il> Reviewed-by:
Tom Rini <trini@ti.com>
-
Khoronzhuk, Ivan authored
The verification qm_cfg existence is done at ksnav_init(). So, there is no need to verify it after initialization. Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Hao Zhang authored
As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 Rev A0, Errata Section 3.1 Marvell PHY has an errata which requires that certain registers get written in order to restart autonegotiation. Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- Nov 05, 2014
-
-
Khoronzhuk, Ivan authored
The Keystone2 Lamar SoC uses the same keystone net driver. This patch adds opportunity to use it by K2L SoCs. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
Keystone2 Lamar SoC uses the same keystone SerDes driver. All Keystone2 EVM boards currently use SerDes driver, so move CONFIG_TI_KEYSTONE_SERDES to common configuration file. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Hans de Goede authored
This is necessary for the device-model enabled builds to work properly. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Hans de Goede authored
This is necessary for the device-model enabled builds to work properly. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a driver for the designware serial UART used on sunxi. This just redirects to the normal ns16550 driver. Add a stdout-path to the device tree so that the correct UART is chosen. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Simon Glass authored
This adds driver model support to the sunxi GPIO driver, using the device tree to trigger binding of the driver. The driver will still operate without driver model too. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Ian Campbell authored
Mostly automatic with: sed -i -e 's/CONFIG_\(SUN[45678]I\)/CONFIG_MACH_\1/g' $(git grep -l CONFIG_SUN[45678]I) followed by removing the relevant #defines from include/configs/sun?i.h by hand. Signed-off-by:
Ian Campbell <ijc@hellion.org.uk> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
- Nov 04, 2014
-
-
Jeroen Hofstee authored
While at it, sort them. Cc: Tom Rini <trini@ti.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
Jeroen Hofstee authored
Cc: Heiko Schocher <hs@denx.de> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
Nobuhiro Iwamatsu authored
R8A7791, R8A7793 and R8A7794 have same IP of USB controller. This collect up address data of each SoCs. Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-
Nobuhiro Iwamatsu authored
R8A7793 has same IP of USB controller as R8A7791 and R8A7794 of rmobile ARM SoCs. This adds support R8A7793 to EHCI HCD of rmobile. Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-
Hans de Goede authored
Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-