From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C274AC83F34 for ; Thu, 31 Aug 2023 11:52:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234203AbjHaLw1 (ORCPT ); Thu, 31 Aug 2023 07:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346141AbjHaLw0 (ORCPT ); Thu, 31 Aug 2023 07:52:26 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 204DACFA for ; Thu, 31 Aug 2023 04:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693482701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HA1rOAetNRxuhUM9NoRUcE5ZYks/FWqTpfdzdFJKn8s=; b=e3oiv28esg0fVlMQsFL/LY47WrZml6T4RtOxMOIBuFiYKF24byNr4mLxjDdVZSxH9n96KY B9NUaYp88aupifdllJm2vUlF+CXFeaGvM8CgK5MkMi+UPAewQk7GorFawVdskASf2kWhfd WwkTImRVMy/10B+yp20zcWOw4VJr5To= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-675-2MUc1VoWOHq3d-CuyZPlxA-1; Thu, 31 Aug 2023 07:51:40 -0400 X-MC-Unique: 2MUc1VoWOHq3d-CuyZPlxA-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-9a21e030751so5951166b.0 for ; Thu, 31 Aug 2023 04:51:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693482698; x=1694087498; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HA1rOAetNRxuhUM9NoRUcE5ZYks/FWqTpfdzdFJKn8s=; b=EHL2SHui/u1YhfFgZ5FW9I2o+UtEVOdpE6z0t9fRIQMYzS7orB2mhBNkD7KM2sLM81 j2Yk1rgsx8O2ZhWStge6MXCoWhRFP5tgfJkyBqscZghyebRVFCDojYCed5BA/dAaqKYW xQR4BKL/HgJ7ezaYBVNK7Jfv/bztnir651JdZE30Gettwd8EWwL9b3wZYEVL1WHmLFts T8z2Hooyi4Gf0xixoPxzieeug75mZRa1B5x1Ty13HC+PLLvokEWTwKF0VmcPtIBqCfv8 /jCmvD+xV1PTreDWmCOr/T0mW9bgtKT+fGuR3gnPsnDJyVQ6CZpCEaqVnASjhfijJGK8 I0IA== X-Gm-Message-State: AOJu0YzFQ2DhdmDa3QhrRftCEAC+4lEHa09fXgjZG92OE5D7LqbreLWJ vh1uo2lT3l2tMLrXjFT0wij6psQILOgnmH89SD9aT51GKqge7GgbqI5WOG3SXGbRRZwRnC9yiX5 ugrUo5QnnJ2mb7xZXuvQK2AZ3Wt3sfg== X-Received: by 2002:a17:906:19:b0:9a1:f96c:4bb9 with SMTP id 25-20020a170906001900b009a1f96c4bb9mr3536663eja.6.1693482698716; Thu, 31 Aug 2023 04:51:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGfqbMiAZnbTzey2RXfsU5qEewFCbDRPo/4/Oy55iKUmW3AuIcCEVbKwGjLs907T3p3M11hA== X-Received: by 2002:a17:906:19:b0:9a1:f96c:4bb9 with SMTP id 25-20020a170906001900b009a1f96c4bb9mr3536650eja.6.1693482698359; Thu, 31 Aug 2023 04:51:38 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-255-219.dyn.eolo.it. [146.241.255.219]) by smtp.gmail.com with ESMTPSA id yy10-20020a170906dc0a00b0099364d9f0e2sm681691ejb.98.2023.08.31.04.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 04:51:37 -0700 (PDT) Message-ID: Subject: Re: [PATCH v4 0/4] Move Loongson1 MAC arch-code to the driver dir From: Paolo Abeni To: Keguang Zhang , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Thomas Bogendoerfer , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Serge Semin Date: Thu, 31 Aug 2023 13:51:36 +0200 In-Reply-To: <20230830134241.506464-1-keguang.zhang@gmail.com> References: <20230830134241.506464-1-keguang.zhang@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, 2023-08-30 at 21:42 +0800, Keguang Zhang wrote: > In order to convert Loongson1 MAC platform devices to the devicetree > nodes, Loongson1 MAC arch-code should be moved to the driver dir. > Add dt-binding document and update MAINTAINERS file accordingly.=20 > =20 > In other words, this patchset is a preparation for converting > Loongson1 platform devices to devicetree. >=20 > Changelog > V3 -> V4: Add Acked-by tag from Krzysztof Kozlowski > Add "|" to description part > Amend "phy-mode" property > Drop ls1x_dwmac_syscon definition and its instances > Drop three redundant fields from the ls1x_dwmac structure > Drop the ls1x_dwmac_init() method. > Update the dt-binding document entry of Loongson1 Ethernet > Some minor improvements > V2 -> V3: Split the DT-schema file into loongson,ls1b-gmac.yaml > and loongson,ls1c-emac.yaml (suggested by Serge Semin) > Change the compatibles to loongson,ls1b-gmac and loongson,ls1c-= emac > Rename loongson,dwmac-syscon to loongson,ls1-syscon > Amend the title > Add description > Add Reviewed-by tag from Krzysztof Kozlowski > Change compatibles back to loongson,ls1b-syscon > and loongson,ls1c-syscon > Determine the device ID by physical > base address(suggested by Serge Semin) > Use regmap instead of regmap fields > Use syscon_regmap_lookup_by_phandle() > Some minor fixes > Update the entries of MAINTAINERS > V1 -> V2: Leave the Ethernet platform data for now > Make the syscon compatibles more specific > Fix "clock-names" and "interrupt-names" property > Rename the syscon property to "loongson,dwmac-syscon" > Drop "phy-handle" and "phy-mode" requirement > Revert adding loongson,ls1b-dwmac/loongson,ls1c-dwmac > to snps,dwmac.yaml > Fix the build errors due to CONFIG_OF being unset > Change struct reg_field definitions to const > Rename the syscon property to "loongson,dwmac-syscon" > Add MII PHY mode for LS1C > Improve the commit message >=20 > Keguang Zhang (4): > dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon > dt-bindings: net: Add Loongson-1 Ethernet Controller > net: stmmac: Add glue layer for Loongson-1 SoC > MAINTAINERS: Update MIPS/LOONGSON1 entry >=20 > .../devicetree/bindings/mfd/syscon.yaml | 2 + > .../bindings/net/loongson,ls1b-gmac.yaml | 114 +++++++++ > .../bindings/net/loongson,ls1c-emac.yaml | 113 +++++++++ > MAINTAINERS | 3 + > drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 + > drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + > .../ethernet/stmicro/stmmac/dwmac-loongson1.c | 219 ++++++++++++++++++ > 7 files changed, 463 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/loongson,ls1b-g= mac.yaml > create mode 100644 Documentation/devicetree/bindings/net/loongson,ls1c-e= mac.yaml > create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1.c >=20 >=20 > base-commit: 56585460cc2ec44fc5d66924f0a116f57080f0dc I guess the whole series should go through the networking tree, but please note that net-next is currently closed: --- ## Form letter - net-next-closed The merge window for v6.6 has begun and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after Sept 11th. RFC patches sent for review only are obviously welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#develop= ment-cycle