From: Marek Vasut Date: Fri, 9 Apr 2021 14:22:05 +0200 Subject: [PATCH] net: dwc_eth_qos: add support of device tree configuration for reset delay In-Reply-To: <20210409100022.1.I93dea8b89ea632e7d8f2640a6eca6f6e69fed319@changeid> References: <20210409100022.1.I93dea8b89ea632e7d8f2640a6eca6f6e69fed319@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/9/21 10:00 AM, Patrick Delaunay wrote: > The gpio reset assert/deassert delay are today harcoded in U-Boot driver > but the value should be read from DT. > > STM32 use the generic binding defined in linux: > Documentation/devicetree/bindings/net/ethernet-phy.yaml > > reset-gpios: > maxItems: 1 > description: > The GPIO phandle and specifier for the PHY reset signal. > > reset-assert-us: > description: > Delay after the reset was asserted in microseconds. If this > property is missing the delay will be skipped. > > reset-deassert-us: > description: > Delay after the reset was deasserted in microseconds. If > this property is missing the delay will be skipped. > > See also U-Boot: doc/device-tree-bindings/net/phy.txt Since this is a PHY property, shouldn't that be handled in drivers/net/phy/ instead of MAC driver ?