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 7D4A1C77B70 for ; Fri, 14 Apr 2023 08:00:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 703B885F77; Fri, 14 Apr 2023 09:58:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="OXxzYJcc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8259485E75; Fri, 14 Apr 2023 09:57:56 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 BBB1085EA5 for ; Fri, 14 Apr 2023 09:57:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33E7vTgE117687; Fri, 14 Apr 2023 02:57:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681459049; bh=7MC7YYcrMoSO1Tykm37P4YX3a0f9PPn30HbfPTXE5YM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OXxzYJccKpdAIvtiS+Q3/+azURNJS7BXdRyjZyNSVx8RGuDkvnPt+GMzIniE1p6Ut e9KrbFhb/afhMiPbJ4zZryIKF/SFZyXwPTwTnGYzpq846/0Su5TfkdYG50cG83gKN3 zjWbzj94+ip/Hiy3QQCICJgoYTssLvDt3sBjxkI0= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33E7vT6f107305 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 02:57:29 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 14 Apr 2023 02:57:29 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Fri, 14 Apr 2023 02:57:29 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33E7vTO7013955; Fri, 14 Apr 2023 02:57:29 -0500 From: Nishanth Menon To: Simon Glass , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tom Rini CC: Neil Armstrong , Anand Gadiyar , Georgi Vlaev , , "Neha Malcom Francis" , Nikhil M Jain Subject: [PATCH 03/23] arm: dts: k3-am642-sk: Add a note to handle pinmux till MDIO DM conversion is done Date: Fri, 14 Apr 2023 02:57:06 -0500 Message-ID: <20230414075726.387461-4-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230414075726.387461-1-nm@ti.com> References: <20230414075726.387461-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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.8 at phobos.denx.de X-Virus-Status: Clean Until MDIO is converted to DM model, it won't be possible to probe for pinmux from the MDIO node. To work around this, lets hack the board dts to set the default mux option to include MDIO. This hack is a limitation for now till we get u-boot MDIO driver into DM model. Signed-off-by: Nishanth Menon --- Cant send this upstream. arch/arm/dts/k3-am642-sk.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-am642-sk.dts b/arch/arm/dts/k3-am642-sk.dts index 2e2d40da360a..4fb279489cfc 100644 --- a/arch/arm/dts/k3-am642-sk.dts +++ b/arch/arm/dts/k3-am642-sk.dts @@ -439,7 +439,9 @@ &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&rgmii1_pins_default + /* XXX: U-boot HACK: mdio pinmux till MDIO DM conversion is done */ + pinctrl-0 = <&mdio1_pins_default + &rgmii1_pins_default &rgmii2_pins_default>; }; -- 2.40.0