Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp905287rbd; Fri, 23 Feb 2024 07:11:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXEa54QLf2hZEjOkNvTCgeaQ34yQnTYuaKSYqTErZas0JfSLRdDkvN3ro6tCUXmjmuSurqRpWFugMW4g5fhAfYQ1inpxaR8BSYx/d2BjA== X-Google-Smtp-Source: AGHT+IGC1PPLrF/432dXotfkF8aNaqjRA2y35uOoN7LQCCI1QlQBYSKUA/7uWvfDrBAXylzLUeJE X-Received: by 2002:a05:6a21:670b:b0:1a0:db61:f02a with SMTP id wh11-20020a056a21670b00b001a0db61f02amr95549pzb.31.1708701089364; Fri, 23 Feb 2024 07:11:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708701089; cv=pass; d=google.com; s=arc-20160816; b=Uq0xhf+apc3A3I5e/UuStKpaEkrsAyHD6Xx+BxRSMsIJrLzhQyJ8dWZDH1AtC3Ysis ADJGp9tihUxW75P5nGHcc6DIrRFSFevc8Mha1k5q6UIbXYrRSdBwPyVbVfL5p1nChGh/ PZwWyB0ucgyVSxUWeYIL4INw0ECI6Q2R+zD3141L2XKaRSx7ObWsEKD9XkOdXvz5cW2q cnRux47Wzn/BAV1DlM0czsRxElAy3LUl04CBzmzwO3VIRM80+9UOHxSaMFo5AYiLgCvS 6cs4fw3RDGjbnY9gj1NV8Xb4GpOg5CjzRxqSdgGwfF0b4LRNL3rDJxuodgcLeK0YpvTc r4tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=ydUaesQ0OVtKhYP+EhluA0cNkJa752d4qIXveokF4Ws=; fh=1/ocERzVBGNh6G6E24LZobgyunl6mmWF4A9jewTqXD8=; b=EAI/AW2hnvt8SDgj5BbykkB4T4yQGNPZKq4ncQYLwe9w21CpkOrJntB/+sgFDD8IhW vsS8Qt4N7KHDBI7Kg/Gzj26lGGILO3dZ2SdzdzkjMeQ32xx0GW5kQ2oRIDJ0AD2cItcx ju75OOYvcOwddvclmtjWbQbLn2hiTD44Qa0f8jpDitGBfqiQrjMOmAWnEcGAoQEgmtYc ZqkYy6RHGuL+u9LNwfSb1ZPdZt/IUIpj++V/9uKfK6ccvxi0GF8NkEyoAV1FuznaUiii jHwMwO4N9byqRSXu/3uTV0OL7o3iNazuViwR+CB9TdoUqdagiy9C3tvMrRm5uJS6pehI 1lZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=h0rWbaEf; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-78577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l8-20020a63ba48000000b005dc8922fe5csi12275849pgu.457.2024.02.23.07.11.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:11:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=h0rWbaEf; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-78577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F28322865F1 for ; Fri, 23 Feb 2024 15:11:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF40A82869; Fri, 23 Feb 2024 15:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="h0rWbaEf" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 AF19F7175E; Fri, 23 Feb 2024 15:11:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701070; cv=none; b=o4WmQx/McrKB0gUfwRVrSTuVTWHQippwqQHhkrf15cK3snkpp1zK6AeYCgp57m6h7yiszJtUvDyyGX5c9Q7DEZYylexklwiquUrYE83OcgVtZOXNyo0yF7OegOu+TJs2vHh6aR54YFwkhdzsMN0fBT1VfoIaVXaC//nKppN3ycI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701070; c=relaxed/simple; bh=PxYjF1RutTsLPmE3OJ6tcrJ1xcdHiw4brWhvRfjFA9w=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RZl44I9q+ULpCJt+r3fM+RWowJGY0hWjCNiaLqPWccOeYA10zjC+2QTrj20LViW6Rh1V5woZTEeW5YP2Ar8tERsotNUHzyOXyEe5Rv9Qiceg9VlCZXqTsSaqP7FSp7+T+xYEizy4eXiY9qfLyTPnop4JDo2EBI7AAbPZdEzxd5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=h0rWbaEf; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 521E66000F; Fri, 23 Feb 2024 15:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708701060; 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=ydUaesQ0OVtKhYP+EhluA0cNkJa752d4qIXveokF4Ws=; b=h0rWbaEfcT+buqVA4TnEgUUD0EqapemsxttQSTkXQ6OUyOpLbKRlZXN4rlvZehSOdjNM2s aZ66FTmRsPx2ZxzDsA/+oo/8P36SoTYhFZBPDBDcaju++FI7SXuuwNuwCo8joKOtDwy9kk uLk9Zt54c9ZuqWydu6sYstr/ViV88dwYHSBzkU1ODNgZ/6OolZXLMYf60shZb7fzJCq1cH m6u/Zl57MpZzMkxAKXfBjBuXjNXELDhUV7QUmfZvNss+KkcJUQ+EgcsnnpGmMABEHNcZ5h G06t+0lWrWOmPrehhKUG+8m53b6YPxA3zGrnglio20vWJnnl5RYKrTPnStaouQ== Date: Fri, 23 Feb 2024 16:10:57 +0100 From: Maxime Chevallier To: Andrew Lunn Cc: Conor Dooley , Rob Herring , Bastien Curutchet , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina Subject: Re: [PATCH 1/2] dt-bindings: net: Add TI DP83640 Message-ID: <20240223161057.07b7aa5c@device-28.home> In-Reply-To: <20240223160704.4018cac2@device-28.home> References: <20240130085935.33722-1-bastien.curutchet@bootlin.com> <20240130085935.33722-2-bastien.curutchet@bootlin.com> <20240130-impulsive-widow-9142a069b7fd@spud> <20240131210521.GA2289883-robh@kernel.org> <20240131-tummy-imperfect-e6d6f0e245e9@spud> <20240223160704.4018cac2@device-28.home> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) 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-Transfer-Encoding: 7bit X-GND-Sasl: maxime.chevallier@bootlin.com > > I've missed that thread initially. I guess that if Fiber is to be used, > this would be done through sfp, then we have all the regular interfaces > to configure the phy_interface_mode, in that case that would be > 100BaseX. > > So, a sane behaviour could simply be to configure the PHY in copper > mode by default, without relying on any DT property ? If anyone wants to > use fiber mode, then they would have to implement the > sfp_upstreamp_ops, which would take care of reconfiguring the MDI > interface of the PHY in the correct mode. I missed the fact that this isn't a new driver... So this would indeed break existing setups who would have fiber-mode strapped-in but don't use SFP for some reason :( Maxime > Maxime >