From nobody Sun Oct 5 18:19:16 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