Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1406860lqa; Mon, 29 Apr 2024 07:43:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMFupkyBM1Bgt9ttgAwM6/bKOKew8ulF4sm0EbE+uA+CzUZoz9nfN/q//SUjDa94GyYm8NZ79Rcrmva5xiRP7YJVrhb2RIVT6LIjQ28A== X-Google-Smtp-Source: AGHT+IEuXU+16VgFZQN5CVOCjO9xH7TIG6TIwChG3wddty9CBYoUoq6/gd9WpBtlduCxZ9hp0Cm0 X-Received: by 2002:a17:906:258a:b0:a58:e86d:40e6 with SMTP id m10-20020a170906258a00b00a58e86d40e6mr4541216ejb.26.1714401783931; Mon, 29 Apr 2024 07:43:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714401783; cv=pass; d=google.com; s=arc-20160816; b=c3zA+TENxnyEKBHf0nYHrK0pl5WXLK4UoANPlMJ/AedacWLTC5MNcDmrIcibM6tEwg 1sppeh7k4U7PXFT2cKkOYBfHXJCgXzEbvnh8HuQGy5/anDRLyVRbMAj2lW4XsauJIF23 oCXirFRc0ZXnD04xPL/2iKwF7fc3BAyHe8p3Pclu2f7JrPJbmO6qQXT5uaTZkkgkfIwj VVwfVL3pJTLxOMHNHbVtwSJV2MLzPWTRErei6HvFVUKuCyuXVoU97s7xLsHYCBZP2Mb6 quZq9S/2rCww+MzL10CGy+rF6nJDXNSEdogK6sKZm8o+ReYpvipARK6dvSfOCBXwnnVL MMIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:date:message-id:dkim-signature; bh=KsgaaWZjUoPvRT7MHUei3sSgzKUYUw0c2nrME3+cT3U=; fh=cRawPwqSvjYJRXGWKEVd1ElXmDSD8xlaUASQ6xV2o04=; b=XeoCKiRNNxAI5t+MciDs9GLL96MSvYN3CL5S/WsCXtpCHplkY1DIs0xplJe53ZZz2g mSBtcUGh4+ZIhKAZjPqDdHrKAROPd4eB5/MLzRx6Rm3RNXDWQUlHeNZl7T8HF7WKUmbN dWzKqbP4HRvMPHKHbbgjdo0/Skk+mFTx6NIcboYo2Lwpn0qW0NnlVBs+t2BC+mVAfgrr pzFh+JWyKxBAKBlqZkyBivtGi5x7acxuC9ad6c0dl39Dc2Wx+vlPZZH9ZHqfwSkCw7Uc xT0JXqMge757Narnz02Z9fva7aqCg0LMLspYv+953sccl9JR7oBTd0FC46HB+Po5q8z9 AeEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=STnWuWUU; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-162466-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fx13-20020a170906b74d00b00a55b393f575si10142486ejb.720.2024.04.29.07.43.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 07:43:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162466-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=STnWuWUU; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-162466-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7DF101F2133A for ; Mon, 29 Apr 2024 14:43:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9299A7F47F; Mon, 29 Apr 2024 14:42:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="STnWuWUU" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 9BED2745C5; Mon, 29 Apr 2024 14:42:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714401776; cv=none; b=lc/+6yDyIANr6/h/UTLFTpt4MExLe3xQ8Raw0AqGkJPYVGloiaIXxKhcbOBskL0mJYaRhJyBlmG9wWUcPtjuvWxUR1FZu8N9wZWQn0zwz3djLEZNNaVR9fS6ZHu0fgBIu4jdObUwoN5toR9PmopTONccObtVSERWSF7d8t68rDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714401776; c=relaxed/simple; bh=ax/F1io3R3oaq2efhlNyN5CqkPcDnJEGfu9Nt1MSnlw=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=lqX2/zGPF+UU4EttAm+yEO4YXS6GdF84n8M/Vg6Xnb7Un6bJfLwBMW9HVZccFC1hMdsuXFY6LMWEzbGPYiHHTM4wsw3Qx4gfuVJTuWB+zqYlqZcKhrfFBrVu0nxPtUJWsh6/UGSVvJMjp/0eDWpwq/wni83zHPSPnO/6XXujRkk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=STnWuWUU; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43TEYbr9017709; Mon, 29 Apr 2024 14:42:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=KsgaaWZjUoPvRT7MHUei3sSgzKUYUw0c2nrME3+cT3U=; b=STnWuWUUPf0WzfcsznuMgr5RlsfijUfQGZtsBA7DDNg/l8HfQwJDrmN8Q1nFgl0xCELx +aluLamydwQc7H6W6hXr/WNJVuzsG3GReWJ3w1uY2kf6LL+pQC7onfHbKD142j3p2M1v xLjBDz1sfIKcqLoYwvciqApFgfMFJHeqovUsxTenVRjud6TZmCNGw6PbYlPo7y2xZ8xh 2U+xxfenNwoLRyjuy+P8GZ1rGBgHOp6wyO7u5h+UoTSP2AZEqidW4tWfqrIyHYGsPb50 nn1CLkE65M6PRw9nNXmMsKlF3Y4bHop84JP91gGLd1UkAQI46V4Kf9mqvtOSIm0GW2RX MA== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xtd9s82eb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Apr 2024 14:42:35 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43TBxD7W003000; Mon, 29 Apr 2024 14:42:35 GMT Received: from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3xscpp7tb2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Apr 2024 14:42:35 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43TEgWNU21168868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Apr 2024 14:42:34 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D2ACB5806A; Mon, 29 Apr 2024 14:42:32 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2ACF35805F; Mon, 29 Apr 2024 14:42:32 +0000 (GMT) Received: from [9.61.151.254] (unknown [9.61.151.254]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTP; Mon, 29 Apr 2024 14:42:32 +0000 (GMT) Message-ID: Date: Mon, 29 Apr 2024 09:42:31 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 03/14] dt-bindings: fsi: Document the FSI2PIB engine To: Krzysztof Kozlowski , 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> <5ef318a3-7fc9-47e8-9944-07365c9e377f@kernel.org> Content-Language: en-US From: Eddie James In-Reply-To: <5ef318a3-7fc9-47e8-9944-07365c9e377f@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-GUID: KGTh5c-dVKitJrYzjKOHBaxWJR5cNBf4 X-Proofpoint-ORIG-GUID: KGTh5c-dVKitJrYzjKOHBaxWJR5cNBf4 Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-29_12,2024-04-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 phishscore=0 bulkscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404290092 On 4/28/24 11:41, Krzysztof Kozlowski wrote: > 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. OK, this wasn't mentioned when fsi2spi binding was merged, and I thought to make fsi2pib the same. I can switch to p9-scom or something. Thanks, Eddie > > Best regards, > Krzysztof >