From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) (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 3DC3C350288 for ; Tue, 27 Jan 2026 22:25:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769552714; cv=none; b=jdQ5R0srrufIy8kFRyQk6wUTwvwy9Md7WkP+ZylX8QOvibhUHBZ6V6koU3uLnqU4KySNEJJYgKzcORC37ee03Fcekk1r6Pa5AqUfRjjXhc6OSJXWmaE7rjk5VT/SSZOevhardhqhz4KXTcITxRpo8E1mt2KOXG7L69cVJ1fUZg0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769552714; c=relaxed/simple; bh=KRUwvuwF/PM7ITLfpmVaWQqykACx8OV/i8XDHgots7w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R3HB0nXAz8+oFL8NicweQxht2qmhl3jtr8ktDUhCyngPtGdJbDuQffhsMfiCf9MPXYyznZFzIR05EkPQjYcJpCN4ICay7GF0jrk/9nwWeqzew/3R7uXylGRwjZmX0n9XSNN5TfsKit/0i0i/gajUiOyFsVV/4UqqkCMrgsSICTM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TigyRkkx; arc=none smtp.client-ip=209.85.221.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TigyRkkx" Received: by mail-wr1-f66.google.com with SMTP id ffacd0b85a97d-43590a7115aso20493f8f.0 for ; Tue, 27 Jan 2026 14:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769552712; x=1770157512; 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=ZsTo4cAUvZp8jxGLFOJ3NaCEJaN65doECV0+BSV0gis=; b=TigyRkkxMV3hdbFSEVgbTG2m4CeA9EDIHe4O1galSIl+PfkDy9P1zcFB4jGVY0E0vI 1SOY2WKbiaTb+7nFYxAbmko5C+6JIybI9BgZDQOCBaExYnI3a/NzfeXIinzZI65+mXwj MQ2V17zFKNuIVaVuc/M+KD8lG8tpeyY6dNklAqO8c9FvIcGt0EyXLVEUALeGaPVKTIBg 5QouJyOQJ8EARqyFlMnm1CVXCweeTyBakakAaHdU3pktIwTlyAoKsLGNI2SMm/02Yd/q YFIv17oHcCvIa0Sfu3VoRviFNFF8e04VYDjpIXXLdtvvS3UvyMRQegNrO2o7oz89QKby UtQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769552712; x=1770157512; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZsTo4cAUvZp8jxGLFOJ3NaCEJaN65doECV0+BSV0gis=; b=leZMZ4iyOa4yc63lnCv6DEMXF/kyXJ2Dtw0E07K8BK9ZjhbMVPfp6AbxH42n2xnXB5 JrN6QRo2aJO8TGswOlierQEH3M6XeAB7+nGoed9/JIuDSpa7+4QnpNUq3yzyaAJ5Wtvr RpcdiEa3JwBIH7hqW0qF7oo/WjC0FBIGr9rtP4tnn5zSYJ+6TC/3wzPs6o738cHO9Ovy lMHTn2+1l+CRYOFQLe3NsxWkQ0Dq6RjgvHVasq043G9GgEz5FqcPePeplBwkT8/SDCzc Uoas5S+bAdkaASr4ZrhYXhSHhNgf0/3y3GO9dLrjFqYpih60phQrGWSTzhT3+T2zHDFE amRg== X-Forwarded-Encrypted: i=1; AJvYcCXCooT2wsTWuq/0qRzbV/dtL9J9DdfIH0LvlRob+0qClGuZCTRR5QWLOT5MMhjba2kX0KoeOMrRwWAUkZI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy1Tk1UqL0OwItUNNOLCDI9Si3bisu8GN9C/IDRShIA99rq4i3c i3b4ybvShO8xJikMwjYd+X/wqEoh6kRwC/tK4k4xsCme+Po14dgPj+rC X-Gm-Gg: AZuq6aKZaz7RXVkpEZWA6EClhG+wxNbaV4ZrlEKKYDFYfsSu1NbqJRyYoE+c7eSGuOf XjFMj93lhQfUjZV1UZtG8P6QkAmn7Ljcrct6TgpL0JE2K22TsiaVFMnr4RdOxmqm+MsniCbwewz QKV6V1RK49ZOkDBiEBwkKVt+lAvIjEvChOyvkhie+gpXdjiboq1aDYIT+NuY7qBCjVV9Fs2/3mv YNOVgfchNZrKFHqKi808VRI1JSekqPT3e3Kzr3XQBlju2KQs40pgYxx/cK1XnFp+eN1B/5vcjw0 w1Y9vvYP58cjCLIHmdCrn8PU7riAxXepoURQDOQjxrgpbb4MeM7X99RcNZ+9DPeJOckhHRk2G45 PZDz6N1W8FiCskHYNklRfhHggyZJUih16cODOBzVmeru6sL+SdOV7+BAUpKhInLswOpXegw05qa 3KQA== X-Received: by 2002:a05:600c:458c:b0:47e:e20e:bbc0 with SMTP id 5b1f17b1804b1-4806e51e61cmr2197605e9.2.1769552711328; Tue, 27 Jan 2026 14:25:11 -0800 (PST) Received: from skbuf ([2a02:2f04:d501:d900:6c51:3f46:e918:f0b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4806cdebf86sm18712645e9.8.2026.01.27.14.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jan 2026 14:25:10 -0800 (PST) Date: Wed, 28 Jan 2026 00:25:08 +0200 From: Vladimir Oltean To: Daniel Golle Cc: Hauke Mehrtens , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/3] dt-bindings: net: dsa: lantiq,gswip: reference common PHY properties Message-ID: <20260127222508.gvky6smlrmnj3uix@skbuf> References: <20260127132919.xsvapgqc65f44iah@skbuf> <20260127150747.lzlfzhusywluuxhs@skbuf> 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: On Tue, Jan 27, 2026 at 10:10:58PM +0000, Daniel Golle wrote: > Taking a step back I noticed that we need to decide this also for > mt7530. > > commit bde1ae2d52ab ("net: pcs: pcs-mtk-lynxi: pass SGMIISYS OF node to PCS") > currently doesn't pass any fwnode when creating the LynxI PCS. > > + pcs = mtk_pcs_lynxi_create(priv->dev, NULL, regmap, > > + MT7531_PHYA_CTRL_SIGNAL3); > > However, each PCS does belong to a specific switch port, and it would be > advantegous and imho consistent to also assign the ports OF node to the > PCS, this would allow to configure the polarities also on the MT7530 > SerDes ports. mt753x_phylink_mac_select_pcs() returns either &priv->pcs[dp->index].pcs for TRGMII or priv->ports[dp->index].sgmii_pcs for the rest. How would one know (generally speaking) if properties placed in the ethernet-port node are for the SGMII PCS or for the other one?