Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp616596rdb; Mon, 29 Jan 2024 12:24:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVnFIF/RdWU5FAD6yk5UGH0fflhZgSc+ux0pDiale+UMDCRARkK4xCnl8UXQaThA/Zkkk/ X-Received: by 2002:a17:906:7f8e:b0:a30:dfa9:87ba with SMTP id f14-20020a1709067f8e00b00a30dfa987bamr5197817ejr.53.1706559873121; Mon, 29 Jan 2024 12:24:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706559873; cv=pass; d=google.com; s=arc-20160816; b=QNASM73dxGGBA7/iG6VMNKcmx9kGNJHl1NzxPAaGrvYqF/CypOpQoQm7zAXERDaEOh 7zb0ertm7KgdRtBNKNWtVYjTl/iInqv4PE/B8L/c6UllVXnvrQ81lvjf7pIBCIePhhNC AoGJInwNZZN7r4oth4xf23mzBHemSFvpBoqXtV/Jowu6wCtdg/q+SUcNPKf88hlekOS/ kWnrNtIvk4SBuPuztpzVbN/+Jw4NqHncyVKcYTN6ks+o8T9VcYUUPsyCk/TNv2tuJbV6 dRrWt74KTrrmPwIywPtq8gK+36iTnH+WTAf1H51Uvu/ZHh5zW/w2c4roTiaNIpi/RozO OOmA== 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 :subject:cc:to:from:date:dkim-signature; bh=PO2ZjRknXhtl5b7+EHFxtH0OERi/9IuMidWAZiEFi6Q=; fh=FWE4R1cx9dc78A8r8NKJSICUUI6xg6Okg+lMV0qcTes=; b=zVikalfC93d22kSlfpnYH+WVgxGKmxx5mBQlxSxmkU7abwm2MKuMlFYt5v+qH1+msE 2aBpIGTvfIWmoHwEShpJO7RPIzIwDww1Uqos7PJDh2YF5o7sLyvpoh5nOW08QfrvFDDk kDI62XcWLtxNSPmYxaSVYlYhdRseEQAJveTPeAnH38ZjBojtA/O+EXGTk4PYdAEXuHf3 hUJmMpAvYylBR2ukmft/1lOU5m6IScQh+tduv0yTuXczgcTCaZYdk4et+s7TAh0P4wVR 70lAkLtBqc8YBPK/oyZo2YTHKEVMozhpCGzK0ZVpiENtO5uvaT8XDhBXVjijpltKqFIA ylqA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EnQ7uZ34; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i14-20020a170906114e00b00a3522159724si3240596eja.257.2024.01.29.12.24.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 12:24:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EnQ7uZ34; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D814C1F239DB for ; Mon, 29 Jan 2024 20:24:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B88E13D51E; Mon, 29 Jan 2024 20:24:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EnQ7uZ34" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4BCD37603D; Mon, 29 Jan 2024 20:24:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706559860; cv=none; b=rxOEK0bGBr/Pc6BmTFYwyas0BkBthfBRLAiuitbjNC8N4nMAp1FRiGXewZLCeV/0WdySQ4mSocM4u9r9kkBrpQoCb8AZomjZXGhc8YJ25FZ77odXsg0O/4II0h0NECSRHFf6JhsOEqIvzj4OeDbXO52bDp3B4nJx5PhOsjO2Pyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706559860; c=relaxed/simple; bh=rAnCgDX130n4Pu5xvGz9+ytgomDscbf8iqQYRZN9m/w=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ze5G/Hh2K4m0/5ynRbAQe2wehOe4Lm9Lmr4R/RVvK4QO2kpPuab499hdK1UZxBPEINDZxhyZfssF/RLIeQb3DBikWDmx6LqeVhrGil0E/ZyByfQcIcWmTo7ZHTq4wjQipCy4rC0vRlg+ht2FEZ5fn0SobrlTn22ZOc4Po+pkQHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EnQ7uZ34; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEB3DC433C7; Mon, 29 Jan 2024 20:24:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706559859; bh=rAnCgDX130n4Pu5xvGz9+ytgomDscbf8iqQYRZN9m/w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EnQ7uZ34Ob53zG2/8P4qFAZnQWAPouiVzki80qVjA3PDp+Kad4GQq8qJxCOT2sZG7 lfO/tIzu4Xz+mxMVoOR8Cz2oZzLI6m0bWhNjxKoCXayZS1yREWDp8O0Y4De/BX17C0 ybrbHX0tZk5IWnd7jUrgdWVbKLa9SJK5IStnOIh3Fba8Sqab6Sty1L2GQ1xqeKygSL YOinnmVlw9QitytUiQ6Q1MccwF2tPYhUncXmaTLjK8gZ4kfiYucbE32dfJBzX2bT9l 1CsUmVX0nsSXgTZV2rN/uyeJR55C21tHp/yrQ8C6YR0uiPqBJjbkpjNabQ7dpv5GCM sTJn7jatBtHUA== Date: Mon, 29 Jan 2024 12:24:18 -0800 From: Jakub Kicinski To: Cristian Ciocaltea Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Samin Guo , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Giuseppe Cavallaro , Andrew Lunn , Jacob Keller , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: Re: [RESEND PATCH v4 1/2] dt-bindings: net: starfive,jh7110-dwmac: Add JH7100 SoC compatible Message-ID: <20240129122418.173133d7@kernel.org> In-Reply-To: <20240126192128.1210579-2-cristian.ciocaltea@collabora.com> References: <20240126192128.1210579-1-cristian.ciocaltea@collabora.com> <20240126192128.1210579-2-cristian.ciocaltea@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 26 Jan 2024 21:21:25 +0200 Cristian Ciocaltea wrote: > The Synopsys DesignWare MAC found on StarFive JH7100 SoC is mostly > similar to the newer JH7110, but it requires only two interrupts and a > single reset line, which is 'ahb' instead of the commonly used > 'stmmaceth'. > > Since the common binding 'snps,dwmac' allows selecting 'ahb' only in > conjunction with 'stmmaceth', extend the logic to also permit exclusive > usage of the 'ahb' reset name. This ensures the following use cases are > supported: > > JH7110: reset-names = "stmmaceth", "ahb"; > JH7100: reset-names = "ahb"; > other: reset-names = "stmmaceth"; > > Also note the need to use a different dwmac fallback, as v5.20 applies > to JH7110 only, while JH7100 relies on v3.7x. > > Additionally, drop the reset description items from top-level binding as > they are already provided by the included snps,dwmac schema. Reposting review tag from: https://lore.kernel.org/all/0a6f6dcb-18b0-48d5-8955-76bce0e1295d@linaro.org/ Reviewed-by: Krzysztof Kozlowski