Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp917341lqa; Sun, 28 Apr 2024 09:41:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTcTZuRQwQqqFgth1CgFx96bPgug97QGwOvqPtvy7HtFL/Rd/mBsEqMNsakkE6VFPKi1uB41fzXpOA4XxgHybHkSuYmMUNr0z0CwHnog== X-Google-Smtp-Source: AGHT+IGHofGD4549CIzESQfLI6S+jg7NCjnnxsTKR+myOYg3gDSamXIkCN5F9mGMc3UiPCZBQ8gc X-Received: by 2002:a17:90b:3b89:b0:2a4:9183:c8fd with SMTP id pc9-20020a17090b3b8900b002a49183c8fdmr8017049pjb.18.1714322506404; Sun, 28 Apr 2024 09:41:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714322506; cv=pass; d=google.com; s=arc-20160816; b=vC1WogyLJqpKR6wTDbkD/LIi6kxG3+n15YiFwvkSrGDxJPG4MTW67d95YhUHrh1uJJ jXNdzHRo9MsxzWU0oa7892mYlv8fcB2/gwQC9f1XwYi/0+oueao6mv8aX4aubTRNsHlC 062J8V3rZ1SSnasm36P8sTHQBMEHBWKlHUCMJxc/9NuhWc2G5jLfKgi/iBclPi/R4Qyp LvCRy/f5nKc91C9r1GS/GPwMTOh7war8induMcADmc0UYhlg9TRMtLNTzkEkD7QwXMzR I2/A+symDCpYcNRzbDvFTypRJ/qi1pdAocbot8gojrPFjJLsiwSucre1b/gLa9fZd6eT u7lw== 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=O0Gr8mQLFoOh2ClU26lwyyXjNw3rY4vYnzhO4juOvhQ=; fh=Qbi05LYmFHAESeadmm29o3BnXQ5gFVK6cjlqJ2KN+Gs=; b=dtOUKVGjLsVKZXX3Bx2+xm9IkY0hgF6YSTJ2j9bPVjbodRQnxadYi0Cf/kI6Sf/vP9 Vxchf4XbJn/v3PskoI4uy7iZY9/gt8H/EHsm2fEflu396yuGZreWSxcVaNHaaFm63fJY L6YWMOdXEpJ0xH/TUIkRx8fpb2Jbdfi6s/MSaxBG8F2AnvwGPqr6JVrRJrfaOQ8r0pqi KF0W6LfOKxt855qNB/TE7U7m4uGMGu4/ux6Onz4mJvi6QYBfJxxAum3F8OToiIc5eYEb NpkfC3gPQP8q3JwjGYUQWx8HEG4YuAZM6dF7r50sGnCI7iKCe1M33d0BHdje7ljmzU/j fsIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JwqSkNv7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ga16-20020a17090b039000b002b1527f8cf8si1344470pjb.56.2024.04.28.09.41.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 09:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161500-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=@kernel.org header.s=k20201202 header.b=JwqSkNv7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161500-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6E6DCB213A2 for ; Sun, 28 Apr 2024 16:41:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6317471B48; Sun, 28 Apr 2024 16:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JwqSkNv7" 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 61416138C; Sun, 28 Apr 2024 16:41:29 +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=1714322490; cv=none; b=u99t/Mu0s/ZggxIA8ykyrWld3+EKpLTrEqKZYyWZ2eTFyFuRn7h+5zPJvtesX3lX9XRnankWMjLOfqaSwDNOpmRbw8QJsnPRjbfyjnXPsasbf9IGc4BnNBq1qChU8LZEFikgodnNaV1sq7XflLhterF74WFAMhBkikJ8TBPsmM4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714322490; c=relaxed/simple; bh=Lv37Gg/npKIgGnyNYYv9foJSbP38xlfXbSo0dGpIkVg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cfsKBP4cko5Sm9o6dliMSrZKdyAOLATBXzbLwu3uF78KjIger4rc7W497vyVNv6NHwQD4nnWMh3hbiLcM+S+VTPCqQGP8bEiO86z+B8q3NdyA31uFkUwkzIyVdraqZ1Szce2oaKCZ5J7EDZqDisp2mIxBL5nUh8SwfNYNwQJw3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JwqSkNv7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F16B5C113CC; Sun, 28 Apr 2024 16:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714322489; bh=Lv37Gg/npKIgGnyNYYv9foJSbP38xlfXbSo0dGpIkVg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JwqSkNv7BLw9SFwlgFoNeAtv1rwZZ5Jp234UkBz2nsHrKPCVytptg1KKOb2FEqky+ dZIS3nGkLt1y9KDvKAtcGiQDv6YgAzEIC3v3392RaxW5Ts2KVHwq/froYagP62lHKw VaITJZ4btJLK3BsUNSVjm5tZetIz6hzsmuzK0pkvLOuBdH9nPtguwASFbhvXbZO6jn t3RmfyHecx2sdd7KiktAz/wCbMPdZ/zJVh8TxmxFIywBYA1HbRV4HDNrmer4iV3L4U Fo/1QOseFRv6wf7wW649u16q9kdR5IV4WM4qy1+dLGFvFMiahtuzvCQqY0THD0p7ZJ BaKHXhHy7vMLw== Message-ID: <5ef318a3-7fc9-47e8-9944-07365c9e377f@kernel.org> Date: Sun, 28 Apr 2024 18:41:23 +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 v3 03/14] dt-bindings: fsi: Document the FSI2PIB engine To: Eddie James , linux-aspeed@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org, linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, lakshmiy@us.ibm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au References: <20240425213701.655540-1-eajames@linux.ibm.com> <20240425213701.655540-4-eajames@linux.ibm.com> <3f822b56-8e6a-43e4-afb0-15c964f9474e@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 FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBu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9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/04/2024 17:00, Eddie James wrote: > > On 4/26/24 01:18, Krzysztof Kozlowski wrote: >> On 25/04/2024 23:36, Eddie James wrote: >>> The FSI2PIB or SCOM engine provides an interface to the POWER processor >>> PIB (Pervasive Interconnect Bus). >>> >>> Signed-off-by: Eddie James >>> --- >>> .../devicetree/bindings/fsi/ibm,fsi2pib.yaml | 38 +++++++++++++++++++ >>> 1 file changed, 38 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/fsi/ibm,fsi2pib.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/fsi/ibm,fsi2pib.yaml b/Documentation/devicetree/bindings/fsi/ibm,fsi2pib.yaml >>> new file mode 100644 >>> index 000000000000..4d557150c2e3 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/fsi/ibm,fsi2pib.yaml >>> @@ -0,0 +1,38 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/fsi/ibm,fsi2pib.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: IBM FSI-attached SCOM engine >>> + >>> +maintainers: >>> + - Eddie James >>> + >>> +description: >>> + The SCOM engine is an interface to the POWER processor PIB (Pervasive >>> + Interconnect Bus). This node will always be a child of an FSI CFAM node; >>> + see fsi.txt for details on FSI slave and CFAM nodes. >>> + >>> +properties: >>> + compatible: >>> + enum: >>> + - ibm,fsi2pib >>> + - ibm,i2cr-scom >> Sometimes you call these p9, sometimes p10... what is the system or SoC >> here? Aren't you adding some generic compatibles? writing-bindings and >> numerous guides are clear on that. > > > Open source FSI support started with P9 chips so we initially added > p9-sbefifo, p9-occ, etc. P10 has all of the same engines as P9 plus the > SPI controller, so that's why SPI is p10-spi. P11 has the same engines > as P10. For scom/fsi2pib we could call it p9-scom I suppose... This > series isn't just documentation for a new system, I'm adding > documentation that should have been added for P9. Anyway I'm not sure > what you mean about generic compatibles? You mean just add a "scom" or > "fsi2pib" compatible? writing-bindings says "DO make 'compatible' > properties specific" Usually it means that parts of SoC must have the name of the SoC, as first component of the name. Your boards are a bit different here, because I suppose no one will ever make a product except you, but still code could follow same set of rules. Best regards, Krzysztof