Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1496384rdb; Mon, 8 Jan 2024 00:29:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwUGDUeGQDwRt58eLjhD0VgGE6/Fy6+V3jT8x0LOOvBucuUVhC8X3rE1+rI87+/4GdZjhw X-Received: by 2002:a05:6a20:3d94:b0:199:3a9a:5fa1 with SMTP id s20-20020a056a203d9400b001993a9a5fa1mr1051930pzi.39.1704702549069; Mon, 08 Jan 2024 00:29:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704702549; cv=none; d=google.com; s=arc-20160816; b=pSq8Fr7l2LsxWD69FGR3UkCCXtjntFe5Hb1gPm8bKtZ831B9Qu8lUK4ONr1mfh0013 ILDZtlUXOj+fIfxLp0bAf1yQ8kdfyCGPWE2GEah7skadzXQ34R409GyHl+SVJrWlzdEF f70FVCKISpL4LDZoJdgzZDBh0/Z+5XcLe93BsPuGia4i1EX29U4U2kWgSjIfG+WLa0tE jGRGj2CIwCPFoZzGdkx8NkopQLo8FW9BCbe1JEkkmMPib0dq2UI8XDzOPehx8KJt9Esc 9y1VZAusMm5+8WAOw5iAitjnM+f4F4J4LEPtE1lR9/BgqB71p8UAqsdISH6Fl5KdafJ1 CmwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=KiUaoDpIBFJNm/5JkSkSpwu9lZVeZsGzw4NT5VnaY/Q=; fh=k/K+m9z9WXFt8c6aiPti6MSVRSbBWFa1RdXjmcp/7ec=; b=S2j3J+NHxfR1eK8uiFr2g/OchtF7Vr1jjKSYhNUgf2HqrljCDNV3knHgroDdAXLkdt Eoy0mYOACLQq9z8q3ypVOYlzziojUrVh11I2Bfdb6rQUZFWrtHs4gTj+U8IpkGe+lYTj wd0Jj5tJ+evd38uRoI8UaozYEULW+P0cze1cpFvlGki914GPhw1K/x5OXXxnZUkR4l9S V2X6x8ebyHFdOFhJiI2VSKt7kokzIfin8+4OmKMti78HKlhnZII1C85WHRSKTZEzYh6D Bp4DPasCZebDbjdhT+evhdBZoQpYXv35qA9r4wdOT0nCNR/eoetlEpQt+zpuI70Tv66E 9qXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eXDRizFA; spf=pass (google.com: domain of linux-kernel+bounces-19186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id v5-20020a655685000000b005cec8ed4f82si5794309pgs.221.2024.01.08.00.29.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 00:29:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eXDRizFA; spf=pass (google.com: domain of linux-kernel+bounces-19186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B915EB2149E for ; Mon, 8 Jan 2024 08:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB4B0B672; Mon, 8 Jan 2024 08:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eXDRizFA" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4226C1170F for ; Mon, 8 Jan 2024 08:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a2a225e9449so119595366b.0 for ; Mon, 08 Jan 2024 00:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704702481; x=1705307281; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KiUaoDpIBFJNm/5JkSkSpwu9lZVeZsGzw4NT5VnaY/Q=; b=eXDRizFAAumLT15Oyu9oJw2FbTkv3dpsPlGNzUR3H0LIQTY/yvuusUWeMXf7sc+tzW SKibz00IxVp290sDb57znOeTkdtOIbeM4pppbletWxO9iVPzAd+bFT2S1L4gYN3slcOT W8qQnW//RBkwySCFtUvSFct63rJNChIMWAGmJPO5Poiugz7pojKCobPR4hHFex3WrFMw t0eEIcXCmI4z0/VdqFeNUQv9SzOLdb1yxtdzY0wynb3/R76aQBPHCUdbslsSB05/sZ66 RUQyJr1fCmVRYs2d+cSi6HNTp8EeU6ZJ6hBZ1cjHy/f6YuZwCzanzy34G5eGa5ZtRZjQ yBrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704702481; x=1705307281; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KiUaoDpIBFJNm/5JkSkSpwu9lZVeZsGzw4NT5VnaY/Q=; b=dHAYlNilisTHgWFFwmeJE1hZVFI7UXRvRIKjpktw4ig/0zNMdb26pLRDD77nJgEKHv tKCkRd7PHqu9pTLbWPekj99vDaLDV4nY2WOe3NvoO/OSG5oh5zHpQJ8GgYZ0LonkzbNt i/AXi38FBQofpU0hn0aOibiYi/HkHEjzTL4XVEzueBxyqFpeHZi16hXcdYpaCzHXjsyh 9F1wmKYSZtKFQILvZCUNKnQ+wRgOYFHk5L9131DFR9b5jz70Jqf4ZlUDXGA/e0BPA9AY o2Ti4+Shjmeo/gm5OhHVdErMveisAu6KM+xhg2XKtEQ8hbo1i9MKGJXZO/kDS9scdFlO nQfQ== X-Gm-Message-State: AOJu0YwlI50Bb9eGaKmWcq2A+dtBmt5aVTVB/cyhkpQF3VgR4G5gHsHr knNgm6V2GzJ/UrVorXEBv/O6i/AFEYFk/g== X-Received: by 2002:a17:906:3b8f:b0:a23:39e4:ca86 with SMTP id u15-20020a1709063b8f00b00a2339e4ca86mr1339215ejf.74.1704702481538; Mon, 08 Jan 2024 00:28:01 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id t20-20020a170906609400b00a28badcf367sm3716898ejj.54.2024.01.08.00.27.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jan 2024 00:28:01 -0800 (PST) Message-ID: <0aaa3f78-07c5-4c03-bb1b-897020541e7b@linaro.org> Date: Mon, 8 Jan 2024 09:27:59 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support Content-Language: en-US To: Tan Chun Hau , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Simon Horman , Bartosz Golaszewski , Andrew Halaney , Jisheng Zhang , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Russell King Cc: Ley Foon Tan , Jee Heng Sia , 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 References: <20240108075810.14161-1-chunhau.tan@starfivetech.com> <20240108075810.14161-2-chunhau.tan@starfivetech.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLh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35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240108075810.14161-2-chunhau.tan@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 08/01/2024 08:58, Tan Chun Hau wrote: > Add StarFive JH8100 dwmac support. > JH8100 dwmac has one reset signal instead of 2 resets as in JH7110. > > Signed-off-by: Tan Chun Hau > --- > .../bindings/net/starfive,jh7110-dwmac.yaml | 28 ++++++++++++------- > 1 file changed, 18 insertions(+), 10 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml b/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml > index 5e7cfbbebce6..3d0447726902 100644 > --- a/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml > @@ -17,6 +17,7 @@ select: > contains: > enum: > - starfive,jh7110-dwmac > + - starfive,jh8100-dwmac I have doubts that you tested it. Missing change to snps,dwmac. > required: > - compatible > > @@ -25,6 +26,7 @@ properties: > items: > - enum: > - starfive,jh7110-dwmac > + - starfive,jh8100-dwmac > - const: snps,dwmac-5.20 > > reg: > @@ -54,16 +56,6 @@ properties: > minItems: 3 > maxItems: 3 > > - resets: > - items: > - - description: MAC Reset signal. > - - description: AHB Reset signal. > - > - reset-names: > - items: > - - const: stmmaceth > - - const: ahb > - > starfive,tx-use-rgmii-clk: > description: > Tx clock is provided by external rgmii clock. > @@ -93,6 +85,22 @@ required: > > allOf: > - $ref: snps,dwmac.yaml# > + - if: > + properties: > + compatible: > + contains: > + enum: > + - starfive,jh7110-dwmac > + then: > + properties: > + resets: > + items: > + - description: MAC Reset signal. > + - description: AHB Reset signal. > + resets-names: > + items: > + - const: stmmaceth > + - const: ahb Missing else: narrowing your jh8100. Best regards, Krzysztof