From patchwork Fri Nov 17 22:29:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13459762 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 330E1C54FB9 for ; Fri, 17 Nov 2023 22:30:23 +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:References:In-Reply-To: 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: List-Owner; bh=WgDLdDvlSgzSyCRjSmJqVhRCp64UbWuwEdgn0O5acGs=; b=qWKjNsCHQMCebS NAd9RFnLbgMhX+2xrIB+X+m7rdpXbSEwnE/O1DstzVp9VNiERtTFiHV3bNWKgu/KVa7W1C6E47yxs 3V2Ex8BwMyOKorel6LNLM964MM4s5d7lMurMoBbRSGoXdf7ay6bHLIxMsZc7jiGtVGYETieorrW7b +F6bTeDhDi2s1nVfGnhYPP8dEWyfNS+f0LIRp2wHaLCpPEW1a/LbbrIENHloE0SNcfFr98iASgtxB 4iFJF3v4fcndYS/tU8xqQ+kQSvDkIPuGoZe3jqBQ1UQKbYCXsyBvum1sUZt4gywM5UoKYLHY5sv6n eGBTzB1fZ29F7Fr+YN2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r47LW-007T5N-2V; Fri, 17 Nov 2023 22:29:54 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r47LP-007T0I-2Z for linux-arm-kernel@lists.infradead.org; Fri, 17 Nov 2023 22:29:49 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AHMTY25087616; Fri, 17 Nov 2023 16:29:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700260174; bh=BaHM/u2I3+BllhWwUeZlTERUpcfKTgA+WhzAu9rSTM8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WkCbwWFpneRltT+dkToiQ5GZwXRl5dDKQuTw7fuY2FplMc1cg04xiChb6fdlqL/tv 8onUV44yAYLXOcTXO6iUfz1cGgz7AX8UqthTgVPVJSbxrAE4m4uqRfUBFNjcks63tx axHhrCG7+KbXd1gKOSyhxFXKbWnJWkfnJLzk3gcI= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AHMTYdm046178 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Nov 2023 16:29:34 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 17 Nov 2023 16:29:34 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 17 Nov 2023 16:29:34 -0600 Received: from lelv0326.itg.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AHMTWQG067965; Fri, 17 Nov 2023 16:29:34 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 3/8] arm64: dts: ti: k3-j7200: Convert serdes_ln_ctrl node into reg-mux Date: Fri, 17 Nov 2023 16:29:25 -0600 Message-ID: <20231117222930.228688-3-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231117222930.228688-1-afd@ti.com> References: <20231117222930.228688-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231117_142947_875745_7D4B6F97 X-CRM114-Status: GOOD ( 10.69 ) 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 This removes a dependency on the parent node being a syscon node. Convert from mmio-mux to reg-mux adjusting node name and properties as needed. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 264913f832876..1254ded513b22 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -34,9 +34,10 @@ scm_conf: scm-conf@100000 { serdes_ln_ctrl: mux-controller@4080 { compatible = "mmio-mux"; + reg = <0x4080 0x20>; #mux-control-cells = <1>; - mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */ - <0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */ + mux-reg-masks = <0x0 0x3>, <0x4 0x3>, /* SERDES0 lane0/1 select */ + <0x8 0x3>, <0xc 0x3>; /* SERDES0 lane2/3 select */ }; cpsw0_phy_gmii_sel: phy@4044 {