u-boot-brain/arch/arm
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
..
cpu spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
dts net: phy: micrel: Use correct skew values on KSZ9021 2019-05-08 17:27:01 -05:00
include ARM: pl310: Add macro's for handling tag and data latency mask 2019-05-05 08:48:50 -04:00
lib rockchip: arm: use 'arch-rockchip' for common header 2019-05-01 00:00:05 +02:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
mach-bcm283x arm: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci arm: davinci: remove leftover code for dm* SoCs 2019-05-04 13:04:10 -04:00
mach-exynos delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL 2019-05-04 13:04:18 -04:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx imx: Add variscite DART-6UL Evaluation Kit 2019-04-25 19:16:24 +02:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-k3 arm: mach-k3: Add secure device build support 2019-04-26 17:51:51 -04:00
mach-keystone ARM: k2g: add a workaround to reset the phy 2019-04-12 08:05:46 -04:00
mach-kirkwood ARM: kirkwood: add db-88f6281-bp board 2019-04-26 07:35:38 +02:00
mach-mediatek ARM: MediaTek: Add support for MT8516 SoC 2019-04-23 17:57:26 -04:00
mach-meson ARM: meson: add G12a support 2019-04-23 11:19:09 +02:00
mach-mvebu arm: mvebu: turris_omnia: add RESET button handling 2019-05-03 08:14:39 +02:00
mach-omap2 arm: mach-omap2: am33xx: ddr: update value for ext_phy_ctrl_36 2019-05-05 08:48:50 -04:00
mach-orion5x arm: remove prototype for get_timer_masked 2018-10-10 13:35:09 -04:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile ARM: dts: renesas: Add RZ/A1 GR-Peach board 2019-05-07 05:41:32 +02:00
mach-rockchip rockchip: rk3288: include header for back_to_bootrom 2019-05-01 09:40:59 +02:00
mach-s5pc1xx exynos: Convert to use CONFIG_BLK 2019-02-09 12:50:21 -07:00
mach-snapdragon arm: mach-snapdragon: pinctrl: clarify gpio disable bit 2019-01-25 12:12:56 -05:00
mach-socfpga Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2019-05-07 09:37:11 -04:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 mach-stm32: Set MPU SDRAM size to 512MB for STM32F7/H7 2018-10-06 14:09:41 -04:00
mach-stm32mp stm32mp1: add command poweroff 2019-04-12 16:09:13 +02:00
mach-sunxi arm: sunxi: Enable DM_MMC and DM_SCSI 2019-04-17 14:34:45 +05:30
mach-tegra arm64: zynqmp: Move SoC sources to mach-zynqmp 2019-01-24 10:03:44 +01:00
mach-uniphier ARM: uniphier: do not modify bootcmd environment variable at run-time 2018-12-29 11:38:33 +09:00
mach-versal arm64: versal: Move IOU_SWITCH_DIVISOR0 to Kconfig 2019-02-14 14:31:10 +01:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq ARM: zynq: Remove addresses for i2c controllers 2019-02-14 14:31:10 +01:00
mach-zynqmp arm64: zynqmp: fix preprocessor check for SPL_ZYNQMP_TWO_SDHCI 2019-04-16 11:52:02 +02:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig ARM: dts: renesas: Add RZ/A1 platform code 2019-05-07 05:41:32 +02:00
Kconfig.debug
Makefile arm: imx: build mach-imx for i.MX8 2019-01-28 20:35:47 +01:00