From patchwork Wed May 22 19:25:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie James X-Patchwork-Id: 1938035 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=UxiuWUin; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) by legolas.ozlabs.org (Postfix) with ESMTP id 4Vl1lV4vkTz20dk for ; Thu, 23 May 2024 05:36:54 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=UxiuWUin; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Vl1Wp5yxTz3vXT for ; Thu, 23 May 2024 05:26:46 +1000 (AEST) X-Original-To: linux-fsi@lists.ozlabs.org Delivered-To: linux-fsi@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=UxiuWUin; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=eajames@linux.ibm.com; receiver=lists.ozlabs.org) 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 lists.ozlabs.org (Postfix) with ESMTPS id 4Vl1Wh24mtz3cQT; Thu, 23 May 2024 05:26:40 +1000 (AEST) Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44MHpcen031804; Wed, 22 May 2024 19:25:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=4O0KXmVxqQ/nEbQcg75MKrY7DSmGSfEqH5ngODiVShM=; b=UxiuWUinbnsL7i5xtcyckpcta43Qd/jrVxnlAEwDjJvhrQkRYVepoNoJySLeQqKLkhru oPQCN/5NzQHgQMFGcfkLZV/Eu+sQulH4VAJamLetWWlq8k4l7ttlke1dci3sp7KGGz4g AahsKuqX4FA6v/Axaxow9UOayebk0j9r7ZWb49xndN1G4D6f7y0hveCveotHm4gTmGxS 87NJzqD0sRomm5pEJIi/4rQX01yggPZdXJO5JZ2TGYsMfdDqiWOA23hJ4PeFdK78Bjq8 KtBZhsSuuRzocI5vPoXNnmITw4N/8xKgHqIUUxCy+jweeUM1Tir0E8lDHaLBH4wbaRDZ Mw== 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 3y9n4888qb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 May 2024 19:25:29 +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 44MHxr02023459; Wed, 22 May 2024 19:25:28 GMT Received: from smtprelay03.dal12v.mail.ibm.com ([172.16.1.5]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y77npdqqj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 May 2024 19:25:28 +0000 Received: from smtpav01.dal12v.mail.ibm.com (smtpav01.dal12v.mail.ibm.com [10.241.53.100]) by smtprelay03.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44MJPPmj48628022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 May 2024 19:25:27 GMT Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1226B58062; Wed, 22 May 2024 19:25:25 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B7A1158058; Wed, 22 May 2024 19:25:24 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.104.209]) by smtpav01.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 22 May 2024 19:25:24 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Subject: [PATCH v6 00/20] ARM: dts: aspeed: Add IBM P11 BMC systems Date: Wed, 22 May 2024 14:25:04 -0500 Message-Id: <20240522192524.3286237-1-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: KMrRXu8D_-doA88aFy8atl110pbX3gvW X-Proofpoint-ORIG-GUID: KMrRXu8D_-doA88aFy8atl110pbX3gvW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-22_10,2024-05-22_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 impostorscore=0 suspectscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=642 mlxscore=0 phishscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405220134 X-BeenThere: linux-fsi@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, linux-aspeed@lists.ozlabs.org, robh@kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, ninad@linux.ibm.com, broonie@kernel.org, linux-i2c@vger.kernel.org, lakshmiy@us.ibm.com, krzk+dt@kernel.org, andrew@codeconstruct.com.au Errors-To: linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "linux-fsi" Add the Blueridge and Fuji BMC systems. Document many missing FSI related properties, and fix existing warnings. Make some minor fixes in OCC and SCOM drivers for the updated bindings. Changes since v5: - Switch from clock-frequency to bus-frequency for common FSI controller properties - Add reg properties for AST2700 FSI controller - Fix patternProperties for i2c bus nodes under FSI-based I2C controller - Add bus-frequency for P11 FSI device tree node - Change model name from Blueridge to Blueridge 2U - Add missing reset gpio to led controller on Fuji - Add Huygens (Rainier with modified FSI wiring) Eddie James (20): spi: dt-bindings: Document the IBM FSI-attached SPI controller dt-bindings: fsi: fsi2spi: Document SPI controller child nodes dt-bindings: fsi: Document the IBM SCOM engine dt-bindings: fsi: p9-occ: Convert to json-schema dt-bindings: fsi: Document the IBM SBEFIFO engine dt-bindings: fsi: Document the FSI controller common properties dt-bindings: fsi: ibm,i2cr-fsi-master: Reference common FSI controller dt-bindings: fsi: ast2600-fsi-master: Convert to json-schema dt-bindings: fsi: Document the AST2700 FSI controller dt-bindings: fsi: Document the FSI Hub Controller dt-bindings: i2c: i2c-fsi: Convert to json-schema dt-bindings: arm: aspeed: add IBM P11 BMC boards ARM: dts: aspeed: Add IBM P11 FSI devices ARM: dts: aspeed: Add IBM P11 Blueridge BMC system ARM: dts: aspeed: Add IBM P11 Blueridge 4U BMC system ARM: dts: aspeed: Add IBM P11 Fuji BMC system ARM: dts: aspeed: Add IBM Huygens BMC system fsi: occ: Get device number from FSI minor number API fsi: occ: Find next available child rather than node name match fsi: scom: Update compatible string to match documentation .../bindings/arm/aspeed/aspeed.yaml | 2 + .../fsi/aspeed,ast2600-fsi-master.yaml | 121 + .../bindings/fsi/fsi-controller.yaml | 66 + .../bindings/fsi/fsi-master-aspeed.txt | 36 - .../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 36 +- .../bindings/fsi/ibm,i2cr-fsi-master.yaml | 5 +- .../bindings/fsi/ibm,p9-fsi-controller.yaml | 45 + .../devicetree/bindings/fsi/ibm,p9-occ.txt | 16 - .../devicetree/bindings/fsi/ibm,p9-occ.yaml | 40 + .../bindings/fsi/ibm,p9-sbefifo.yaml | 46 + .../devicetree/bindings/fsi/ibm,p9-scom.yaml | 37 + .../devicetree/bindings/i2c/i2c-fsi.txt | 40 - .../devicetree/bindings/i2c/ibm,i2c-fsi.yaml | 76 + .../devicetree/bindings/spi/ibm,spi-fsi.yaml | 55 + MAINTAINERS | 2 +- arch/arm/boot/dts/aspeed/Makefile | 3 + .../aspeed/aspeed-bmc-ibm-blueridge-4u.dts | 21 + .../dts/aspeed/aspeed-bmc-ibm-blueridge.dts | 1691 +++++++ .../boot/dts/aspeed/aspeed-bmc-ibm-fuji.dts | 3881 +++++++++++++++++ .../dts/aspeed/aspeed-bmc-ibm-huygens.dts | 23 + .../arm/boot/dts/aspeed/ibm-power11-quad.dtsi | 1539 +++++++ drivers/fsi/fsi-occ.c | 49 +- drivers/fsi/fsi-scom.c | 1 + 23 files changed, 7694 insertions(+), 137 deletions(-) create mode 100644 Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml create mode 100644 Documentation/devicetree/bindings/fsi/fsi-controller.yaml delete mode 100644 Documentation/devicetree/bindings/fsi/fsi-master-aspeed.txt create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-fsi-controller.yaml delete mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt create mode 100644 Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml create mode 100644 Documentation/devicetree/bindings/spi/ibm,spi-fsi.yaml create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge-4u.dts create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge.dts create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-fuji.dts create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-huygens.dts create mode 100644 arch/arm/boot/dts/aspeed/ibm-power11-quad.dtsi Reviewed-by: Ninad Palsule