Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp310241lqp; Thu, 21 Mar 2024 01:40:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwEZtUdT9mk/PA/vFQgNywSoCoJO1hT1pSQt6OU5QA3TvuTQgB13rw+DbJWb9IxjpOUO+e0oxJ85JjBnbFEfUZnvTYNs/pLWF4+wvz5A== X-Google-Smtp-Source: AGHT+IFl69sij/hW7e54xXml3vNeN/rNkc7m7yswB14vv69M/PP7ySWcBVh/hSPL4rOBM+qFCYmb X-Received: by 2002:a17:906:aa4f:b0:a46:acca:2dd8 with SMTP id kn15-20020a170906aa4f00b00a46acca2dd8mr5064738ejb.1.1711010423021; Thu, 21 Mar 2024 01:40:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711010423; cv=pass; d=google.com; s=arc-20160816; b=dcCuSr4Can/SaMlfNm6kO6pcDiFrxYx8H0CWS5C+mRqZby4Qx36qQEPIznLcaetBnj FzdKU4FHIesOODcAniq2TEpWGmfsUq72KcRVX0RYtX/yqaYytCDNuBRKLSZonuEOJ+B1 ylyCaf8qDfJ76jKVKUdJuh0IRlA3EY5T8dVBk4nZQg4K3BiTV0Xc2DZhnuF/VLjA8X/A dTXY8Ch4qTTpwcvhGP5NIFgk7icw/uwpdHl/0iUUnE3CcgcuZOLLpnoqyBNHCtzhpYRy XjZuOuSdSSc+3T0wOVoOQ+7gIkeALiSxOykRNoNcUfQs9KN+nfptaoEZHBdH2UcZ/xPa 3rAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kZmS4x8JWAHXoDT8/RhY2F7SBv6SO4D4gWDtaTnP6xI=; fh=SKeJcvBLoQIGE/edEvzmeFiWeaPLppKCA3NQ8NsWIFw=; b=cMG359TDax96coind2PYRU+6cNKyobQyAOQqzBSFH4aFVKxnU2DH+sXUOq2IuDq787 umuvuHxEef2cmyePkv1SU/YWjcjcefUQNaJZUGwjrs5bKjnn5XYF4by5EzplOMElgic7 jR9UJaAXpjLXRSCIKYadsCqfrZAVHBfzcv7xzQPvwbOJ5askbZhXqpAiilS8Aj3uLKbp juZMnsqEBuh+g4FZWJJr/hcLMMzFmMz1uJ/Mq5ZXjXXvWT7oOXJlE7GoqWWiJcc9NnAw oiMK8ZDc9FeJy0d+PjhuqDZudh6YN69XXjOmes2sBztJ2zQ5oxyAVmc/kjJZ/lF2vGyt 6fmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnCLmwmV; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-109800-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h1-20020a17090619c100b00a46c1bc8e70si3760724ejd.859.2024.03.21.01.40.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 01:40:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109800-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnCLmwmV; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-109800-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 957D11F21A17 for ; Thu, 21 Mar 2024 08:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE54B200BA; Thu, 21 Mar 2024 08:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tnCLmwmV" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 90B161426D for ; Thu, 21 Mar 2024 08:40:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711010408; cv=none; b=ZbrXdLI8jK0CRhzkkD6+lSm2p0BqByY8i7DE6FlsKzvNpvXMFRa7enFIy34tbT2IcFRtle1RGbLn9G0HjSjI2e5vf0Dzz7vaRuhk8fjY3ar3AW45v16R/+6fLUBmrX++r5jquxngV/zeRiL696DubgHUSTZpcyUmCd+NAJPRuPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711010408; c=relaxed/simple; bh=oRd+yM7ZzeNrMBRK5K8UEgWAj0LhRJwmY+bwbTNGQps=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SlXxJs0aG+dV0tqU7bXoeh7jf3hnOJGFEzPFuvnDXZ8rKPlQQO8Ev7VkWlf5+/+5ZRGbETNbNwhfTMHlpTqNayqTGBwgEU7L3+9WHfcidOI1ilU7JCLHhy/CvreNnSpPb3QISeTV+s9mT5rcCluc4u4AKudoPbvjJ2sFjpGAZiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tnCLmwmV; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-56890b533aaso731837a12.3 for ; Thu, 21 Mar 2024 01:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711010405; x=1711615205; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=kZmS4x8JWAHXoDT8/RhY2F7SBv6SO4D4gWDtaTnP6xI=; b=tnCLmwmVbQ2FOxhKPVLI37fLUHsAV/9MwuxXLsDClBH8s2GskUeb9/wqJ/jDiUuGOq IDlrfCjIiwrvjETAPZ2aFqxkfQnW6W9/qfV8aUYM1L9yuUZei4IVBoZkY4+RVEuid587 sMuVdqIL5f8VeNGmMK32AQ39QhpfYLKfYoN4qQsU1+neRDGCxy26xd8egCFSERrp0OXc QIA1OXXKdraNJQAo+2eDGvR23Pxudp7PtO29B7YwhhPwURVeAnMAWMu7ejIIiTte+xYc /n/kdEKOMcPe9/8NA/2Lpa+JcePgOGBKP5596q9JPFoBPIouUJCK0pN/oV4W7hG1oFDS u3bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711010405; x=1711615205; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kZmS4x8JWAHXoDT8/RhY2F7SBv6SO4D4gWDtaTnP6xI=; b=cOEnfVh6lrSjqEnhydr14l3NrATSG792B/jn6Q7GCvnp643T7RJSqvuL3CYfMIsNK0 9B7K3QNC/8omxzYowz/nTQZ87rQ1lGF+Svmxw06gvb0TBEiZZdKerBEAWcTm6eFGODwb d5ZCPzBkYRKI1fX8Jl9UmGw0Suq71k+iTJc0roV/4epSfmi/YG2GalVR5aMLmgP1rtVp a35zRAXgFtYgyzSB0GZ8tRRhvMJQz57WrEssZsYOsK06VtXWvDCzHmNG5szn4bEsu1iZ vkz3MgWp2NYy5bZCAciCDyCvh/OYGFzRIh1VKT+HEVBvqZEpJF1nWKozahmhhacdfp7k zfDA== X-Forwarded-Encrypted: i=1; AJvYcCXB2aq5hvzv7h1dzeAW6ZmvB/OaUH732snPhK/DwN+TW79tTouuqbS3PKmGQ1lIHZyYIF9Kw/SE+8CM1FpYTypquM7nNoJ8N1DgEEnK X-Gm-Message-State: AOJu0Yy8j4ltalPur8X8S2R950bT61LTJb/xkdWRR0KOFvqjQ+Dv6oAD BbRX0+IYXZa9XO8v2wSB7RjylUx7LiPjyq+YM4yxk8TtzbkX51tKXguATl4K6ng= X-Received: by 2002:a05:6402:2421:b0:566:f5d6:4b4 with SMTP id t33-20020a056402242100b00566f5d604b4mr5809365eda.12.1711010404783; Thu, 21 Mar 2024 01:40:04 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id cf13-20020a0564020b8d00b00569731a1eb2sm4432406edb.46.2024.03.21.01.40.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 01:40:04 -0700 (PDT) Message-ID: <96493beb-afbf-42f2-88f0-ad645422ecdb@linaro.org> Date: Thu, 21 Mar 2024 09:40:00 +0100 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 net-next v3 12/12] dt-bindings: net: add Microchip's LAN865X 10BASE-T1S MACPHY To: Parthiban.Veerasooran@microchip.com, conor@kernel.org, andrew@lunn.ch Cc: 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 References: <20240306085017.21731-1-Parthiban.Veerasooran@microchip.com> <20240306085017.21731-13-Parthiban.Veerasooran@microchip.com> <20240306-spree-islamist-957acf0ee368@spud> <4c5968a3-c043-45fc-8fff-2a9eaa6de341@lunn.ch> <20240306-ripeness-dimple-e360a031ccde@spud> <05a9a7ee-e4f0-443e-9c8a-8ee649a11448@microchip.com> <2f384a54-74a0-4a75-a325-8985257b5d66@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PS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O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 21/03/2024 09:38, Parthiban.Veerasooran@microchip.com wrote: > Hi Krzysztof, > > On 20/03/24 3:23 pm, Krzysztof Kozlowski wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >> >> On 20/03/2024 09:40, Parthiban.Veerasooran@microchip.com wrote: >>> Hi Conor & Andrew, >>> >>> Please find my reply below by consolidating other two emails comments >>> related to this. >>> >>> On 07/03/24 12:31 am, Conor Dooley wrote: >>>> On Wed, Mar 06, 2024 at 07:48:57PM +0100, Andrew Lunn wrote: >>>>>>> +description: >>>>>>> + The LAN8650/1 combines a Media Access Controller (MAC) and an Ethernet >>>>>>> + PHY to enable 10BASE‑T1S networks. The Ethernet Media Access Controller >>>>>>> + (MAC) module implements a 10 Mbps half duplex Ethernet MAC, compatible >>>>>>> + with the IEEE 802.3 standard and a 10BASE-T1S physical layer transceiver >>>>>>> + integrated into the LAN8650/1. The communication between the Host and >>>>>>> + the MAC-PHY is specified in the OPEN Alliance 10BASE-T1x MACPHY Serial >>>>>>> + Interface (TC6). >>>>>>> + >>>>>>> +allOf: >>>>>>> + - $ref: ethernet-controller.yaml# >>>>>>> + >>>>>>> +properties: >>>>>>> + compatible: >>>>>>> + oneOf: >>>>>>> + - items: >>>>>>> + - const: microchip,lan8650 >>>>>>> + - const: microchip,lan8651 >>>>>> The order here is wrong, lan8561 needs to come before the fallback of >>>>>> lan8650. >>>>> I don't think it is a fallback. There are two devices, and hence two >>>>> different compatibles. So i suspect the -items: is wrong here? >>>> It'd just be a two entry enum then, but I did take a quick look at the >>>> driver earlier and saw: >>>> +static const struct of_device_id lan865x_dt_ids[] = { >>>> + { .compatible = "microchip,lan8650" }, >>>> + { .compatible = "microchip,lan8651" }, >>>> + { /* Sentinel */ } >>>> +}; >>>> >>>> That, along with no other of_device_is_compatible() type operations >>>> made me think that having a fallback actually was suitable. >>>> >>>> You cropped it out, but the patch had: >>>>> + compatible: >>>>> + oneOf: >>>>> + - items: >>>>> + - const: microchip,lan8650 >>>>> + - const: microchip,lan8651 >>>>> + - enum: >>>>> + - microchip,lan8650 >>>> So it doesn't appear to be an accidental items in place of an enum, >>>> since the other compatible is in another enum. >>> As per Andrew's comment in another email, both LAN8650 and LAN8651 are >>> two different variants but they both share almost all characteristics >>> except one thing that is LAN8651 has "Single 3.3V supply with integrated >>> 1.8V regulator" which doesn't have anything to do with driver. That's >> >> So why this is not reflected in your driver? Why didn't you address that >> part, but ignored? > No, it is not ignored. This difference is specific to hardware and there > is no configuration/setting to be done from driver. >> >>> why I have kept them as fallback as Conor said in this email. Hope you >>> all OK with this. >> >> Did you read the feedback? Your response is not solving here anything. >> How 8650 can be used twice? Please point me to DTS showing both usages. > May be I have a misunderstanding here. Let's clarify it. > > LAN8650 and LAN8651 both are two different variants but both implements > same functionality. The only difference is LAN8651 has "Single 3.3V > supply with integrated" where LAN8650 doesn't have this. This is > hardware specific difference and there is no configuration/setting to be > done in the driver specific to this difference in the LAN8651. So > basically the driver can support for both variants without any > additional settings. > > LAN8650: https://www.microchip.com/en-us/product/lan8650 > LAN8651: https://www.microchip.com/en-us/product/lan8651 > > The below link shows the difference between them, > https://www.microchip.com/en-us/product-comparison.lan8650.lan8651 > > With the above details, I would change the microchip,lan865x.yaml with > the below details. > > compatible: > enum: > - microchip,lan8650 > - microchip,lan8651 > > And in the lan865x.c, I would remove the below line because > .compatible = "microchip,lan8650" already supports for LAN8651 as well. > > .compatible = "microchip,lan8651" > > Let me know your opinion on this proposal? or do you have any > misunderstanding here? It's still wrong. Upstream your DTS and then test it. You will immediately see that it does not work. So first make it working, then send code to review. Best regards, Krzysztof