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 83143C433EF for ; Thu, 17 Mar 2022 12:51:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6802283D06; Thu, 17 Mar 2022 13:51:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="mJMrOxsg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D43E983D0C; Thu, 17 Mar 2022 13:50:30 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (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 D2FFD83CF3 for ; Thu, 17 Mar 2022 13:50:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B9A1D6124B; Thu, 17 Mar 2022 12:50:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE2E3C36AE3; Thu, 17 Mar 2022 12:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647521419; bh=3RWVgrhjyLOZuO20xEH7ywAQ1Z/bQLvesUvg7r5IO3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mJMrOxsgBUvP1KLQOs2RzHDEUxkJJbFGBW5SVR+Lt6+QVaKElUmcwHheRhtPD2vZn fU951ZbSo6x62tB+t9zMrJnbfq1LiuSIKf+fg2IgVEilLBCZt5oaaHDFHqbTIn0heK Z1I4yejySLDsGLjhrRb8DBNVHeqB+XVIMnwOLtuRuZsJh2+XTduUeniK60DgH1uwqM vBgw8rhB74W+sFh6lCA60TIr/SsHjGMJcb8f+m0Y+gKgvDUi4D2GyN2hxH68jmHbZP 4dJXlVeoSJvM9jIW1XVYgfke1AO9MJXC4h8JxW8rT7mFCgWFb9TqkL7UKR43R0W4NZ edaCADwZ1o52A== From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: Joe Hershberger , Ramon Fried Cc: u-boot@lists.denx.de, =?UTF-8?q?Marek=20Beh=C3=BAn?= , Bin Meng , Michal Simek , Priyanka Jain , "Radu Pirea (NXP OSS)" , Vladimir Oltean Subject: [PATCH u-boot-net 06/14] net: phy: fix parsing wrong property Date: Thu, 17 Mar 2022 13:49:50 +0100 Message-Id: <20220317124958.27921-7-kabel@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220317124958.27921-1-kabel@kernel.org> References: <20220317124958.27921-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Marek BehĂșn The "phy-interface-type" property should be "phy-connection-type". Signed-off-by: Marek BehĂșn --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index c9fc20855b..fe6dbdaee4 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -989,7 +989,7 @@ struct phy_device *fixed_phy_create(ofnode node) if_str = ofnode_read_string(node, "phy-mode"); if (!if_str) { - if_str = ofnode_read_string(node, "phy-interface-type"); + if_str = ofnode_read_string(node, "phy-connection-type"); } if (if_str) { interface = phy_get_interface_by_name(if_str); -- 2.34.1