Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1749823rbb; Mon, 26 Feb 2024 22:54:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwKa4U8aUwH+ZfZfSuFqusdRL12tLe3NVfZ4vj0laRlM9wlLRG/EAniJAlYV8rqcFyw22quE0pN7RxO2ZNX6IR3wjIe76YlCESMx0YMg== X-Google-Smtp-Source: AGHT+IGKqVesBQDYZvvOefklL3M2eXp5ElRm4WQz9Qnuct/lEnWTCtHTosA9D2q1thYKioKComz8 X-Received: by 2002:a05:6402:6d4:b0:566:4797:c330 with SMTP id n20-20020a05640206d400b005664797c330mr51541edy.21.1709016878500; Mon, 26 Feb 2024 22:54:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709016878; cv=pass; d=google.com; s=arc-20160816; b=0eHTWxnuoDaaKt7qzMdPzvQ0w4dASVxQMmYuYfnV5r3RvCiA5825oP8Sfq3B/lgUnS Zq731rbhMiw+2o47lCBXZtreRuJJbI+GFvi6+IXmAHPxtDT+sGkKF3phL5u+wI+J7Fjv rTMQGgGR77SowkLbjqRrOqu6wDMHIlhWcG42a7gbL4Nf5uF4Nk+/ouePrcXS5Uzqh/Vv hcZIAlMtZQVtk1F8OmTexH/2uux8DCGikAF6UWatgZehOROw9x1zhGlGTVW3fBzVXAvN PxCvjAQaF1B4pfQ7ZicUTO8ZGjwzgB2JLFo4583QY6DELkVV5rYLdYpDjQjTqLtf4zFp 7H7w== ARC-Message-Signature: i=2; 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=rUW9NBgii9foEKz4KuucqEYpYQWu5QkJlFAfiZzpmZI=; fh=AHghhZ5p2a1q3txS5w6TNDFNa8C+HdkEckLZVI47pAE=; b=LvBOTbCeYyl4fiqW6Y+rtwvdxpxTC20WKNZRKB5TD4MJm8ixzXHTMw59z2cP7uDfYH rvD3A3MEhsuhCiRpPFKsCE2T9U2ZQwFys6BLGa/RDTYMmwMtWCSh7grBp8QhKH3/5uxW a2WWyvZen4M7n7CrnU45/fpzpUqL1jmQ1A+mYxv3tdzvVQCWtRCEpRRDA2CVQr3SX81G 1IW56zsBAc0Ok6VN3MHk3CAdYSihC+bJTGW3jftJsIAAzFfWYQL31NkSyRVVC79sdEWm vCavQKQy/2/xtwZAYOvathj2fZfl5vFsEIT/iqaTDyy9ybWP7+FrAVoR7+KONFoacGLD VUbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CY7rWYhK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-82764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dz17-20020a0564021d5100b00565d1757e22si78310edb.267.2024.02.26.22.54.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 22:54:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CY7rWYhK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-82764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82764-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB2D61F27604 for ; Tue, 27 Feb 2024 06:54:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4736D5465B; Tue, 27 Feb 2024 06:53:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CY7rWYhK" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 6F4D6537F4 for ; Tue, 27 Feb 2024 06:53:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709016797; cv=none; b=ZI0RrM87aI/lopP2zNGdfHJTIBcUfaCWMzXHtF1XWRaeEBxO3qWS9D8eL0xHtis16TVTbXgaIV/Dqh2lLTqEaciHYuYpnp8bgLRonHXqFCmqdPtaFspQdvjtj7jkaC9dl3hRAXsm+qEOlBuzkUxj3qhrCOOuT3Q5+oOIE2KyVl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709016797; c=relaxed/simple; bh=SKPgOyUaWMp7tVKq+GIAuvqq2ASkAq2PcfWyU1kwv6g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bVyq58zh9b/0UYGdEd1hK8n9P/2Y/vvU/pmoT7XR9odOibsvwQACDcgSvC1n2gNpRL/CC0lnq1JbThfQAYZ5OH10MgZdId2/qs6nwFrwCQAGRa+QDHrGdCsCQGLZkWzMM/j5l3rZTOSlGPah5Jnj/A61EkMuR2UPmPSrmScnDpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CY7rWYhK; arc=none smtp.client-ip=209.85.208.41 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-f41.google.com with SMTP id 4fb4d7f45d1cf-564fd9eea75so4922830a12.3 for ; Mon, 26 Feb 2024 22:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709016794; x=1709621594; 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=rUW9NBgii9foEKz4KuucqEYpYQWu5QkJlFAfiZzpmZI=; b=CY7rWYhKQCuUbEbb81ncPErfClJjZFtQ0Lqv4awW2j4gb1D8g6ppk0zLp8UKLRgTZR E7qHx00HaL7NqfHXltn3H9pW7hqy2wbi73dSO9pJM2katqREBDNnLT/ZsjMJEWnWehLs DAsIKeDTx3uXoBVbr9Ud+7X7w1UqAiux+3SEq+K4Y+nwsxvVD2VhsgNf7Se76W1Wliqk KQf5Ji0ZXMIkYehSjMHVnCrlWRkPY2Js0ME825IGTm4jHXYQbjhfnt2EI6R2Rxy6RUwO hxTeBxBhhKGswdROBwviiiXZCxvi8XnAubSsv4JhSoJdK7t6iWfEJ0hetXVz4/D3YrVa H6NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709016794; x=1709621594; 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=rUW9NBgii9foEKz4KuucqEYpYQWu5QkJlFAfiZzpmZI=; b=md3KMMeGoiWxIXN0oyjtyA6A9QNs4AoUQ1Hbe49FcxrbKZofNsx2wKri0ZPh96j1cq GvHRaaNG/SjtWIZzwtR6YgXloDlOoaXJYO0puEGLyueBfceXywfM+8MGUlMQsIFMRJEW iEPBWJaAVLV1ugDpnyQMNWPxxtpbiLQ+oXzviKFYrUItYLisGqQwO7JzeriY1KZF9cN7 lBNMyRrLeolQf1Ne3XgOHPC0s+QDwtXBDznJ75x2WX/rIiBqtNOkXuhBLszchUyFnG5a jN2I3ckjeSue6ZHNpPLm3unqC5eMgeLV/0YUc1KeME5czpEohIGdjSnUIoYLpyZsRcyy rpvA== X-Forwarded-Encrypted: i=1; AJvYcCWuVduEaHjl9ONFUrz709FlTuDpHndtqIWhGxCNFzOLy50bpkvsMY1CSg/bFQuKzvhmidyIaR/gpxTylTs6eC7Rff2KNjEY9QdWtnwn X-Gm-Message-State: AOJu0Yz47u1It0I0I7NoNXUIsTOJU2FFk7vkI6MEhshRL3bxGp6sI32m oqhNqZZxNFGtWK7P7F10bbXbk9pXMG9M4XSRteCJpJ+TbiDf2y0oEzzAFWqHmMs= X-Received: by 2002:a17:906:8d6:b0:a3e:91fd:c0f0 with SMTP id o22-20020a17090608d600b00a3e91fdc0f0mr5537134eje.49.1709016793910; Mon, 26 Feb 2024 22:53:13 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id vh3-20020a170907d38300b00a433634ba03sm458176ejc.43.2024.02.26.22.53.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 22:53:13 -0800 (PST) Message-ID: <90ab2113-f3f7-4d1f-83ca-aa57cbe63a79@linaro.org> Date: Tue, 27 Feb 2024 07:53:11 +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 net-next v4 6/6] net: hisi_femac: remove unused compatible strings Content-Language: en-US To: Yang Xiwen , Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240222-net-v4-0-eea68f93f090@outlook.com> <20240222-net-v4-6-eea68f93f090@outlook.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+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM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iRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/02/2024 02:51, Yang Xiwen wrote: > On 2/26/2024 3:55 PM, Krzysztof Kozlowski wrote: >> On 22/02/2024 13:43, Yang Xiwen via B4 Relay wrote: >>> From: Yang Xiwen >>> >>> The only documented SoC Hi3516DV300 does not receive any updates from 8 >>> years ago. With the recent driver changes, it unlikely works for this >>> SoC anymore. Remove the binding for this SoC. >>> >>> Also it's hard to get the version number and it's unknown how the >>> version can be used. Remove them until it's really needed. >>> >>> Signed-off-by: Yang Xiwen >>> --- >>> drivers/net/ethernet/hisilicon/hisi_femac.c | 4 +--- >>> 1 file changed, 1 insertion(+), 3 deletions(-) >>> >>> diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c >>> index eab91e011d11..9466ca9da2bb 100644 >>> --- a/drivers/net/ethernet/hisilicon/hisi_femac.c >>> +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c >>> @@ -990,9 +990,7 @@ static int hisi_femac_drv_resume(struct platform_device *pdev) >>> #endif >>> >>> static const struct of_device_id hisi_femac_match[] = { >>> - {.compatible = "hisilicon,hisi-femac-v1",}, >>> - {.compatible = "hisilicon,hisi-femac-v2",}, >>> - {.compatible = "hisilicon,hi3516cv300-femac",}, >>> + {.compatible = "hisilicon,hisi-femac",}, >> >> What is happening here? Removal could be justified, but then order of >> your patches is totally wrong. But that hisi-femac is a no-go or provide >> proper rationale. > > I don't understand exactly... In dts, we commonly have a SoC specific > compatible string first, generic compatible string the second. e.g. > > compatible = "hisilicon,hi3798mv200-perictrl", "syscon", "simple-mfd". There is no generic compatible here. hi3798mv200 is soc. > > So i think this is recommended. Or does it mean we only need them in It is allowed for certain cases and recommended for even fewer ones. Do you want to say you have fully discoverable features here and you do not need any properties? Or you want to say that all possible hardware will have exactly the same programming interface (registers etc)? Best regards, Krzysztof