Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp39426rdb; Tue, 16 Jan 2024 14:16:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcboX/yoEJ/Q2jkJN/gqgnvk+GNrMeIthyzwaqXGM5bZIGpnAffHkPjqSCwlLUZDzsMWT/ X-Received: by 2002:a05:6871:4e48:b0:210:7eca:deaf with SMTP id uj8-20020a0568714e4800b002107ecadeafmr1642288oab.16.1705443378618; Tue, 16 Jan 2024 14:16:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705443378; cv=pass; d=google.com; s=arc-20160816; b=uwVCrWFOaYofBViFjJsICHcmXkZiKxfOjNreIKJidMG1yoeUVR6ZeXFLVCyMphhEsh xIM9T4Q0QqtsaB+lBaRmWNjePspDZhqx9iwBdMUAuij9h7yhIhoQXBTcYs8Y0iEgYWgD nStWi1goDySnA8zQ7D4bMOwXJaM1ZVtg3nhhQD/2ab811seWogctYZtSySkyigUm1qVc rq3liKRt2J+ptHSqlMyKoG+EG9ABFvTdD7jbGbwPBT94HzM5byEzFoc0CsDdjrO7evPc DPG+DA9jCm6Ou6dURS5mnyvWGFSdVCDBisqtEPDXQGxFYHrZPrnw0RiVur98Ga65uKJO GISA== 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=caSMH0DTCcoqPExT0LFbM7z63Ghju0LAG8/JNTpJTAA=; fh=aa/eSSIc64B1OOEfWhoyezcV+G/wKZTEcb2p0iUf2oU=; b=WS2REQJNd2b/RP0OKkgmx+5UaIipUrMjfcciAvWQbwbBK3nb1AwuizE6Gdk80fuNtX qymHvvgZIx+Pg+u8vauGEkDxxP1PqZ4n8EciCkXzeLpM47C+JwsEMcloDBg6nkHTaBwa Ovb4kOeJFak4AK2WEiV6c8onRmjlkJ72PYhwdKDzrmjvDFJ4ogSkPNvEzJrHvZDm2mf2 XwumZS7RNEw0WVyD2pfcPy2igNCDEog/jOBoqUCGfUwF/vpOTWowX7shnkCXtK+ghs4p UYTKwrPYh0hK00iNVX/IxUTFvqfYeNYvzYJk6y9DnvipQOAV87rTnzo6pyc/ln+aSMgD b5MQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mkMJ+vKL; 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-28257-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28257-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. [139.178.88.99]) by mx.google.com with ESMTPS id a186-20020a6390c3000000b005bdff97f97bsi11913798pge.92.2024.01.16.14.16.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 14:16:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28257-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mkMJ+vKL; 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-28257-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28257-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 8DABF28EE46 for ; Tue, 16 Jan 2024 22:15:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E525249F5; Tue, 16 Jan 2024 20:40:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mkMJ+vKL" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 55567249EA for ; Tue, 16 Jan 2024 20:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705437633; cv=none; b=cerE0VEjg4dwnFRNnjXcTh8hdMgO+02pUACEMZfcW6Tb8rrYHl2h9BhJnu1iQuEclJCrDAV2tuuVeE1ZPF3VuDkSbh7nr2b++4+/WHAI1pH3JhlEVOppiHYbN15fMc8lt2VzKu1CEPpsiBpdlXnt4bvJfnsRsq36cqi3kphW3GU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705437633; c=relaxed/simple; bh=MSHlYLWRQl+mWZwNFYzinNuD3LkGBF1lxEXmti4jhvM=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:Content-Language: To:Cc:References:From:Autocrypt:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=FE/FYhHCkJIWnB+/tKFVUxlU3p0JJ2rmAG00Q+CSyv2BoGAAcJy0bU+qMc/Il8GRwmO4teKZ5XBFTc8u74nGnPJIdqWFFPpPycF1G8g+Xpb6R0uqXGQMdrL4nX9m19D97MU05FIiLlNF7AfMairAZE562oG3hTepRNcIXiro/Z4= 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=mkMJ+vKL; arc=none smtp.client-ip=209.85.208.41 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-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-559c1396ecfso651009a12.3 for ; Tue, 16 Jan 2024 12:40:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705437629; x=1706042429; 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=caSMH0DTCcoqPExT0LFbM7z63Ghju0LAG8/JNTpJTAA=; b=mkMJ+vKLz6pTZZ8/UKdaead0fV9iS8BQrz0E8vMsMzMUHwQYm93tXKt5pP6m1Nm/Oh e7D/kCuHfHFBOR6surwAD9tevxhvNaBrMfOl/FAzsJk53qYfMjq5wUQMwl6yQc9G4ZQt JpiqhLhPaN31uSoGeOBK7SR3dDbfPBWlpY+efZ2ereYfQEdn0rtP1SVQ4EJyR6bL8gRo D6xqAFX0BR7V6LqjkLQ8ABetYRgSyyFiGQg+0TdtrR+rd556Vl+GDzcPiWV0OywnlDot vkvUD8kMgrmCWvqsP/YrY/2fcvvXNK9gMDzejMrWKjfTUgEWz1wP/ssKq13wAPwjkS5e d1Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705437629; x=1706042429; 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=caSMH0DTCcoqPExT0LFbM7z63Ghju0LAG8/JNTpJTAA=; b=Yw1PfhzhjZjhbITefxKuJ66wEJopv9/c1gHVellIW28WeQ/5NPScfWUTBnexoRU9r/ eFOFuL+O2xZE6xUn1su0JHZopOdPMQw3C0dahfzA45vefS6kJ7IpR35GHm42GvjFWAjI cAroOfHhtF9RsEKRaXyMSkMShX7krKnInGPMQIpznWin7uHv23xjK8ZnaFaGjDKKhYMr 2YB1/cIXwwaK6dvcf21fVkaSWUmtEfscpxMUXOzYLZIPiyhyWD52sgFMnJ9ExESGOQ23 LhA1bmbyKRtnC06fC0/bZNWwFn5vvjkd2UgHvLW+MUzTvjsQ4bp+23ZK6NBpHi+2lRhK VXVw== X-Gm-Message-State: AOJu0Yy+DElnkPuIwOSHGr3G4Co6IntcTu0egDdLdW+dK0ghuMS3x/aL PyUcCZmxCeiEHx5MB6/t3Bu8WUf5cXQRLQ== X-Received: by 2002:a17:907:910e:b0:a2a:23b6:fb2a with SMTP id p14-20020a170907910e00b00a2a23b6fb2amr2769888ejq.106.1705437628921; Tue, 16 Jan 2024 12:40:28 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id ot8-20020a170906ccc800b00a28a8a7de10sm6904562ejb.159.2024.01.16.12.40.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Jan 2024 12:40:28 -0800 (PST) Message-ID: <018fc173-edf3-4490-8f29-4059bd17268e@linaro.org> Date: Tue, 16 Jan 2024 21:40:26 +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 6/8] dt-bindings: clock: npcm845: replace reg with syscon property Content-Language: en-US To: Tomer Maimon Cc: 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, 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-7-tmaimon77@gmail.com> <171300da-3d49-4e1f-8969-9a454ecdd698@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/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296b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8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/01/2024 20:37, Tomer Maimon wrote: > Hi Krzysztof, > > As explained in my [PATCH v22 4/8] dt-bindings: soc: nuvoton: add > binding for clock and reset registers mail. > > In the NPCM8XX SoC, the reset and the clock register modules are > scrambled in the same memory register region. > The NPCM8XX Clock driver is still in the upstream process (for a long > time) but the NPCM8XX reset driver is already upstreamed. First of all, the drivers itself don't matter here, we talk about bindings. I assume though they were going together, so that's why you mentioned driver... but just to clarify: we talk here only about drivers. If reset bindings were accepted, then why they aren't referenced? If clock bindings were not accepted, then what is this patch and this file about? > > On Wed, 10 Jan 2024 at 22:59, Krzysztof Kozlowski > wrote: >> >> On 08/01/2024 14:54, Tomer Maimon wrote: >>> Replace reg with syscon property since the clock registers handle the >>> reset registers as well. >>> >>> Signed-off-by: Tomer Maimon >>> --- >>> .../bindings/clock/nuvoton,npcm845-clk.yaml | 22 +++++++++---------- >>> 1 file changed, 10 insertions(+), 12 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml b/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml >>> index 0b642bfce292..c6bf05c163b4 100644 >>> --- a/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml >>> +++ b/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml >>> @@ -18,8 +18,9 @@ properties: >>> enum: >>> - nuvoton,npcm845-clk >>> >>> - reg: >>> - maxItems: 1 >>> + nuvoton,sysclk: >>> + $ref: /schemas/types.yaml#/definitions/phandle >>> + description: phandle to access clock registers. >> >> NAK. Not explained, not justified, not reasonable, breaking ABI. > Should I explain more in the commit message or/and the nuvoton,sysclk property? Let's try to explain here first. I really do not understand why do you change this binding. Your device did not change, so your binding should not. Now, if you say "but I changed drivers", then it does not matter. Bindings do not change because you did something in the drivers, in general. At least they should not. Best regards, Krzysztof