Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp315116rdb; Mon, 22 Jan 2024 23:44:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+UyFt6P6IS5BkYZwNDeSmgNC/IG0TqpgnL6Xd411Dxqc+XeXKwAyPzee1EjcW7SQSCi+s X-Received: by 2002:a05:6808:318c:b0:3bd:949b:330c with SMTP id cd12-20020a056808318c00b003bd949b330cmr7772537oib.23.1705995867798; Mon, 22 Jan 2024 23:44:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705995867; cv=pass; d=google.com; s=arc-20160816; b=pVSwJtGZm7+e+0ZtHX+g9fmiFUncBXr/V9ZKQ+DuCEXu88426U5wDiXpE1DlhpkwXT hWAkug7KwA/8Qkrvkw6tsEAzCjR+5HNBrXMgMPlKBWh6N0XbtU1br/vwilxZJM2+tKYS gsrgID5s8wBeM8/83f/lPtOkRdaJ2GfrJo1xLk51qqmtbtFKUkE5YZQeu1u0vTbGUkhE E4oy/ZfXzBG4jgt8A2QvKplS8pRUus110OAMZBc+rHqo13ZgsJrEXJFQVKwL8n+0qXLN BP+URyewMNNyELUepV+L5KMY/wV1SNwQtUYHiznxaphuHug5iBqO4c0oPrBU2IB3eGcI mE7A== 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=ZBTWlxp6e4Lb4iC20/lRrr6cKmKomR5gYQ5hhsStkTM=; fh=aa/eSSIc64B1OOEfWhoyezcV+G/wKZTEcb2p0iUf2oU=; b=Zi8jZutyc6Y5axd3gfmAEozBETno0RS0hvaZyEDmLN2vNsJVtbpQNwsgTMy2l626RG cqYvEf352nXayb6yvxBJs3dk3Siw2SxpR+hrpOOOLlDMZtx5E3OMpFfpkZuoNby/bnT9 PoQEggY8Lgqr4Yhru8lYgu2zsZmSOuDJEjEDLKtNHpR2RUSaclg+nQno5ZQIxJHtNSZH axZ3OWHiKHjlgm+Q+lVMWlFzl5e+gajciUHNUW/VrXEw077AzwvdNtlMaOLtFwC7UHE+ FDCBzyEc2kDf//qZQtVeen0X+zGR4V72CcbQfJgmsxf5an0ktGmxvIxgiHYk9bhEnfmr Syyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LrQ5/Ckz"; 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-34841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34841-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 j13-20020aa78dcd000000b006dbbe733262si6819406pfr.72.2024.01.22.23.44.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 23:44:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34841-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="LrQ5/Ckz"; 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-34841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34841-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 675C328A587 for ; Tue, 23 Jan 2024 07:44:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC22652F86; Tue, 23 Jan 2024 07:44:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LrQ5/Ckz" Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.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 3023951C44 for ; Tue, 23 Jan 2024 07:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705995858; cv=none; b=ZY2z12RH5R3MgGxsRGICIJHSkoNtMsOUtgMdv5kEz5nDH/bzr35/gTz4F80CIkVYV2WcMi/CzCWN/TobC9VuHxoqzNSubFsvzCsqHKcYeEMJxGNtl4Hqa483Ar9S9oER1fF+JyIDj1r8kK0MkCzyjPRV/N7brJARfVauTxE0ilY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705995858; c=relaxed/simple; bh=dMDh8ycfE7LPUzqo/kuKFrbuyh/cSsXu1/F3ITTBaaI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b+7yGDJk/w1jf1GOYiS3tBfnG9bRIt6xt2eFLz+WtbwIKpViD0yci1h38Yja9gFnOPsE4QhV2deqB2Jj/WtPqRYf8ottqtgMK6VGTXysygdSosh3Hd4/duR4hY59XyUdSHmH+5nugs2ZwsbLLPLSG09ZghOnmXQDUV+t+IscbJE= 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=LrQ5/Ckz; arc=none smtp.client-ip=209.85.221.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-wr1-f54.google.com with SMTP id ffacd0b85a97d-337d6d7fbd5so2884017f8f.0 for ; Mon, 22 Jan 2024 23:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705995855; x=1706600655; 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=ZBTWlxp6e4Lb4iC20/lRrr6cKmKomR5gYQ5hhsStkTM=; b=LrQ5/CkzJpPgjMYVU8aB+/Y9IjUPAEoRUfkE137lDDlGC9KWon8S/JCKqcHwCD81/B Cxt1wS9UcUJOiiDCs1rxN7A5lBQdW/XHYXl45pOEwRbUNEJzLXm1bu2nvy3RYhDcRmFA 6ZARtJLyAr8FIyMHHIBvJUxHQDTQ5Qtd2xJZXe8t655SFj+KYLRcRaHfnkI12BHhauHt cBiGgb2nCvQ7VTmIt538CRsdUrwmFn+bd5OsBLM6++L+tN7wP58Lgi57bvhw/URUTY8g /pQVizou387QbEWq7OiS5ZVHjcUOcVWQ6QgLD7xcd6roK3G1IZmSz7mpi3kWxXzMkj77 jZTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705995855; x=1706600655; 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=ZBTWlxp6e4Lb4iC20/lRrr6cKmKomR5gYQ5hhsStkTM=; b=To6ziyiF2BOgrriWH2V9QRY+MKMcN3xdg+zd6ELWl6yytYpChrm+K2BMX1BnXGgu/E MYOB11YTuobyHHqwNPz1O1eYm6NaK9R1W8NHMC4wJVJpIPNCj51oxpc2IXOwHlGtoeju 1htjTYAlrV+7CV5lf+1/XnA+12VQKDe73tJurIiIi6Xc/5nedx6iu1Du4bAik2aLtwPO bSUYKf4w/UeqLLADTPqQyynD/gU9Y2/L6NFYKq6OOgDXfwOrp4X5Hp9j1QVsSc6nKYiK 12Ow4x2pITsut4cRb3sO0SaOj0LEj6sWtTiwQdyihA1d5ohFraZOUn9yVvXHSe+o2SRJ Lwmw== X-Gm-Message-State: AOJu0Yw3hBhrbbTL0mWfGBiCT1y1pcigSe6Q63AKXr2GHVTzkfU0sBLl 6BHpuqoN4GNGKGvDesrEIjlyHnps2epH9/ilJ1dGnqFhZXCZJmDHl3jOa8ttxRU= X-Received: by 2002:a05:600c:2d52:b0:40e:4c31:affa with SMTP id a18-20020a05600c2d5200b0040e4c31affamr220901wmg.138.1705995855388; Mon, 22 Jan 2024 23:44:15 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id iw7-20020a05600c54c700b0040d604dea3bsm40762622wmb.4.2024.01.22.23.44.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 23:44:14 -0800 (PST) Message-ID: Date: Tue, 23 Jan 2024 08:44:12 +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> <018fc173-edf3-4490-8f29-4059bd17268e@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 S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vc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R4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/01/2024 18:26, Tomer Maimon wrote: > Hi Krzysztof, > > Thanks for your comments. > > On Tue, 16 Jan 2024 at 22:40, Krzysztof Kozlowski > wrote: >> >> 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. > The confusion here is because the clock binding was upstreamed but the > clock driver has not upstreamed yet. So what does it mean? Being upstreamed independently does not mean something is wrong, so I do not see any confusion. There is absolutely no confusion in upstreaming binding before upstreaming driver. > The clock driver will use regmap and ioremap so reg property is not > needed, should I remove it? or leave it? Just because you upstream drivers? You should not change bindings just because you figured out that you will implement something that or other way. Please describe the hardware in the binding, not the driver. Best regards, Krzysztof