From patchwork Wed Jun 19 11:24:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 13703685 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 082F3C27C53 for ; Wed, 19 Jun 2024 11:25:17 +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:MIME-Version: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:In-Reply-To:References:List-Owner; bh=xZufrVenZZNOki6ThkT5V784LHMR0r2wNvufJAnx7Y8=; b=n7OJOwcb0ZsnIHAxP5ovnnw71z y77Qzo+Uoes8SsdWsq5bKuBk6uyUYME/h2KtVYaIweMOZ3NjdjuWQ2yFxKNkgM8X6gMJzFrodJZyi /hK5yxDVVuTmG9dKTvIjnLqKDpOJF4USgo4TaE6SLV8XsjSK4qhvi4NfuPixA5qH+8fAZMtRS9QfW goSUh0MWFwY7dO7aSQ46yvFJ66mCde6UQTV5cTScOHpECu2PtWQlCo049idxvMazURSLAYGemVLcp Mxrp3IOLFxFiSginuJsNZMq4JYkkLDKBVbX7iZjxOzm8w0So0zV/25waN3VFPwYTqDbJIJXFD3UXJ oKLdRLCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtR2-00000000xTD-0NT6; Wed, 19 Jun 2024 11:25:04 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQV-00000000x8g-3Tih for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 11:24:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1718796271; x=1750332271; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xZufrVenZZNOki6ThkT5V784LHMR0r2wNvufJAnx7Y8=; b=Wq7EsMFHIcSt9xCzzyCSaGm463Ov5yPtY8pyjLgiYrjKhDDuA2saS6PG NBhKkyx2tw1uyEdgjdfjjPnYktAhnBrQ6M3zooC80wEu+G8F1QSO6P+6N tbQe9wsREZdDKfJlQ2wu+5ZVPzpsnpH1l1jlwnZsrwrMqJtUUUPgWxoiN BsktTDFnnE6Ifpkiq/FHsc+mhW4xdWJa186s8PmG/4VpeGqV1Hxop1HBb y5M/o6kO4x+JdQP6MMflbXM8FLPYVn4sTphx62jMzOucu2C5c9j6vxu/N B3kSWyPw6Mt3DFiSugnB3YZa99HBeNY3xSc3pbaV3acDYdeb6pGwwPPB6 A==; X-CSE-ConnectionGUID: KtG8NCUNS6OqyLTOH1tEbw== X-CSE-MsgGUID: TnTC/eVQQlSgSps1kOY4xA== X-IronPort-AV: E=Sophos;i="6.08,250,1712613600"; d="scan'208";a="37474780" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Jun 2024 13:24:29 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 00F14165949; Wed, 19 Jun 2024 13:24:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1718796265; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding; bh=xZufrVenZZNOki6ThkT5V784LHMR0r2wNvufJAnx7Y8=; b=YoBm1bkm65S2SF3FEZHDxxzFsGx6IuEcYgJl3WLnSg1dVr4Xgfzze1KcgAtq5O5xPYZp37 zLaYKOTD34GxPwkf1Dw67kHtdDhnzXx1eTQuTJqnGqv8NLqYrXlN64HeC1BfpM615LMki9 OjPHwJe8bq2OGs8+wZ41qBQlFX3hJg3FhTW4AHZrLMihFjrKYibvLmyLcrehel3WWMgYxB TnhPg4C3ml35HPj31Klr2SatE93oIB059w1ZDQpoT9Q0dBI6ncrZENq2ZTSpeyYcOHX7EK reHfywshrEjGOLSMuGxVrWLs5KjxK1XPImZjFt3clW0+iWMA9DQ2r5bcJohCUA== From: Matthias Schiffer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Suman Anna Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Matthias Schiffer Subject: [PATCH 1/2] dt-bindings: soc: ti: pruss: allow ethernet controller in ICSSG node Date: Wed, 19 Jun 2024 13:24:05 +0200 Message-ID: <20240619112406.106223-1-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_042432_539676_EE8D541F X-CRM114-Status: GOOD ( 13.28 ) 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 While the current Device Trees for TI EVMs configure the PRUSS Ethernet controller as a toplevel node with names like "icssg1-eth", allowing to make it a subnode of the ICSSG has a number of advantages: - It makes sense semantically - the Ethernet controller is running on the ICSSG/PRUSS - Disabling or deleting the ICSSG node implicitly removes the Ethernet controller node when it is a child node. This can be relevant on SoCs like the AM64x which come in variants with and without ICSSG; e.g., on the TQMa64xxL the ICSSG node will be disabled on variants without as a bootloader fixup. On Linux, this avoids leaving the Ethernet controller in deferred state forever while waiting for the ICSSG to become available (resulting in a warning on newer kernels) The node name "ethernet" is chosen as it nicely matches the regular "ethernet@" format of many Ethernet controller nodes, and is also what the prueth binding example (/schemas/net/ti,icssg-prueth.yaml) uses. Signed-off-by: Matthias Schiffer --- Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml index c402cb2928e89..89dfcf5ce8434 100644 --- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml @@ -92,6 +92,13 @@ properties: description: | This property is as per sci-pm-domain.txt. + ethernet: + description: | + ICSSG PRUSS Ethernet. Configuration for an Ethernet controller running + on the PRU-ICSS. + $ref: /schemas/net/ti,icssg-prueth.yaml# + type: object + patternProperties: memories@[a-f0-9]+$: