Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp328305rbe; Thu, 29 Feb 2024 00:11:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbPqnImkRUjlAvZ1KMc0dMtRsTl+KnrFOum60Y/6mzY8GTViSE2SmuRJRo4kI6Ad/yQt0tLHpNaODDOn4ODq19FiWcpBkje8NnzZhBvg== X-Google-Smtp-Source: AGHT+IEFOhIxybYkxnUpBLAlgDJDmP6UBTZa8LRBT7InrbHyYx74upX2aMpgL9SeQZZy0Z7pjte0 X-Received: by 2002:a05:6a00:22d6:b0:6e5:9031:9886 with SMTP id f22-20020a056a0022d600b006e590319886mr1184431pfj.25.1709194272755; Thu, 29 Feb 2024 00:11:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709194272; cv=pass; d=google.com; s=arc-20160816; b=OIGyrwbMVIG/daFW4lhyA1nOvw/6w0VUyqT++Yly96eomFNXjUFCswuKNBFCAXr7UH ONGQ14Hcsr3GJZxwIhOOKnX9aJ5hWaQV624Ja7e+bBxoW710rCcq0jIZI8u2PzF62u1Y JtLXtR+mFv/YIr4MT4l2XQjGhSu4P15eT2HKWbP5wZB20MJL7SgKnySsd8uMpopOqyZ5 AcYC87SuUNCbaCRrpgcQNCdZKrg0xdW1Dr2l/tjOVXYouiBlG/6O78EvQsri/JmOnRQT mKWoSuMQ0UBqfm6Salxx1CNFU4ck5SMjHOjHlJG6/ao1ILfISifEpEY/uoTgexGQarib ee5w== 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:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=rN/E8RpF83uPbogI40q5YZ50rCteBPnh7UB/0xjqm+I=; fh=rRu2istz0OXsM4mDApwCetvXxXG+Dmkt1dv2487s2B4=; b=aZiKoIu5eAMuHINcj1zvIg8IkNu0mV3ID/uF4/RNTand2PH8H3BxVBaJ6RgGfpHRzz pOHxr2yKH3Vtf4F5GG+hBCGYWqayLEBd7mdNoJvHwJIWdNghrO2ZDkNXHzHpjUYDo8Vs eS5eIMwmjv+51QCBsDzXEpm1fKtxDDUOUMeInXc61ATx1j2bNGDajwdrZjYJY27sMTCz kqLEVq8IQJmLRyHkgYB1tllNO26eOzc5B6oXiLKNdmqswLjOr8SbxlzQ5W6KHLSZ8R1H 8BK7Z/FybN8/gpKqt6hwgS6HClCnGExPqsWJ32iQenZLif//V5sasbUC/cSE00ZXTlSG I4vw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JJcyCqy8; 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-86262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id le9-20020a056a004fc900b006e566a0ba56si907292pfb.63.2024.02.29.00.11.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 00:11:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JJcyCqy8; 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-86262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86262-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CF117B24DAC for ; Thu, 29 Feb 2024 08:05:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B9734D11B; Thu, 29 Feb 2024 08:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JJcyCqy8" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 9A9E847F42 for ; Thu, 29 Feb 2024 08:05:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709193939; cv=none; b=nnPY9V+fiOImclxG9DFAPNbfra0wS0r1jdW7lb0J9mxvEFj4RsMtRC4JcCx9qGCnYPR0h7dz/SyZeLiEuADEcQZZFaZoKgdDFc5tj5ITz231WFXc+B3P/KjcROHHj16xHV1WrUDPtiXKbq7SsX8JwrDWONIP0CDtoBLjeqC3p4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709193939; c=relaxed/simple; bh=YGBjBkU++BLi61ypdpIsyTQA1kq7ZmRX3WKk+zJ4CNs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GZ97z2E3ixh+q5iGUSGU+U20YA4WQ0CVXpYNkdLV2Mlf3jjpSIoyE0Am/9hnIObNJd8m2ueQS4Z4SwRzwWwXPWnn0NRzLJtcfoYIU/2T+Lhhs6/286AnUxt30ESDufvpaAXHgRAKx19CdN8IDJQJqXgiYTwTfHWGhGpm+DKCl/s= 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=JJcyCqy8; arc=none smtp.client-ip=209.85.218.54 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-ej1-f54.google.com with SMTP id a640c23a62f3a-a3ee69976c9so107025666b.0 for ; Thu, 29 Feb 2024 00:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709193936; x=1709798736; 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=rN/E8RpF83uPbogI40q5YZ50rCteBPnh7UB/0xjqm+I=; b=JJcyCqy8wK6mRHqib512hl5woaLKl0B2Fn65fc4fa+VgLkJlxC3gQ18roxSS0ZZsm6 FBMcmINfvoMt3PTWUqLIBGBVMmAPW4inl2NPkn/LB3VrmVxVNMA6j4ih5w32paZSj8uX v3T+/PKEyOMYsIhOpK+Cm1sHKCOiBWTKurjyb8wqm0FRMdGykYXGiLak4e7a5r/00YtX XLENSJ0oLtGhqFQ1bwMumZ7M2iYoAfehBV8ztzCANKeLStuZA2K15Ap5Y0Q5drTRe1k4 1QdLaS+c0Ge23eFK0yXRU2G4t5kkry/TN/vN58bEthp+twKUtjEmAvpDzRPLuDG7csYU LZ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709193936; x=1709798736; 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=rN/E8RpF83uPbogI40q5YZ50rCteBPnh7UB/0xjqm+I=; b=Uln+XXB4q27TqMk4aMhhx6XhsJMysBP34LfBgpqbvZ8XHX/tq7mu1+GbFX3KLzhJvd d3BVdOPS4AGDCgjGw5VjVZfI5h1vJVK2dVyfR5n+aW//kamUzjAfi9aDkm9cSHEHapJm 8d3kgG6i3xY+2MNbZ5xCAegshYlmT0BZuuAJLj4Xy28mlCz8YxWtToKvefgg1gkhPzZi 1U5iCOBRhen26DgIU7j0e3N8wMe4JRE2uOAiezW+8SIEYAvbINXpWzJQRdCOIDjtBhov /sRdIjiz8v6Dnv9I0AvId/6YsGA8BXw9pOG8B9rX5ML0uTJJ307yaUlsQkUzFtOap/sp UycQ== X-Forwarded-Encrypted: i=1; AJvYcCX1KAwtlWaHMV6T2sj0XcAS/2LrxFZhFi8Yl95zy9Ks7VH89wpsgM9asArKzjGgfbSZV9yPhdIb3xECEqn9zOqrBabHBiy6RZ9MWWQV X-Gm-Message-State: AOJu0YyTP+X6Rm3Am1ZwZcNNZ0kpZpK/8vdvtrzshFTnyhCsLFL1GsQ5 y+SDk1xGghfYh9jxV7XkirmSau+FDTIKOTbSYTrofl8Dwd7qEIVpFWigGazNlGY= X-Received: by 2002:a17:906:f198:b0:a3f:9629:d305 with SMTP id gs24-20020a170906f19800b00a3f9629d305mr907374ejb.28.1709193935942; Thu, 29 Feb 2024 00:05:35 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id p20-20020a1709060e9400b00a3da3152c54sm413677ejf.78.2024.02.29.00.05.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 00:05:35 -0800 (PST) Message-ID: Date: Thu, 29 Feb 2024 09:05:33 +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 v6 04/11] dt-bindings: net: convert hisi-femac.txt to YAML Content-Language: en-US To: forbidden405@outlook.com, Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240228-net-v6-0-6d78d3d598c1@outlook.com> <20240228-net-v6-4-6d78d3d598c1@outlook.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/R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Y qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240228-net-v6-4-6d78d3d598c1@outlook.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 28/02/2024 10:02, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen > > convert the old text biinding to new YAML. No semantic change. Typo: binding. Also missing capital letter. > > Signed-off-by: Yang Xiwen > --- > .../bindings/net/hisilicon,hisi-femac.yaml | 82 ++++++++++++++++++++++ > .../devicetree/bindings/net/hisilicon-femac.txt | 41 ----------- > 2 files changed, 82 insertions(+), 41 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml > new file mode 100644 > index 000000000000..016e9e409a30 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml > @@ -0,0 +1,82 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/hisilicon,hisi-femac.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Hisilicon Fast Ethernet MAC controller > + > +maintainers: > + - Yang Xiwen > + > +allOf: > + - $ref: ethernet-controller.yaml > + > +properties: > + compatible: > + items: > + - enum: > + - hisilicon,hi3516cv300-femac > + - enum: > + - hisilicon,hisi-femac-v1 > + - hisilicon,hisi-femac-v2 This does not make sense. You cannot have two fallbacks. Old binding was here confusing or even incorrect, so please fix this in the conversion. It's fine to do the conversion and change, just explain what is done here and why. > + > + reg: > + items: > + - description: The first region is the MAC core register base and size. > + - description: The second region is the global MAC control register. > + > + interrupts: > + maxItems: 1 > + Best regards, Krzysztof