Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1234826rdd; Wed, 10 Jan 2024 12:59:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1MP8FSMT7l0n+yaBMzuz+S2saAyVM9nNDfU5dGxJrEWM0sn1K0VBngG+nrLQNg0lJ0Tj1 X-Received: by 2002:a05:6870:55d0:b0:204:37f1:8d9d with SMTP id qk16-20020a05687055d000b0020437f18d9dmr188073oac.91.1704920359036; Wed, 10 Jan 2024 12:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704920359; cv=none; d=google.com; s=arc-20160816; b=KyKDcyTAubniLVH6S9LfiZZMxYCvo/iIEQtLqveFr+DbUagWD04OgfB6EIBeRp71he bO9GZs2HT7eLzkDGwkXuKxRbYxb+I+gBbQy951NE7QtsrD6iIAbzVwZsIffOU5yoM++L KGnvW6gEYdHfWrZn6LKGil1Mq7V5SGT9UOptNohldqmc30Wv0PQjalh/TMjkk+cqhWVD e/7QECoocFTXkv+hdznuUsWdFEjOrm0p0KWVdy60WjHf503qD8N+OEOrjVooJFeL7hL1 TXdURdaqxpf/L2kHZitsQNAWe3Hw6lBL9Obg2rSBmIaRzjGs1V5dy+aqdXESI6MzQAQe 2g+Q== ARC-Message-Signature: i=1; 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=zAK4lUrvjOcxQfIkMXO9fleipqDkyWnsJuySNjvXBAA=; fh=6Jd16pW/Ow8RXR/dWT6bN6UEg9pwt4/2iJhHUZ3Dyoc=; b=XVD3GyZxKACACjbPM3XL6O5Bzahdssnid2btmM9mudqiVJFVuNRdtB223uk3hjLMP/ 9FM9VDbGOFyHOT9GFaN0D4/k55ZbYVTmzoXq7t47fSjPKqmzmzGkz6ULFjrlFsuBEwKJ WjKr3vv50gC5FiA7Q3v6kUcC1V44EvqbPHE9/NNHi3viDZoOzboZydY2TAvq2yDwwpUz YqSN04cHZjE8dIeIWR7SrzY4QofTCytMBDeZWQ0Skf8reIlbPKc14WWWxBl4KzSCBFSc rUakIEk5cvJj+4kjRDSbByjPKOTJZZnEb/mTVKM6od8bx4Mh+zbsH1Tpky+3OEP6Dzvo ayGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xh8Y8aM9; spf=pass (google.com: domain of linux-kernel+bounces-22793-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v1-20020a05620a0f0100b0077fb765a788si5084720qkl.5.2024.01.10.12.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 12:59:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22793-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xh8Y8aM9; spf=pass (google.com: domain of linux-kernel+bounces-22793-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22793-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B65DE1C22EED for ; Wed, 10 Jan 2024 20:59:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A40674F1EF; Wed, 10 Jan 2024 20:59:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Xh8Y8aM9" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.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 E95064F1E0 for ; Wed, 10 Jan 2024 20:59:08 +0000 (UTC) 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-wr1-f51.google.com with SMTP id ffacd0b85a97d-3376555b756so2708092f8f.0 for ; Wed, 10 Jan 2024 12:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704920347; x=1705525147; 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=zAK4lUrvjOcxQfIkMXO9fleipqDkyWnsJuySNjvXBAA=; b=Xh8Y8aM9WK4UdTuwU5lGUWM+/E3iH2YKFu0bWiPCTkV1nd0viF/jiZsUMg/UXl6VrS y+4R7iru7k2DW9bzf3gEiwZQTe+LjwEash3WoDvRBG4tz/hzh7UxlGKLF9z9Anx5AZDp FaysPPsnsqIh0cqVCwcCAhA/J1aF/pSYycvO+UQDrSnvRMMGVJj5oC+2vPHLq1c0COXn Y3cutNzje99mAQxJxwAk+UaeSxovYW8odq1yMNeanEoCN9fC367zHfRTF1Y0fBo3QR2/ 6TtFHFIKpJBzB6O3hDD9Oe0nXrjUlLV9L7S8rwCOlVS9GxuuVbuJxEyIHiKqx5cm5Y7U Nn8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704920347; x=1705525147; 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=zAK4lUrvjOcxQfIkMXO9fleipqDkyWnsJuySNjvXBAA=; b=Trta8QCs/ipwW75ans8Yj9BFzCUufmRNUHgVS8YeX1sJ/xhigtk0HrOXvQjSi4aWfX 2D2KD4a3qNE3+lH40227V9sRMB8+Q65DIpbgFPhG68+0TrbDvAHwMPpPDdSJhj5PxlBZ ur2J/VBuNg+DLq3rM2VIS0x/O8oF6LI3Y/bWq/ZnCTMhnmREtpDLSzpfIHBXIL7hYcng CutYKqpLAUYb1AhCP5clem4Nn1QSw0WjaFxyAcr4KeXNBCMmYctLysbw/f/zrYhh19yL cXW/n2Poo/69DSWagB59g4oOFLrRIwxZeZ0fHEl4g+aK8Smiti1Erhn3S8D8v4Iufh1J Dw5Q== X-Gm-Message-State: AOJu0YznIjP4ysRgl+fGaHlZponS1dxgXC8GgrsMXAJ/pZNmsMkdbggl p3zSNxSGVChnSZbd9+9oBTnos44R9HjhDA== X-Received: by 2002:adf:fd0e:0:b0:337:6528:9c08 with SMTP id e14-20020adffd0e000000b0033765289c08mr28156wrr.64.1704920347165; Wed, 10 Jan 2024 12:59:07 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id k12-20020a5d6e8c000000b00336f43fa654sm5686931wrz.22.2024.01.10.12.59.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 12:59:06 -0800 (PST) Message-ID: <98eaac00-1e3d-4c27-89f5-0b6ec0fcb710@linaro.org> Date: Wed, 10 Jan 2024 21:59:04 +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 v22 4/8] dt-bindings: soc: nuvoton: add binding for clock and reset registers Content-Language: en-US To: Tomer Maimon , mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com Cc: openbmc@lists.ozlabs.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240108135421.684263-1-tmaimon77@gmail.com> <20240108135421.684263-5-tmaimon77@gmail.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 TNe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zZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240108135421.684263-5-tmaimon77@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 08/01/2024 14:54, Tomer Maimon wrote: > A nuvoton,*-clk-rst node is present in nuvoton-common-npcm7xx.dtsi and > will be added to nuvoton-common-npcm8xx.dtsi. It is necessary for the > NPCM7xx and NPCM8xx clock and reset drivers, and may later be used to > retrieve SoC model and version information. > A nit, subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings. See also: https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 > This patch adds a binding to describe this node. Please do not use "This commit/patch/change", but imperative mood. See longer explanation here: https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95 > > Signed-off-by: Tomer Maimon > --- How possibly could it be v22 if there is: 1. No changelog 2. No previous submissions ? NAK, it's something completely new without any explanation. Limited review follows. > .../soc/nuvoton/nuvoton,npcm-clk-rst.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-clk-rst.yaml > > diff --git a/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-clk-rst.yaml b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-clk-rst.yaml > new file mode 100644 > index 000000000000..dfec64a8eb26 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-clk-rst.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-clk-rst.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Clock and reset registers block in Nuvoton SoCs This is vague. Any block? All blocks? Your SoC has only one block? I doubt, although possible. Anyway, clocks go to clock directory, not to soc! We've been here and you already received that feedback. > + > +maintainers: > + - Tomer Maimon > + > +description: > + The clock and reset registers are a registers block in Nuvoton SoCs that > + handle both reset and clock functionality. That's still vague. Say something useful. > + > +properties: > + compatible: > + items: > + - enum: > + - nuvoton,npcm750-clk-rst > + - nuvoton,npcm845-clk-rst > + - const: syscon > + - const: simple-mfd No, it's not a syscon and not a simple-mfd. You just said it is clock provider and reset controller. Thus missing clock cells and reset cells. > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: > + type: object No, instead: additionalProperties: false > + > +examples: > + - | > + clk_rst: syscon@801000 { Suddenly a syscon? Drop unused label. > + compatible = "nuvoton,npcm750-clk-rst", "syscon", "simple-mfd"; > + reg = <0x801000 0x6C>; Only lowercase hex. You just sent some v22 of something new, making all the mistakes from the past submissions for which you received feedback. > + }; Best regards, Krzysztof