Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp694129rwl; Thu, 5 Jan 2023 03:18:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXunntWcQY2pzrDHV97VizCbANMZ7XmJsDYmFxsUw0zJGyM0q9UOp5GhzTSyIj3DdskXcuX0 X-Received: by 2002:a05:6a20:2d1f:b0:ac:9d6b:c1f0 with SMTP id g31-20020a056a202d1f00b000ac9d6bc1f0mr67982928pzl.40.1672917493272; Thu, 05 Jan 2023 03:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672917493; cv=none; d=google.com; s=arc-20160816; b=snT9ryZz/bMatUAtMMv/4SOxj33jPyN/oyx7tZlUb6geDZjoMxy0+Yx3MP/0t5jJkV oN0QGPRgH34gHOvsjuq/2GBlJuz3P2smccqzFT61C1aK3ZXpuQQ4RbXhCGltX4el7/fC GpUij1k32L0Whn9gQ2sfZIvbqtt84pvBAfjL0a2XYGtD8Oqa8wpYIE1QfIycHMKR+SUc E2ciiGIPt78MzJl92tifuoipXkQ5+ZpdabJVL8RuuxmlbuybSWO52tY+mqNGuafVqU3+ ZysxSuiBLq8MwOzdf4CHkeKy8A1GioDzbDK4z13VU1QsEtncFk4eiYFssEwLVH2vECAl LThw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0filXF68FHJ6ZWCVzi7qhWK2rOtyQx7FNriFJV/pCmM=; b=i9WENkmcp+JZWPhtzvp2yqifAiX5RCtykO9O+nuZ2pQa5KlfPCrafe9uMv2BCBP2zx kbAiQObOT0/fHGYSoDo7Hp1gjzZ4Sw61o6szi+ivgLoJTO9y0Tu378FJ/A+k2Y0A0DpZ JcwgjAMxBsw1tpr1kE+xsUWrt3CBkHZMDEXPSdkJtCPLpJEXxjeP9WPDaeJFGIpZHoAc rTKW3Ygc04jfycQo0Re8zOW/dfxTkyDaIRRpWbfDbFgm6iru4AeHbN9q8DcSCq9YkxFr N4dgHFGqQvBY7v6C6OlIBh/fWGVQpLuP4PGvo6drhDXLEBLFDnuY1mTF7FOtAfN1agj5 6Pgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L7CVuu1U; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a170902c3ca00b00192b150cf8asi16244268plj.339.2023.01.05.03.18.05; Thu, 05 Jan 2023 03:18:13 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L7CVuu1U; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233266AbjAEKtm (ORCPT + 55 others); Thu, 5 Jan 2023 05:49:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232688AbjAEKtd (ORCPT ); Thu, 5 Jan 2023 05:49:33 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EA2854718; Thu, 5 Jan 2023 02:49:32 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id c17so52244003edj.13; Thu, 05 Jan 2023 02:49:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0filXF68FHJ6ZWCVzi7qhWK2rOtyQx7FNriFJV/pCmM=; b=L7CVuu1Uek/knGn2cPZ7ZWzk4OcXFXAL3vJPv9mC8MNf/UCjFkS4MhXJLYysguWF8i NA24GyVkXSWgHd1DPR8JyHMae1Q2zPZA5sEKdQT19JoSYQYpImvAwmPwvo8wLNdaiLo4 mJNFH5GGtWY0V0r++CcT3fJhWSl0YlRTZWS9fXREygDa1RM6yIq2H1OwGZ7KoScB+EDz BpsXZxni+3IV78YiQPwupW+TL0ZYMbhANpX0n1QHOWvYJA8LLts0pERM44bGR1k5Aj0Y RkArTdFNNSnJM2z7EKjuj62A28xnHJU68h/5jSQI2jKspRiwdRFgdey/mdgMKg6tCvcH wH7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0filXF68FHJ6ZWCVzi7qhWK2rOtyQx7FNriFJV/pCmM=; b=BZmZUQ1HiXoouxycUnPdPTMbbZuQ/XLnCDRbrk+CRvxuu/zzGXvtBVVWvGLJ2Cr2Lx WOsXawRAMsCJQ53MDzGOtVg/JukxfKBF+9vo6XJlYqxz5Utxd3BFVVMFV0zJ5aUzXBgv DN9zftsdNs/5kHU210E4SuN2RrzchN/4A0Tm/JhHN16gY2uTrV2XmZjPHPQ5Ez/7F/pz iXTqSJmBc8AoQ1L8iQ5jvaixU/AOquJfJDjQzIErYmCp3I7Wr9Y/bXIDSfvxp0oyDX7Z tZEsILqWnuwCMb8RiKGbwwTh1B5xaY1atkxY0xybQsH8cz1cZYN7zkyRsAzcnkpj4o55 bUdg== X-Gm-Message-State: AFqh2kp7tlo54joQCP+2cFikNQ6Pa/calKxgqzBrmYPLnc8ReLre3CCC lhUk6gEAJB4bgVwQxZnHbfY= X-Received: by 2002:a05:6402:3706:b0:472:9af1:163f with SMTP id ek6-20020a056402370600b004729af1163fmr45200378edb.37.1672915770861; Thu, 05 Jan 2023 02:49:30 -0800 (PST) Received: from gvm01 (net-5-89-66-224.cust.vodafonedsl.it. [5.89.66.224]) by smtp.gmail.com with ESMTPSA id p14-20020a05640210ce00b0047025bf942bsm15744880edu.16.2023.01.05.02.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jan 2023 02:49:30 -0800 (PST) Date: Thu, 5 Jan 2023 11:49:36 +0100 From: Piergiorgio Beruto To: Leon Romanovsky Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Oleksij Rempel Subject: Re: [PATCH net-next 5/5] drivers/net/phy: add driver for the onsemi NCN26000 10BASE-T1S PHY Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Thu, Jan 05, 2023 at 11:05:48AM +0200, Leon Romanovsky wrote: > On Wed, Jan 04, 2023 at 03:07:05PM +0100, Piergiorgio Beruto wrote: > > This patch adds support for the onsemi NCN26000 10BASE-T1S industrial > > Ethernet PHY. The driver supports Point-to-Multipoint operation without > > auto-negotiation and with link control handling. The PHY also features > > PLCA for improving performance in P2MP mode. > > > > Signed-off-by: Piergiorgio Beruto > > --- > > MAINTAINERS | 7 ++ > > drivers/net/phy/Kconfig | 7 ++ > > drivers/net/phy/Makefile | 1 + > > drivers/net/phy/ncn26000.c | 171 +++++++++++++++++++++++++++++++++++++ > > 4 files changed, 186 insertions(+) > > create mode 100644 drivers/net/phy/ncn26000.c > > <...> > > > +static int ncn26000_config_aneg(struct phy_device *phydev) > > +{ > > + // Note: the NCN26000 supports only P2MP link mode. Therefore, AN is not > > + // supported. However, this function is invoked by phylib to enable the > > + // PHY, regardless of the AN support. > > Please use C-style comments for multi lines blocks. Fixed. > > > + phydev->mdix_ctrl = ETH_TP_MDI_AUTO; > > + phydev->mdix = ETH_TP_MDI; > > + > > + // bring up the link > > Thanks