Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp177594rdd; Mon, 8 Jan 2024 23:59:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7rEa1ZTlOtlpwLIUqJzRP5o3QY+aWQzNvBtnURYGZj0vb9BZO1xgSGMH2JwNBedsZ4uSN X-Received: by 2002:a05:620a:1669:b0:783:29cb:6548 with SMTP id d9-20020a05620a166900b0078329cb6548mr1468116qko.60.1704787151488; Mon, 08 Jan 2024 23:59:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704787151; cv=none; d=google.com; s=arc-20160816; b=QjnkSmi9wN2I5EGNEt0Ipts1on2qv0waoUltwv5XSFi3rpOdiwWL8Tvj5Kg8naqleE 9OyRBe8gGfPTGI2snbuthYh2yalKZhDKmo48rBoLOCITLsqs+driTCGKcbiD2A/DsiaY zaS7J4U37tftvIcJ9/y4MwhIMk7+7LP61i2H4OznaMayl2cq1KImkEo9yKaGtGK7T+/y nMPPKGvpLCn5X/KckddOC/zmalGcXy/xVxAXZoNNFYUnn2wP4xY72AvDUnnbiIFGUnUC wLR/u5Ze7BhpkjWZfmdB5eS75AjWadiVqOueQ76o2BqHiMPFb3qE2r7NDF4dMvts76bb yv5A== 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 :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Oac+sieW2ORkVnCZNNxb86+tyi15tQxVSaqMw9NNTkg=; fh=5IEjZ0oANe/Hy/wAjEd9lU2kqlt9FK3DnGrbBCAyyAo=; b=FJeAmVnFTeOUydeqI4RgEhuh5xYs0bVyQPqXGpx45AYiRpm26ZgEmrMhj/60fhOYMj 21gPlYFL8yw0KLVQfMQR0CdT1hHotmxsAj8dJyfSdkncwVmXozccodZiuTVR/taSRsG9 StchwFTOHCapxRYpTPKVbJYhwtXWZt48mIW/kIPfFwo7oHpMhvaITtbHKpYvJQrfPDho COj9UlOIexgyjCFzzz+Oga+TgpPSY67YAVJMiMgmpTmK7bgc2D0HMwdK8pOR4Fo+eNRC PbY+pa8bAEnq/QZnseIQkWTB0O9NA9WvfJRPItGdPvfa6CRKvxQCCy53LXBvQygejphg ekwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SteUE6PU; spf=pass (google.com: domain of linux-kernel+bounces-20507-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20507-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h13-20020a05620a400d00b007832f948151si447281qko.617.2024.01.08.23.59.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 23:59:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20507-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SteUE6PU; spf=pass (google.com: domain of linux-kernel+bounces-20507-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20507-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E71EA1C255B7 for ; Tue, 9 Jan 2024 07:59:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4861EC129; Tue, 9 Jan 2024 07:58:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SteUE6PU" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 8D7DAB67F for ; Tue, 9 Jan 2024 07:58:38 +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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5534dcfdd61so4707279a12.0 for ; Mon, 08 Jan 2024 23:58:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704787117; x=1705391917; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=Oac+sieW2ORkVnCZNNxb86+tyi15tQxVSaqMw9NNTkg=; b=SteUE6PUAm9xbqGOvMKSMIDr/skoJum40w5hFj7ugRNLsDRIvTsI5se0X4a9bj7sfW HyDljydAVCzitHB7tbOnguiVMFVBsDVj2DsAB2nQsF5qt4nfoIKe8eT13AR7cisDcpsY ah5Xm6bpak13Q/UzqOEDaQ8sKMSMz3On8I7TAKkIXro8DQuFoinjXBslEkvCYM6m5nnh i2cmFo4Fm2kJjGJhYwGCRZA5azzYmJXpeATHpt7qJCyKygUUw29qL7Z/wdqRTRa4LQtZ MUiDmONvGHtcJgrHROnRc46qFIkcPQHDk3/82lHzWhDZmf+LALlQQGk0ArM4CfVIVyh6 i9Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704787117; x=1705391917; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Oac+sieW2ORkVnCZNNxb86+tyi15tQxVSaqMw9NNTkg=; b=Q2kVYLOcCh3mtkkFDzgrzhih3zsWeplCsHHMs0SxnDOXgpbXiBcqjUCTNwDs633xHG NRxNQJ+4c4a94ofUN/Oy1ZtJ5gmAcwI61uGm4h6otLIBtB22PsWZOyv/ItiX8DUOwDTe T+K17ANv/pWMHLInhFjdryBH1dcshJCOnz9Cf5pmgFV8LLUyNdS3KQTdsIono3KMs9Zv k0JECSFO2I7e4EYkndWBApBC/yOLOcc/QLfkHTlqGwwXRxbgq6CJykpbUZUNaJhaYXbQ DHFouS0NiCLJ/4xweCN9KFq5a7UPgZi6osXR2BLEwviUHEXU5HcRPJiDfTd16AiueXw9 ChyQ== X-Gm-Message-State: AOJu0YymYfs+JEnpR/kLo13BRe8xVQQuT7k0wpw1W0wTE4WikhS5mdtP PF13buKA+nSHnIeZdQg94DncmCg0IrU5ZA== X-Received: by 2002:a50:ef07:0:b0:557:1654:d705 with SMTP id m7-20020a50ef07000000b005571654d705mr351754eds.5.1704787116782; Mon, 08 Jan 2024 23:58:36 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id dn1-20020a05640222e100b00557e0e24abbsm657444edb.59.2024.01.08.23.58.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jan 2024 23:58:36 -0800 (PST) Message-ID: <557a2dc7-d1e3-48f8-8eea-4792211849b3@linaro.org> Date: Tue, 9 Jan 2024 08:58:33 +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 2/2] net: stmmac: Add StarFive JH8100 dwmac support To: ChunHau Tan , "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: Leyfoon Tan , JeeHeng 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-3-chunhau.tan@starfivetech.com> <1c0474d3-e182-48c8-8ec2-12847c84164b@linaro.org> Content-Language: en-US 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+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQ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WaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 09/01/2024 08:25, ChunHau Tan wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Monday, 8 January, 2024 5:07 PM >> To: ChunHau Tan ; 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 ; Uwe >> Kleine-König ; Russell King >> >> Cc: Leyfoon Tan ; JeeHeng 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 >> Subject: Re: [PATCH 2/2] net: stmmac: Add StarFive JH8100 dwmac support >> >> On 08/01/2024 08:58, Tan Chun Hau wrote: >>> Add JH8100 dwmac support. >>> >>> Signed-off-by: Tan Chun Hau >>> --- >>> drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c >> b/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c >>> index 5d630affb4d1..373714f6e382 100644 >>> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c >>> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c >>> @@ -146,6 +146,7 @@ static int starfive_dwmac_probe(struct >> platform_device *pdev) >>> >>> static const struct of_device_id starfive_dwmac_match[] = { >>> { .compatible = "starfive,jh7110-dwmac" }, >>> + { .compatible = "starfive,jh8100-dwmac" }, >> >> No differences? Then why aren't the devices made compatible with each >> other? > There is a difference between JH7110 & JH8110, > JH7110 has two reset signals (ahb, stmmaceth), > while JH8110 has only one reset signal (stmmaceth), > this will be shown in device tree file. So if you are so picky then again: No differences in the driver? Then use compatibility or provide real arguments. NAK. Best regards, Krzysztof