summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorFrank de Brabander <debrabander@gmail.com>2023-10-06 14:24:39 +0200
committerTom Rini <trini@konsulko.com>2023-11-05 16:11:38 -0500
commita56e30e65f2549fd8dff32ecfe24992178414f09 (patch)
treec6910121cfd0973a82b443525acd012a529caf72 /include/net.h
parentd71e7f41bfc3f68e259b8070706c586d95a49157 (diff)
downloadu-boot-a56e30e65f2549fd8dff32ecfe24992178414f09.tar.gz
u-boot-a56e30e65f2549fd8dff32ecfe24992178414f09.tar.bz2
u-boot-a56e30e65f2549fd8dff32ecfe24992178414f09.zip
net: phy: TI DP83869 fix invalid clock delay configuration
Setting the clock delay from the device tree settings rx-internal-delay-ps and tx-internal-delay-ps was broken: - The expected value in the device tree is suppose to be a delay in picoseconds, but the driver only allowed an array index. - Driver converted this array index to the actual delay in picoseconds and tried to apply this in the device register. This however is not a valid register value. The actual logic here was reversed, it converted an register representation of the delay to the device tree delay in picoseconds. Only when the internal delays were NOT configured in the device tree and they default value of 7 (=2000ps) was used, a valid value was loaded in the register. Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Diffstat (limited to 'include/net.h')
0 files changed, 0 insertions, 0 deletions