From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9D69C43334 for ; Wed, 15 Jun 2022 11:11:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 68D47844A2; Wed, 15 Jun 2022 13:11:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1655291479; bh=rcZF4JT5GuSGiB7rRUFfribd8HROIAuk87EY+1nT2A0=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=uKxy6LDvNuUlmjq2U2/M4dz96scMRAJetU91tvz9GCp65/z3edB/o2XCUQ3QeZLmI I/4Pn9qtVDKoP2IdCtwAB9t9xCbdJqaHCWIW6Tk7TXE+rV6wg0w64NXUSOAXSUYePJ CekmgThg8Vd1zFxE7Ya30IvOctRLhMQH91IxAN3qo3RP51DZG4K/DElutGJOI2Lrsb xgsCue+3bm2yAHAgaQw0Jby3ACFYBZr7aLtvGujpZdET6/ey3MqcrAubhkfJFOv4ht 4nRTE2Nu061r45R3r0o9LwwmkDRFa3P/TWooEL0lt9TLJ4YuEvddZPBtlx/UC4kDJ3 St53Sl7JEwJfQ== Received: by phobos.denx.de (Postfix, from userid 109) id DC4E2844A9; Wed, 15 Jun 2022 13:11:16 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 56566844A9 for ; Wed, 15 Jun 2022 13:11:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4LNN0L0jtWz1s7tB; Wed, 15 Jun 2022 13:11:14 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4LNN0L0c0Yz1qqkJ; Wed, 15 Jun 2022 13:11:14 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Qj19fPTqhvKr; Wed, 15 Jun 2022 13:11:13 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 15 Jun 2022 13:11:13 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 1633137 X-Patchwork-Delegate: sbabic@denx.de To: Josua Mayer ,u-boot@lists.denx.de Subject: [PATCH v2 1/5] phy: adin: fix broken support for adi, phy-mode-override In-reply-to: <20220519093200.20571-2-josua@solid-run.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20220615111116.DC4E2844A9@phobos.denx.de> Date: Wed, 15 Jun 2022 13:11:14 +0200 (CEST) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean > From: Nate Drude > Currently, the adin driver fails to compile. > The original patch introducing the adin driver used the function > phy_get_interface_by_name to support the adi,phy-mode-override > property. Unfortunately, a few days before the adin patch > was accepted, another patch removed support for phy_get_interface_by_name: > https://github.com/u-boot/u-boot/commit/123ca114e07ecf28aa2538748d733e2b22d= 8b8b5 > This patch refactors adin_get_phy_mode_override, implementing the logic in > the new function, ofnode_read_phy_mode, from the patch above. > Signed-off-by: Nate Drude > Tested-by: Josua Mayer > Signed-off-by: Josua Mayer Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D