10 May, 2017
17 commits
-
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass -
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass -
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass -
Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,
which provides a generic driver for platforms that only require writing a mask
to a regmap offset.Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass -
Implement a sata driver for Synopsys DWC sata device based on
U-boot driver model.Signed-off-by: Mugunthan V N
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass -
This phy is found on omap platforms with sata capabilities.
Except for the part related to the DM and the PHY framework, the code is
basically a copy paste from arch/arm/mach-omap2/pipe3-phy.cSigned-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass -
Those tests check:
- the ability for a phy-user to get a phy based on its name or its index
- the ability of a phy device (provider) to manage multiple ports
- the ability to perform operations on the phy (init,deinit,on,off)
- the behavior of the uclass when optional operations are not implementedSigned-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass -
The PHY framework provides a set of APIs to control a PHY. This API is
derived from the linux version of the generic PHY framework.
Currently the API supports init(), deinit(), power_on, power_off() and
reset(). The framework provides a way to get a reference to a phy from the
device-tree.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass -
Add the clock support.
Note that the clock handling of the DBGU peripheral is different
from the USART.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Add the uart init function to be used on both probe and the early
debug uart init. For the latter, the input clock should be from
CONFIG_DEBUG_UART_CLOCK.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Align the at91 pmc's compatibles with kernel.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
Reviewed-by: Andreas Bießmann -
Add the compatible "atmel,at91rm9200-clk-master" to align with
the kernel.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Enhance the peripheral clock to support both at9sam9x5's and
at91rm9200's peripheral clock via the different compatibles.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Add the compatibles to align with the kernel.
Signed-off-by: Wenyou Yang
Acked-by: Joe Hershberger -
To avoid the failure of mdio_register(), add the remove callback
to unregister the mii_dev when removing the ethernet device.Signed-off-by: Wenyou Yang
Acked-by: Joe Hershberger
Fixed up unused variable warning, e.g. for gurnard:
Signed-off-by: Simon Glass
09 May, 2017
22 commits
-
- Remove "probe" function from sandbox wdt driver
- Fix include orderFixes: 0753bc2d30d7 ("dm: Simple Watchdog uclass")
Signed-off-by: Maxim Sloyko
[trini: Create as the delta between v1 (applied) and v2 (should have
applied)].
Signed-off-by: Tom Rini -
Obtain NAND controller setup parameters from the device
tree instead of using hardcoded values.Signed-off-by: Konstantin Porotchkin
Cc: Scott Wood
Cc: Stefan Roese
Cc: Igal Liberman
Cc: Nadav Haklai
Signed-off-by: Stefan Roese -
Add PCIE analog parameters initialization values according to
latest ETP.Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
No functional change.
The variable name "comphy_index" is misleading, it represents
cp index and not comphy index.Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
Add SFI analog parameters initialization values according to
latest ETP.Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
since now the COMPHY can also be ignored, we must know the
state of the COMPHY. we cannot assume anymore that a missing
COMPHY is unconnected.Signed-off-by: Yehuda Yitschak
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
The comphy configuration is incorrect.
Set the correct values for SGMII.In addition, remove xaui from the comment as it is not supported.
Signed-off-by: Yoav Gvili
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
This patch adds the option to configure a comphy to 5G XFI mode.
In order to configure the comphy to 5G XFI, update
the comphy node in the device-tree:
phy2 {
phy-type = ;
phy-speed = ;
};Signed-off-by: Igal Liberman
Signed-off-by: Stefan Roese
Reviewed-by: Stefan Roese -
Align PHY selectors register with Armada-CP-110 functional SPEC
update all relevant device trees with this change.Signed-off-by: Hanna Hawa
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
Add SATA analog parameters initialization values according to
latest ETP.Signed-off-by: Konstantin Porotchkin
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
This patch fixes the following:
1. KR/SFI on lane #4 mux selector is 0x2 and not 0x1
2. Comment typoSigned-off-by: Rabeeh Khoury
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
This type tells u-boot to preserve the COMPHY settings as is
it is usefull in situations where the COMPHY was initialized by
earlier firmware.
Note that IGNORE is different from UNCONNECTED since setting
UNCONNECTED type will disconnect the COMPHY in the COMPHY MUX
which is a desired behaviourSigned-off-by: Yehuda Yitschak
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
UTMI_PHY_TO_USB_HOST was used in USB3 UTMI dts node only, but there will
be USB2 UTMI dts node for some SoCs that have got USB2 controller, so rename
TO_USB_HOST to TO_USB3_HOST to distinguish TO_USB2_HOST in later on patches.Signed-off-by: zachary
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
The serdes was always configured in root complex mode.
this patch add new entry in device tree (per serdes)
which indicates whether the serdes is in end point mode.
if so, it skips the root complex configuration.Signed-off-by: Haim Boot
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
Use correct naming as done in the latest Marvell U-Boot version as well.
Signed-off-by: Stefan Roese
Signed-off-by: Igal Liberman
Reviewed-by: Stefan Roese -
Use local static counter for maintaining the COMPHY chip-ID
upon its initialization.
The dev->seq originally used as the COMPHY chip-ID depends
on the device tree scan order and produces wrong results
that breaks the deficated PHYs init flow, which in turn
breaks the USB support.Change-Id: I4e3f7ec36590a7f95dc94d9269a3c47fb708c4a9
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
Cc: Stefan Chulski
Cc: Nadav Haklai
Reviewed-by: Stefan Roese -
This patch allows probing all PCIe nodes defined in DTS
even if there no device connected to such node (no link).
Without this fix the driver returns -ENODEV when the PCIe
link is down. As result the pci_init function stops
scanning bus on first empty PCIe slot and all devices
located in higher numbered buses are not discovered.Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
Cc: Nadav Haklai
Reviewed-by: Stefan Roese -
This patch adds a remove function to the mvpp2 ethernet driver which is
called before the OS is started, doing:- Allocate the used buffers back from the buffer manager
- Stop the BM activitySigned-off-by: Stefan Roese
Cc: Stefan Chulski
Cc: Kostya Porotchkin
Cc: Nadav Haklai
Acked-by: Joe Hershberger -
Convert davinci i2c driver to driver model.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher -
The i2c driver will be converted to support device model. In preparation
for that change split the various functions into two parts. This will
allow device model specific driver to reuse the majority of the code from
the non device model implementation.Also rename the probe function to probe_chip to better reflect its
purpose.Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
08 May, 2017
1 commit
-
Refactor SCU header to use consistent Mask & Shift values.
Now, consistently, to read value from SCU register, mask needs
to be applied before shift.Signed-off-by: Maxim Sloyko
Reviewed-by: Simon Glass