From patchwork Wed Dec 8 15:07:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Niedermaier X-Patchwork-Id: 12695356 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE0CBC433EF for ; Wed, 8 Dec 2021 15:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9dVrmyoLFzpvkt45Vuu4DGhytoWE4HHhSKyr83pZYM4=; b=ktXdnzeVSw8Goy SyEi3q17E7BFb1/Eb/BtQxHF4dm4NhZhrSxvvhYudfJYeLJPIMoJuopwOpQeqQGOlWRT8ee1Co6ax UYy07FrW2j3j6xEkg3552YbQEqmiwNnnMc1ra5CYUjfO9j5c2GQ/fJfnN8I++/E6ZpOtS2wN1BvQF kaAsv4L1qohVgEwuKmN0HdVtyA7oZQIWJ8BB/6+ZviykffEqid7ukjV8lT/Bv30JlHOaGpm7SNCbf x7BPYCq+WxWHWdviZUDRd4yICcYfJMHnrlh17v1Js88cjnSOzaGnicd+Lpf5iafW+X00ZnokWObrL fouI7x6Zyg+OEypzvYHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muyZT-00D6K0-3c; Wed, 08 Dec 2021 15:09:27 +0000 Received: from mx2.securetransport.de ([2a03:4000:13:6c7::1]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muyZO-00D6JE-FK for linux-arm-kernel@lists.infradead.org; Wed, 08 Dec 2021 15:09:24 +0000 Received: from mail.dh-electronics.com (business-24-134-97-169.pool2.vodafone-ip.de [24.134.97.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.securetransport.de (Postfix) with ESMTPSA id E4DE05E8DA; Wed, 8 Dec 2021 16:09:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1638976145; bh=OLq129wQjFYlXl4Az3bTfo5AhT/sk3PEF/A+n1sPNbY=; h=From:To:CC:Subject:Date:From; b=rbN/Q7seFaIFw0RWfTlVdtM2DloLWi7DOE++D0uGrOxDq8s6fVgljCCdbHEfdElnM 8f2ffSBjMTpOaA1nFvPrfnTEcOpEAla3RPxCHXvbM49We2Qjh1zP6UGS5Ky1yyBV1Z NhRV9unk6LrU34i9vZTAO+PzNO12s2aPdQnOifBPsjSNq4Yvr+USFfHKewPab3r/aA JohHQMcflGmzW6BOqWZhTjpVI1uJoVHzIaGZhOQrCycH11iOaLSW+WO2uquhXs/zkx lsLju7lMATy1G730CGc/LliyPqsTO2W+DxXJiDi7aG5IYB8NvHyc2XQyuS7uE51YCH S6FIgTIlJM+aw== Received: from DHPWEX01.DH-ELECTRONICS.ORG (2001:470:76a7:2::30) by DHPWEX01.DH-ELECTRONICS.ORG (2001:470:76a7:2::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 8 Dec 2021 16:08:55 +0100 Received: from localhost.localdomain (172.16.51.18) by DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14 via Frontend Transport; Wed, 8 Dec 2021 16:08:55 +0100 From: Christoph Niedermaier To: CC: Christoph Niedermaier , Shawn Guo , Fabio Estevam , Marek Vasut , NXP Linux Team , Subject: [PATCH] ARM: dts: imx6qdl-dhcom: Identify the PHY by ethernet-phy-id0007.c0f0 Date: Wed, 8 Dec 2021 16:07:26 +0100 Message-ID: <20211208150726.10695-1-cniedermaier@dh-electronics.com> X-Mailer: git-send-email 2.11.0 X-klartext: yes MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_070922_695040_999C4D74 X-CRM114-Status: GOOD ( 13.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Identify the PHY by its compatible ID value. In some cases during boot, the PHY needs to be reset to be accessible, but this is only possible if the PHY is recognized. In that case, the automatic detection of the PHY does not work and a static compatible ID value is need. Signed-off-by: Christoph Niedermaier Cc: Shawn Guo Cc: Fabio Estevam Cc: Marek Vasut Cc: NXP Linux Team Cc: kernel@dh-electronics.com To: linux-arm-kernel@lists.infradead.org Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi index 5d10c40313cb..cbbdfe0cb1fd 100644 --- a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi @@ -132,7 +132,8 @@ #size-cells = <0>; ethphy0: ethernet-phy@0 { /* SMSC LAN8710Ai */ - compatible = "ethernet-phy-ieee802.3-c22"; + compatible = "ethernet-phy-id0007.c0f0", + "ethernet-phy-ieee802.3-c22"; interrupt-parent = <&gpio4>; interrupts = <15 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&pinctrl_ethphy0>;