Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2219005rdb; Wed, 21 Feb 2024 00:11:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQ1Cxb4Qk3v0ctuPI+7/JIK5XQ8Ss042pnZIYOEGeJSztKfqed3w635GVFLWVCa5pZYstfDce9qP9VkHB+H5YMVeMl/ZjYPvrLCYjesg== X-Google-Smtp-Source: AGHT+IFcG5+iKicib85Q1CpbzqKkbchxDTk2+p/7J7so2INPaLiG4/H0d6avrNAQcfga/WfjCHtD X-Received: by 2002:a05:6a20:9f8f:b0:19c:93c2:7ef3 with SMTP id mm15-20020a056a209f8f00b0019c93c27ef3mr19424813pzb.46.1708503096117; Wed, 21 Feb 2024 00:11:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708503096; cv=pass; d=google.com; s=arc-20160816; b=GK4XnXJ0U35TnuYV4P96X6wdhgeDvMet0tVAqpKQptGrh0AUvYsPZ5Rnh8WxofaMH/ ZlutL9ruXgBudKh8Df16e7Nqvy9toj8zrtMvCq/KCfUWTnAHy5ksTrZx07RdTrGXJkmt 6TmKyMqzpMG8Cn6cWoB3OrD4rx+wzKyUfZ8+T/I/aE1JXqZid49mS3m0pj6aqgIiWc+5 6X5IzsjZT9sGfhD8EXixHcWYq9UmQZyeNZZ3cxVBjGToG5mqJ4BYrUzkrsM+3nTuQr5w JcVVf4ihgjcQl61jyeR3TpbOGgRds5+v3oyM//yaJlPoFG80rHY5j5+w57fY8TC3HCCF h6Jg== 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=7Y7QIJSqbsXgaprGbC4VEvnew9/BZPRgIJT3gXva7Y0=; fh=no65wygONM0QAbfRLD7DUuspaNMvZ+LDcR+e09eUEEM=; b=WBoXC6xrERl30A3VhTL7bZewHhVin8JY+DA3DrA0TPadBxMOIHD1p5WTdPAuagk+N/ SdWUkGzKE4W1e+CSYGcSjs1tEDH39CX79ntDRZ3yxCLdCRfwto9QJ2hWkZH9R4b3ytlE 7IqvgyPD1w8TvGq9x5c8cXn6RhUEWvfk1OCmFAT9qz5w9/LWQ10vyVAyPFnMtUj6UmyY REraT3Dz8llpktimSzb8JJEpq0546DW+cxRDUBUimMWSBknrgWzDjSujWGThJo2OIwty n/F9uonjK1iHocxacMvFYMHvPrkcCzTHfTOe0mW30Diu3syIhQATMYTQLFwuNtJibo8W johQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pCWZibIv; 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-74289-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z1-20020a63ac41000000b005dc4202b409si7733193pgn.212.2024.02.21.00.11.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:11:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74289-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pCWZibIv; 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-74289-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74289-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C796E2856B1 for ; Wed, 21 Feb 2024 08:11:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 224BD3BB5E; Wed, 21 Feb 2024 08:11:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pCWZibIv" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 768453BB23 for ; Wed, 21 Feb 2024 08:11:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708503083; cv=none; b=UXxf8PYjE1nx8RvwrD0zMfVO/Dpmm9L+Mv6z3M46kqpLBIDJQubzejPfQgOvEqyzSN0tLWDmfdpeA96Mvd7jgm+amcjolSF3OtoP4avktPJkvS3D6DEGOL/EuXH5f/cNJorhuWkNhEnmlGiSmXbzh/q8mEvXN59bvhi7M8SEJqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708503083; c=relaxed/simple; bh=XPhOaHdGwL9mtM4Kc6+ls9TuwhJT3V4vE2cdbuueVXI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fU6/i086G8cJJvyjsHN6jVqcdyuQxQbshHl/9GPeT6MMSXZ7MVpz7YJOUS+PRwihc7zgB9hqp9czkkteizfsPtNa0kLOnajXMjtvUhRSZITiHJpsIw3GSTbYb5AUHS7DJkU4AlFl6fo3wwdgv8QwO8SueIXO+9RUxooGVHcfCMU= 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=pCWZibIv; arc=none smtp.client-ip=209.85.218.43 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-f43.google.com with SMTP id a640c23a62f3a-a3566c0309fso747254066b.1 for ; Wed, 21 Feb 2024 00:11:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708503080; x=1709107880; 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=7Y7QIJSqbsXgaprGbC4VEvnew9/BZPRgIJT3gXva7Y0=; b=pCWZibIvE9lXXsExIuSczVOvhU8JfJCAqRRDPQcdLLfb2NUjokwKIVI706m8ZJXZGp r0r1aMgwwk4UVeS8gxBTrNWY4PrThnSJY/yctFtjGQtQVuGFJSUYoU+ZfR9h7oQK9U9k tul/7p0vfs9pPhlz7MH3TlDUkwpI/wQ6YP2FwSnhI5IWvvlo/vP0K6UKUUctuoobBWAa 8PbAz6QgVkio4+FNTu9Jf6lQI4mWsUgHM/wCtbRGU7y31U0aFPfisTtns3EPujpzWr6c Pd+hxyXNOAVRdVz8OzYKn9hZfOENuEXkZokbEJ5daMAgS6OM3LPX5toSv/19+cxzYwHT ON8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708503080; x=1709107880; 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=7Y7QIJSqbsXgaprGbC4VEvnew9/BZPRgIJT3gXva7Y0=; b=lRQZh6y8n5UDhYL1+ZHc/ORS04n4PVqZEkmiRCOIhXXPpjs2CJSR52bnRSO+/GDvTo dWOsAOqyPHe3tsmSfUadgD7pvDgnrHLd7kopUYyWEz7I5SkEMARwiOHn8u+GnoEDh7LV QxOTFngBURaG3uUI7Aovzt+L0YknqA5gMs/VNjWkx2EqqeeyaZWFN3hFELlQfwLY1MbX d2aJYJQnMXSp0/cA1Rj1mAWUY2EFKP55Ct//GiSQwy48gz7QutwAY+DCHWYBsB3D7I5F YT//A9E3z2TO7EtqDrWarOJizy5nFbNF24scKiX33mnNprOsgDyU2XaHirW8MFTxo/y4 VmWQ== X-Forwarded-Encrypted: i=1; AJvYcCUgymYOFGajWQbBzxtAMhc0Wa9TWhQDxgqPAoBwrdhCbrFJIBdLZECIh3thWGvr65clmob64gmvAdtcvFvIK6BHX70bLkUdKi0mbhbU X-Gm-Message-State: AOJu0YyDPcbnzOvFMXagUZKjzzpY7D69iQVa8wHOGpldSWcDb8r76zHg CvbQgY7eFg/smL9mlowM9GsxVzu7hbBcr7XqNIkZ4ptYjuK2Or6wpeWq4oIKEog= X-Received: by 2002:a17:906:407:b0:a3e:a3dc:45c9 with SMTP id d7-20020a170906040700b00a3ea3dc45c9mr5054394eja.72.1708503079690; Wed, 21 Feb 2024 00:11:19 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id h40-20020a0564020ea800b00563c22abac2sm4419715eda.61.2024.02.21.00.11.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 00:11:19 -0800 (PST) Message-ID: <853b7f6a-1d33-4f79-a54e-6ee37b9c1ef9@linaro.org> Date: Wed, 21 Feb 2024 09:11:17 +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 2/6] dt-bindings: net: hisilicon-femac-mdio: convert 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: <20240220-net-v3-0-b68e5b75e765@outlook.com> <20240220-net-v3-2-b68e5b75e765@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+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zqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240220-net-v3-2-b68e5b75e765@outlook.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/02/2024 20:57, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen > > Also mark the clock optional > > +allOf: > + - $ref: mdio.yaml# > + > +properties: > + "#address-cells": > + const: 1 Drop property. > + > + "#size-cells": > + const: 0 Drop property. > + > + compatible: > + const: hisilicon,hisi-femac-mdio Put compatible as the first. > + > + reg: > + maxItems: 1 Reg the second. > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + mdio@10091100 { > + compatible = "hisilicon,hisi-femac-mdio"; > + reg = <0x10091100 0x20>; > + #address-cells = <1>; > + #size-cells = <0>; Add clocks to the example. Best regards, Krzysztof