Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2788179rdh; Mon, 30 Oct 2023 07:45:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8tjjuoKS6I46ou6b8ByC7U/Kt581CbWpbxbQdkYKHr0IVUYinKyPNUUawGn1UX4dk7lRQ X-Received: by 2002:a17:902:b48c:b0:1c5:b4a1:ff6 with SMTP id y12-20020a170902b48c00b001c5b4a10ff6mr6511323plr.45.1698677156908; Mon, 30 Oct 2023 07:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698677156; cv=none; d=google.com; s=arc-20160816; b=LFQnMW4BzH1kdNB+wm379W0vXUB0Rppbdx4m1cBFu9yfN85mRorAsjR8eCnVJKrRny bFTE6dzRmZ7TLM0T9FJKay/kuEfjCIdJe7YbuIv1AcquGVvx9wf1r8ltr797wuT4RlQ8 6n2iaRshHfZP4R7HYPRD33hodsdJdBiDeeExSQSXJyFMT0mziegL+xt5ZP3263TzWIr1 GBsEYfnbs9RqGSj2HtXWwdRpmseK2vT5X5UKWPy9xvS4IV8B9Os7QJHLV82DgEJR/3ot Cx92WHwso3LMSbaeRox8rou0cJ/emItqKSuq8nYdw90kLKftoavv5FfVir1RpvYsShlz eLNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=szEFjozfjQlU1fIpP+2UlllDpbLkMMNkDieto4qaR9U=; fh=njY/r5laSUHOp14NlB+Sdj4fVX8oV2v9i5i+PZ3WeNg=; b=hxDEQL0QQoQhwv8kk2R/nGTvS53K3Y/YQcfqPxpzbA1etR2eg9AqmcnFutej0EOMck EsTj+YnqqlZGr9z+n5uCqzC6ZJwrectOpPkhmf2K6cHFwX1xJ/gIMYQQgDKs2wMjGv9v /BDKPfreIFPF60RPysrMIdzuQif90b3gVHguS6ZdQOkpQhYODhyqo0bDFlfALbgTWGFz 7jePDGmkBQIH4PDsQ0nu4NrgRKYxtJX44AHDNJet58vchZq8HZwXyvjjDk66QgnNrhkO L5DTpsbqzdA0oZLsh18d9IAANSf4EoUtvBKv3EbJlalWlLyDkGN80XYYZRz9K0NzCjST 9ZaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sCGDb+RF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y19-20020a170902ed5300b001c1e4f9c63esi5128986plb.491.2023.10.30.07.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 07:45:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sCGDb+RF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E0D8B80481B3; Mon, 30 Oct 2023 07:45:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233487AbjJ3Opn (ORCPT + 99 others); Mon, 30 Oct 2023 10:45:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233469AbjJ3Opl (ORCPT ); Mon, 30 Oct 2023 10:45:41 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4901C6 for ; Mon, 30 Oct 2023 07:45:37 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-32f7db21967so1470986f8f.1 for ; Mon, 30 Oct 2023 07:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698677136; x=1699281936; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=szEFjozfjQlU1fIpP+2UlllDpbLkMMNkDieto4qaR9U=; b=sCGDb+RFqYEkFpIx2qLRuwM+1wmDURPtAkLGN/nsHo01bFEcjhRcx6e/HHx04cp9s4 VIo2yZsvNpexa0wR3zrvBMQNv0vfGGAsAdup+ve68q5L34bjuvPSpV8gzNFPB77bEmEU wJdvi0nM3RkGR32KqK1mzaHfuF6LolYZbyD0vk7rPiv/X2Dythj3a28w8K0s9pgvMzln 5wrPFnEeKYg0XvaJqIJGA0tRz3Ty4xJu/xQDeVBVO4A0s7i8Frk0t02CQ6JokJXDWwIb G4EelTajE2iYk6tVjnKQSc52nnGWJ+405Dcy4oQ4Km0EFcMFm1BF0kRqPHCgAzV+WQS9 QaFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698677136; x=1699281936; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=szEFjozfjQlU1fIpP+2UlllDpbLkMMNkDieto4qaR9U=; b=WZPY8Wt3jVUaycRJKlgy0l+yxq0ehDhr/DC+TvFPSz9VUHLbbvd8SoGRGFnI/gmAie vPQG/TPwzvNETvt9CPutD5y3ZnkarcxOMSifqH5iGQfMywvyZ7qto4tbMWNHCBkmJL86 24m/gISQQjPyMcDI0WHCv+kt+SxwsAIogmUF6iC/vwKE0siJk4jpO7XrK0OxFKaVPgWf F68DzU+hHE9Owpb6cSkxUx5tNCUcuB5KaXdl8xw4Q7WfTAzGh1rFwyh7ehhTXfXdyTf/ QwejJoR2nXGJoazGPWPwXtolML5AD+ruOF640LcVTudeVPHbnLPoH/wEJpGG9dHQXYAK wbZQ== X-Gm-Message-State: AOJu0YzSKeN2CQgx68I1cbC+cit0t//GJUyi5ot6RooOd/MKsWBelllz e6lc90GxRNocHP6WXUe0c3a63Q== X-Received: by 2002:adf:9c91:0:b0:32d:adda:e8ca with SMTP id d17-20020adf9c91000000b0032daddae8camr7350366wre.22.1698677136128; Mon, 30 Oct 2023 07:45:36 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id w16-20020adfee50000000b0032db1d741a6sm8387969wro.99.2023.10.30.07.45.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 07:45:35 -0700 (PDT) Message-ID: <08ad71a0-daf1-4588-a97c-95f3ee5df84e@linaro.org> Date: Mon, 30 Oct 2023 15:45:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 9/9] dt-bindings: net: add Microchip's LAN865X 10BASE-T1S MACPHY Content-Language: en-US To: Parthiban.Veerasooran@microchip.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Horatiu.Vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, Steen.Hegelund@microchip.com, rdunlap@infradead.org, horms@kernel.org, casper.casan@gmail.com, andrew@lunn.ch References: <20231023154649.45931-1-Parthiban.Veerasooran@microchip.com> <20231023154649.45931-10-Parthiban.Veerasooran@microchip.com> <91764d23-eed2-48f9-97c5-ac6a44f48f2b@linaro.org> <3ee02690-8912-47b4-a97e-6d364969c956@microchip.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby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RaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <3ee02690-8912-47b4-a97e-6d364969c956@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 30 Oct 2023 07:45:54 -0700 (PDT) On 30/10/2023 14:16, Parthiban.Veerasooran@microchip.com wrote: > Hi Krzysztof, > > On 24/10/23 1:33 pm, Krzysztof Kozlowski wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >> >> On 23/10/2023 17:46, Parthiban Veerasooran wrote: >>> Add DT bindings for Microchip's LAN865X 10BASE-T1S MACPHY. 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). >> >> It does not look like you tested the bindings, at least after quick >> look. Please run `make dt_binding_check` (see >> Documentation/devicetree/bindings/writing-schema.rst for instructions). >> Maybe you need to update your dtschema and yamllint. > Sorry, somehow I missed doing this check. Will fix this in the next > revision. Please also build your driver. >> >>> >>> Signed-off-by: Parthiban Veerasooran >>> --- >>> .../bindings/net/microchip,lan865x.yaml | 101 ++++++++++++++++++ >>> MAINTAINERS | 1 + >>> 2 files changed, 102 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/net/microchip,lan865x.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/net/microchip,lan865x.yaml b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml >>> new file mode 100644 >>> index 000000000000..974622dd6846 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml >>> @@ -0,0 +1,101 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/net/microchip,lan865x.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Microchip LAN8650/1 10BASE-T1S MACPHY Ethernet Controllers >>> + >>> +maintainers: >>> + - Parthiban Veerasooran >>> + >>> +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). >>> + >>> + Specifications about the LAN8650/1 can be found at: >>> + https://www.microchip.com/en-us/product/lan8650 >>> + >>> +allOf: >>> + - $ref: ethernet-controller.yaml# >>> + >>> +properties: >>> + compatible: >>> + const: microchip,lan865x >> >> No wildcards in compatibles. > Ah ok missed it. So it will become like below isn't it? > > properties: > compatible: > enum: > - microchip,lan8650 > - microchip,lan8651 Rather enum for lan8650 and items for lan8651 with fallback. Aren't they compatible, since you wanted to use wildcard? Best regards, Krzysztof