From: Eddie James <eajames@linux.ibm.com>
To: "Rob Herring (Arm)" <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
Andrew Jeffery <andrew@codeconstruct.com.au>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Ninad Palsule <ninad@linux.ibm.com>
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
Subject: Re: [PATCH 6/6] dt-bindings: fsi: Convert aspeed,ast2400-cf-fsi-master to DT schema
Date: Fri, 1 Aug 2025 10:03:25 -0500 [thread overview]
Message-ID: <ea5177ba-5905-40aa-91b0-9bcb66b6f0d4@linux.ibm.com> (raw)
In-Reply-To: <20250731-dt-fsi-cleanups-v1-6-e7b695a29fc3@kernel.org>
On 7/31/25 17:12, Rob Herring (Arm) wrote:
> 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.
Acked-by: Eddie James <eajames@linux.ibm.com>
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../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-master.yaml b/Documentation/devicetree/bindings/fsi/aspeed,ast2400-cf-fsi-master.yaml
> new file mode 100644
> index 000000000000..690b6c936f18
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/fsi/aspeed,ast2400-cf-fsi-master.yaml
> @@ -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 <eajames@linux.ibm.com>
> +
> +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 masters)
> +
> + memory-region:
> + maxItems: 1
> + description:
> + Reference to the reserved memory for the ColdFire. Must be 2M aligned 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 = "aspeed,ast2500-cf-fsi-master";
> + clock-gpios = <&gpio 0>;
> + data-gpios = <&gpio 1>;
> + enable-gpios = <&gpio 2>;
> + trans-gpios = <&gpio 3>;
> + mux-gpios = <&gpio 4>;
> + memory-region = <&coldfire_memory>;
> + aspeed,cvic = <&cvic>;
> + aspeed,sram = <&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 =
> - "aspeed,ast2400-cf-fsi-master" for an AST2400 based system
> - or
> - "aspeed,ast2500-cf-fsi-master" for an AST2500 based system
> -
> - - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
> - - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
> - - enable-gpios = <gpio-descriptor>; : GPIO for enable signal
> - - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable
> - - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
> - functions (eg, external FSI masters)
> - - memory-region = <phandle>; : Reference to the reserved memory for
> - the ColdFire. Must be 2M aligned on
> - AST2400 and 1M aligned on AST2500
> - - aspeed,sram = <phandle>; : Reference to the SRAM node.
> - - aspeed,cvic = <phandle>; : Reference to the CVIC node.
> -
> -Examples:
> -
> - fsi-master {
> - compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
> -
> - clock-gpios = <&gpio 0>;
> - data-gpios = <&gpio 1>;
> - enable-gpios = <&gpio 2>;
> - trans-gpios = <&gpio 3>;
> - mux-gpios = <&gpio 4>;
> -
> - memory-region = <&coldfire_memory>;
> - aspeed,sram = <&sram>;
> - aspeed,cvic = <&cvic>;
> - }
>
next prev parent reply other threads:[~2025-08-01 15:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-31 22:12 [PATCH 0/6] ASpeed FSI DT clean-ups Rob Herring (Arm)
2025-07-31 22:12 ` [PATCH 1/6] ARM: dts: aspeed: Drop "no-gpio-delays" Rob Herring (Arm)
2025-08-01 14:56 ` Eddie James
2025-07-31 22:12 ` [PATCH 2/6] ARM: dts: aspeed: Drop "fsi-master" compatibles Rob Herring (Arm)
2025-08-01 14:57 ` Eddie James
2025-07-31 22:12 ` [PATCH 3/6] ARM: dts: aspeed: Add missing "ibm,spi-fsi" compatibles Rob Herring (Arm)
2025-08-01 14:58 ` Eddie James
2025-07-31 22:12 ` [PATCH 4/6] MAINTAINERS: Add FSI bindings to FSI subsystem entry Rob Herring (Arm)
2025-08-01 14:59 ` Eddie James
2025-07-31 22:12 ` [PATCH 5/6] dt-bindings: fsi: Convert fsi-master-gpio to DT schema Rob Herring (Arm)
2025-08-01 15:01 ` Eddie James
2025-07-31 22:12 ` [PATCH 6/6] dt-bindings: fsi: Convert aspeed,ast2400-cf-fsi-master " Rob Herring (Arm)
2025-08-01 15:03 ` Eddie James [this message]
2025-08-04 1:38 ` [PATCH 0/6] ASpeed FSI DT clean-ups Andrew Jeffery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea5177ba-5905-40aa-91b0-9bcb66b6f0d4@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=andrew@codeconstruct.com.au \
--cc=benh@kernel.crashing.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-fsi@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ninad@linux.ibm.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®