From patchwork Wed Apr 6 22:33:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 1614162 X-Patchwork-Delegate: rfried.dev@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=kn4qCAe1; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KYfSt6ShDz9sFs for ; Thu, 7 Apr 2022 08:34:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 37ABB83E56; Thu, 7 Apr 2022 00:33:50 +0200 (CEST) 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="kn4qCAe1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C6E4A83E59; Thu, 7 Apr 2022 00:33:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::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 4700583E42 for ; Thu, 7 Apr 2022 00:33:24 +0200 (CEST) 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 F1D0461CA4; Wed, 6 Apr 2022 22:33:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3964EC385A5; Wed, 6 Apr 2022 22:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649284402; bh=zVfloyRuSSx/FevFLE+/YgncVkIUNikHCi3I61SFOdU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kn4qCAe1+ucacx/Qze3Ad4iQJUNJEB3saW6wrTXpTB46Vg9IVdksgZC/DJ88AJvoA qqkHbRvOJRS8bh1Zc7yuaGwLmbfLdkLGfha3Cg83TIowdugV5Y0WfakVRySLiMzk1A 9ZKAqBkZxkoMFeGiC9WlOFKWNlvHM3sMrMvqVVoj9oCgViU3984mF+lhQBfGbJyKJ5 17ar/Vc9GV8OHYpQUinUrk3WGXJ3yLcNJi1eFfItN8Inmo0EJa3jbOY54gM9hY/0ku t/wamodPPzGb8MpTvZ8di7jWvRxxWFa9y76VHJS6uehL3OrFJK/xOalYFyvZJdkS/E EhalA0l02YxCw== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Joe Hershberger , Ramon Fried Cc: u-boot@lists.denx.de, =?utf-8?q?Marek_Beh=C3=BAn?= , Vladimir Oltean Subject: [PATCH u-boot-net v4 06/14] net: phy: fix parsing wrong property Date: Thu, 7 Apr 2022 00:33:00 +0200 Message-Id: <20220406223308.9833-7-kabel@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406223308.9833-1-kabel@kernel.org> References: <20220406223308.9833-1-kabel@kernel.org> MIME-Version: 1.0 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 Reviewed-by: Ramon Fried Reviewed-by: Vladimir Oltean --- 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 92fff5b72c..c8289d3889 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);