From patchwork Mon Sep 7 10:38:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 249208 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3567091ilg; Mon, 7 Sep 2020 03:39:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8yc6E7iqzTK/WZGFRcMgGnvNFxvUE3MLMQQC1+LUG1VslowXC7BbnV1LThlkgvqzckrTQ X-Received: by 2002:a17:906:174e:: with SMTP id d14mr2738056eje.225.1599475150454; Mon, 07 Sep 2020 03:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599475150; cv=none; d=google.com; s=arc-20160816; b=KvJ2lraGCt7vjQahU12YQNeg+tPyvnIarCz278hHG0abaMCMu07kuG/OjfomDxf70G aQfw9XXCc8u9jvnfUh2+0W04YlLKlWOaumKARoCUUMDsNHbnZlP+mrJy0hZhFF8Hctmv Ao33K6fm1NeQQJaccP6pvomtC9WTdZEZqoAiTCvVq8GUpJ3kv72PjwxY13ONwtlCmc9p 3+tkQPk0cUSFeW6JasITPm38ZoJ3XYj0TDIbv9Bc1qYM7xp14PTqRx0o/BmuPfMeDAuR P/JE2XGgAyFrpD+vXQ1uwrwBLjn7HKaUDPdkkknoWk5u9DfkGo4PwcAc+h37N6agCzpW pe3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=pLZ9CHuRXkAzH3Sa4zxtAoJO6prJijARAQmRuONjyc4=; b=RNz00/aJbMjbSE/1eLSSV6A19wGvptd2K+GxA+4dJ+7v7KKS52gp0R7lb4iEhmtWvh /w42tdtMFzNVc0JmVNRsN/jhvR8e8fjsTeSS6T6sTqZkzaBa5OUOqxqX4OUnJXM73Vvi 5AJiZeOzBAIrVqsZK59zZHghvNx4xsiiy7RGTzq1ktFNpSS+0plFLGqcCorAn63L2rht 0Rnz1m9yCcdEmeMlAz3HUlO3zL/R3pMJl2BeqUsFLF7qFZtBKNObCV+K/erTzEt6BEov 5IP0YBPt+6nYFELq5YryhSNHsgEV6Zha9NIiFSXNc6g9JqCWj+ciXykNm1I21Eeuyt3A ryzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mufA53AC; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si8326999ejd.367.2020.09.07.03.39.10; Mon, 07 Sep 2020 03:39:10 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mufA53AC; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728695AbgIGKjA (ORCPT + 6 others); Mon, 7 Sep 2020 06:39:00 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:59874 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728718AbgIGKif (ORCPT ); Mon, 7 Sep 2020 06:38:35 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 087AcRbG129258; Mon, 7 Sep 2020 05:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599475107; bh=pLZ9CHuRXkAzH3Sa4zxtAoJO6prJijARAQmRuONjyc4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mufA53AC7Jto10N0ole7OXqEdyc43tz4wfUXyhKvfI8r+WujkgWkapiDPpCdAIpus 9P2g40j22WC9UgZBfD7QLasr9Z4m85gHfVZkXuYvFnA8Z2xTGIFCfbUeRXvFUwoX0R JOxnniL8mpdObXhCNiQL64nobtJdJxwC5I2rWSjc= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 087AcRk5114245 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2020 05:38:27 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 7 Sep 2020 05:38:26 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 7 Sep 2020 05:38:26 -0500 Received: from lta0400828a.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 087AcCOt085251; Mon, 7 Sep 2020 05:38:24 -0500 From: Roger Quadros To: , CC: , , , , , , Roger Quadros Subject: [PATCH 5/6] arm64: dts: ti: k3-j7200-common-proc-board: Configure the SERDES lane function Date: Mon, 7 Sep 2020 13:38:09 +0300 Message-ID: <20200907103810.9870-6-rogerq@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907103810.9870-1-rogerq@ti.com> References: <20200907103810.9870-1-rogerq@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Kishon Vijay Abraham I First two lanes of SERDES is connected to PCIe, third lane is connected to QSGMII and the last lane is connected to USB. However Cadence torrent SERDES doesn't support more than 2 protocols at the same time. Configure it only for PCIe and QSGMII. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 6 ++++++ 1 file changed, 6 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 8e534ef8a3f5..0ecaba600704 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -6,6 +6,7 @@ /dts-v1/; #include "k3-j7200-som-p0.dtsi" +#include / { chosen { @@ -139,3 +140,8 @@ ti,driver-strength-ohm = <50>; disable-wp; }; + +&serdes_ln_ctrl { + idle-states = , , + , ; +};