- May 25, 2016
-
-
Thomas Abraham authored
The existing Exynos 32-bit platform support needs to be realigned in order to support newer 64-bit Exynos platforms. The driver model will be utlized for drivers on the 64-bit Exynos platforms and so some of the older platform support code would not be required for the newer 64-bit Exynos platforms. Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Thomas Abraham <thomas.ab@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Thomas Abraham authored
On Exynos platforms that support clock driver API, allow the driver to use clock api get the SCLK clock rate. Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Thomas Abraham <thomas.ab@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Thomas Abraham authored
The port id, if not specified in the device node, can be obtained from the alias of the device node listed in the aliases node. Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Thomas Abraham <thomas.ab@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Thomas Abraham authored
Add a clock driver for Exynos7420 SoC. There are about 25 clock controller blocks in Exynos7420 out of which support for topc, top0 and peric1 blocks are added in this initial version of the driver. Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Thomas Abraham <thomas.ab@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Thomas Abraham authored
Add pinctrl driver support for Samsung's Exynos7420 SoC. The changes have been split into Exynos7420 specific and common Exynos specific portions so that this implementation is reusable on other Exynos SoCs as well. The Exynos pinctrl driver supports only device tree based pin configuration. The bindings used are similar to the ones used in the linux kernel. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Thomas Abraham <thomas.ab@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Thomas Abraham authored
It is possible to have multiple pin controllers in the system. Use the DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned a sequence number. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Thomas Abraham <thomas.ab@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- May 24, 2016
-
-
git://git.denx.de/u-boot-netTom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com> Conflicts: drivers/net/zynq_gem.c
-
Dan Murphy authored
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Reviewed-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Dan Murphy authored
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Reviewed-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Michal Simek <michal.simek@xilinx.com> Tested-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Dan Murphy authored
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by:
Dan Murphy <dmurphy@ti.com> Reviewed-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Michal Simek <michal.simek@xilinx.com> Tested-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Dan Murphy authored
Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx or tx and the fifo depth via the devicetree. If the value is not set in the devicetree then set the delay to the default. If devicetree is not used then use the default defines within the driver. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Tested-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Dan Murphy authored
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by:
Dan Murphy <dmurphy@ti.com> Reviewed-by:
Mugunthan V N <mugunthanvnm@ti.com> Tested-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Dan Murphy authored
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Tested-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Dan Murphy authored
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Tested-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Enable eth driver model for dra74_evm as cpsw supports driver model. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Enable eth driver model for am437x_sk_evm as cpsw supports driver model. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Enable eth driver model for am437x_gp_evm as cpsw supports driver model. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Fix typo error for cpsw device name with proper device address Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Since dra7x platforms address bus is define as 64 bits to support LAPE, fdtdec_get_addr() returns a invalid address for mdio based and gmii_sel register address. Fixing this by using fdtdec_get_addr_size_auto_noparent() which will derive address cell and size cell from its parent. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Add platforms specific phy mode configuration bits to be used to configure phy mode in control module. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Since omap's spl doesn't support DM currently, do not define DM_ETH for spl build. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
Provide an api to check whether the given device or machine is compatible with the given compat string which helps in making decisions in drivers based on device or machine compatible. Idea taken from Linux. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Kevin Smith authored
The previous mv88e61xx driver was a driver for configuring the switch, but did not integrate with the PHY/networking system, so it could not be used as a PHY by U-boot. This is a complete rework to support this device as a PHY. Signed-off-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Kevin Smith authored
No boards are using this driver. Remove in preparation for a new driver with integrated PHY support. Signed-off-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de>
-
git://git.denx.de/u-boot-atmelTom Rini authored
-
Michal Simek authored
Extending Kconfig for adding new platform is a lot of work for nothing. Setting SYS_CONFIG_NAME directly in Kconfig and remove all dependencies on TARGET_ZYNQ_* options including SPL. As a side-effect it also remove custom init folder for ps7_init_gpl.* files. Folder is chosen based on device-tree file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
The patch "net: phy: do not read configuration register on reset" (sha1: a058052c) was causing regression on zynq zc702 board where Marwell 88e1118 phy was resetted after negotiation was setup. Phy reset is done pretty early in phy_connect_dev() and doens't need to be called again in phy code. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Fix zynq_gem driver to handle error from phy_config correctly. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add function boot_get_fpga() which find and load bitstream to programmable logic if fpga entry is present. Function is supported on Xilinx devices for full and partial bitstreams in BIN and BIT format. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Remove additional blankline in image.h
-
Michal Simek authored
Propagate error code from genphy_update_link() to phy startup(). Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Michal Simek authored
Return -ETIMEDOUT if timeout happens. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Michal Simek authored
Handle error returned by phy_startup() properly. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Michal Simek authored
Add FIT_FPGA_PROP that user can identify an optional entry for fpga. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Michal Simek authored
Trivial patch. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>