From nobody Tue Feb 10 20:47:19 2026 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 99E63181339; Tue, 14 May 2024 19:54:51 +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=1715716493; cv=none; b=KP++HIvXn00+GQ+DfnyasrZL6qXqRlWmq5C5oZqGt4iUwK+RVX+YlwRiu8se3IaqK7cB/i28VXIEyo0LWtKWATl+/KchPvlWECWsW5VFb8STmdPe6WTaljCfKr8P1yaDjaYLTSQrLlL6oJZ1OhrGMnQyN02UBF2p40KxCl9xapk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716493; c=relaxed/simple; bh=JCPa+yp/zJJs3+BIrAutXGUEd2YEOV8abxWiBUbcEzc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ovMOdxc9nyxdAzN+xDFOwLANfjSIB7OC5tAUTJjt78z4PK5gULGjbYn0PDp/MWKtiAMcoGW8KqYokBzj3TmJ+O4IctrRaPWooYpYvNPgOcZAoFgioDcpaDcPF68HAdQd4Mn+kFLx6HvwzIXB/u1J7rLrBY/g1f9XZsq6BbgKej0= 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=Mpnf2g03; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="Mpnf2g03" 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 44EGU89i028763; Tue, 14 May 2024 19:54:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=U1W6QwwCSxfBeEaP3xClx7D5mfTwejsAwXWmi0ZSrFA=; b=Mpnf2g03MjE/Hj1njE8c+5noQgtgg6Y64tck13RBYzQV3jUYF+27VFeV4lWP7IypEth2 ibBuCqe1W8D4eiT5raxp6jRmuFcQBRarCBfXF9fZ5hYQD8lSt652P7DEe7Se3C7cMOak mspDePMVR+vztnSMroILFZntzh+xy5x7UehrdM4rrydSHgJvSGD2R6gmW5QY6bcr039Y zLgXPUEEqJnmw5fbtjdt/ONhu61oizutGBb2RY8X7GyYBk1gOwlYkqJ6xXEjWPLdg5+h W6qwpEbUoYfwVOoiAZkc9Y2SzzXSyDqdXQlnYbLNMOsGc4LHSTNyOq4ck5kr+yYLgfaC sg== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4a9brne2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:39 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIf23W005981; Tue, 14 May 2024 19:54:39 GMT Received: from smtprelay04.dal12v.mail.ibm.com ([172.16.1.6]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y2mgmf7dv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:39 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay04.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsaFs47186402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:38 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7241F5803F; Tue, 14 May 2024 19:54:36 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3D3A858060; Tue, 14 May 2024 19:54:36 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:36 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 1/9] dt-bindings: fsi: fsi2spi: Document SPI controller child nodes Date: Tue, 14 May 2024 14:54:27 -0500 Message-Id: <20240514195435.155372-2-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: wZxgio04f5c3UvioQmcuXH03WLsseRkb X-Proofpoint-GUID: wZxgio04f5c3UvioQmcuXH03WLsseRkb Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 mlxscore=0 mlxlogscore=999 malwarescore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" The FSI2SPI bridge has several SPI controllers behind it, which should be documented. Also, therefore the node needs to specify address and size cells. Signed-off-by: Eddie James Reviewed-by: Krzysztof Kozlowski --- Depends on https://lore.kernel.org/all/20240514192630.152747-1-eajames@linu= x.ibm.com/ .../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 36 ++++++++++++++++--- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml b/Docum= entation/devicetree/bindings/fsi/ibm,fsi2spi.yaml index e2ca0b0004714..ad5c83f484255 100644 --- a/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml +++ b/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml @@ -9,11 +9,10 @@ title: IBM FSI-attached SPI controllers maintainers: - Eddie James =20 -description: | +description: This binding describes an FSI CFAM engine called the FSI2SPI. Therefore = this - node will always be a child of an FSI CFAM node; see fsi.txt for details= on - FSI slave and CFAM nodes. This FSI2SPI engine provides access to a numbe= r of - SPI controllers. + node will always be a child of an FSI CFAM node. This FSI2SPI engine pro= vides + access to a number of SPI controllers. =20 properties: compatible: @@ -24,6 +23,17 @@ properties: items: - description: FSI slave address =20 + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^spi@[0-9a-f]+$": + type: object + $ref: /schemas/spi/ibm,spi-fsi.yaml + required: - compatible - reg @@ -35,4 +45,22 @@ examples: fsi2spi@1c00 { compatible =3D "ibm,fsi2spi"; reg =3D <0x1c00 0x400>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + spi@0 { + compatible =3D "ibm,spi-fsi"; + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + eeprom@0 { + compatible =3D "atmel,at25"; + reg =3D <0>; + address-width =3D <24>; + pagesize =3D <256>; + size =3D <0x80000>; + spi-max-frequency =3D <1000000>; + }; + }; }; --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 48CF218131D; Tue, 14 May 2024 19:54:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716490; cv=none; b=WVm1aoAyRxmEF6YahMrITDc9TdD2DPQQcIb+O+P5Y3eUGsYB6NcgBdofI6FSdj/2vmeR8wl1tjQhspNIoA3IDAwZJ8Z4BgpsQsA0xWxOFhCL9GX2Nm063pHPvP6NqCwkTxtGBSN8U2UDCTKLrOqF601+NfCojQWwKyaH3lppF20= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716490; c=relaxed/simple; bh=8SU/iENpN6Xx0OwWxYt2bSul9xedwDdanqRkSWI9w2Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=axv9yeeIU4BVbdbtklpUf0YwpxBHbQ5wPylK85p6Y1onTms1xA+xxOz2UvJn3cHYwmUrXiUiLo1bZG1+rKrH7M5Zb5RIoq/nTzdjwDow50ypjvLcBsZjV+S0npf79ZmIxF+mXsYPm51GZgf60tC8CVw8ZZKk8lFX0gZvsQI3uEg= 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=quPeHa+D; arc=none smtp.client-ip=148.163.156.1 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="quPeHa+D" Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EJjwOV023527; Tue, 14 May 2024 19:54:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=Surtr2BpZP7CJ3MaLpzg58YwcjcFGIXkZ4hi7cV1P9I=; b=quPeHa+DdOVIUF8m+GmFsppgTCgfLqEJMWMsdT5Igr7QovTZ8FL2XfLCo64NGM8cQwYC BUQWG8mkKFQ8HIgHw0TWnjynm+i1ZnNTOtQgbsj7hX0DfCH9nwgXHHwQsYVfhoQ+lNwj 4oBeRWXYiiR/L3ZE7k3dm4dGibuLAOIBzrVLyB4pYrgq5Bp1Xamdq0wI4ELrPZaPsPR4 4yrmEY8Ftx+eYXlqiXxIkEr5QK5aNwv0P/irorJEu4Jlp5tOoLsSksSL2rDl2idfHXv5 pAKc1sKrYS0i993q8Tzdy1+C4UTUu9IaAFpoNWivnaY4gsZEFzpvNxcTbOjxGpjiS2/V +g== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4dpf045a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:40 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EHbd2W018828; Tue, 14 May 2024 19:54:39 GMT Received: from smtprelay04.dal12v.mail.ibm.com ([172.16.1.6]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3y2k0tfhpu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:39 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay04.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsatS27525792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:38 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AED3858060; Tue, 14 May 2024 19:54:36 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7A9C558063; Tue, 14 May 2024 19:54:36 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:36 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 2/9] dt-bindings: fsi: Document the IBM SCOM engine Date: Tue, 14 May 2024 14:54:28 -0500 Message-Id: <20240514195435.155372-3-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: ymgI5bxXx9Pl-ltUt-JYp3VdwVXzoDow X-Proofpoint-GUID: ymgI5bxXx9Pl-ltUt-JYp3VdwVXzoDow Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=963 suspectscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 malwarescore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" The SCOM engine provides an interface to the POWER processor PIB (Pervasive Interconnect Bus). Signed-off-by: Eddie James Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/fsi/ibm,p9-scom.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml b/Docum= entation/devicetree/bindings/fsi/ibm,p9-scom.yaml new file mode 100644 index 0000000000000..8cd14a70bedf9 --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-scom.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. + +properties: + compatible: + enum: + - ibm,p9-scom + - ibm,i2cr-scom + + reg: + items: + - description: FSI slave address + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + scom@1000 { + compatible =3D "ibm,p9-scom"; + reg =3D <0x1000 0x400>; + }; --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 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 F40A3181B83; Tue, 14 May 2024 19:54:51 +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=1715716493; cv=none; b=J8faYTnqUrTNXJULtA7oHz6sCsGAhT8RpXD1iY7u8+OGFxuwMJ/iw6s18i+RJo8Vt9zdLHo9CYA5gHqG7ytKxFcu/jJG387oVCZImYybhvk2pF+jx0ZEPjJxCLjPsRiqxgHQgONIgpAdZcUh35UggUG1GBdBnbTOD4NXZ688aBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716493; c=relaxed/simple; bh=RJIcew/y4SnPKEOUdXVzMlMtC/9Whl1zqKQE6y4VNe0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jn/VNAZmaTc/w8BvGBXv0pwBH7eLxi2I547tthsccJe2nhhjDeddeTiSWluWEBSkUZfvug34Dg9cgMJQYUx3A29exbjg0EfT7vaugIW7pW8AKr9G+PU1maebn5cwxk2zKUu4aQlPN/TnULJvwG0vLmUR0vtNJuUYxnGNeFT4jxk= 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=HaQCIzgL; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="HaQCIzgL" Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIBwHl021147; Tue, 14 May 2024 19:54:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=r2TppdGML4g4eAF3lLy/4S96GlJGe+Cf2lhEK0QcNVg=; b=HaQCIzgLEm9oHqgrzWjltXubVrb7ylH6CqdUC7WHm0aiP5cFmEpjE3pnx2l3o08kaaWc WS97mtKefW6TBDHcsHz8Kb2I0sqQ0o4XZZknTWA8OS7eWYrru54gj6gqJpclF3tP4BBB FDirjae9SkLF4B3Sc2ACGIbBNgiLrsVPEkGBAvW5CMeFZ4TfGntebjpSrMr4TyBSheOQ Rsffn1KFfdRIwURD9JXzjlQXZCNR7gnjLOrbsAs7FT/IA8ZluwEJj1cn0xKkXBL4Bi4n yOl1dss8tYs/PB2zKzMBqnoSIuNO9vtAHOI0Mk1zSaKV++8TCWcF86F//YsOUxAdkeQY Gw== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4ckrg9n8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:40 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EHsGeS020385; Tue, 14 May 2024 19:54:39 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y2kcyyfjq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:39 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsbwM32113184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:39 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EDDDB5806C; Tue, 14 May 2024 19:54:36 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B6F3458064; Tue, 14 May 2024 19:54:36 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:36 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 3/9] dt-bindings: fsi: p9-occ: Convert to json-schema Date: Tue, 14 May 2024 14:54:29 -0500 Message-Id: <20240514195435.155372-4-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: fKyk_MYw7ONIuGPmX8A8DIw98tXM0aE7 X-Proofpoint-GUID: fKyk_MYw7ONIuGPmX8A8DIw98tXM0aE7 Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 malwarescore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" Conver to json-schema for the OCC documentation. Also document the fact that the OCC "bridge" device will often have the hwmon node as a child. Signed-off-by: Eddie James Reviewed-by: Krzysztof Kozlowski --- Changes since v4: - Drop pattern properties for hwmon node .../devicetree/bindings/fsi/ibm,p9-occ.txt | 16 -------- .../devicetree/bindings/fsi/ibm,p9-occ.yaml | 40 +++++++++++++++++++ 2 files changed, 40 insertions(+), 16 deletions(-) delete mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt b/Documen= tation/devicetree/bindings/fsi/ibm,p9-occ.txt deleted file mode 100644 index e73358075a903..0000000000000 --- a/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt +++ /dev/null @@ -1,16 +0,0 @@ -Device-tree bindings for FSI-attached POWER9/POWER10 On-Chip Controller (O= CC) ---------------------------------------------------------------------------= --- - -This is the binding for the P9 or P10 On-Chip Controller accessed over FSI= from -a service processor. See fsi.txt for details on bindings for FSI slave and= CFAM -nodes. The OCC is not an FSI slave device itself, rather it is accessed -through the SBE FIFO. - -Required properties: - - compatible =3D "ibm,p9-occ" or "ibm,p10-occ" - -Examples: - - occ { - compatible =3D "ibm,p9-occ"; - }; diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml b/Docume= ntation/devicetree/bindings/fsi/ibm,p9-occ.yaml new file mode 100644 index 0000000000000..537eac70447c0 --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-occ.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached On-Chip Controller (OCC) + +maintainers: + - Eddie James + +description: + The POWER processor On-Chip Controller (OCC) helps manage power and + thermals for the system, accessed through the FSI-attached SBEFIFO + from a service processor. + +properties: + compatible: + enum: + - ibm,p9-occ + - ibm,p10-occ + + hwmon: + type: object + $ref: /schemas/hwmon/ibm,occ-hwmon.yaml + +required: + - compatible + +additionalProperties: false + +examples: + - | + occ { + compatible =3D "ibm,p9-occ"; + + hwmon { + compatible =3D "ibm,p9-occ-hwmon"; + }; + }; --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 03A9018131A; Tue, 14 May 2024 19:54:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716492; cv=none; b=fg/7aFOBR5KE58gcuPRoti8xwXuFFWOUIb4wzAooPAcJJJrt3vbhESLo8amnk56v6J6fpOLj8dZxz/aWgDTTIKUR7DVKZBuD4X9kkBp5Or+PzbIWH0ko2jwRoAbOPiQrh2WguDAR6GgAvCEd3xDFZSJWxouxiNb2Z8fgOd6yI/8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716492; c=relaxed/simple; bh=H0xRJQ6LDdxDuN2PzaZdBBdPg11ytfH3K+BmtolIEAw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WUIuGt0raGPs8yIverQyIVwr1pWANf6aJY7Mp8TKQP/bN2OgzUBt/hfPyDqwuYaYhD2H1N18J8RJMqy5L5RUifGygni4iGOLDh2wtvl5Lo/YNYWI96R5dB+El0sZ1Ei1XrjpmWr1LDgoXd4whTgtD1CikknwVzOutH7u4S0RwMY= 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=nhyAY52u; arc=none smtp.client-ip=148.163.156.1 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="nhyAY52u" Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIwOfc016844; Tue, 14 May 2024 19:54:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=WnPfUf5IXHpKV/OOkMuYDSco6oumQS7hu/4yRGO9v5w=; b=nhyAY52uzZARrDOSPotLHpFXh2E1Leb4mW+uj8EG978MbNiZjb4UB2LeelvKMAtfdtsZ 7iCKEEp8R/JmMamnt5mEghoLoDGft72YJn5UvkvJn6UmQZR9SjGWyascNQDqu47Mef2T Dx6UOcRBh79p4FYYG40S7X1vSKpVLb1THRSKzLXoCnmP9mgow1me8STiiYgWeLwSK9/Y V/+zHBMbL+jVfpmj/57sYa7R3q8iVTVNwbymhKquU5lLw9fO84KULoJM3OUvjpUnEZVn tbEeAxV/dC4Ik9jK9/eAYKlW2yav3SHjFOxLp0i1nx1odvVoOLuRumkG52pXBOWLhHS7 Tg== Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4dpf045b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:40 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EGjZMn029591; Tue, 14 May 2024 19:54:39 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3y2n7kq03g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:39 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsb8Z33489230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:39 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 38A645806A; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 01B455806E; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:36 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 4/9] dt-bindings: fsi: Document the IBM SBEFIFO engine Date: Tue, 14 May 2024 14:54:30 -0500 Message-Id: <20240514195435.155372-5-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Hxx9OZwXUVlvLEJpiz7w0g-CQ7Jkq8i8 X-Proofpoint-GUID: Hxx9OZwXUVlvLEJpiz7w0g-CQ7Jkq8i8 Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 malwarescore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" The SBEFIFO engine provides an interface to the POWER processor Self Boot Engine (SBE). Signed-off-by: Eddie James Acked-by: Conor Dooley Reviewed-by: Andrew Jeffery --- Changes since v4: - Drop pattern properties for occ node .../bindings/fsi/ibm,p9-sbefifo.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.ya= ml diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml b/Do= cumentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml new file mode 100644 index 0000000000000..3cd966fb3c0df --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached SBEFIFO engine + +maintainers: + - Eddie James + +description: + The SBEFIFO is an FSI CFAM engine that provides an interface to the + POWER processor Self Boot Engine (SBE). This node will always be a child + of an FSI CFAM node. + +properties: + compatible: + enum: + - ibm,p9-sbefifo + - ibm,odyssey-sbefifo + + reg: + items: + - description: FSI slave address + + occ: + type: object + $ref: ibm,p9-occ.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + fsi-slave-engine@2400 { + compatible =3D "ibm,p9-sbefifo"; + reg =3D <0x2400 0x400>; + + occ { + compatible =3D "ibm,p9-occ"; + }; + }; --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 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 2F52C181D19; Tue, 14 May 2024 19:54:53 +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=1715716495; cv=none; b=Ap8Q4WVyihFP4eNEqCVoB3wUquuLXZFxWq+iDrR9qi89N9xB9WZoobWrvZI2Xo/9zZy0UywTGBswbw8vLI/Dub2N2BUGbxNdhbm5SZwefmKWE0t8A0e42EVGVdeABQy2DDXY9iiNxUEfFL41taK53QTiqLZvRSNCT/0MDGIZ49I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716495; c=relaxed/simple; bh=Qi2euXzCp5PGcQXAAb+wa2tXMspYjo5xkygMnaTRdRI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KdF122KZV9Hjkk6u5ATf2NL5seOdI4x2Fm25+75I/EZ0Ei4K7MVaC1NOK+JJsa+r/JVem3bK94iy4FIjQ9/sId1L9R75PjUpqomZrZmhF31RuUfQ4uxsz18Qx56zRyltD7AqQZRn1q1jI12KwjT+rN2MrNGZmFhQQDb9xOcvlOQ= 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=nzDqP1Hg; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="nzDqP1Hg" Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIUBb2021066; Tue, 14 May 2024 19:54:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=wuft68RODxlOpu5pXHhFBr/uxxXbBnlditP2AYn8hy4=; b=nzDqP1HgKzGqx7S/wk/NzasVMvgMMXEE6Abi4RxcMBbZQNhh9i1iKFHlUnUTpDJ5Lg8E xbhxsd53vhrdIsh2vLpUtzve4DBlf3z6L1/IESDrSoErQXgNetFS38osy3fmr4y0Ze9i 7y4Lwtd231pujPxcjIATY3+ZAdsLytxhpCeMEzf97ruTi7IQlXYaGwrDCICt0I9gZre7 NsJrlUVmSWUsJGE0E+qYfMD9LoLD5IGg1Y9hlNLNKCM1K6fKypc7s1cTjZnBOCAqwKCy vEvXaZ9HEzMYZCr9PkrbJce54JTDVkqbhIdG5rMfBxJogYjIbDqTVfRWZ+cpP23CW/WN Hg== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4d1qg73n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:42 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EHriNb020349; Tue, 14 May 2024 19:54:41 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y2kcyyfjv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:41 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsdE340763676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:41 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 75E8B5806E; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 40B6858070; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:37 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 5/9] dt-bindings: fsi: Document the FSI controller common properties Date: Tue, 14 May 2024 14:54:31 -0500 Message-Id: <20240514195435.155372-6-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: kk-dG1gi_4c2m81zcq06tZ2kBuWv98gI X-Proofpoint-GUID: kk-dG1gi_4c2m81zcq06tZ2kBuWv98gI Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=999 malwarescore=0 impostorscore=0 bulkscore=0 adultscore=0 phishscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" 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.ya= ml diff --git a/Documentation/devicetree/bindings/fsi/fsi-controller.yaml b/Do= cumentation/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 + + interrupt-controller: true + + no-scan-on-init: + $ref: /schemas/types.yaml#/definitions/flag + description: + The FSI controller cannot scan the bus during initialization. + +patternProperties: + "cfam@[0-9a-f],[0-9a-f]": + type: object + properties: + chip-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Processor index, a global unique chip ID which is used to identi= fy + the physical location of the chip in a system specific way. + + clock-frequency: + minimum: 1 + maximum: 100000000 + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + required: + - reg + + additionalProperties: true + +additionalProperties: true --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 01676181B86; Tue, 14 May 2024 19:54:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716493; cv=none; b=WAeBs6DKrhN/j9e5x15ZIETgaUzDSK9y+gKbJREIH2EMb+iDmuWvigL1bZakmYpekZh7U8+ItxWpFlG1ZZ2rhR/JALh3hB0GQlRcHyhFWHaYhnpw3crYwvg5gSVL1UrDk1jkmPNLLMBNd57ZFOafDH1qcpMXhtxAK5vy+B6df+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716493; c=relaxed/simple; bh=feg7z21tw5TmQcD+heM7Ddv1ee9YRreX4ZWv6qR9YKU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WU90UX+vTR1D/8Ky2p+if4AtRXuy5AOrFwVHh6GO6Sk8fscPTLTr6etal4suDJj4/sdtiTaSSswMVgUVuBkvxn9JXgZK9xSCTht2TG0CgOCYNnjiY06iHyTf6AQAnU9KzNbZLaKQyMFgWHMWATqOfIqS7iWMvN8V1N/7B6hX+Vw= 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=q4aWfqZ9; arc=none smtp.client-ip=148.163.156.1 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="q4aWfqZ9" Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EJ2UZA009999; Tue, 14 May 2024 19:54:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=J/pPt6gGj+b7kyLSTiZUhEJPMXRRs0n8PdYJHEpAW7k=; b=q4aWfqZ9/xXzaUmspvGqmlm3+444TdSD4j9tfpxpw14g/uVUOTjr4ll2UA2H6276L5jL GWaWq3VoxEDG82TezhvduM4CoZ8svlBb3DP49y5T6FgJFztCFrFFPds5f43jSjx0END7 kSV/3QafcrTSQ0zya778oJT6KEQ1OZ8BdjNUI7aFwdCfB8qG8fX1P+Wq6+Qhsfl6zaoF klEbg6UMF/h4WMOtlCCjNxxAgZY3eXjadR4/Sv2kdIXXn1ezkkE/CbIljWs9khShH8Yu EuOgFOiKLEe9crii8xiLDVNbhqVnGKDpdTz0TWRudRH5AgW4YmJhBr3JKTnX6Cw6tlPS HA== Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4c2rgce5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:42 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EGjZMo029591; Tue, 14 May 2024 19:54:41 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3y2n7kq03m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:41 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsdGP44958404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:41 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC7655805A; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7E21058073; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:37 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 6/9] dt-bindings: fsi: ibm,i2cr-fsi-master: Reference common FSI controller Date: Tue, 14 May 2024 14:54:32 -0500 Message-Id: <20240514195435.155372-7-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-GUID: -a8GtgYtS2K9VskQEWNQCf54aP-raiZQ X-Proofpoint-ORIG-GUID: -a8GtgYtS2K9VskQEWNQCf54aP-raiZQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=871 clxscore=1015 phishscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 spamscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" Remove the common properties from the I2CR documentation and instead point to the common FSI controller documentation. Signed-off-by: Eddie James Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml= b/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml index 442cecdc57cb1..e49ace3ca339f 100644 --- a/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml +++ b/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml @@ -26,7 +26,10 @@ required: - compatible - reg =20 -additionalProperties: false +allOf: + - $ref: fsi-controller.yaml# + +unevaluatedProperties: false =20 examples: - | --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 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 21E30181BB5; Tue, 14 May 2024 19:54:52 +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=1715716494; cv=none; b=X3tvR+1scux2QxZUxGqFT/q4eXZbBkn1LgvBhJ4+v/MWc9br+a9e6SmJ+OQzvV9wGyGDO59c9Dye1VXmm3VCgLykl2ZxpY9X0Os64745YzhzhyrlThRMzg5qo0/onnN7GrhQAiNaFSg8pkDeUFwCN85XbNn9wourddFvsO/J6IM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716494; c=relaxed/simple; bh=agYXwcXjKlclaIuuk4OomHNz/udWY5UggU4ucwdyyU0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RMYN2R2e2ngs5kOCAGCDXXyb1xgjJwgHLZbcOB9s/zV20Gg3YU2Gx+0cN4JLiyEcrj1L/XAk3LQA9gprz8Y2Cq6PnoLKQOb+b9QwZzd9SgAxv0z4/veFUKbheGbUOrpvX2BgP2w5ZzW3Qn6xYramTlSdnDexaWK8IpP87VCVQpA= 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=jPp1zOon; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="jPp1zOon" Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EJsD6j026139; Tue, 14 May 2024 19:54:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=zB3qSIICbdqCzp1o85wzqyylb2WQvFU3VTcjolZGeeI=; b=jPp1zOonArc6pKAbe5IsFTvZgIEntwbGGQliIx4ay9ovy5+55JsGTIlYntH6+EXJ2WvW qEzLLaNYlx213gqEDK6T3VUl/z/QzmKF2F8Rmdpq+S7gZOdtb/FKaisoTb2PQUde/n80 zqudh8KSzhxxfBxlK/ba7l/qUxZtbUfMuI3UHXS6TC57ldv8G4zO179WGoHcgFzSYK/1 JrQ87nzIAFfYbBs1pq/RT8z7HOJLw3mw6iz9Eg/y9t1jfXXtE1rwOz3MdonXt2n5ZrKF E/rdAesjAWGAFbNys9MjtodkGxo+bJ4SPiy3XUF7pBisE5fb8KZ5fRbZ1g8wpTwPsCf1 5g== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4ctqr7gr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:41 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIf23X005981; Tue, 14 May 2024 19:54:40 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y2mgmf7dy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:40 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsc9H50463262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:40 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 04C6258073; Tue, 14 May 2024 19:54:38 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C509A58063; Tue, 14 May 2024 19:54:37 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:37 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 7/9] dt-bindings: fsi: ast2600-fsi-master: Convert to json-schema Date: Tue, 14 May 2024 14:54:33 -0500 Message-Id: <20240514195435.155372-8-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 0yD2jQe7oPqIUFVcsifrwjOWR5cl34wO X-Proofpoint-ORIG-GUID: 0yD2jQe7oPqIUFVcsifrwjOWR5cl34wO Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 impostorscore=0 mlxscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" Convert to json-schema for the AST2600 FSI master documentation. Signed-off-by: Eddie James Reviewed-by: Krzysztof Kozlowski --- Changes since v4: - Remove the addition of the AST2700 compatible .../fsi/aspeed,ast2600-fsi-master.yaml | 80 +++++++++++++++++++ .../bindings/fsi/fsi-master-aspeed.txt | 36 --------- 2 files changed, 80 insertions(+), 36 deletions(-) create mode 100644 Documentation/devicetree/bindings/fsi/aspeed,ast2600-fs= i-master.yaml delete mode 100644 Documentation/devicetree/bindings/fsi/fsi-master-aspeed= .txt diff --git a/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-maste= r.yaml b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.ya= ml new file mode 100644 index 0000000000000..2f531c47994bc --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/aspeed,ast2600-fsi-master.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed FSI master + +maintainers: + - Eddie James + +description: + The AST2600 and later contain two identical FSI masters. They share a + clock and have a separate interrupt line and output pins. + +properties: + compatible: + enum: + - aspeed,ast2600-fsi-master + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + cfam-reset-gpios: + maxItems: 1 + description: + Output GPIO pin for CFAM reset + + fsi-routing-gpios: + maxItems: 1 + description: + Output GPIO pin for setting the FSI mux (internal or cabled) + + fsi-mux-gpios: + maxItems: 1 + description: + Input GPIO pin for detecting the desired FSI mux state + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +allOf: + - $ref: fsi-controller.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + fsi-master@1e79b000 { + compatible =3D "aspeed,ast2600-fsi-master"; + reg =3D <0x1e79b000 0x94>; + #address-cells =3D <2>; + #size-cells =3D <0>; + interrupts =3D ; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_fsi1_default>; + clocks =3D <&syscon ASPEED_CLK_GATE_FSICLK>; + fsi-routing-gpios =3D <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>; + fsi-mux-gpios =3D <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>; + cfam-reset-gpios =3D <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>; + + cfam@0,0 { + reg =3D <0 0>; + #address-cells =3D <1>; + #size-cells =3D <1>; + chip-id =3D <0>; + }; + }; diff --git a/Documentation/devicetree/bindings/fsi/fsi-master-aspeed.txt b/= Documentation/devicetree/bindings/fsi/fsi-master-aspeed.txt deleted file mode 100644 index 9853fefff5d83..0000000000000 --- a/Documentation/devicetree/bindings/fsi/fsi-master-aspeed.txt +++ /dev/null @@ -1,36 +0,0 @@ -Device-tree bindings for AST2600 FSI master -------------------------------------------- - -The AST2600 contains two identical FSI masters. They share a clock and hav= e a -separate interrupt line and output pins. - -Required properties: - - compatible: "aspeed,ast2600-fsi-master" - - reg: base address and length - - clocks: phandle and clock number - - interrupts: platform dependent interrupt description - - pinctrl-0: phandle to pinctrl node - - pinctrl-names: pinctrl state - -Optional properties: - - cfam-reset-gpios: GPIO for CFAM reset - - - fsi-routing-gpios: GPIO for setting the FSI mux (internal or cabled) - - fsi-mux-gpios: GPIO for detecting the desired FSI mux state - - -Examples: - - fsi-master { - compatible =3D "aspeed,ast2600-fsi-master", "fsi-master"; - reg =3D <0x1e79b000 0x94>; - interrupts =3D ; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_fsi1_default>; - clocks =3D <&syscon ASPEED_CLK_GATE_FSICLK>; - - fsi-routing-gpios =3D <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>; - fsi-mux-gpios =3D <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>; - - cfam-reset-gpios =3D <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>; - }; --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 6FBF2181334; Tue, 14 May 2024 19:54:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716492; cv=none; b=tHXCz7LBERXINovZT6qkE6/JzGe9rJleDRHpRkWFdeOP6rvd7Xk4BumxrrXeh+OhYlJAtX6Plnbp147CIZriimAxu61yZXKFHMQLE+kUASEbjy/6u40d9X/UQCiE4l5Vj/uQbR/QVWmmzi1HvztXao6CyeWqqObUYPBeGbPMan4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716492; c=relaxed/simple; bh=Swjs87aJDue7Wd+pJevXnKkvisjA6XSDxsniRTNcx/M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SUa4+VuwVeEwaIkhyJIrlAyOKrVuNrMyOQOf7iAjroRaEwm49AhS2/H3OrhoXj7Kn1X+nRraN/wj0+u/S83+UpQOnFr3IsNujJGXoK8c4FFtAmisJ2IubF0RyibAUA8L5WL/uMXjr85gLt4Qb8HsFvT4IrHCrkgzD+Q0Ib8Bw40= 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=CQ54EH27; arc=none smtp.client-ip=148.163.156.1 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="CQ54EH27" Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIQAZ4015395; Tue, 14 May 2024 19:54:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=tfmAGrBYyq7T9Q9kjRG4LT+zggPj1EFXlpm1KphO3SM=; b=CQ54EH27ka9qVYpsVssWMor++BzTy1EI6XNoSEBpiN8aSFwRyz0Y6VzJQAY7Q18wdDjM SkzzHUfDjQ/AH7IznMe8w8kRlKjZriYcbS+dHJ9+ryYsUUWoghFGgCP08lC7KxS2u3I/ aYRPS9KbW7jm9OTaqtRtOHwvDK6+LAKDUgqsZBxDzPgplj9eSMiAHmeRT8M251m1WznR 7Bg+dkeKN0hNEdBePrH0DsJnw4rC+EDs8cuwp+SS7YEukt82D1Om6R8no/EBuQWEepe0 I23x/daIGlYvW8UFPRO3P0niGveHS+Jwp1558NVyJYrv1JG0Y8Zi6hLWyFKGbXb0fPOz sA== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4bg40ebb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:42 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EHevEN018765; Tue, 14 May 2024 19:54:41 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3y2k0tfhpx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:41 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJscOT43057744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:40 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 49D1458061; Tue, 14 May 2024 19:54:38 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0C8A558075; Tue, 14 May 2024 19:54:38 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:37 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 8/9] dt-bindings: fsi: Document the AST2700 FSI master Date: Tue, 14 May 2024 14:54:34 -0500 Message-Id: <20240514195435.155372-9-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-GUID: t7V2V6cMVGUkOhyQ4PGWIWaNBWanbNFe X-Proofpoint-ORIG-GUID: t7V2V6cMVGUkOhyQ4PGWIWaNBWanbNFe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 adultscore=0 mlxscore=0 spamscore=0 clxscore=1015 mlxlogscore=986 bulkscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" Add the appropriate compatible string. Signed-off-by: Eddie James Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-maste= r.yaml b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.ya= ml index 2f531c47994bc..fcf7c4b93b78e 100644 --- a/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml +++ b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml @@ -17,6 +17,7 @@ properties: compatible: enum: - aspeed,ast2600-fsi-master + - aspeed,ast2700-fsi-master =20 reg: maxItems: 1 --=20 2.39.3 From nobody Tue Feb 10 20:47:19 2026 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 97C3C182C93; Tue, 14 May 2024 19:54: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=1715716496; cv=none; b=bftlikCgVWUKLJj/oRP3e4filHhbEjo5DvZrjxnHAUA9MZIAdOtkncfIBc3Sz41UY3xHa4zanb2/MEke5NVnZ/KcIgiZgq+PFlIChH0j53diEIPNLRQ0R4CJFN9uivCsJ4vBAUIXVvI3XKfLicg7U/dZQVvePO6uzhzsvJ793e8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715716496; c=relaxed/simple; bh=CUrJ5Gu3phSulzvatvhZSag83EpG0yxPg8pFVkgEFtw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WwS30yOr7vf86WkLJefO+zhTZQLCTr71qeP7QIH0yxvsWzk3oDOmDGa8z12bu++cypYMFkbINzuuN48BepN5DLnO7RDQy6BcjAtHk2cHDm4Qi779XshGfdD7888pp9KNggO30joegxC35fy929MnC/Pi6IUEQ2NxFlDkF3H966c= 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=Z6LTwj7/; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="Z6LTwj7/" Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44EIBlPs020468; Tue, 14 May 2024 19:54:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=i25QKyN7M2GvSJcgjQJBO7ej2MnuXeNYmIhBHP9S6sY=; b=Z6LTwj7/eUaGL2TraTWvZeOhJliGq/XpU54H6mEFa2jskv7vNP9FdCvN9OyhYGN2swpW HlE9R4H+zifSa+MvPFTtcauqVlwpEoFxzUm8fWwrPSXLHXsXyGB71/x6lJx7IXubeLP0 MMGMtV6H8cItJ+X/bxuZPqcwxYYa/0+5199XQvBqpG8MS/roDvjTkNiuETuP/wjkui6m TiZ92G/WycY/WR/EvQ7iwWH+ajRoSWy4YvVImrwql9cc0n3hFOUUSoOmC3rkF0TfhWTa LlT10XVGv05LO9y42AzIZxoYpZxlRTn2dRGqmTOjb+LBjAuUZQCtRd1tZuY3hoWXQUjo zw== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y4ckrg9nc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:43 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44EJAn7t005985; Tue, 14 May 2024 19:54:43 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y2mgmf7e3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 May 2024 19:54:43 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44EJsepE50463264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 19:54:42 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8651858063; Tue, 14 May 2024 19:54:38 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 51F7658077; Tue, 14 May 2024 19:54:38 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.107.19]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 May 2024 19:54:38 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eajames@linux.ibm.com, krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Subject: [PATCH v5 9/9] dt-bindings: fsi: Document the FSI Hub Controller Date: Tue, 14 May 2024 14:54:35 -0500 Message-Id: <20240514195435.155372-10-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240514195435.155372-1-eajames@linux.ibm.com> References: <20240514195435.155372-1-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 4oJYffjNeyyWYVNDqe-gJa_keUFAX_A4 X-Proofpoint-GUID: 4oJYffjNeyyWYVNDqe-gJa_keUFAX_A4 Content-Transfer-Encoding: quoted-printable 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.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_12,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 malwarescore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140142 Content-Type: text/plain; charset="utf-8" Document the FSI Hub Controller CFAM engine. Signed-off-by: Eddie James Reviewed-by: Krzysztof Kozlowski --- .../bindings/fsi/ibm,p9-fsi-controller.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-fsi-contro= ller.yaml diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-fsi-controller.ya= ml b/Documentation/devicetree/bindings/fsi/ibm,p9-fsi-controller.yaml new file mode 100644 index 0000000000000..29ea80ff915ef --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-fsi-controller.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-fsi-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached FSI Hub Controller + +maintainers: + - Eddie James + +description: + The FSI Hub Controller is an FSI controller, providing a number of FSI l= inks, + located on a CFAM. Therefore this node will always be a child of an FSI = CFAM + node. + +properties: + compatible: + enum: + - ibm,p9-fsi-controller + + reg: + items: + - description: FSI slave address + +allOf: + - $ref: fsi-controller.yaml# + +unevaluatedProperties: false + +examples: + - | + fsi@3400 { + compatible =3D "ibm,p9-fsi-controller"; + reg =3D <0x3400 0x400>; + #address-cells =3D <2>; + #size-cells =3D <0>; + + cfam@0,0 { + reg =3D <0 0>; + #address-cells =3D <1>; + #size-cells =3D <1>; + chip-id =3D <0>; + }; + }; --=20 2.39.3