u-boot/drivers
James Byrne 83f71ef558 net: phy: micrel: Use correct skew values on KSZ9021
Commit ff7bd212cb ("net: phy: micrel: fix divisor value for KSZ9031
phy skew") fixed the skew value divisor for the KSZ9031, but left the
code using the same divisor for the KSZ9021, which is incorrect.

The preceding commit c16e69f702 ("net: phy: micrel: add documentation
for Micrel KSZ90x1 binding") added the DTS documentation for the
KSZ90x1, changing it from the equivalent file in the Linux kernel to
correctly state that for this part the skew value is set in 120ps steps,
whereas the Linux documentation and driver continue to this day to use
the incorrect value of 200 that came from the original KSZ9021 datasheet
before it was corrected in revision 1.2 (Feb 2014).

This commit sorts out the resulting confusion in a consistent way by
making the following changes:

- Update the documentation to be clear about what the skew values mean,
in the same was as for the KSZ9031.

- Update the Micrel PHY driver to select the appropriate divisor for
both parts.

- Adjust all the device trees that state skew values for KSZ9021 PHYs to
use values based on 120ps steps instead of 200ps steps. This will result
in the same values being programmed into the skew registers as the
equivalent device trees in the Linux kernel do, where it incorrectly
uses 200ps steps (since that's where all these device trees were copied
from).

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2019-05-08 17:27:01 -05:00
..
adc adc: exynos-adc: Fix wrong bit operation used to stop the ADC 2019-03-11 15:53:19 +09:00
ata Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-04-17 09:19:45 -04:00
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove assignment without effect 2018-07-23 14:33:21 -04:00
block blk: Increase cache element size 2019-01-15 15:28:53 -05:00
board drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
cache dm: cache: add the pl310 cache controller driver 2019-05-05 08:48:50 -04:00
clk Improvements and new features: 2019-05-01 11:52:04 -04:00
core dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
cpu cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr arm: socfpga: Move Stratix 10 SDRAM driver to DM 2019-05-06 12:44:17 +02:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: mmc: call fs functions instead of run_command 2019-01-30 21:22:53 -05:00
dma dma: ti: k3-udma: Do not touch RT registers before channel configuration 2019-05-03 07:23:17 -04:00
fastboot fastboot: add support for 'getvar platform' 2019-04-21 10:26:52 +02:00
firmware firmware: ti_sci: Always request response from firmware 2019-05-03 07:23:17 -04:00
fpga arm: zynq: Add an info message about post config 2019-04-16 11:51:34 +02:00
gpio gpio: renesas: Add RZ/A1 R7S72100 GPIO driver 2019-05-07 05:41:32 +02:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c Merge git://git.denx.de/u-boot-marvell 2019-05-03 14:22:23 -04:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led led: bcm6858: allow to use this driver on ARCH_963158 2019-04-23 17:57:22 -04:00
mailbox drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc mxc_ocotp: Disable fuse sense for imx8mq B1 2019-04-25 19:16:24 +02:00
mmc Merge tag 'mmc-2019-5-3' of https://github.com/MrVan/u-boot 2019-05-04 20:02:16 -04:00
mtd Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-05-06 07:18:28 -04:00
net net: phy: micrel: Use correct skew values on KSZ9021 2019-05-08 17:27:01 -05:00
nvme blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
pch pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: Add boundary check for hose->regions 2019-04-23 17:57:23 -04:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: usbphyc: increase PLL wait timeout 2019-04-21 10:26:51 +02:00
pinctrl pinctrl: renesas: Add RZ/A1 R7S72100 pin control driver 2019-05-07 05:41:32 +02:00
power stm32 patches for v2019.07-rc1 2019-04-12 15:43:19 -04:00
pwm rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
qe drivers: qe: add TFABOOT support 2018-12-06 14:37:51 -08:00
ram rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
remoteproc spl: Allow remoteproc drivers to be used within SPL 2018-09-11 08:32:55 -04:00
reset rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
rtc rtc: m41t62: add compatible for m41t82 2019-04-25 00:00:49 +02:00
scsi dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial serial: sh: Add RZ/A1 support 2019-05-07 05:41:32 +02:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc soc: keystone: Merge into ti specific directory 2019-04-11 20:07:12 -04:00
sound rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
spi spi: rpc: Add support for operation without clock framework 2019-05-07 05:41:32 +02:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
tee avb: add support for named persistent values 2019-04-26 18:58:22 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: renesas: Add RZ/A1 R7S72100 OSTM timer driver 2019-05-07 05:41:32 +02:00
tpm tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
usb usb: ohci: ohci-da8xx: Enable da850-ohci driver with DM support 2019-05-05 08:48:50 -04:00
video rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
virtio virtio: Add a Sandbox transport driver 2018-11-14 09:16:28 -08:00
w1 w1: Add driver for i.MX bus master controller 2019-01-01 14:12:18 +01:00
w1-eeprom w1-eeprom: Add support for Maxim DS2502 add only memory 2018-11-16 16:51:55 -05:00
watchdog - mscc: small fixes, enhance network support for Serval, Luton amd 2019-05-04 20:02:42 -04:00
Kconfig dm: cache: Create a uclass for cache 2019-05-05 08:48:50 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2019-05-07 09:37:11 -04:00