From patchwork Fri Feb 16 10:01:59 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: 20483 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp409327dyb; Fri, 16 Feb 2024 02:04:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUcXFSh381cPmhJtFJboZj/FQSAz13YxpN9OgqRcxDZhW+IZPkeW2Bz4je+9F6po/xmCfOv9+23Wj1KahtkIkEYf2YlCg== X-Google-Smtp-Source: AGHT+IG2BiyEbxMXZ575LP3oHu1an/C8eg0nTjXamk4REhSNy+o96kzJuVqM6d88EKKm1k0xEdYP X-Received: by 2002:a05:6402:60b:b0:563:e6b1:43ef with SMTP id n11-20020a056402060b00b00563e6b143efmr1071737edv.32.1708077850430; Fri, 16 Feb 2024 02:04:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708077850; cv=pass; d=google.com; s=arc-20160816; b=yZEVHp3wLLL2upKlCLybXLlBbKb39OP12yXmikjf+KLnmhIIRF+70VsRYhYrF1RABy jZ9AiMq0tpzZ+SZPCHJW64Tlhh4xIdCyqCEwXagi+RXwNGgxXsAKGNMcssG9MIV4sfAT 39EJFttnSBeDG4WvsTHVIOM+BRcaEELpPe+uI9FmqEE5D4Ri4dVDfS4/nrgjGxKNbWp9 JiOwPBQJkoWBmv3eYHmX48fDzlSMfBXESxzW3l3t8ydi6fE0SBaXc4Kuy9frTlNhc3NS /nx6AgiDDBvXTQ7rRu3DwDiuW4hoZqFlV6+8hTvArrWcktRdfICfA51pSLkmRZivXlpu TXXg== 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=56AhAFkfOQSVcdt2SrVsY9sFd+Pcg2q4puaLWOZxjLU=; fh=YUyCOKAW57vGpD9UsAB1Jf96lQXTx0J/i1SlBxoko4U=; b=nZayW9h3mtdn5v2bFO4poGQ/n9hgDsADVn6QUDiKuYmz1MIDdYXaHx95DaRA9b6nTD 5YNAd8mHED16zxIkkc6n3oMSUXgXuYCj8xLRknBezZdNvtMSKaLzNAZSA/WkGdtssd+A ubGOa/m/rUqCoX7fW6QrpRb3wdk+Vy42ntFZWeyaZmy+l17J39rVa3c57sPK+rH8dPm2 S/Q/k0Fy7K2ZsT9dXd5XVMVTGfhsJhW+iesVP2w9oHBnYhjmluDdr4sjiXjHBVha5UMx UZR7FWx+P61LMekzrs4Q6MmLOR7zfizbA02UshIkMLpVAu171/ymSlr36o/LwhUsVeyo Fp1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBBpgknJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68405-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68405-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 cx14-20020a05640222ae00b00563f2aa7a41si352222edb.623.2024.02.16.02.04.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:04:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68405-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=JBBpgknJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68405-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68405-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 0D3711F21483 for ; Fri, 16 Feb 2024 10:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C56922309; 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="JBBpgknJ" 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 7F4911C6A0; 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=HYVTXQOnh3aR5eCvuJAeYEXTStUEkPV3KsYYlrt4vO3WxcknQH+HFTGCT5a6Dp7rB2ki3A5d0Xfp7Psj/4wHPCixLh9LOhXDAKMOeyRP4AQ8Ip4eIIcUGlHIyAaxLlSkm9v6t067Kv0rOMLWyU6+PaF7CXxodYMwXLzp/irm5kQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708077722; c=relaxed/simple; bh=4csa7aTSDQipjQQRAGTCioYnRiR1XMs3x6cVhQ5/Ans=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=EeR5EQxAhm7LUllV9yt14DcseGtkqiO+I6jlkiRzfJ3/jp9VbyHN5CKyGyQD9J/eMmOy/cXG56an8t1+yboMNtid/kcYU6XXiJO0NPyEmQOhF8QuoQpndaIDmBj4RczyoZjwWMR2ipKjV6bj4d54NZAnKKfFyeBeVUsXMG1pr9U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JBBpgknJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 0446FC43390; Fri, 16 Feb 2024 10:02:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708077722; bh=4csa7aTSDQipjQQRAGTCioYnRiR1XMs3x6cVhQ5/Ans=; h=From:Subject:Date:To:Cc:Reply-To:From; b=JBBpgknJw95tDd0K3chvvJNRQp49SVje18gE1bXXaDG4EtO983UiFgVouf8Chxaxy MpELaiRyITJw2zXlV+My/jrl4kD5aJqvY5pxkhiUzjUtjNWblqUTI5XoVVC+FPzMkQ 7y1/NnK4ZisnocDRFuFqhnAjGFRsZcwewXMduQQAAZpYwD4fPx2zjvMP33vghk4bWf 8KDoNQOrXCRy7kFzCUX/4erA+oFayUMGcgYP4IjKCXGGCbkoMmlGQzxt26/0SBqI2O Jy2SlNanNmyCnNGESnKoMk/znyOFIbg1R8rQov4eNNKGNRkgourfeS+t0SwSAW/Yy0 VcWA7HXVz8Cgg== 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 D3837C48260; Fri, 16 Feb 2024 10:02:01 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH v2 0/6] net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles Date: Fri, 16 Feb 2024 18:01:59 +0800 Message-Id: <20240216-net-v2-0-89bd4b7065c2@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJcyz2UC/1WMQQ7CIBBFr9LMWsxAGiuuvIfpgsDUTtSOASSah ruL3bl8P/+9FRJFpgSnboVIhRPL0sDsOvCzW66kODQGg6ZHow9qoaysM3gkPfgeJ2jPZ6SJ31v lMjaeOWWJny1a9G/994tWqAhdsIPxwVl7lle+i9z2Xh4w1lq/1dQLkpgAAAA= 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=1447; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=4csa7aTSDQipjQQRAGTCioYnRiR1XMs3x6cVhQ5/Ans=; b=b2egZ3PgqKEpipPpPARcNfiNidRYvOIV4ankzyZlv7kGLkClHpB2yRACkfh8rt1OUht43KKF6 dnmswJm420OCX0eWmdU3AZ4JtbaZ4T/m34LcE1h7nMisoWFlN29ErWU 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: 1791011097126243276 X-GMAIL-MSGID: 1791049440087100361 Signed-off-by: Yang Xiwen --- 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 (6): net: hisilicon: add support for hisi_femac core on Hi3798MV200 net: hisi_femac: remove unused compatible strings dt-bindings: net: remove outdated hisilicon-femac dt-bindings: net: add hisilicon,hisi-femac net: mdio: hisi-femac: make clock optional dt-bindings: net: hisilicon-femac-mdio: convert to YAML .../bindings/net/hisilicon,hisi-femac-mdio.yaml | 48 +++++++++ .../bindings/net/hisilicon,hisi-femac.yaml | 117 +++++++++++++++++++++ .../bindings/net/hisilicon-femac-mdio.txt | 22 ---- .../devicetree/bindings/net/hisilicon-femac.txt | 41 -------- drivers/net/ethernet/hisilicon/hisi_femac.c | 94 ++++++++++++----- drivers/net/mdio/mdio-hisi-femac.c | 2 +- 6 files changed, 235 insertions(+), 89 deletions(-) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240216-net-9a208e17c40f Best regards,