Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp566381lqp; Wed, 22 May 2024 12:29:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVch1Y8KSjFSt1DeNGBzA14msb3WdRPPs9i016W+d89mLrf1P71J0xHdL3WwxzthmOtifbPjwyp09wqGiqN1MYOPVABtJKTiSs0kuEGVw== X-Google-Smtp-Source: AGHT+IEBgRxyLM0zCl11Rvo/KKUj7rjmlxl5GbDymiT1WM1VLGbg0ANUh0PQFc3sjYUclu1Xq/QO X-Received: by 2002:a50:8a84:0:b0:573:50d8:3fc0 with SMTP id 4fb4d7f45d1cf-578329dd62amr2002966a12.11.1716406151566; Wed, 22 May 2024 12:29:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716406151; cv=pass; d=google.com; s=arc-20160816; b=KgLtAizyDqgUR9cUwJlx+b6GGpZ+WRnA8fUoPfclFYeygHgWH7vsvCBzTxLqHjw3ko u6B1WLB/qPuZaURrEaPfgKAoE7AHcu+SxVrqaOvJK0Ms+KoonPskARwWY1qb1AwY5Lee 7T8KTzLALvViYdTdyxinbQrw962/Fr8ZHu4tQOiojbf2WdrUCMny6jBQSR9Cuv1N+rS7 sjgQZlshrT3QI9a3o4U7leLUXqMIa+OS+YjZ3t4TtS9TkPIEt+e2md8voz+NajWA9nlJ 6Get+ic9GJ/nvPxJyJ7c7kMixaBBowpMaX8PG7fi8Rjo6Nc8gecWdAzuVtrJZzeIU9Lf XCOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WrJOdbUhhAZwn9i/zoJWnFH2GnK6FZVl7c1t2eBgeek=; fh=fuUsOn8sqioWxqQMjS/Yz49SJoUsXedCpn3NrOQmAmg=; b=zYt/hRZH4vPrUfpySCo1thVxCDVKhCyM5TmwdwU44Bg+xltgBw0ZxJzTpi9pYXHui3 lJoiPvvlBdPXecHlqqnkrfbduMSv3CnGLJg9g+KnYE2ScnoezLFrjvHfF9AEOGypI+Js mnEAqS5q6ajtuDz9ooJ4+ap1vhwiyeSxYbq0f0H1wJjxII5AfolY4VVr91hv6mDwdkoD /Eqc0kcY8M8YV68GhaGikfZRa5hxjePGy9EBOJbluy/RHpUh77z+W6YvvWqB3zUcmUFe wEL1Zp8y4AnGQnhkHlrV+qEuYUp4avmNHN+05nFEy7/LGge9MiXhlbka3lLSJVMK65iR NCuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Cc5cBaiM; 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-186659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186659-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 4fb4d7f45d1cf-574ed8d62c2si9280605a12.665.2024.05.22.12.29.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 12:29:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186659-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=Cc5cBaiM; 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-186659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186659-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 4EFBC1F22459 for ; Wed, 22 May 2024 19:29:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB355149E12; Wed, 22 May 2024 19:26:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="Cc5cBaiM" 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 C8AE01487C5; Wed, 22 May 2024 19:26:45 +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=1716406007; cv=none; b=iq9TOkSg4fJMpBUBMmMDyF27JDfZDoGQ34C2ZWK/zLpxMG8tq2JYcpKIBgfXEg4MGKnY2907OmTbYcjXf+bl+qMG3XguUalX1wHw5yl7tQi8o4I4zW0Vz8av9q7yCoaih6A+4OiRbjtTd7wEFrvXFVUNYeJuZXocWsUNPzQUAsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716406007; c=relaxed/simple; bh=MgmavyiwRvK1P+4QsPjiFdsfvqwQJzCVEPdU8BJ47OY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uMEOaENIy14rpgbkLo+JSa0H7ICgu8M/O43VZokIUThYNnFCvyKpGjRPptstJ2Z+B9M42qrL6hvi7QvPK5yxHFwTWTeGRhHaLz05pZmhElNKIjj86W+0bzYG1IwUgCmUtz/pUdGMuvoP0K32bShmB4D/nAI+acEDz/2YAK2iEpA= 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=Cc5cBaiM; 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 (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44MHJT3x029312; Wed, 22 May 2024 19:25:32 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=WrJOdbUhhAZwn9i/zoJWnFH2GnK6FZVl7c1t2eBgeek=; b=Cc5cBaiM8WTcgHtEkXD9sRskY5qxYSc1l1xlUBYz4a4iN7+uOOO7cgCaSUs5eWMVq7uW OkqglzK0WFjcfMOHncjEScwPqoNsvGs5T8y98wyS1IijwXuqyiWyGS9DejXqoukkdq5/ CkgpZmMNIzgqcznRvCIUoc0tu1X+oJfh76DMWKn6FqhQvdkVTuSwiRdtsHTKKRdZBXvc zG6YB8ctAfy8wHszvVMXaj8m7/qosWkZfAzwc+S0a6yw+fHlwAxSW5/FGFpIFczNjOLx 6zqCocFzxBVXVxs8FBW1usbOAJ5xheExd+TxiPHDCCa01JD0N+NXbSMd3yiaQG2Ldplz EQ== 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 3y9n0cr8p4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 May 2024 19:25:32 +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 44MI4P2Q026457; Wed, 22 May 2024 19:25:31 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y785mnk92-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 May 2024 19:25:31 +0000 Received: from smtpav01.dal12v.mail.ibm.com (smtpav01.dal12v.mail.ibm.com [10.241.53.100]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44MJPSRi26083986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 May 2024 19:25:30 GMT Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4D8EB58062; Wed, 22 May 2024 19:25:28 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F3A1D58063; Wed, 22 May 2024 19:25:27 +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:27 +0000 (GMT) From: Eddie James To: linux-fsi@lists.ozlabs.org Cc: eajames@linux.ibm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ninad@linux.ibm.com, lakshmiy@us.ibm.com, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, linux-aspeed@lists.ozlabs.org, andrew@codeconstruct.com.au, joel@jms.id.au, robh@kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org, andi.shyti@kernel.org, broonie@kernel.org Subject: [PATCH v6 09/20] dt-bindings: fsi: Document the AST2700 FSI controller Date: Wed, 22 May 2024 14:25:13 -0500 Message-Id: <20240522192524.3286237-10-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240522192524.3286237-1-eajames@linux.ibm.com> References: <20240522192524.3286237-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: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 1KLFoWEtZ0oH0DXeAQHPylir24ZR1kwS X-Proofpoint-ORIG-GUID: 1KLFoWEtZ0oH0DXeAQHPylir24ZR1kwS 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 priorityscore=1501 malwarescore=0 bulkscore=0 spamscore=0 mlxlogscore=950 clxscore=1015 phishscore=0 adultscore=0 mlxscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405220134 Add the appropriate compatible string, and document the new reg properties of the AST2700 FSI controller, which can directly access the FSI controller registers as well as the FSI link address space. Signed-off-by: Eddie James Acked-by: Krzysztof Kozlowski --- Changes since v5: - Add the AST2700-specific regs properties since that controller can map the FSI control registers and FSI link space. .../fsi/aspeed,ast2600-fsi-master.yaml | 47 +++++++++++++++++-- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml index 2f531c47994bc..dfcc2fafa68dc 100644 --- a/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml +++ b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml @@ -17,9 +17,7 @@ properties: compatible: enum: - aspeed,ast2600-fsi-master - - reg: - maxItems: 1 + - aspeed,ast2700-fsi-master clocks: maxItems: 1 @@ -42,6 +40,30 @@ properties: interrupts: maxItems: 1 +if: + properties: + compatible: + contains: + enum: + - aspeed,ast2600-fsi-master +then: + properties: + reg: + maxItems: 1 +else: + properties: + reg: + minItems: 1 + items: + - description: OPB control registers + - description: FSI controller registers + - description: FSI link address space + reg-names: + items: + - const: opb + - const: ctrl + - const: fsi + required: - compatible - reg @@ -78,3 +100,22 @@ examples: chip-id = <0>; }; }; + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + fsi-master@21800000 { + compatible = "aspeed,ast2700-fsi-master"; + reg = <0x0 0x21800000 0x0 0x100>, + <0x0 0x21000000 0x0 0x1000>, + <0x0 0x20000000 0x0 0x1000000>; + reg-names = "opb", "ctrl", "fsi"; + #interrupt-cells = <1>; + interrupt-controller; + interrupts-extended = <&intc 6>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fsi0_default>; + clocks = <&syscon 40>; + }; + }; -- 2.39.3