Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp413347lqb; Fri, 24 May 2024 02:10:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtdGLsyBcB5vcseh1xR2s89DQtBNb0SNZLXBVLJjH4PPf4jjymbZT8ubOnVYOipbJVeQgZzR8Blw+CQiN6chFz2lptg5AQaIctWOsrOw== X-Google-Smtp-Source: AGHT+IHztuO0fr0guc50jQsOCBg/9iXYv06Gx4BzGgYyHhIgS30xYmw5jD+tCSMLAI4iJsUZzW6P X-Received: by 2002:a05:620a:3720:b0:78d:3b3f:50cd with SMTP id af79cd13be357-794ab110226mr198598985a.65.1716541808652; Fri, 24 May 2024 02:10:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716541808; cv=pass; d=google.com; s=arc-20160816; b=Z4Y8+jyycmH1XztOCOMy93GDHXcv/7WmMB/nb/6glkcYwh4umMbd75K9wXN/uUut/w mi8UkOSUYn7eiJQ7UBkWuAft7piQv28sslcqDZ+Oagrk0ideiWY/m5tDcpR2jAWUOjY1 aJKD+K0e7P5A9fS64EyISQVJgiwZsG7p+6uFXNMuOZJKvGLc/GiWHw+Kd5J2cWnNCGWv l/GReslY8nvbUYgQAu7XBKSkYMudWB7r1109vTw6XuWD9l0xR3vxaXV+hDlpdluB2GVm M1zvD5xFj/7y3/lgkX5P+ayVrxIeOpDNW7uxP329Ly4oiK8oBdJ12xAlh2BgrQEVZ46w aRxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0vvthN20lN+WXz+n5AK/7aVBNF87CbaFIzew0BHEqkU=; fh=v0teqksL3xO+SLXxmXdn9hV0IgnSHmLX2R1lVYr4iek=; b=NdHpqGZGtRLsU5GAQBLsJYgwlSMhHMcDBzn1zAOgG2NZv0bMFcX4RItULB8n5YFcNC 8Wf8zL6ZhqtYz+DGBoLHy5ZiZirQP0v5PeW9aunIuH2zdCSh8M4JrY7wbNMp5/KPVP16 WmbC3EwlQBaAaI5ZFqiVg/JRaiZ2YNTl7dxY8RmXsRR1cUMkoq6mPuH5Db1hDnyyXp1E AZrfFHtrFNUllMc4BaENvZ8mL7MfsD5GHK9rCPe4gPxwMfMGxcj1GPHR4oQPmBccuKeQ jfBXyDTQImb1LnlBT5gmQZZOSj0DHDhAoOXAzyh2LTom3ObBcnwj4xNxEYTjGuAKwyJ3 FGdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CfgpjrhF; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-188526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd0ab40si108868085a.231.2024.05.24.02.10.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:10:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CfgpjrhF; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-188526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 635021C21A0F for ; Fri, 24 May 2024 09:10:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 664F1129E9A; Fri, 24 May 2024 09:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="CfgpjrhF" 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 smtp.subspace.kernel.org (Postfix) with ESMTPS id F285542AA0; Fri, 24 May 2024 09:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541796; cv=none; b=pG4+MzhXvSgGEeMLoDT6WclkXWPT7QI9sjBJdGlif/8DQO/lodqBKQzV7mcwe5H9u7YRbGkEZPCC0y++EIDvMiIEvrtSiaFFT8uG2o+87E0W4cA0roloH8IQjOioQGY8Q9lzJJRtNl+Wh50BZoU9o1TLcrxBj3DhfhGO7PlJ4FM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541796; c=relaxed/simple; bh=UyJXOFvXCuKXrxVR4X/0AOzG4msi71UdQXvrD03dlk8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dbR+15SzlU53JviyuIY2GZ4+htqoE3efvfaMJXs/pb9HxNFEUCy82Rwu90dWZzejKI+4XU/mgb0Wd7yzUMCyWcCNSOzBhCQT2R55EFpeDdXe1ewOhCgVky+ShuIe3KTKCjd6lu5PYnYmKMG3+wZtkG/pXuWeRq8v9t99ywQwrgQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=CfgpjrhF; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44O95ge5054220; Fri, 24 May 2024 04:05:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716541542; bh=0vvthN20lN+WXz+n5AK/7aVBNF87CbaFIzew0BHEqkU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CfgpjrhFkA1w4+1D3BK1LOmeumYYLzYqxfnym9dvCxXDHNjPKT9rnQ0xwKHlk9efn ICc5ZzHTcmZ2oR3lcA3Yqf1ZmKHCCQeRiNd0KG3g83jNtWB1rpyQivUSHczpWl941O NuppQPF0dhMWSDTC/5TfcXRM66BGmMiSqraLJtI8= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44O95f1l095760 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 May 2024 04:05:41 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) 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.23; Fri, 24 May 2024 04:05:41 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE110.ent.ti.com (10.64.6.31) 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, 24 May 2024 04:05:41 -0500 Received: from uda0492258.dhcp.ti.com (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44O95F7K017455; Fri, 24 May 2024 04:05:37 -0500 From: Siddharth Vadapalli To: , , , , , , , CC: , , , , , , Subject: [PATCH v3 5/7] arm64: dts: ti: k3-j722s: Add lane mux for Serdes1 Date: Fri, 24 May 2024 14:35:12 +0530 Message-ID: <20240524090514.152727-6-s-vadapalli@ti.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240524090514.152727-1-s-vadapalli@ti.com> References: <20240524090514.152727-1-s-vadapalli@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 The Serdes1 instance of Serdes on J722S SoC can be muxed between PCIe0 and SGMII1. Update the "serdes_ln_ctrl" node adding support for the lane mux of Serdes1. Additionally, set the default muxing for Serdes1 Lane0 to PCIe0. Signed-off-by: Siddharth Vadapalli --- Current patch is v1. No changelog. arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 3 ++- arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts index a3bda39cc223..16c6ab8ee07e 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts @@ -401,7 +401,8 @@ &sdhci1 { }; &serdes_ln_ctrl { - idle-states = ; + idle-states = , + ; }; &serdes0 { diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi index b069cecebfd9..48b77e476c77 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi @@ -96,8 +96,9 @@ usb1: usb@31200000{ &main_conf { serdes_ln_ctrl: mux-controller@4080 { compatible = "reg-mux"; - reg = <0x4080 0x4>; + reg = <0x4080 0x14>; #mux-control-cells = <1>; - mux-reg-masks = <0x0 0x3>; /* SERDES0 lane0 select */ + mux-reg-masks = <0x0 0x3>, /* SERDES0 lane0 select */ + <0x10 0x3>; /* SERDES1 lane0 select */ }; }; -- 2.40.1