[net-next,v6,00/11] net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles
Message ID | 20240228-net-v6-0-6d78d3d598c1@outlook.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-84721-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3222198dyb; Wed, 28 Feb 2024 01:05:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW8/+dTapJEOCFIeHaPS2RHH9tAqV7l3H2e16OMJuAZfDleLZHTCPwZ4Av4/8ZbO70WRZfLnan6zISxTmCs/1z4O6bWYQ== X-Google-Smtp-Source: AGHT+IFQLtMiI/dtUFpuq2nFPPxbmFm+cYVL8ieBv8NWFy3qmXc/EoylfpIBAY1D+tBeqngbpcDl X-Received: by 2002:a17:906:5594:b0:a43:efcd:c7c2 with SMTP id y20-20020a170906559400b00a43efcdc7c2mr890939ejp.40.1709111111635; Wed, 28 Feb 2024 01:05:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709111111; cv=pass; d=google.com; s=arc-20160816; b=u1JKbyv6QNK7XsNp/42LzwcCNsqXzsE4oFGlc7Vwi40job7CzCR8QQz7v+5dBmRUYO V9oJTji4t2BiEyilLAgpGfC7+HoUzcd48sgwm8pBuQXznT023/dREuHegXNFFtR6uTuP 5lq2noghF/O6YGrfecC0+lf02W9k8P44UAP3X/3s5Je5DK8Rq9pzishP3LZhmITtbf/i RkVBeOOe6ED2ESDpg62YZGAVlC/gu+HD7wL1ifkoSc00GTLJWnfPGs9VDmof65NITEsP nhGpSu35GEGZh4XTVwCZTk58vQduTonS6I2iGREp0wpL8on+htj452vEIcqHAI2KnIjP x9GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=6A6kjv3Q+U3VXRAU1yFxU/rYckBoMuVyPkY6WasaGNw=; fh=TR7t0/HIFS7TJMgggPPQqyHSmBG4J3N9Yyv99IDuaus=; b=cdY0sKJ9mdE8t4KhdzgZQcja2TWjl96av8nW1+da1kXArP+DJUJ7cTua0+ZbdkkxWo Nmz+EEVgfKMrt+dk/cvMN0RHY/a06+Wp5823yOZBTxNBSRNCmqmjWNXh09Qsh077ml8G Lh+MQy8vd0HO5YukJGjIkUtJe+DZG29L7/EbaN5/ay4yegqm4aYOLi7Bi7jds6sq3nE2 hJKlpg4rvcRb4vxDUyryXvoIuu+jivJUR1W2NIhSz3MCyICyIrBHvRBej17OKnOwfvAb zwTkcIzTRM5I6G516L6XtvWd+Vc56IKgPKGiyTfQyceD9pjHM56KPwj8WlPHnFp7KePr undw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lv2dK1kf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84721-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84721-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d4-20020a170906640400b00a3eb8bf2d7asi1546842ejm.1036.2024.02.28.01.05.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 01:05:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84721-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=lv2dK1kf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84721-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84721-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 163261F225EF for <ouuuleilei@gmail.com>; Wed, 28 Feb 2024 09:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 923C441C77; Wed, 28 Feb 2024 09:02:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lv2dK1kf" 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 0DD702D60F; Wed, 28 Feb 2024 09:02:26 +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=1709110947; cv=none; b=O7vLeHBuNHaLS4qsNpnHZ3ZizG4uk7TEMLKsGVVFLe9EqaJs6E556QbWVZdZOfJsvbghjPcy0k9vkZQHbJ/80ghHuvnj6YgIYAKdY5D/t/gUWQMtMeEO462axPTub3WzxZqQwq5vw6qd4bR1z4U0LoZg15X6c/hxakVkSBpZ3wI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709110947; c=relaxed/simple; bh=HZVyfHOTe+v57yTden9brq8Q3xcBbqcgWJYLrxaXoYU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=lUtYiRh/FroGvzcSj+6EH7ZGJHySyXe2o/lsCgKJvqkWgji2/T9DDNWm2lDb4dWvLBsTMxFpseI/paBqgqULB1pvWEkzH8Zyz577qp1Pr8/ZFC6df+uaJ+sws1bBd696ZDt2Ns9bM5hENboCnon69JOMHun/QWeAfD74ZsWLRU4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lv2dK1kf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 8DE31C43390; Wed, 28 Feb 2024 09:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709110946; bh=HZVyfHOTe+v57yTden9brq8Q3xcBbqcgWJYLrxaXoYU=; h=From:Subject:Date:To:Cc:Reply-To:From; b=lv2dK1kfRrkTgyl/U/LWjN+ngjYOvbErxUPNFYH7VPPYwjpyCTf34wQBC/sZF3I1l AdFlC9szG1NL1oCD/jdcO1drHIw5wpb+K6vJJFfpHBOPd9JsDM4RqFdhjkjlRMxGVU sIWcwWdUq5+DpjLzYR36CvANdlbqOU/JIwBiDHTvuDAFj8+e8qbOTcV6rC7+CZwApb kAZu8ErV06w/lBY9FehLYcetzqbgGq26NZgnzsgjdzjuq4vnammAtRCxU/TftzLZSP 70PIcwwnODPMs4EIpn023Swhp/pO8JpIO0El7OI0ypJIx9f4CkekB4qm1o0m6Y+4eu QA7SVvNY+rYIw== 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 7A8F9C47DD9; Wed, 28 Feb 2024 09:02:26 +0000 (UTC) From: Yang Xiwen via B4 Relay <devnull+forbidden405.outlook.com@kernel.org> Subject: [PATCH net-next v6 00/11] net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles Date: Wed, 28 Feb 2024 17:02:24 +0800 Message-Id: <20240228-net-v6-0-6d78d3d598c1@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKD23mUC/23Oy26DMBAF0F+JvK6r8fiFs+p/VF34MSRWUlwBR aki/r0ObIjI8urOuZo7G6jPNLDj4c56mvKQS1eDeTuwePbdiXhONTMEVIDC8I5G7jxCQ8JGBS2 rlz89tfm2rHyyx0FHt5F91each7H0f8v8JJb+aWkSHDiBT85iTN65j/I7Xku5vMfyvSxM+EJhV Y0LSQULRkfcK7lRCKuSVQXTkA5WkzV6r9RW4arU40PypmmdbMHBXumtkqvSVSkZEJN0EYR8VvM 8/wPVJtGZegEAAA== To: Yisen Zhuang <yisen.zhuang@huawei.com>, Salil Mehta <salil.mehta@huawei.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen <forbidden405@outlook.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709110945; l=2932; i=forbidden405@outlook.com; s=20240228; h=from:subject:message-id; bh=HZVyfHOTe+v57yTden9brq8Q3xcBbqcgWJYLrxaXoYU=; b=hzmdokhJv/A5BfSeWoxhpBE9FymGgCKXGBpVTg1FjKcc3SA+a74WLyw70OGVfb+h6XRCwQSfF lOh37SX5sV7Bv2M7dRw1JZKfi5A7sLQn6LpVJIA7GltFllw5Ewph+/+ X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=KAWv6ZzFsT54MGllOczJgFiWB+DuayEmyn24iiVVThU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20240228 with auth_id=136 X-Original-From: Yang Xiwen <forbidden405@outlook.com> Reply-To: <forbidden405@outlook.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792132892955672115 X-GMAIL-MSGID: 1792132892955672115 |
Series |
net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles
|
|
Message
Yang Xiwen via B4 Relay
Feb. 28, 2024, 9:02 a.m. UTC
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
---
Changes in v6:
- add missing "not" in commit logs (Andrew)
- rework binding changes, split it into several commits (Krzysztof Kozlowski)
- Link to v5: https://lore.kernel.org/r/20240223-net-v5-0-43b22d39c013@outlook.com
Changes in v5:
- hisi-femac-mdio: remove clock completely (Krzysztof Kozlowski)
- dt-bindings: mdio: apply comments from Krzysztof Kozlowski
Changes in v4:
- edit commit log to show why mdio bus clk is optional (Krzysztof Kozlowski)
- add clk_bulk_disable_unprepare() during error path (Maxime Chevallier)
- remove of_node_put() (Simon Horman)
- remove histb-clock.h header in binding example as it's goign to be deprecated.
- rearrange patches so binding comes before driver
- Link to v3: https://lore.kernel.org/r/20240220-net-v3-0-b68e5b75e765@outlook.com
Changes in v3:
- rearrange patches to fix bot error. (Rob Herring)
- rewrite commit logs (Andrew Lunn)
- use clk_bulk_ APIs (Andrew Lunn)
- fix uninitialization use of ret (assign to -ENODEV before goto) (Simon Horman)
- Link to v2: https://lore.kernel.org/r/20240216-net-v2-0-89bd4b7065c2@outlook.com
Changes in v2:
- replace email.
- hisi-femac: s/BUS/MACIF (Andrew Lunn)
- hisi-femac: add "hisilicon,hisi-femac" compatible since the driver
seems generic enough for various SoCs
- hisi-femac-mdio: convert binding to YAML (Krzysztof Kozlowski)
- rewrite commit logs (Krzysztof Kozlowski)
- Link to v1: https://lore.kernel.org/r/20240216-net-v1-0-e0ad972cda99@outlook.com
---
Yang Xiwen (11):
dt-bindings: net: hisilicon-femac-mdio: convert to YAML
dt-bindings: net: hisilicon,hisi-femac-mdio: remove clocks
net: mdio: hisi-femac: remove clock
dt-bindings: net: convert hisi-femac.txt to YAML
dt-bindings: net: hisi-femac: remove core specific versioning
dt-bindings: net: hisi-femac: add missing clocks
dt-bindings: net: hisi-femac: replace deprecated phy-mode with recommended phy-connection-type
dt-bindings: net: hisi-femac: add mandatory MDIO bus subnode
dt-bindings: net: hisi-femac: add binding for Hi3798MV200 FEMAC core
net: hisi_femac: remove unused compatible strings
net: hisi_femac: add support for hisi_femac core on Hi3798MV200
.../bindings/net/hisilicon,hisi-femac-mdio.yaml | 39 +++++++
.../bindings/net/hisilicon,hisi-femac.yaml | 120 +++++++++++++++++++++
.../bindings/net/hisilicon-femac-mdio.txt | 22 ----
.../devicetree/bindings/net/hisilicon-femac.txt | 41 -------
drivers/net/ethernet/hisilicon/hisi_femac.c | 77 ++++++++++---
drivers/net/mdio/mdio-hisi-femac.c | 18 +---
6 files changed, 221 insertions(+), 96 deletions(-)
---
base-commit: d206a76d7d2726f3b096037f2079ce0bd3ba329b
change-id: 20240216-net-9a208e17c40f
Best regards,