Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp55390lqo; Wed, 15 May 2024 07:36:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUuJMGgfC7LjoSQ8vEYac1WiV8AnbVSU0xKxT9KT3nYcA+qU6No64S69kznUProhyRTYU61YTk3/VjbhYXm5VzzHbQE6xYtSOq4MhTW1A== X-Google-Smtp-Source: AGHT+IHvql97UYlbc5L+3lP9+1spdsJ/TXrJgVgKb9v8iEfzCZ5AzMliTF5n7taWzfFACg5XUy4h X-Received: by 2002:a05:6358:341c:b0:17e:69a1:a797 with SMTP id e5c5f4694b2df-193bd00a8d3mr1677018455d.30.1715783801815; Wed, 15 May 2024 07:36:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715783801; cv=pass; d=google.com; s=arc-20160816; b=BmrHEAO+j7MosG9zu7YkrNVPaK4wGw2Rt8W7xtoN2P+opccQdSOZSy++71oaUamb6f YSUVM3GiWJxgY22jozFL2MnVQRacO9dxa9YllN1/oBk61LCtT/llkdSL8Ph3w2iTdAxS wBPic9Sc+WyUY+Kc6UYautWMBQ9ehvfy4dE6NFCI4RVzxWVksKXR5tbIN5t4FZC7TcUA ZMe+1jYw1N5QCiT/NO2LVftFedVnQ4ejR4DDHEzvtzoJ7pWeq+mvzKoAQkU+2UQuhrRR 6vl7Rt5ZqSzmf/ijmYAetwrTKtXwF8HHiyWHoLXnCo/jMTkFKGTIlpnuEQamt6CN2rPa PnAw== 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:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=9QtT28RKEu28V310mqpdvMY0okN2CTB2Q497wdUB6nk=; fh=UicsVcZyy+MkDtq5jljiIxmTMBYRTcfI0QBvT9DJGPQ=; b=Zl4/bNTIwdkO+K0BraZ0PY34VRrv2GX2RXkITsiQKjjMkt4+UVzdVCBe1ijsV6dxls L23Q4zMeI0LneZ5cekSNzLGTwKaTzUBQMg+eZlaXXB6SiUNIXFng3/36bPSDDcdlaUkP ljVBGxL3rPl0o0MjPt4am21ymoNMt5N0D4qu8R7YXxpszR4FejDn3tuvXWfhlL7+JIBB cWBMOyO1ob4AzGPID9M7zqeYrvxUle9oKecvZeh+7OvbIu6auTrqvV3NhxMkY/CGqJtH /zdL4yAIPHleu0KfmtyopdK0xxyc9r9b8fzI2eRsAUWJhnCdqeY2OLichpaWEODjURya eyEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=APFFQZf2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-180015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180015-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 41be03b00d2f7-63409e82533si13503400a12.80.2024.05.15.07.36.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 07:36:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180015-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=@kernel.org header.s=k20201202 header.b=APFFQZf2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-180015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180015-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 95E3F2835A4 for ; Wed, 15 May 2024 14:36:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EFCF155A26; Wed, 15 May 2024 14:35:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="APFFQZf2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52E98155749; Wed, 15 May 2024 14:35:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715783742; cv=none; b=e0H4iM/0wsYde649OANx+5m2iy3jMRse8EtIMR5BxQe3oR8tq01DBIwL/MNoHZrcyDd0oPWCR+XMP6pEtU6IV5FO26bigBZsm3dKe+rcOgpsHGPpkL3570VhksxXoJmlmFJ7VT25bJb0sRDtb2Lp2CUdWwBb19QHIkcpvk4FqS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715783742; c=relaxed/simple; bh=o1k/xgmlCNQgq0CzkfNhpYuPEw2IgPrERI5Hqv5OGA0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V3p4Qbh3ustezpS8+CGpwAywrCUgA7/XsmYQFO2yQuQ2QXPVIU8KgOdO3HAdbfMNyq0HfJyBym/8G+7Uk4i1Va1e8KoPW4VlUrO3dRSTIx6Wg/yAJAEZU8j7cSe0Yb78er/iHgUr9ziXQmFXBLGlXdjWoU2UoOOcSDIpNozbqlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=APFFQZf2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2AC8C2BD11; Wed, 15 May 2024 14:35:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715783741; bh=o1k/xgmlCNQgq0CzkfNhpYuPEw2IgPrERI5Hqv5OGA0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=APFFQZf2t31GrwMjXOPjpgr0445eftKSVfjlC173tmdGBv3lptYdU9NRLveI205il YxvkmlyRMH1u8g8Jus8MfIHH0FK2ZPaM0WAlioATWw3Xr+1IYazepGGj8BUMyQyPLF wjRTJZqh/FRYP3/gqLXv5KaxP6v6cxNnnH8ImmCYpLlsWIshvLC1CnKHsLrHocsTWu eDNTm7pusJUZy3OMmrYoZ4crcvQZjGAAOJcow/IZNQ7EumGkMOJ4EhwfRRlfkogzbz BD/BvBr8T5+QrtZceuI5qHkw4jG0xGnAgKp8Q1tmeFGSmMkSSJyDXBEpLzIZmIarQs T6oO3sU1awNDA== Message-ID: Date: Wed, 15 May 2024 16:35:37 +0200 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 v5 5/9] dt-bindings: fsi: Document the FSI controller common properties To: Eddie James , linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au References: <20240514195435.155372-1-eajames@linux.ibm.com> <20240514195435.155372-6-eajames@linux.ibm.com> <9200e46a-3cb5-4363-a560-ee3d88e05ced@kernel.org> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ gZaEIYSw2Yf0e91U9HXo3RY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ie James wrote: > > On 5/15/24 09:18, Krzysztof Kozlowski wrote: >> On 14/05/2024 21:54, Eddie James wrote: >>> Since there are multiple FSI controllers documented, the common >>> properties should be documented separately and then referenced >>> from the specific controller documentation. >>> >>> Signed-off-by: Eddie James >>> --- >>> Changes since v4: >>> - Add interrupt controller properties >>> - Add clock-frequency property to FSI controller and CFAM >>> - Add detail to chip-id property description >>> >>> .../bindings/fsi/fsi-controller.yaml | 66 +++++++++++++++++++ >>> 1 file changed, 66 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/fsi/fsi-controller.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/fsi/fsi-controller.yaml b/Documentation/devicetree/bindings/fsi/fsi-controller.yaml >>> new file mode 100644 >>> index 0000000000000..8620e4da6de77 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/fsi/fsi-controller.yaml >>> @@ -0,0 +1,66 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/fsi/fsi-controller.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: FSI Controller Common Properties >>> + >>> +maintainers: >>> + - Eddie James >>> + >>> +description: >>> + FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The >>> + FSI bus is connected to a CFAM (Common FRU Access Macro) which contains >>> + various engines such as I2C controllers, SPI controllers, etc. >>> + >>> +properties: >>> + "#address-cells": >>> + const: 2 >>> + >>> + "#size-cells": >>> + const: 0 >>> + >>> + '#interrupt-cells': >>> + const: 1 >>> + >>> + clock-frequency: >>> + minimum: 1 >>> + maximum: 200000000 >> This is a deprecated property in general. Why did it appear? It does not >> exist in current bindings and nothing in commit msg suggests changes in >> the bindings themselves. > > > OK, is there some document that describes what properties are > deprecated? Because it's used all over the place in the bindings. Anyway dtschema: dtschema/schemas/clock/clock.yaml buses anyway should use bus-frequency but it is also legacy one. > I need this property, I can rename it if you like. I can also update the Why do you need it? Why clocks cannot be chosen by drivers and initial state selected by assigned-clock-rates? > commit message to indicate that I'm adding it. Best regards, Krzysztof