Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1022543lqa; Sun, 28 Apr 2024 15:02:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUrGbvgQMcsjUjdxFB73m1ZL+8DM41obYsamb3/h7ZHi1JgObyoLkGabF0j1YZM8tiubb7FyvIaALWBw88+zC8AunMBsOo512ja7foQA== X-Google-Smtp-Source: AGHT+IFnKPXIo6gvPwFay3j/iIE0bp85ERjoSz9xes+ZtWJ8dMglp88ck7ZjV/v6KHnnIOkjmfSq X-Received: by 2002:a05:6808:bd5:b0:3c5:fc44:643d with SMTP id o21-20020a0568080bd500b003c5fc44643dmr7941734oik.54.1714341759294; Sun, 28 Apr 2024 15:02:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714341759; cv=pass; d=google.com; s=arc-20160816; b=rezi4DpcPbGfoTgZByHFdT5obwon8r2hah8vzrFO0ZjxxLClaerTLFBDyGkyXsXoBK +D2twH4GtXDmlnAvTI9La6J3gnuVVdGBkvWqQJWRLWS9PB7qHtRSa0i1p630GjM+yUer DrcGevg8Bks7+pQYMk8BKs3qBegf4OFmMxU0ThYMeftKknKTFleFauqa4Pb6LoI2roSc tMNmihtJCcG6uj/tiVLOHZpRmwOU3fBd7+uq6TYCw49dsklNcoPLF5ec4zJB8RmQF3Vh XhsZBynjARs22z6InVfuuRUlDCt3J2EJi9IHl9xeuhbfNxo0nO1NsFJMp4Mwd2VozSVX QKrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AWJwQ79KFPwoTQT9Ru/EFPzNPVyElzHVufYRANALvzk=; fh=wbw/8TYC1TaamMPOXjBq3hOWGRIzK/bbxtXGzj353Xo=; b=lwYgMNw96w2T1VRqHcOHbfZ28hG5LobxHUlUnZpzGD8xoj4Brhe/BsicHVdjD4Fg/a Qq6bZYl+HPECUtTt2upIWBrVsNh8JFIg+MTA8C90SfqkJ5anWHKfqalHpb4fPAfMea7t StmweCi5jx2uK4AV4S6wHZTUETWeY+NlQiqloxt+DzlCNNmejwILIRcpBnG4yjq14lQ/ F4FsJ9jJgza9vo4P4Nq9c3mwukj2qLiTMetrileJbEMgJqBNxfi4+DhHZuWe/xDv/YnP b561R6NsKJvKtJ/gYJSQ0cXnL2I7Z9xaPhXzIlaS7ufFVH+pvCxfhN4DmZXwCZxzxeyA QoUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ferroamp-se.20230601.gappssmtp.com header.s=20230601 header.b="aa+Nj/J2"; arc=pass (i=1 spf=pass spfdomain=ferroamp.se dkim=pass dkdomain=ferroamp-se.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-161595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161595-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ke27-20020a056214301b00b006a0acd9db82si6934661qvb.580.2024.04.28.15.02.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 15:02:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ferroamp-se.20230601.gappssmtp.com header.s=20230601 header.b="aa+Nj/J2"; arc=pass (i=1 spf=pass spfdomain=ferroamp.se dkim=pass dkdomain=ferroamp-se.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-161595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161595-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 08A241C209C8 for ; Sun, 28 Apr 2024 22:02:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E53AAC2D6; Sun, 28 Apr 2024 22:00:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ferroamp-se.20230601.gappssmtp.com header.i=@ferroamp-se.20230601.gappssmtp.com header.b="aa+Nj/J2" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 843753F9D8 for ; Sun, 28 Apr 2024 22:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714341646; cv=none; b=anV1Xz4GqF0VbOABL2bVuvRVY6tS5cpXK0zMOQlsgk6seXNc8reCHhnLU9dIbatgN00fMfftmOn0xF0JQXTevidecK0+70PBRR49wlIdoY5f0Q+7m7NZ+r71t65ziwoKeM0TO+CjzKHX7wvHcISFlv71981/uCjm/OVCxbtXrX4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714341646; c=relaxed/simple; bh=VKa5DRK+rov4mOndYM37s5U81Iupu8JcxyUVcg4m+F4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GVcJOuC+sr/jNh7nE2yKOTSUVJ6vNnPAZhvak6BAgFpdQVp2tB2DZFGg1KrrSeFjOgsw5LbfuVZZ6a3PVwNQt6JMvanctMURimXi2ynUEyUJnhbawnSADl6UmT4xEvHYaDl1/8GPzocYb9gS3G4D4YGc+33tthPZWfVW+MI5Nj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ferroamp.se; spf=pass smtp.mailfrom=ferroamp.se; dkim=pass (2048-bit key) header.d=ferroamp-se.20230601.gappssmtp.com header.i=@ferroamp-se.20230601.gappssmtp.com header.b=aa+Nj/J2; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ferroamp.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ferroamp.se Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-51b526f0fc4so4756699e87.1 for ; Sun, 28 Apr 2024 15:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ferroamp-se.20230601.gappssmtp.com; s=20230601; t=1714341642; x=1714946442; darn=vger.kernel.org; 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=AWJwQ79KFPwoTQT9Ru/EFPzNPVyElzHVufYRANALvzk=; b=aa+Nj/J2tKWrJ7FIFcFte6Vv5kEx/q5fJg4Jv9CmKXn3aSn7maYnaF/1G0xUWylXEP UG4mSHUMzp8QDsA+EICzuN/mRBtXPT/0XO11p0jhaDmqTrjmfn1wICdOoRMlaSLmQ4S5 z8z3qgOK4WnRisytaA7KwtN1Ig7ildDr7p2l9ZJArWBlrNcL+fRjjCWcyhclGomoEE6O FZusTxJFN6VbtqaVLFMBVlPZifDi/IGOEpuUPJUkLnqzVKfKF7uzJTmZofTm3VnStMn3 UVeQG+tmqTh/VaZIqifel++RV0T3CADBwVk7UIl6gci0onmQifzouChIQuUuJlvG4s30 l3qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714341642; x=1714946442; 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=AWJwQ79KFPwoTQT9Ru/EFPzNPVyElzHVufYRANALvzk=; b=wun8pYbIqK3GMMQ4umNsOcSjsqUxzQ6fGjEXV+9zLF+yV9Oa3n3+Zmv+VNty9i9VOQ 8o9k2fJNO26IXBexC41dgnkmFDtEo2DRCeOS51DqV8Je9hgpnHDQgyR1bYgzBy7nKsNn //jY1S1VEgUq//RZlRT06Ox8ULVbL6M8Z71BFdpJtEzjAbSQkL81QdfHzTRNhrVU67oz qILELfCdpLc2PBxtwW6TYhCp7Lb1dtJ2DPrHdyo+NKePAhxvkLFCB4h3etiWzvlDvFzj f36S24ZorZPnHavrkqax9gAvtkQsecIDIvw0aVwOc2OOsHFiZmcYgKt/Pb9BrxgMp5aG j/5g== X-Forwarded-Encrypted: i=1; AJvYcCV7lRTp1NSX293ro62jMx4SYTUp0pipb3OhiG6rGsRw+rWSBgFmjhYhxPJNkMpqXMR0ApUtASQxz6vgDu0IT+6y5aeYUkcxnxFCVLnW X-Gm-Message-State: AOJu0YxaeedzczHzgPjh1FidfmLvdIRXbgDvNC/isKrq07iuFHjSSdJw RHA1LwHmqCI28U67gTunjy1jGGjmCNBpHSf+jx3Cs7xSvlN/5SvugpjPO5CFp3c= X-Received: by 2002:a05:6512:ba2:b0:516:d448:b42a with SMTP id b34-20020a0565120ba200b00516d448b42amr6329943lfv.26.1714341642522; Sun, 28 Apr 2024 15:00:42 -0700 (PDT) Received: from builder (c188-149-135-220.bredband.tele2.se. [188.149.135.220]) by smtp.gmail.com with ESMTPSA id j21-20020a056512399500b0051ab68bbb63sm3547485lfu.56.2024.04.28.15.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 15:00:42 -0700 (PDT) Date: Mon, 29 Apr 2024 00:00:40 +0200 From: =?iso-8859-1?Q?Ram=F3n?= Nordin Rodriguez To: Andrew Lunn Cc: Parthiban Veerasooran , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, saeedm@nvidia.com, anthony.l.nguyen@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, horatiu.vultur@microchip.com, ruanjinjie@huawei.com, steen.hegelund@microchip.com, vladimir.oltean@nxp.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com, Pier.Beruto@onsemi.com, Selvamani.Rajagopal@onsemi.com, Nicolas.Ferre@microchip.com, benjamin.bigler@bernformulastudent.ch Subject: Re: [PATCH net-next v4 11/12] microchip: lan865x: add driver support for Microchip's LAN865X MAC-PHY Message-ID: References: <20240418125648.372526-1-Parthiban.Veerasooran@microchip.com> <20240418125648.372526-12-Parthiban.Veerasooran@microchip.com> <50b7cb69-61c0-45a2-9a48-4160b2d1e24c@lunn.ch> <8e06c952-b5ab-4591-8ab0-7aebf612a67e@lunn.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e06c952-b5ab-4591-8ab0-7aebf612a67e@lunn.ch> On Sun, Apr 28, 2024 at 04:25:28PM +0200, Andrew Lunn wrote: > > I agree with your assesment, the phy won't reset itself, but maybe we > > could add some comment doc about not adding it for the lan8670, > > so no one trips over that in the future. > > In the PHY driver, you can provide your own .soft_reset handler. It > could return -EOPNOTSUPP, or -EINVAL. Maybe check the data sheets for > the standalone devices supported by the driver. Can you limit this to > just the TC6 PHY? > Gotcha, I think that should be pretty easy to handle then. The microchip_t1s.c module handles two phy families * lan865x - baked in * lan867x - standalone I need to do some thinking and get a bit more oriented. But pretty sure there is a simple path for this. R