u-boot/drivers
Stefan Roese 0ef02619ef net: phy: marvell: Support reg config via "marvell, reg-init" DT property
This patch adds support for the "marvell,reg-init" DT property, which
is used to describe board specific Marvell PHY register configurations
in the board dts file. This DT property is supported in the Linux Kernel
since a longer time. Adding it to U-Boot now, enables the boards which
describe the register settings in their DT files here as well.

I've included calling this marvell_of_reg_init() to all foo_config()
functions in this patch as well. If CONFIG_DM_ETH is not set, there is
no ofnode, or no "marvell,reg-init" property, the PHY initialization is
unchanged.

The function marvell_of_reg_init() is a port of the Linux version.
Please note that I explicitly did not add error checking and handling
to the U-Boot version, as this is basically not done for phy_read/write
in this Marvell PHY code.

This will be used by the upcoming ethernet support on the MIPS
Octeon EBB 7304 board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Ramon Fried <rfried.dev@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
2022-08-08 10:50:20 -04:00
..
adc adc: meson-saradc: add AXG variant 2022-04-25 09:25:00 +02:00
ata ata: sata_sil: Remove useless BLK guard in sata_sil.h 2022-06-28 17:03:32 -04:00
axi
bios_emulator pci: Update dm_pci_bus_to_virt() parameters 2022-05-03 18:33:29 -04:00
block block: ide: Remove ide_preinit function 2022-06-28 17:03:32 -04:00
bootcount Convert CONFIG_SYS_BOOTCOUNT_LE et al to Kconfig 2022-07-07 14:01:09 -04:00
bus
button button: adc: set state to pressed when the voltage is closest to nominal 2022-02-11 09:00:47 -05:00
cache drivers: cache: ncore: Disable snoop filter 2022-06-17 16:27:05 +08:00
clk treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
core dm: fix mis-word in SPL_DM description 2022-07-26 02:30:56 -06:00
cpu cpu: add CPU driver for microblaze 2022-06-24 14:16:00 +02:00
crypto crypto: nuvoton: Add NPCM7xx SHA driver 2022-06-22 21:30:05 -04:00
ddr Convert CONFIG_SYS_FSL_DDR_INTLV_256B to Kconfig 2022-08-04 16:18:48 -04:00
demo
dfu Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
dma arm: mach-k3: Rename SOC_K3_AM6 to SOC_K3_AM654 2022-07-25 13:02:04 -04:00
fastboot Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
firmware firmware: zynqmp: Load config overlay for core0 to pmufw 2022-07-26 08:36:10 +02:00
fpga fpga: zynqmp: support loading encrypted bitfiles 2022-07-26 09:34:21 +02:00
fuzz sandbox: Implement fuzzing engine driver 2022-06-23 12:58:19 -04:00
gpio gpio: fix incorrect depends on for SPL_GPIO_HOG 2022-08-04 15:32:20 -04:00
hwspinlock
i2c i2c: avoid dynamic stack use in dm_i2c_write 2022-07-19 13:46:28 +02:00
input input: apple: Add support for Apple SPI keyboard 2022-02-10 16:44:23 -05:00
iommu iommu: Add M2 support to Apple DART driver 2022-07-25 09:38:47 -04:00
led led: pwm: Use NOP uclass driver for top-level node 2022-07-08 10:56:45 -04:00
mailbox arm64: versal: Enable power domain driver and its dependencies 2022-07-26 08:36:25 +02:00
memory
misc Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
mmc mmc: pci_mmc.c should build with ACPIGEN=n 2022-07-27 15:19:42 +09:00
mtd Convert CONFIG_SYS_FLASH_QUIET_TEST to Kconfig 2022-08-04 16:18:47 -04:00
mux
net net: phy: marvell: Support reg config via "marvell, reg-init" DT property 2022-08-08 10:50:20 -04:00
nvme arm: apple: nvme: Add SART support and RTKit buffer management 2022-06-23 08:24:49 -04:00
pch
pci Convert CONFIG_SYS_FSL_PCI_VER_3_X to Kconfig 2022-07-05 17:05:00 -04:00
pci_endpoint
phy phy: ti: j721e-wiz: use OF data for device specific data 2022-07-25 09:38:47 -04:00
pinctrl mvebu: pinctrl: apply SDHCI PHY config for A7K 2022-07-29 10:02:43 +02:00
power pmic: pca9450: permit config on all bucks and LDOs 2022-07-27 13:04:34 +09:00
pwm pwm: aspeed: Select SYSCON to get parent detail. 2022-08-04 13:59:59 -04:00
qe
ram arm: mach-k3: Rename SOC_K3_AM6 to SOC_K3_AM654 2022-07-25 13:02:04 -04:00
reboot-mode
remoteproc
reset reset: zynqmp: Add reset driver support for versal 2022-07-26 08:27:15 +02:00
rng tpm: rng: Add driver model interface for TPM RNG device 2022-08-02 23:50:02 +03:00
rtc treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
scsi scsi: call device_probe() after scanning 2022-04-09 21:06:31 +02:00
serial serial: zynq: Use DIV_ROUND_CLOSEST() to calcurate divider value 2022-07-26 08:23:55 +02:00
smem
soc soc: soc_ti_k3: identify j7200 SR2.0 SoCs 2022-07-06 14:30:51 -04:00
sound sound: enable building DA7219 driver with ACPIGEN=n 2022-07-08 09:05:47 -04:00
spi spi: zynq_qspi: Fix programming qspi speed 2022-07-26 09:34:21 +02:00
spmi
sysinfo
sysreset sysreset: socfpga: Use parent device for reading base address 2022-07-01 14:57:14 +08:00
tee drivers:optee:rpmb: initialize drivers of mmc devices in UCLASS_BLK for rpmb access 2022-06-06 18:01:21 -04:00
thermal
timer Xilinx changes for v2022.10 2022-06-27 10:15:50 -04:00
tpm tpm: Add the RNG child device 2022-08-02 23:50:02 +03:00
ufs lib: fix selection of CONFIG_CHARSET 2022-05-03 21:39:22 +02:00
usb usb: ehci-mx6: Remove MX6Q_ARM2 related ifdefery 2022-07-25 15:08:23 +02:00
video Merge branch 'next' 2022-07-11 14:58:57 -04:00
virtio virtio: rng: Check length before copying 2022-06-08 09:24:04 -04:00
w1
w1-eeprom
watchdog Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog 2022-07-22 20:48:28 -04:00
xen drivers: xen: events: fix build issues with disabled Xen HVC 2022-08-04 13:59:59 -04:00
Kconfig fuzzing_engine: Add fuzzing engine uclass 2022-06-23 12:58:18 -04:00
Makefile ddr: imx: Add i.MX9 DDR controller driver 2022-07-26 11:29:01 +02:00