From patchwork Fri Feb 16 10:02:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 202047 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp409305dyb; Fri, 16 Feb 2024 02:04:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVYvDdRFrxn+Vlio9UeRPF1cbKDxPguglMLQxujwmT6jNd0W4x+lT14GBpnOGtd85FzzDieE+SUpWxx2Vzw9JzaQ1GkIQ== X-Google-Smtp-Source: AGHT+IGM1usL67OtN5yUJEk2B7pVd3J9hHWupi8BJ+TsRWCKwCF1n73rDe1efcBHAg8SLZ1i3VTl X-Received: by 2002:a05:622a:1007:b0:42c:60aa:9e9d with SMTP id d7-20020a05622a100700b0042c60aa9e9dmr5526229qte.51.1708077847270; Fri, 16 Feb 2024 02:04:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708077847; cv=pass; d=google.com; s=arc-20160816; b=tmariGCYANdIPLYoRiu+0znRmzDg/nqnUlcyk/qeVjbgQwGzC0/353pxUC8RiSez+h I4EDo2mVHORRofWf4SnXtLqN+AOBwmdZjAI3Sw+kD1d+9E8up8yM92FByAgUFMxXELF2 I4cN4hvJ8WRILGNg8r5Ss4JJ9BYsmU/bOGKRincEKO3m+y+sQyIDEcBQSgmLQgRvjakK vTWTQgh1LIVO1vvpUaT5PPxfp6uCBNuamVhdvbpQlGdKYnQrJuVWz3THysdvaPLwfau1 y8GEqkIqWZHvvQ7zJBcmTrzaOcIvJuvohzUdgOWleo8+izk9jBWfvdhlssRaSndUX0nK I0kA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=qtdiv1gf4Q2MPdKPWyQP8jMhWRE39laEqTRcnk9/Rws=; fh=YUyCOKAW57vGpD9UsAB1Jf96lQXTx0J/i1SlBxoko4U=; b=AoyfXi94FLxyJBj6Anq9VUD08HL/QpGak88aNqMBDEHK3Pzyilek6s4i0sIauoJ/EI Y3BRA7xKc+WX1QtiUGkCgn6b53Slwipa7ke69Acck6RLcVmKI51mmTdf+DWlNHHG3oyI seLyDnnyDHFnJHWSmMdjLln4+DuIsKZy/AhuBH6SVkR3HnBmJPb46q7IVDwLOHBp2CRY Qq6jgDYFCU1+av2obHPjah0+SxrAeA8X19b2MUzSuo7SwWza45b/66XYahC/XbnXkNK7 mKyCKQiWBJVWVJZT8Ag5H+j+JxLCLFx3DKLuQ2gzTUl9XLKEmtwKx9y7flJC4gNJ1a+E IZDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="K/6zw0rY"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68401-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68401-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z4-20020ae9c104000000b00785767af0f3si3432511qki.664.2024.02.16.02.04.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:04:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68401-ouuuleilei=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=@kernel.org header.s=k20201202 header.b="K/6zw0rY"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68401-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68401-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 141731C21A16 for ; Fri, 16 Feb 2024 10:04:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F2402137A; Fri, 16 Feb 2024 10:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K/6zw0rY" 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 7F3FA1C69D; Fri, 16 Feb 2024 10:02:02 +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=1708077722; cv=none; b=Xj5iBQr70OS9uo6CIpuEguwCK2ylNUcMbYOdQcYtVtrvWstX4Mj+YKf07ZGNJGaTNktwo72kr5OSw3ksshgUjVThaxtWfMhfOdBIbG653npa5iHWQEBStvFJzvYTqRAv9M+yzjKtha0bgacWMptijPIDniao013GmGfRF083Qrw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708077722; c=relaxed/simple; bh=j5nhh5B/znEmnTOlGsIqqT6pFgya37PaQz5F1VZv6Qo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dqoKLNoEQ0FUhALLFv5xvuT/U/nc5SbNXG99IPnwYuWD0fema4nY59pcSED9WFQhEh+4id7grjuOk/sphafZZb7jPqz8QN+woAP0L9eU6ybu7VZ9G0G0JXaPucDA8mGcsvyk+ixbp9krANngPdmlo68ozQDs6R+MxNIxcVQmjdg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K/6zw0rY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 16587C433C7; Fri, 16 Feb 2024 10:02:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708077722; bh=j5nhh5B/znEmnTOlGsIqqT6pFgya37PaQz5F1VZv6Qo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=K/6zw0rYjz9fkQ2HYRz7y7B3U7IEw05Z99rmLztTnp/j34AJqMUpG6JnAVp/+lFwc WeAMRwIP1zOX4xYIDfi4Zw2ZY2QrPLJEyyDaxd/O4IEdSDfpJ0FmODTKLqJ7Zq31y6 G913tYLXBkXZe2cqWS7WgDmmukVTJbR1gqzJuThtMIjYEmBId4YHz0wjsfgEPxZoUp oTe9Sstr3ptYXfK7mKUUXBuTpRFeWGuKmJJJJrcHlBCuzGVaerk9bmwk6UOHT4YKjB ENW19iS7rp0CJ+9SFul7xgWtgRoQoorn6QlSP882+0dNYpMT/gNex5nQqkGv0TwiH1 4yf3vy1oqjVCw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF524C48BEB; Fri, 16 Feb 2024 10:02:01 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 16 Feb 2024 18:02:01 +0800 Subject: [PATCH v2 2/6] net: hisi_femac: remove unused compatible strings Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-net-v2-2-89bd4b7065c2@outlook.com> References: <20240216-net-v2-0-89bd4b7065c2@outlook.com> In-Reply-To: <20240216-net-v2-0-89bd4b7065c2@outlook.com> To: Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yang Xiwen , Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708077720; l=1155; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=VItgdwH/S2ChRp+ovLIh4GSJZrDbNQYqIUlou/CYzgk=; b=iObYojUwZgCh1QaGVSGrNP8JRUwhiyKAgKlMEUVTARxkeuANaOrGu2f04uB8xcwGZxG5OoxMl xF1BqLxsEnuDYCpw+8JgdWPhR03wrB+obioeQVAYuclAjxo0AqqUzTA X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791049436581403560 X-GMAIL-MSGID: 1791049436581403560 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 15e90c7d6421..09a649af691f 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",}, {.compatible = "hisilicon,hi3798mv200-femac",}, {}, };