Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4606203pxb; Wed, 20 Apr 2022 06:47:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvOXRSlf5IpV77Y6blbxEGAUTnht7+BU6Rj/X+D2wB6y8v+ZqucPx+IcUGeeVC+or23y3G X-Received: by 2002:a17:907:3ea5:b0:6f0:1069:c25c with SMTP id hs37-20020a1709073ea500b006f01069c25cmr636893ejc.337.1650462468274; Wed, 20 Apr 2022 06:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650462468; cv=none; d=google.com; s=arc-20160816; b=iSyemcwuvJyrS9SR/quocXuRY77txxmpyJDcBaQ1x3oXeHFuOLs0F0Qkg2kniQtgBY eOEyPdapue4z3/j1k7eXf2jipGOV5DoZdWhqV2HTxxXOZ+PDc3rfVApAeDK5EAm76pO9 6fh2Y7kmtv5M9cZfCe30fPJzJDZObXofRqF7JRhZj+OxQQTNI8HYY2IbA0LWG4wBX34z qYrA7flOFvXygRHLNevobkyEkspivkDz0MmWCRhAdXTixphp4VhYXsAUEd4XQM5qNwBD dPSpM0ddV3Z8mEh8HXW9UMmfnAqPpIGw28M6gSkj8HvY8J+x9r6cSWS6jzr9eu1+ZO9c vReA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=4xiVrdScIFIP79He8FBetOI3CN3T9ATEr5utG3IqBZQ=; b=QIVnQMMMleoAu8MCcdwb7lQpZgwIhSxVTOwlmeEvV/ZCEHnxvHnicgpf9a/OV8p+YF 9ISt40mw9tDjzl69TqoAY3VLZDE1o1gaE8fLclki6LG7M5BC8tQHZoYtjQ+zLPb+W9cm u1E7CK/SPLDZFbV4koowWJknCQKyJGPo/1MgO4PXR40Sq1PN2RPhXQBkuyV0qQH2LwIC 1np0m4CWmddVKcXpwPxvVB7nBvErBuA2dyOP7MQjNaWo4UKaMZ6O+a9M4gwH4IrzqhCi Pw7vvLlGaImMtM+R93g8da117YrEFkZZizWq9d5o0TCEZlKNhcm0HStL5JLSOlrBOgul 7x9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a056402054d00b00418c2b5be82si1384582edx.356.2022.04.20.06.47.23; Wed, 20 Apr 2022 06:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379071AbiDTN24 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Apr 2022 09:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379036AbiDTN2l (ORCPT ); Wed, 20 Apr 2022 09:28:41 -0400 Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D322C42A0C; Wed, 20 Apr 2022 06:25:54 -0700 (PDT) Received: by mail-qt1-f170.google.com with SMTP id fu34so913641qtb.8; Wed, 20 Apr 2022 06:25:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=rFIpc07kdcdErSG52Vnbbh7AXlY7+Cv1PmRK4le+8hE=; b=qg+WFdkx4IbdGAhs6Qg8ioPAL7HPsKaHU9gHRJX4SoGOKv3t0XJrr6VSrjoyezTaLX cEAfNbtVAWjOkGXTB0BGTDKdf6ph1+vJtTQSqVqwpi+tfGtAv/CHct/aaAeVDgNCdj5L zGwf0cIgTKADFvc0LSXaAQvaT7ZrzGOZNmIgOFEvjxaO7cqN17QfpHkrGB+KAg0eBXve 9MHe6YV611CU5lYPvMpp1tBHwojtqR7Vje6CDdNoL7WaKZV1x3Tns3kgzfRijuvtoX1g UejEVI9pGaRGJ1Hl/k6HPPMRjRJbQbZFa8oYuwqe7gDWcMPJXoz/EJWerv9ExzwWAoZM azLA== X-Gm-Message-State: AOAM531cEGJVvRDu8jIqDbAABj+O2E6mBlsKPTLQqsx7QJSu0QoIt8Fm wWvfgoF+KurBQNisLxOJ4/31c3mQ2+EUBg== X-Received: by 2002:ac8:5f07:0:b0:2e1:d695:d857 with SMTP id x7-20020ac85f07000000b002e1d695d857mr13815421qta.40.1650461153730; Wed, 20 Apr 2022 06:25:53 -0700 (PDT) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id n11-20020a05622a11cb00b002f344f11849sm293030qtk.71.2022.04.20.06.25.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Apr 2022 06:25:52 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id f38so2841486ybi.3; Wed, 20 Apr 2022 06:25:52 -0700 (PDT) X-Received: by 2002:a05:6902:724:b0:644:c37b:4e21 with SMTP id l4-20020a056902072400b00644c37b4e21mr19809816ybt.6.1650461152378; Wed, 20 Apr 2022 06:25:52 -0700 (PDT) MIME-Version: 1.0 References: <20220414122250.158113-1-clement.leger@bootlin.com> <20220414122250.158113-5-clement.leger@bootlin.com> In-Reply-To: <20220414122250.158113-5-clement.leger@bootlin.com> From: Geert Uytterhoeven Date: Wed, 20 Apr 2022 15:25:39 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next 04/12] net: pcs: add Renesas MII converter driver To: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Heiner Kallweit , Russell King , Thomas Petazzoni , Herve Codina , =?UTF-8?Q?Miqu=C3=A8l_Raynal?= , Milan Stevanovic , Jimmy Lalande , Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , netdev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Clément, Thanks for your patch! Only cosmetic comments from me, as I'm not too familiar with MII. On Thu, Apr 14, 2022 at 2:24 PM Clément Léger wrote: > Add PCS driver for the MII converter that is present on Renesas RZ/N1 Add a ... on the ... > SoC. This MII converter is reponsible of converting MII to RMII/RGMII responsible for > or act as a MII passtrough. Exposing it as a PCS allows to reuse it pass-through > in both the switch driver and the stmmac driver. Currently, this driver > only allows the PCS to be used by the dual Cortex-A7 subsystem since > the register locking system is not used. > > Signed-off-by: Clément Léger > --- a/drivers/net/pcs/Kconfig > +++ b/drivers/net/pcs/Kconfig > @@ -18,4 +18,11 @@ config PCS_LYNX > This module provides helpers to phylink for managing the Lynx PCS > which is part of the Layerscape and QorIQ Ethernet SERDES. > > +config PCS_RZN1_MIIC > + tristate "Renesas RZN1 MII converter" RZ/N1 > + help > + This module provides a driver for the MII converter that is available > + on RZN1 SoC. This PCS convert MII to RMII/RGMII or can be in RZ/N1 > + passthrough mode for MII. > + > endmenu Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds