From nobody Sun Oct 5 16:15:46 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CC8526C3A7; Thu, 31 Jul 2025 22:12:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999961; cv=none; b=T0h2vP4yd/McqOLTrBu2dt72nsoOdy4GP3cB3gmoj6wlsrNuaIlb1lxrL4B0tG8gbw8HQHT5ITUrH+mrBWbqeRq9JtFlZdMTeGpEH7s4SlJXP6vFjwDS7zZlTyNWi6k8gehoyf8T29K1benApOA5tvNv55p/Ivjyeatb8nIZvdI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999961; c=relaxed/simple; bh=cfyyeN6Mb/ojJhksgCO4DWogxFkAIMP5MsCuIL3s2YA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D9P5tr8l+/pjFv3mb5xW67+0p8ewPnSGSEGNpuPAY+wbSt0bBwys8t/sgGyI8EJbu1pyfpekxPFr4tXsFlf7HfuCFD/LtoCv7tvj56Bd4OS/UO48dk+m6ld5jEfyfkKIaxyWGm1RtwyBcjCgL6/bQoYCdlvaYdFGje4L7E59aJo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=r8+yQ7J9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="r8+yQ7J9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA040C4CEEF; Thu, 31 Jul 2025 22:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753999960; bh=cfyyeN6Mb/ojJhksgCO4DWogxFkAIMP5MsCuIL3s2YA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=r8+yQ7J97MSgjECdZIEpPz29v94q0XLnMmAmK2wKV/FeSbIh3sAdiodOLVBHToGsa JyE7pZIcE2Ub9FFFAZTd6zo7jKpRSLN+0dJVSoeeR9IA8uiclLH99KXbDgwCOa+L9c zR8d2LIhi089je4vkNYTVcG39wWMQSQT0atXVG09MCB8IBLeX2+dlc2dU4kCiyMeAM MDZiTuwsPs9csc/aiQTANOSooPHM1VbPYrvNKdJadQ5Ds+UWUMEnCU1gogLjfl4QsL KuC59InQMObYKalpvPNkwqKwDqLffkwDooCVXzA9uIxkmhMW6vDZfugLL+Lwos32Hu QvYjfh2eNYuaA== From: "Rob Herring (Arm)" Date: Thu, 31 Jul 2025 17:12:18 -0500 Subject: [PATCH 1/6] ARM: dts: aspeed: Drop "no-gpio-delays" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250731-dt-fsi-cleanups-v1-1-e7b695a29fc3@kernel.org> References: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> In-Reply-To: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> To: Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Eddie James , Ninad Palsule Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org X-Mailer: b4 0.15-dev The "no-gpios-delays" property only applies to the "fsi-master-gpio" binding and not the "aspeed,ast2[45]00-cf-fsi-master" binding. It doesn't really make sense either as the timing is controlled by the offloaded firmware. Signed-off-by: Rob Herring (Arm) Acked-by: Eddie James --- arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts | 1 - arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts | 1 - arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts b/arch= /arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts index 78a5656ef75d..f42254ba6aeb 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts @@ -57,7 +57,6 @@ fsi: gpio-fsi { compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; - no-gpio-delays; =20 memory-region =3D <&coldfire_memory>; aspeed,sram =3D <&sram>; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts b/arch/arm/= boot/dts/aspeed/aspeed-bmc-opp-nicole.dts index b1d0ff85d397..e5b8d07e7622 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts @@ -80,7 +80,6 @@ fsi: gpio-fsi { compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; - no-gpio-delays; =20 memory-region =3D <&coldfire_memory>; aspeed,sram =3D <&sram>; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts b/arch/arm= /boot/dts/aspeed/aspeed-bmc-opp-romulus.dts index 24df24ad9c80..2180fa9b6f24 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts @@ -71,7 +71,6 @@ fsi: gpio-fsi { compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; - no-gpio-delays; =20 memory-region =3D <&coldfire_memory>; aspeed,sram =3D <&sram>; --=20 2.47.2 From nobody Sun Oct 5 16:15:46 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 197EF26E70D; Thu, 31 Jul 2025 22:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999962; cv=none; b=cfBm5iJHjxz3sj40MmP5yCaAMkiixhzYw2sDLsn1I5xR4zLxGZClXKS53S1V0TIUVhxni+l07NNl7eZhYcyEQCYdfWntCmjisy8C8noaCG85fEKFROP7S5KbLsg3BGCVzc7sRNV9TskmNwIpkBBz/AFvGOIh2Nrrv+jma8gcbhY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999962; c=relaxed/simple; bh=iCHNz13YFPJI2rv/3E+irLxUkOjyMiI3w+ZxRLbSXwE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eVPErCHgYNobOjCOV7V8wryZz99/kIqCSiiROP7zv1Dl1sXM1xS0zw8gJLtv4mhlHBA/w83lTVHWon8ueP002LE0vwYmFp7D5DdreMLYQOFY3UWDVHXpLun2g3NzDryVm53bhFEFnGES/7yNnpc6d9wVhjS1x2B/qtPSQM3VU7k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z+a4eReZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z+a4eReZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CDCAC4CEF4; Thu, 31 Jul 2025 22:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753999961; bh=iCHNz13YFPJI2rv/3E+irLxUkOjyMiI3w+ZxRLbSXwE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Z+a4eReZzye57rk5zFrxJ5GDtFDgGuQS/b9abZkgO+BdyRHsuYPzE3WLL+dcYEgru j94N2eV/OcsgxYGafKlFM8lOU3JadX0QQEkZiuWyE6lgUeZ1+bOeGeEmbNxBMt0CVt uwmxI8ja/wfpgU9w4/Es+PrIBob98dsT/GF9BSZGI3zACQ8psN6q0fwQ+SUedklnQX Gf2iafV3MT9EgGbciiO9e2EaDtdOBQ+7KjMnHg7y9TxeN0WLxtoJUSS+TgJT4xmAf9 +bpMzIsYhbggtOZf4FpksBsDiXD0p7C8FhGuc8aYO/f1w1fpaXkj+UCgMbBdsUwu4n eWSjQ+BzkpLMg== From: "Rob Herring (Arm)" Date: Thu, 31 Jul 2025 17:12:19 -0500 Subject: [PATCH 2/6] ARM: dts: aspeed: Drop "fsi-master" compatibles Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250731-dt-fsi-cleanups-v1-2-e7b695a29fc3@kernel.org> References: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> In-Reply-To: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> To: Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Eddie James , Ninad Palsule Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org X-Mailer: b4 0.15-dev The "fsi-master" compatible has been used inconsistently on FSI masters. It doesn't have any real use or meaning, so it's easier to drop it everywhere than add it where missing. It is also not documented by any schemas (only .txt bindings). Signed-off-by: Rob Herring (Arm) Acked-by: Eddie James --- arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-lanyang.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-mowgli.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-swift.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-witherspoon.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.dts | 2 +- arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts b/arch= /arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts index f42254ba6aeb..79c6919b3570 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-inspur-fp5280g2.dts @@ -54,7 +54,7 @@ video_engine_memory: jpegbuffer { }; =20 fsi: gpio-fsi { - compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; + compatible =3D "aspeed,ast2500-cf-fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-lanyang.dts b/arch/arm= /boot/dts/aspeed/aspeed-bmc-opp-lanyang.dts index 370738572a55..87acbfc0a1b7 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-lanyang.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-lanyang.dts @@ -63,7 +63,7 @@ sys_err { }; =20 fsi: gpio-fsi { - compatible =3D "fsi-master-gpio", "fsi-master"; + compatible =3D "fsi-master-gpio"; #address-cells =3D <2>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-mowgli.dts b/arch/arm/= boot/dts/aspeed/aspeed-bmc-opp-mowgli.dts index 31ff19ef87a0..6c8b966ffccc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-mowgli.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-mowgli.dts @@ -165,7 +165,7 @@ fan4 { }; =20 fsi: gpio-fsi { - compatible =3D "fsi-master-gpio", "fsi-master"; + compatible =3D "fsi-master-gpio"; #address-cells =3D <2>; #size-cells =3D <0>; no-gpio-delays; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts b/arch/arm/= boot/dts/aspeed/aspeed-bmc-opp-nicole.dts index e5b8d07e7622..1b7c25e307bc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dts @@ -77,7 +77,7 @@ attention { }; =20 fsi: gpio-fsi { - compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; + compatible =3D "aspeed,ast2500-cf-fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dts b/arch/ar= m/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dts index 45631b47a7b3..c7aa14034dc0 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dts @@ -55,7 +55,7 @@ identify { }; =20 fsi: gpio-fsi { - compatible =3D "aspeed,ast2400-cf-fsi-master", "fsi-master"; + compatible =3D "aspeed,ast2400-cf-fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts b/arch/arm= /boot/dts/aspeed/aspeed-bmc-opp-romulus.dts index 2180fa9b6f24..3c03204869e7 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dts @@ -68,7 +68,7 @@ power { }; =20 fsi: gpio-fsi { - compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; + compatible =3D "aspeed,ast2500-cf-fsi-master"; #address-cells =3D <2>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-swift.dts b/arch/arm/b= oot/dts/aspeed/aspeed-bmc-opp-swift.dts index a0e8c97e944a..39d0fe46fd9e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-swift.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-swift.dts @@ -200,7 +200,7 @@ rear-id { }; =20 fsi: gpio-fsi { - compatible =3D "fsi-master-gpio", "fsi-master"; + compatible =3D "fsi-master-gpio"; #address-cells =3D <2>; #size-cells =3D <0>; no-gpio-delays; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-witherspoon.dts b/arch= /arm/boot/dts/aspeed/aspeed-bmc-opp-witherspoon.dts index 8b1e82c8cdfe..89907b628b65 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-witherspoon.dts @@ -173,7 +173,7 @@ power-button { }; =20 fsi: gpio-fsi { - compatible =3D "fsi-master-gpio", "fsi-master"; + compatible =3D "fsi-master-gpio"; #address-cells =3D <2>; #size-cells =3D <0>; no-gpio-delays; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.dts b/arch/arm/b= oot/dts/aspeed/aspeed-bmc-opp-zaius.dts index 9904f0a58cfa..9b49b0aa8b35 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.dts @@ -96,7 +96,7 @@ hdd_fault { }; =20 fsi: gpio-fsi { - compatible =3D "fsi-master-gpio", "fsi-master"; + compatible =3D "fsi-master-gpio"; #address-cells =3D <2>; #size-cells =3D <0>; no-gpio-delays; diff --git a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g6.dtsi index 8ed715bd53aa..acdb6ae74b27 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi @@ -847,7 +847,7 @@ i2c: bus@1e78a000 { =20 fsim0: fsi@1e79b000 { #interrupt-cells =3D <1>; - compatible =3D "aspeed,ast2600-fsi-master", "fsi-master"; + compatible =3D "aspeed,ast2600-fsi-master"; reg =3D <0x1e79b000 0x94>; interrupts =3D ; pinctrl-names =3D "default"; @@ -859,7 +859,7 @@ fsim0: fsi@1e79b000 { =20 fsim1: fsi@1e79b100 { #interrupt-cells =3D <1>; - compatible =3D "aspeed,ast2600-fsi-master", "fsi-master"; + compatible =3D "aspeed,ast2600-fsi-master"; reg =3D <0x1e79b100 0x94>; interrupts =3D ; pinctrl-names =3D "default"; --=20 2.47.2 From nobody Sun Oct 5 16:15:46 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB34B270542; Thu, 31 Jul 2025 22:12:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999962; cv=none; b=uDiiKdG3ENYCEAitDcVyo8UeK/dCesLH4ygECWVer8cjhQv2gANh9b4m4wof0pShxFjJgimvuNAkA6PYpUHGL5Ta2cwy0NMxvkHrJFRN+Lo3iHLb+xn+VnFYBV6LvQC3ARasdEdRntqoMufMWvAUBvnQRaNftvq0eSRuKIR6zFo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999962; c=relaxed/simple; bh=tdDkXmNUX4O3VWO9zUljpRGtZvcgIcgJ0oBAw1ujc0A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GwG7rnfZl156caUvIRsa0QnXID85yVOb1lRsBReQ/vcxYwO7tRchSb6wjPcieeeS4La52jEV3DFPBGpTb0Ya5dmQJ7dHHx4U9brWtif3gexe+8En9JfAe0MOk7Jld4Yxq49C1LSPJJty3dGCbMklIDISJNu/I77nYVS7cZIYXrw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=g35nxxeU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g35nxxeU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 714F7C4CEF4; Thu, 31 Jul 2025 22:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753999962; bh=tdDkXmNUX4O3VWO9zUljpRGtZvcgIcgJ0oBAw1ujc0A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=g35nxxeUbz4f/mQmvW8Q5iBzd6861+826jXm8MYGFoj1apAVSoWQCnKon2dnihV44 lj10o/xd8zFe7SyTPXXwnm+1m3cXx8nOf+yOXNE8GQulwcpVymZTTnrs+PMch7p4EJ pslA2XsT3ik9C1pZU/kju+bPppN2G3sad396d38wo3yqZsFrtYyY1jBmobbRt9mGHI r23bvPynjzG/Y6Fuo6nuTsNtEpePsji9uRj51gVF8YEKilo7U3S0rYPEu/wGxvbsjh W7JlyjmEaacyN+qJtBzQsx2EAGAcgYXLAEKZig6a5omNNzZ3E+S5vKI487twBQtf6n b05zlMAaGn8lA== From: "Rob Herring (Arm)" Date: Thu, 31 Jul 2025 17:12:20 -0500 Subject: [PATCH 3/6] ARM: dts: aspeed: Add missing "ibm,spi-fsi" compatibles Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250731-dt-fsi-cleanups-v1-3-e7b695a29fc3@kernel.org> References: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> In-Reply-To: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> To: Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Eddie James , Ninad Palsule Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org X-Mailer: b4 0.15-dev The "ibm,spi-fsi" compatible is missing or incorrect in various nodes. The incorrect cases used the "ibm,fsi2spi" compatible by mistake which is the parent node of the actual SPI controller nodes. Signed-off-by: Rob Herring (Arm) Acked-by: Eddie James --- .../arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts | 24 ++++++++++++++----= ---- arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi | 12 +++++++---- arch/arm/boot/dts/aspeed/ibm-power10-quad.dtsi | 12 +++++++---- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts b/arch/arm= /boot/dts/aspeed/aspeed-bmc-ibm-everest.dts index 9961508ee872..52a044b1e454 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts @@ -2808,6 +2808,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam4_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -2824,6 +2825,7 @@ eeprom@0 { }; =20 cfam4_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -2840,8 +2842,8 @@ eeprom@0 { }; =20 cfam4_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -2857,8 +2859,8 @@ eeprom@0 { }; =20 cfam4_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -3181,6 +3183,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam5_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -3197,6 +3200,7 @@ eeprom@0 { }; =20 cfam5_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -3213,8 +3217,8 @@ eeprom@0 { }; =20 cfam5_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -3230,8 +3234,8 @@ eeprom@0 { }; =20 cfam5_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -3554,6 +3558,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam6_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -3570,6 +3575,7 @@ eeprom@0 { }; =20 cfam6_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -3586,8 +3592,8 @@ eeprom@0 { }; =20 cfam6_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -3603,8 +3609,8 @@ eeprom@0 { }; =20 cfam6_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -3927,6 +3933,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam7_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -3943,6 +3950,7 @@ eeprom@0 { }; =20 cfam7_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -3959,8 +3967,8 @@ eeprom@0 { }; =20 cfam7_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -3976,8 +3984,8 @@ eeprom@0 { }; =20 cfam7_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi b/arch/arm/boot= /dts/aspeed/ibm-power10-dual.dtsi index 07ce3b2bc62a..06fac236773f 100644 --- a/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi +++ b/arch/arm/boot/dts/aspeed/ibm-power10-dual.dtsi @@ -82,6 +82,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam0_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -98,6 +99,7 @@ eeprom@0 { }; =20 cfam0_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -114,8 +116,8 @@ eeprom@0 { }; =20 cfam0_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -131,8 +133,8 @@ eeprom@0 { }; =20 cfam0_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -249,6 +251,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam1_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -265,6 +268,7 @@ eeprom@0 { }; =20 cfam1_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -281,8 +285,8 @@ eeprom@0 { }; =20 cfam1_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -298,8 +302,8 @@ eeprom@0 { }; =20 cfam1_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 diff --git a/arch/arm/boot/dts/aspeed/ibm-power10-quad.dtsi b/arch/arm/boot= /dts/aspeed/ibm-power10-quad.dtsi index 57494c744b5d..9501f66d0030 100644 --- a/arch/arm/boot/dts/aspeed/ibm-power10-quad.dtsi +++ b/arch/arm/boot/dts/aspeed/ibm-power10-quad.dtsi @@ -733,6 +733,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam2_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -749,6 +750,7 @@ eeprom@0 { }; =20 cfam2_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -765,8 +767,8 @@ eeprom@0 { }; =20 cfam2_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -782,8 +784,8 @@ eeprom@0 { }; =20 cfam2_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -1106,6 +1108,7 @@ fsi2spi@1c00 { #size-cells =3D <0>; =20 cfam3_spi0: spi@0 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x0>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -1122,6 +1125,7 @@ eeprom@0 { }; =20 cfam3_spi1: spi@20 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x20>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -1138,8 +1142,8 @@ eeprom@0 { }; =20 cfam3_spi2: spi@40 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x40>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -1155,8 +1159,8 @@ eeprom@0 { }; =20 cfam3_spi3: spi@60 { + compatible =3D "ibm,spi-fsi"; reg =3D <0x60>; - compatible =3D "ibm,fsi2spi"; #address-cells =3D <1>; #size-cells =3D <0>; =20 --=20 2.47.2 From nobody Sun Oct 5 16:15:46 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0E7C276059; Thu, 31 Jul 2025 22:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999965; cv=none; b=iVVRH3q71ETLEIWXORteSjuDlfN+pf10gqWmriSKdyDSxzM81o5h11rVQj89FvIFCzYgUkpCUvBroFw4vVmdzz276Mdy5ESAtdIC1D+IkBy5U5t5OvKveh7uhqvI4VO2gl2QTcxbtTqvWKNxcxiNKyKIXerOgZphkJBsNW4eouY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999965; c=relaxed/simple; bh=hPXs+VvV1Z0lvnVsLb9P/CrQ7tEFhXZWjhaO05I861c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RmVLC7uyKYw2JNPCfXhPol+3XqbtAVTLsaTXwBqWDrPBv1/BtSRdzZZR6y6VBuTbDImBpIR5hyFNyTXNdeIOojd4HABRIKcOAS9oEU5R78x3DywaTD5ADR4LJaX30QhOOqOgaiC6qQTMDmHs9D54gr+1Mua8s5BECGcPgsUZypA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iCvpK9I8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iCvpK9I8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50176C4CEF8; Thu, 31 Jul 2025 22:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753999963; bh=hPXs+VvV1Z0lvnVsLb9P/CrQ7tEFhXZWjhaO05I861c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=iCvpK9I82kPhEpK8t1h0Ne7/It67WKDWjCgnmWYXCS/tRB8rDtmureWGGG9qIRa8R Mj87Ii6KoBomAr9zGp3jVH8ws2BgF0nXYrQQSOcRxe7pZUQmtNh0Mz9NiiZK+7vG2i iiCJPiHuoiCmz/VY+BLz5EsGGj5wVQrnM4yjo+s+EWWCpZWytDQRTj+3kIKJE8NTwc YxuhxrvavW3NHcI6J+fmgoSeKmDvCxaFoVF7IgE0HNEEiLyTCHeFDbu8JrOg3CHx7c DziRGP44pSyglPL5umjP3Fd4W77aCbZCJox7ncqdJd5F63fpMBYK5fh0zKT4LvD7/C bXxP3k5x87i9g== From: "Rob Herring (Arm)" Date: Thu, 31 Jul 2025 17:12:21 -0500 Subject: [PATCH 4/6] MAINTAINERS: Add FSI bindings to FSI subsystem entry Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250731-dt-fsi-cleanups-v1-4-e7b695a29fc3@kernel.org> References: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> In-Reply-To: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> To: Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Eddie James , Ninad Palsule Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org X-Mailer: b4 0.15-dev Maintainers of a subsystem should also be the maintainer for corresponding DT bindings. Add the FSI bindings to the FSI subsystem entry. Signed-off-by: Rob Herring (Arm) Acked-by: Eddie James --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a92290fffa16..4a7b4656822c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9810,6 +9810,7 @@ R: Ninad Palsule L: linux-fsi@lists.ozlabs.org S: Supported Q: http://patchwork.ozlabs.org/project/linux-fsi/list/ +F: Documentation/devicetree/bindings/fsi/ F: drivers/fsi/ F: include/linux/fsi*.h F: include/trace/events/fsi*.h --=20 2.47.2 From nobody Sun Oct 5 16:15:46 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65A38275867; Thu, 31 Jul 2025 22:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999964; cv=none; b=fjTAfTz1UOpLlRPisPs1Sd9YUFjC/QokFGWXita0oWBwnSAwpGguu6xHChK5oUuCFUvgLekk2VjDehgkG3tSW/Ub/3wwDKDl6xeDRF0B0Oej6wzI2rbwJTeKVd3UEQytlrqVuxLEM5zehH/Wk+IQjynFH3DrJXbC9+EE6k2ujAI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999964; c=relaxed/simple; bh=0kFL/C/HEWZ7M63kG+iOdTn4GO2S1xBbGOGTtJ8z7AU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Cut1sk+yE+AxyjvIYzLezderFQ1PPOVhPbAS0+opWgWRi2m5JZvR15Ryp4LhFgA4hvGeGmzi5sIokpSc/tmK0FUUF4D78eVuLJRBczTT1jZ3SxHV6fApdR/kTY+FyxjDeqL3j9ejJMT8i0C5vBJUG4PbjQw4XOVzlGZIkNR+PZA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NSufTE42; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NSufTE42" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DE92C4CEEF; Thu, 31 Jul 2025 22:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753999964; bh=0kFL/C/HEWZ7M63kG+iOdTn4GO2S1xBbGOGTtJ8z7AU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NSufTE42qvM3qg+eoMVzRekmq5HV2zU9DsPTV8PcbUnk49s3/opccp9/r9nRriXgw DfePqI1+sRuRDtI6hXXQcIBcbwMOHQ84oVunKRVMq/mWGjhaU6WVRgrAt9DEZld6k/ yJFyW0NhLIZqoU+FBDxvijhVyqZfVn+Ah31oNJyjfyJjpxLHRZkbFGrydB0fLx+vFI i2bB+B/Bt8a1qxDu3NSZjDYrlqTwZh1q3DO1AqQiAJPMufBUI7qDBvfzlg3z3ItNLu FBKPrtcbhMbI+VmIpBxNI68r85IMFrhmBbRFQ8ZamDDj90JEmJq0tc/ZeeeRO3Yn7o NjnK6AoKUlPOg== From: "Rob Herring (Arm)" Date: Thu, 31 Jul 2025 17:12:22 -0500 Subject: [PATCH 5/6] dt-bindings: fsi: Convert fsi-master-gpio to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250731-dt-fsi-cleanups-v1-5-e7b695a29fc3@kernel.org> References: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> In-Reply-To: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> To: Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Eddie James , Ninad Palsule Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org X-Mailer: b4 0.15-dev Convert the GPIO-based FSI master binding to DT schema format. Drop the "fsi-master" compatible as it has not be used consistently and doesn't represent anything. Signed-off-by: Rob Herring (Arm) Acked-by: Eddie James --- .../devicetree/bindings/fsi/fsi-master-gpio.txt | 28 ---------- .../devicetree/bindings/fsi/fsi-master-gpio.yaml | 63 ++++++++++++++++++= ++++ 2 files changed, 63 insertions(+), 28 deletions(-) diff --git a/Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt b/Do= cumentation/devicetree/bindings/fsi/fsi-master-gpio.txt deleted file mode 100644 index 1e442450747f..000000000000 --- a/Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt +++ /dev/null @@ -1,28 +0,0 @@ -Device-tree bindings for gpio-based FSI master driver ------------------------------------------------------ - -Required properties: - - compatible =3D "fsi-master-gpio"; - - clock-gpios =3D ; : GPIO for FSI clock - - data-gpios =3D ; : GPIO for FSI data signal - -Optional properties: - - enable-gpios =3D ; : GPIO for enable signal - - trans-gpios =3D ; : GPIO for voltage translator enable - - mux-gpios =3D ; : GPIO for pin multiplexing with other - functions (eg, external FSI mast= ers) - - no-gpio-delays; : Don't add extra delays between GPIO - accesses. This is useful when th= e HW - GPIO block is running at a low enough - frequency. - -Examples: - - fsi-master { - compatible =3D "fsi-master-gpio", "fsi-master"; - clock-gpios =3D <&gpio 0>; - data-gpios =3D <&gpio 1>; - enable-gpios =3D <&gpio 2>; - trans-gpios =3D <&gpio 3>; - mux-gpios =3D <&gpio 4>; - } diff --git a/Documentation/devicetree/bindings/fsi/fsi-master-gpio.yaml b/D= ocumentation/devicetree/bindings/fsi/fsi-master-gpio.yaml new file mode 100644 index 000000000000..21bfbad595b3 --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/fsi-master-gpio.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/fsi-master-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: fsi-master-gpio + +maintainers: + - Eddie James + +allOf: + - $ref: /schemas/fsi/fsi-controller.yaml + +properties: + compatible: + items: + - const: fsi-master-gpio + + clock-gpios: + description: GPIO for FSI clock + maxItems: 1 + + data-gpios: + description: GPIO for FSI data signal + maxItems: 1 + + enable-gpios: + description: GPIO for enable signal + maxItems: 1 + + trans-gpios: + description: GPIO for voltage translator enable + maxItems: 1 + + mux-gpios: + description: GPIO for pin multiplexing with other functions (eg, exter= nal + FSI masters) + maxItems: 1 + + no-gpio-delays: + description: + Don't add extra delays between GPIO accesses. This is useful when th= e HW + GPIO block is running at a low enough frequency. + type: boolean + +required: + - compatible + - clock-gpios + - data-gpios + +unevaluatedProperties: false + +examples: + - | + fsi-master { + compatible =3D "fsi-master-gpio"; + clock-gpios =3D <&gpio 0>; + data-gpios =3D <&gpio 1>; + enable-gpios =3D <&gpio 2>; + trans-gpios =3D <&gpio 3>; + mux-gpios =3D <&gpio 4>; + }; --=20 2.47.2 From nobody Sun Oct 5 16:15:46 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 367B7277C9E; Thu, 31 Jul 2025 22:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999965; cv=none; b=bIS8yf5atPdMp08sNTeI5uDpDvEd8pTmJHYMglBqPwS3sy/IVWsQ/pWVxB9p4Evu8B4DGWNFBi6m5Dwk0YpaLpQkQFUkl8pamCfJVcpxSfqsDFKm+HULLz0qmtF090O+r54qVxG31AMsi6WMdR3itXAmGwV6itqirX4HccdFOX0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753999965; c=relaxed/simple; bh=ynT/7P19nBEbnk4v3wUHrwMTXAlpxpXmfSbDLW7QBow=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XVq0IJX1meJ1r1TxN/jL5KotF7XtGHN3O8FxCNeQK/Kg935bHNb3haeHPUemDoJrKC/wDM6F7psjbccI+0P9yzC6sYBAGkjoMztDO5zPOlJZQo/KdzG+v9tY8VTRaHXM+IfRXimSSypwMG/cUAtGKm8UkKQpogMxMrB/yXEALLE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WiPdH8bJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WiPdH8bJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F38E7C4CEEF; Thu, 31 Jul 2025 22:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753999965; bh=ynT/7P19nBEbnk4v3wUHrwMTXAlpxpXmfSbDLW7QBow=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=WiPdH8bJVZiPwaVYPbRRr523yZEzOPQ+ie6pu6R67AsJQNNDlJEGT7ay45wD7eDkq LWt9adqI1IaCuV8oC5dgyWEPfcpu0QWaFm81n00/ylYgb66xnFkzMEFgIWG0FbBJYp dvh8q5g065Hf5jP+cXZ/eg+BAU2Td+fwPUhef4xpkbzfSeI9FKX7sA1ba+y8me/2hc pN0WY4/A4lK+hUzEbMPDIDPoHZR9R8cdk48SP3pV7KbsIJVTOSEsyyO2ucOLBciLMB iyTpyCCDMz7xlXpajr2lRYL/VBzx0bxlOT3SDiWhTKYXg4flf5djaa4SSIWFt0u6xI ZCFD5xkDIvBkg== From: "Rob Herring (Arm)" Date: Thu, 31 Jul 2025 17:12:23 -0500 Subject: [PATCH 6/6] dt-bindings: fsi: Convert aspeed,ast2400-cf-fsi-master to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250731-dt-fsi-cleanups-v1-6-e7b695a29fc3@kernel.org> References: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> In-Reply-To: <20250731-dt-fsi-cleanups-v1-0-e7b695a29fc3@kernel.org> To: Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Eddie James , Ninad Palsule Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org X-Mailer: b4 0.15-dev Convert the ASpeed Coldfire offloaded GPIO FSI master. Drop the "fsi-master" compatible as it has not be used consistently and doesn't represent anything. Signed-off-by: Rob Herring (Arm) Acked-by: Eddie James --- .../bindings/fsi/aspeed,ast2400-cf-fsi-master.yaml | 81 ++++++++++++++++++= ++++ .../devicetree/bindings/fsi/fsi-master-ast-cf.txt | 36 ---------- 2 files changed, 81 insertions(+), 36 deletions(-) diff --git a/Documentation/devicetree/bindings/fsi/aspeed,ast2400-cf-fsi-ma= ster.yaml b/Documentation/devicetree/bindings/fsi/aspeed,ast2400-cf-fsi-mas= ter.yaml new file mode 100644 index 000000000000..690b6c936f18 --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/aspeed,ast2400-cf-fsi-master.ya= ml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/aspeed,ast2400-cf-fsi-master.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASpeed ColdFire offloaded GPIO-based FSI master + +maintainers: + - Eddie James + +allOf: + - $ref: /schemas/fsi/fsi-controller.yaml# + +properties: + compatible: + enum: + - aspeed,ast2400-cf-fsi-master + - aspeed,ast2500-cf-fsi-master + + clock-gpios: + maxItems: 1 + description: GPIO for FSI clock + + data-gpios: + maxItems: 1 + description: GPIO for FSI data signal + + enable-gpios: + maxItems: 1 + description: GPIO for enable signal + + trans-gpios: + maxItems: 1 + description: GPIO for voltage translator enable + + mux-gpios: + maxItems: 1 + description: + GPIO for pin multiplexing with other functions (eg, external FSI mas= ters) + + memory-region: + maxItems: 1 + description: + Reference to the reserved memory for the ColdFire. Must be 2M aligne= d on + AST2400 and 1M aligned on AST2500. + + aspeed,cvic: + description: Reference to the CVIC node. + $ref: /schemas/types.yaml#/definitions/phandle + + aspeed,sram: + description: Reference to the SRAM node. + $ref: /schemas/types.yaml#/definitions/phandle + +required: + - compatible + - clock-gpios + - data-gpios + - enable-gpios + - trans-gpios + - mux-gpios + - memory-region + - aspeed,cvic + - aspeed,sram + +unevaluatedProperties: false + +examples: + - | + fsi-master { + compatible =3D "aspeed,ast2500-cf-fsi-master"; + clock-gpios =3D <&gpio 0>; + data-gpios =3D <&gpio 1>; + enable-gpios =3D <&gpio 2>; + trans-gpios =3D <&gpio 3>; + mux-gpios =3D <&gpio 4>; + memory-region =3D <&coldfire_memory>; + aspeed,cvic =3D <&cvic>; + aspeed,sram =3D <&sram>; + }; diff --git a/Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt b/= Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt deleted file mode 100644 index 3dc752db748b..000000000000 --- a/Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt +++ /dev/null @@ -1,36 +0,0 @@ -Device-tree bindings for ColdFire offloaded gpio-based FSI master driver ------------------------------------------------------------------------- - -Required properties: - - compatible =3D - "aspeed,ast2400-cf-fsi-master" for an AST2400 based system - or - "aspeed,ast2500-cf-fsi-master" for an AST2500 based system - - - clock-gpios =3D ; : GPIO for FSI clock - - data-gpios =3D ; : GPIO for FSI data signal - - enable-gpios =3D ; : GPIO for enable signal - - trans-gpios =3D ; : GPIO for voltage translator enable - - mux-gpios =3D ; : GPIO for pin multiplexing with other - functions (eg, external FSI mast= ers) - - memory-region =3D ; : Reference to the reserved memory for - the ColdFire. Must be 2M aligned= on - AST2400 and 1M aligned on AST2500 - - aspeed,sram =3D ; : Reference to the SRAM node. - - aspeed,cvic =3D ; : Reference to the CVIC node. - -Examples: - - fsi-master { - compatible =3D "aspeed,ast2500-cf-fsi-master", "fsi-master"; - - clock-gpios =3D <&gpio 0>; - data-gpios =3D <&gpio 1>; - enable-gpios =3D <&gpio 2>; - trans-gpios =3D <&gpio 3>; - mux-gpios =3D <&gpio 4>; - - memory-region =3D <&coldfire_memory>; - aspeed,sram =3D <&sram>; - aspeed,cvic =3D <&cvic>; - } --=20 2.47.2