Skip to content

Commit 4c9d537

Browse files
linuswbroonie
authored andcommitted
dt-bindings: spi: Add binding for Faraday FTSSP010
This adds a binding for the Faraday FTSSP010 SSP controller, a pretty straight-forward syncronous serial port and SPI controller. The bindings are submitted separately because the one device that has this is using it in a "nonstandard way" with regards to the electronics, and does not make it possible to develop or test a proper driver. However we want to be able to add this resource to the device trees and it's not complex. Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260203-gemini-ssp-bindings-v1-1-6d85c9c72371@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8ea39d9 commit 4c9d537

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/spi/faraday,ftssp010.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Faraday FTSSP010 SPI Controller
8+
9+
maintainers:
10+
- Linus Walleij <linusw@kernel.org>
11+
12+
properties:
13+
compatible:
14+
const: faraday,ftssp010
15+
16+
interrupts:
17+
maxItems: 1
18+
19+
reg:
20+
maxItems: 1
21+
22+
cs-gpios: true
23+
24+
required:
25+
- compatible
26+
- interrupts
27+
- reg
28+
29+
allOf:
30+
- $ref: spi-controller.yaml#
31+
32+
unevaluatedProperties: false
33+
34+
examples:
35+
- |
36+
#include <dt-bindings/gpio/gpio.h>
37+
spi@4a000000 {
38+
compatible = "faraday,ftssp010";
39+
#address-cells = <1>;
40+
#size-cells = <0>;
41+
reg = <0x4a000000 0x1000>;
42+
interrupts = <0>;
43+
};

0 commit comments

Comments
 (0)