Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp525128rdb; Thu, 22 Feb 2024 10:46:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX68LlSYxfEc+MbRmArTDrr5IkhevLYCtmpxuZiMaQF58+AmuDNO594TVrNWCkVwjqdrwo5NKRbvbU88mM8zN7CiisnMO49v2ZDHjbhPQ== X-Google-Smtp-Source: AGHT+IEuYV+YgrJMcvBCfNlRT8xRdSNTvjWgEQXrTCe8GOSiUxPPpSJtDKUFKtyySgj5mSJYURDr X-Received: by 2002:a05:6a00:23d1:b0:6e4:c375:8bf0 with SMTP id g17-20020a056a0023d100b006e4c3758bf0mr5741166pfc.14.1708627561565; Thu, 22 Feb 2024 10:46:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708627561; cv=pass; d=google.com; s=arc-20160816; b=KbmY+fHicOhdr8oTVb5n2VTHT0mJT8u+NZiIwOjs5WJlM+3+Nfv4r3eKdZ3CvDyTSj QUajfjaCDdSbGsVK4Esf6R52LGxuPTHCvi9rzxrbNIbyGeP0TGISw0on49yRngaxKRMD Eq0P3teGhSq2VQFhFqZjNOeH19U6gKsiFzx3oIP3ndPwpu7JV29nbBf3VMRctfeivUKt rFuEgI9So3a41AMozPLqlr0bsAm24ERPb6wrM7wBF6C2X9+JlLsbyctpjPzBoFDSpTNa BCZlisQtu5C5cDv9iMdq3ikibUZewUd+EcXDOgV+IZdJm/k8ONh8Cg0Vg5KF59ph98pI gK6A== 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=1WhusjzVdfYQ4ZWgXhFcfd9BJCjtU5eHYsInagp5fds=; fh=qtzE3KYZDveWqAloNbz7fA2hDGP0KcxSHIPgjqX/za8=; b=Z60zGe15W1YCno3paW80U2m4CpCSFkHdtSHFW8FcLYkZVIzXzZIfByipk/ir0ZeyC8 MDweg2KV77+rc/jpNQ6XiMVMQ2UosKeTQn5GTDHSgrfMgRqQcr5Ab8uBfuVxHJVaNstu GJuvqGl4CsFiyVx4kl+wHB/0pqSO9f0UFJ4J64Vex+5PQb9QcPUoM+9JnLa24tvqY+55 f5M0QiddQFd3MISvGagQX2R8a2+S3DgznXs4EP0dfBc5J9QIpezmDWjydAt4PxNz0LPN saasujUs68Lh8zFor+5llQRNlad6B03EkviO/jEn4cvkpfi1ZqBV3MYIPL4VPoRIH58w IvVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tLJVan84; 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-77112-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77112-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 s35-20020a056a0017a300b006e4700a00c4si7065108pfg.335.2024.02.22.10.46.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:46:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77112-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=tLJVan84; 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-77112-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77112-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 AA51EB23CD2 for ; Thu, 22 Feb 2024 18:30:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D30614DFEF; Thu, 22 Feb 2024 18:16:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tLJVan84" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 3F1AD14CADD for ; Thu, 22 Feb 2024 18:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708625761; cv=none; b=Z18XBj5vEHLEfpkZzRCw/obkEg20fj9Ylu9mO2rquOhoutPyReEwmlKMhEx/dx0vjMV7OVr5FP8ca5i5mnLmUh3D44clQTqYjknQyo7uPGYt56VIOk1CZ0/esIFKjyx0KdbeUMz7GqoJ13uH3pmnOdO8AcG6fY05JoiK4gu1Z/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708625761; c=relaxed/simple; bh=nidAHpTLCFluFSzOd2Un+/NJklcEHVtV4Y59kw7EDPI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=I+XrskEHXLVeKLl1gh74EABFNbfEtlEwnMJvJB5yfL59B4B1CywZmXDjfIwh/9xxv8OzmEaVdJUD02Zy2i/6zJZTDaE8U9GicWxReVYRttX1P6+Cy4HnGU+wxHu8BCtUHOtiF9gWRGFdKLA5xXXvaOZ5FJlmR31cVJEgKAmrOCw= 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=tLJVan84; arc=none smtp.client-ip=209.85.218.44 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-f44.google.com with SMTP id a640c23a62f3a-a3f1bf03722so2878566b.1 for ; Thu, 22 Feb 2024 10:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708625757; x=1709230557; 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=1WhusjzVdfYQ4ZWgXhFcfd9BJCjtU5eHYsInagp5fds=; b=tLJVan846vnAN7Oi3LiTKjWfQFhBk3zTuJe7S8nPsHmU2l6ldczMNqFfVX+/3UFG+L S1NGFlDt6+yKhBAUv4NfLJ0rPvUBlYapbnJpEsE7i0Id7AhaV6urMOFAp5Lhf5hM3aG3 L4MiMWlhMaI55XMF1YbJXtqyo7V5+9smx4puESrBX1hhxTt6og+65Oog5HpK7NMte30y Ezv+uWu/lxI/kgAbvm39Mty2VJvRw8+cLKfkcSafYRB532Odb+UTlHTsLiuZqrfqzsxz grwoa9/iwxnH9IWfkzTsEOwTI5g7MEdG5B3fuh+6ejo2ORVzujaU37WODrh5HHMPKEBh gtIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708625757; x=1709230557; 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=1WhusjzVdfYQ4ZWgXhFcfd9BJCjtU5eHYsInagp5fds=; b=lIEvBuo99B/NYHgMl7vnh31sqFbbAbOF8UUKkq6F2JW1y/Kkqzu3IMOdyhN1JW4MNh W+X9bwS8QRexN4S8QHOPCvMsJA9jxbsjHEscq227GaUHHD/ShaopBtmxHiFySH6NMA2t fR0hBUcG5SW1pZx3zSQiq9dv89IofI5v5Q8uqdXLLr/X52J1gSlWxvYw6mF/dE3x8l1Z E0Bfii8JSZqmm8G8HWC/qDU6wc9rUjbqQCeRUdK7WjfliUCCki5eQ+e+LWEkRzQiH6jT QjHc4Ai4T7+oFUWmpGcXoE/qqJiJ9lTcJZ/+ZKnGF9WZ5J1XeMYHRZ6iB2z3vRJ/xl7L A76w== X-Forwarded-Encrypted: i=1; AJvYcCVZtN0xSgX5RXY+FSKGkxEnxmOpaMQWqiq8VMXlYrjEcSonwCBgUeUWAMArilKwbcWS29zrRxeR9WQ/xn7rqFW+uyTR6aNIqhfySysI X-Gm-Message-State: AOJu0Yxfn0+kyuPSatbcNGLAYFAPju++lvKqMa+aQu8VaU8nvVtkrpiv Jr5Mrxjaxx29BpaWJayFQM/jn2FshsqRa7ynNnFEGpVW5YMZfecF0p93m4uDt54= X-Received: by 2002:a17:906:6bc5:b0:a3f:baa:b52b with SMTP id t5-20020a1709066bc500b00a3f0baab52bmr6445882ejs.26.1708625757607; Thu, 22 Feb 2024 10:15:57 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id ps7-20020a170906bf4700b00a3f1cb81dcesm2266058ejb.116.2024.02.22.10.15.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Feb 2024 10:15:57 -0800 (PST) Message-ID: Date: Thu, 22 Feb 2024 19:15:55 +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: Yang Xiwen , 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> <174b9bf7-fcdb-48e3-a6d6-5d2ea96fce58@linaro.org> 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/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3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Z9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/02/2024 12:24, Yang Xiwen wrote: > On 2/21/2024 4:12 PM, Krzysztof Kozlowski wrote: >> On 19/02/2024 20:57, Yang Xiwen via B4 Relay wrote: >>> From: Yang Xiwen >>> >>> Also mark the clock optional >> Why? Your commit msg must provide rationale. Clocks are rarely optional >> signals, so this looks wrong. > > > Well. I don't know too much about the hardware either. I think the clock > can be either shared with MAC controller or completely non-existent in > hardware. > > > But from the driver side, the clock must be stripped from MDIO bus node. > The clocks must be controlled entirely within MAC controller driver. Do > I need to mention it in this commit too? > > > Actually I've never seen anything like "MDIO bus clock" in the > datasheet. The MDIO bus and MAC controller are activated simultaneously. > So I think removing this clock entirely is also acceptable. None of these are arguments to make the clock optional. The last one is an argument to drop clock entirely. Best regards, Krzysztof