From patchwork Wed Jul 10 15:36:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13729447 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 66CCFC3DA41 for ; Wed, 10 Jul 2024 15:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Cc:To:In-Reply-To:References:Message-Id:MIME-Version:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s64RA7czZjoxKqdjU5coO4Q/NqOYJDpUbBArTWbAtjU=; b=rs+2QY2YY2S7WoVcT7Hn7hfnH2 /v1uW2ILwP6bFj8OWqXOAjjKipE14ggxSRfFnzaIxS+Na0m7qqrTLxiLoDBDM9vSBLrrz4c0tpwKU NWuu0MOCuzQGfIVl7MEzJr7dnFVaOO+5KUwJXGOfSskYnqrOFR1b8pYYvxRKo2hnWbPFqctN0xHaP 4uMt46VbN7nUNBy2IMfTA3zTFZvYctLjZx6sIGmf/j3CgpX5udqyMQAPKsMUiFs7m0Ex24wTu3VKf mSOg2y3LeeLi19G1L9f1JSd3Y0RDD+rM7D940qUJPrNI54KqlIIylfD/cZhtLmEXkOrh+vHWOXhnJ Vk9ioDeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRZNr-0000000AzI8-0mxF; Wed, 10 Jul 2024 15:37:31 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRZNA-0000000Az1a-1GMk for linux-arm-kernel@lists.infradead.org; Wed, 10 Jul 2024 15:36:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720625807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s64RA7czZjoxKqdjU5coO4Q/NqOYJDpUbBArTWbAtjU=; b=ipCQfKJmzj4ctdkNsakV09y27ZWOKBxKdBFbG3KWShH7eoceZexsVtLqzYb04V4uSipTzH prlP7keG6oB86W6iFJtTPon7m/22HnUSD1saT2I7PKmhdeQJyf9N+03MEuqEDCsQZ2MbDm hYEizaYkr9d1WIqSd2gPkNfibs3GN9w= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-62-OA9pQEZRMLCPuj5_0FjRkA-1; Wed, 10 Jul 2024 11:36:44 -0400 X-MC-Unique: OA9pQEZRMLCPuj5_0FjRkA-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6b60b18e8efso64180206d6.1 for ; Wed, 10 Jul 2024 08:36:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720625803; x=1721230603; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s64RA7czZjoxKqdjU5coO4Q/NqOYJDpUbBArTWbAtjU=; b=AJG2dHhA5Ln0eMFFQYfs81Y8k0/HO2PPkggBpvW70gqhcXUjAbYMxeBQXsALKtwckd bup2sqkFk1dm0PZjDoFeYoEVtdFka3cSPQUbH41dkzwQcMF/ujrA83f2Yjd36+nWONTZ fRdTBquV5d+sIIwhFnV7MY52ddQJnvMQoB1QZ5azCtzEyNwNLi/OAtW2kg2G4RpZYWC5 xklm+iABO04SULW+bA2CWaaiJOQzyYcocahVqjy5vbgTo7jjwRIYY5aG2ZXyTmailMoa xAVGaLans5uWwokPQHariKzf5W5rJwMqoAo0HTkpBCg3Wvp9c2pEkmfOCC1cn1iMIsvW Llww== X-Gm-Message-State: AOJu0YxSSFa7Lk9aS2bY2SaLjYYVb/Lni36/doy8MGPeS0leskPx8u8L FGN66yDf41Ken8IkRYQ7D54IhwyBriMhddhTb+9ktG3R2mrGVuaKuliwCV9V2xv5/p20DRRwMUD rEQoD03M15oIh5DzJaIhcLhsOqiMaeuRI/ImQwWG8+lDrAzaKzYHKo07MfF0UlysY4Iyh+OJ/ X-Received: by 2002:a05:6214:1cc1:b0:6b5:dca9:675c with SMTP id 6a1803df08f44-6b61bc7ef93mr77770566d6.4.1720625803530; Wed, 10 Jul 2024 08:36:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHB/GdF4nMtnZWIqpj1bOX+NMDeXUNW4j07PUySuL9OsO7VkDuRhctdh8i+I5JTRQjusLsnqA== X-Received: by 2002:a05:6214:1cc1:b0:6b5:dca9:675c with SMTP id 6a1803df08f44-6b61bc7ef93mr77770346d6.4.1720625803239; Wed, 10 Jul 2024 08:36:43 -0700 (PDT) Received: from [192.168.1.111] ([2600:1700:1ff0:d0e0::40]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b61ba74d8esm17970576d6.94.2024.07.10.08.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 08:36:42 -0700 (PDT) From: Andrew Halaney Date: Wed, 10 Jul 2024 10:36:14 -0500 Subject: [PATCH 2/2] arm64: dts: ti: k3-j784s4-evm: Consolidate serdes0 references MIME-Version: 1.0 Message-Id: <20240710-k3-j784s4-evm-serdes0-cleanup-v1-2-03850fe33922@redhat.com> References: <20240710-k3-j784s4-evm-serdes0-cleanup-v1-0-03850fe33922@redhat.com> In-Reply-To: <20240710-k3-j784s4-evm-serdes0-cleanup-v1-0-03850fe33922@redhat.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Siddharth Vadapalli , mranostay@ti.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney X-Mailer: b4 0.13.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240710_083648_454403_31DD1F30 X-CRM114-Status: GOOD ( 11.40 ) 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 Subnodes were added to serdes0 in two different spots (due to independent development of their consumer usage). Let's go ahead and combine those into one reference for readability's sake. Signed-off-by: Andrew Halaney Reviewed-by: Siddharth Vadapalli --- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts index e54ccf4f37955..ffa38f41679d8 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -1262,6 +1262,14 @@ &dss { &serdes0 { status = "okay"; + serdes0_pcie1_link: phy@0 { + reg = <0>; + cdns,num-lanes = <2>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; + }; + serdes0_usb_link: phy@3 { reg = <3>; cdns,num-lanes = <1>; @@ -1386,22 +1394,6 @@ &main_mcan4 { phys = <&transceiver3>; }; -&serdes0 { - status = "okay"; - - serdes0_pcie1_link: phy@0 { - reg = <0>; - cdns,num-lanes = <2>; - #phy-cells = <0>; - cdns,phy-type = ; - resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; - }; -}; - -&serdes_wiz0 { - status = "okay"; -}; - &pcie1_rc { status = "okay"; num-lanes = <2>;