From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 6406F37472D for ; Fri, 23 Jan 2026 10:42:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769164974; cv=none; b=gkUj74UmtuE/RYczMEDMd6jGGiaITiXAjVpqlBw7CDRwAYHRqdnrZ2uY2rKqP7lY3Z9P98E5/OSYXrtC2TGbUXgOP9XFZOQ5dvjPkx4kUeGKvSQuz0VztxjD7USB9VdeXapkcW58Cf8hWse/8cVh+gZKf1KcuZeENeoS9Y8AXXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769164974; c=relaxed/simple; bh=qVVLNJ7YXu9WNPO4RkV73hHgmEFOPSz6GfdeQZ4051U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fBV6RdRlSEdpaw+RD1FV0abCftf4iSo9WNIkTxho67x96+tnB5Dg0QxNdUqDuS01cPqRI+bA/7r4IjUDwvubiH7sHdZCnQWFIdcy6YX/EDAuMgyO0nFmPuiTMwslIfdsGZLPTqBXCu0aZDKU28FgbKmyql4C6WJnhTCOqX785V4= 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=UqzHGOu8; arc=none smtp.client-ip=209.85.210.175 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="UqzHGOu8" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8230f2140beso693283b3a.1 for ; Fri, 23 Jan 2026 02:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769164971; x=1769769771; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/cJzMSeJBm/TCcIoSkUUB8qr/tXilSOEhL8O9TYXtqM=; b=UqzHGOu88FL4chPQ9P3cfZjx4p3OvTq7W0+YeMkIoAE1iNZACa+s5DLtaKtgVzde4K JgM+tSJxS0nYxGwJAyzlKxGdb78ZW2IjTFZPKU/ccQFj8129GelgiUSNhlDxTbg7z7/e zvdl5zPqVRxWD7RrxLZ555T7LR+/LilWe8VniOjR8XFFS5dx0crq9TYPB3Vqjjr/FKt6 m5yoHqsjaiL0P88rr2S+trr9kSPF27aU3WLkV3KO7ZaqMtA9+KCYemzFNkcq5asXLpxR u8NyXBry4GaCN17EKzslng2qM5wjDCijclUGEt/ls+hypNt3IKQbLdzFOX1RYGEAUdzA JdpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769164971; x=1769769771; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/cJzMSeJBm/TCcIoSkUUB8qr/tXilSOEhL8O9TYXtqM=; b=uYCQ9giqwKBUlhi4Ers/ZIHFo2bOOKrwDRtzQzCHedVdx7k71MOfympyAdLL2TL+g4 UMFz8jh3KtFBq7a8ySfC8XwkQiZfyYR7vi6oLpj0Iz5rxoJsr+cwSp8smOp4Y2KdyffS q52lfL/Iel87XqVc8/6qD8TgOgEmUpnQkFvcrPjz+dYkX9nwbsCjtB+ofNETVKEaaZ9O 8RCY/7fCFE8FAFJS2uwOgAIts+In3yaqgpS12HYkayPMAVrZDqnAaCgg8KjkPXYKOheW EJJ9wNkBMXxHouPO5pNxYDvYFLNKJjteK5LrfmkaKvy3rR+xYhfPHe9460onbn7t48hy ApZg== X-Forwarded-Encrypted: i=1; AJvYcCX+z67pxTRNiL5ruA/I7XZ+KfquecTGrlpnouOqnRuNbm8oEfz/pnGwywCmsZigkzGFfl593qSyxN0WGuI=@vger.kernel.org X-Gm-Message-State: AOJu0YxWW7+pUht8VHFrtMEAyu5oxcB1uZa3M9TKZFSbBMfF+fCTbZxQ gCk0skokwdTWZ0g2BAWhQpWPyqplkWppDNDfpfdLLLh0Yevl5bgiXxBH X-Gm-Gg: AZuq6aLbydY2Ue6uTqUf56gE3AQiV4a+8vNTtKLf1seTVVW9uqtY1pxlQOui59zHZCo N+YyPXu+lsB51KeJx6ceniXqJq8izkXbhadlZVAm9RrSR9JJd5FywNOxW4xmyB6eYd8V72pVQT9 jCq5wKsgSJ4QXjYPAR2MF5tsGq+VB28NdBdFEtOq5CGWfeaAidlES5IYQNIwyDv7HNepZxTa/sm LecAMWS2AdfKgLm3LcfF6M7dISm+ifP8S228Ai5pBvOh3Bn3llhXDTgNxQEK9wU/ewUDCkHsD/o YQow2uAFrPIL3XON5rdYdcClgCXg5r0kJuGyvKwaa18A75JEglKCrFJrgOHz33CSVTRy10NXmqM Qmwdk+/tMtanfa/ntJ1D1t6NkW0cv/c9dvAX1cvbUwQJHgmUwBqb0zk1hZJ6CuyPQFfZZzAJd0c NiYYUGjTWrjuF2DQ== X-Received: by 2002:a05:6a21:1507:b0:354:dcc0:8c0f with SMTP id adf61e73a8af0-38e6266c26bmr5654764637.12.1769164971008; Fri, 23 Jan 2026 02:42:51 -0800 (PST) Received: from [192.168.1.131] ([172.92.174.155]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c635a141fc4sm1743148a12.8.2026.01.23.02.42.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jan 2026 02:42:50 -0800 (PST) Message-ID: <43923bf9-6202-4147-8eac-5bd7bb653fd4@gmail.com> Date: Fri, 23 Jan 2026 02:47:18 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/2] dt-bindings: ethernet: eswin: add clock sampling control To: Krzysztof Kozlowski , Andrew Lunn , =?UTF-8?B?5p2O5b+X?= Cc: devicetree@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, rmk+kernel@armlinux.org.uk, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ningyu@eswincomputing.com, linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com, weishangjuan@eswincomputing.com References: <20260109080601.1262-1-lizhi2@eswincomputing.com> <20260109080859.1285-1-lizhi2@eswincomputing.com> <00b7b42f-2f9d-402a-82f0-21641ea894a1@lunn.ch> <308b676.2d03.19bb0caebed.Coremail.lizhi2@eswincomputing.com> <59cec617-0189-4dc3-bc3f-6346155a62ae@lunn.ch> <4e2a55e7.3662.19be8cb9c3c.Coremail.lizhi2@eswincomputing.com> Content-Language: en-US From: Bo Gan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Krzysztof, On 1/23/26 02:07, Krzysztof Kozlowski wrote: > On 23/01/2026 08:39, Bo Gan wrote: >>> I assume the address of the interface is fixed. So you can just key >>> off that to distinguish the two instances. >>> >>> Since this is an internal property, not a board property, it is not >>> clear it actually belongs on DT. >>> >>> Andrew >> >> IMO, they should be in DT to provide maximum flexibility. The SoC .dtsi > > This is not the purpose of DT. Please rather use arguments in terms of > DT rules (see docs, presentations). > Any examples? links? Thank you for your patience. I'd say if the board .dts never overrides the eswin,rx-clk-invert, (E.g., the SoC .dtsi has rx-clk-invert, later the board /delete-property/'s it) then yes, it can be treated as something inherent to the mac, and then "use arguments in terms of DT rules". I was thinking about use cases like: https://lore.kernel.org/all/20230714104521.18751-3-samin.guo@starfivetech.com/ > We really do not care about maximum flexibility. > > Best regards, > Krzysztof Bo