diff options
author | Bert Vermeulen <bert@biot.com> | 2021-01-20 14:59:27 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-02-04 18:45:58 +0000 |
commit | 6acbd614c2c8d3b8de5fb7605d6e24b9b3a8a17b (patch) | |
tree | 5f34727fff9f0557b480d3ba1035857a264b18e4 /Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml | |
parent | a8af5cc2ff1e804694629a8ef320935629dd15ba (diff) | |
download | lwn-6acbd614c2c8d3b8de5fb7605d6e24b9b3a8a17b.tar.gz lwn-6acbd614c2c8d3b8de5fb7605d6e24b9b3a8a17b.zip |
spi: Realtek RTL838x/RTL839x SPI controller
Signed-off-by: Bert Vermeulen <bert@biot.com>
Link: https://lore.kernel.org/r/20210120135928.246054-2-bert@biot.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml b/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml new file mode 100644 index 000000000000..30a62a211984 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/realtek,rtl-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTL838x/RTL839x SPI controller + +maintainers: + - Bert Vermeulen <bert@biot.com> + - Birger Koblitz <mail@birger-koblitz.de> + +allOf: + - $ref: "spi-controller.yaml#" + +properties: + compatible: + oneOf: + - const: realtek,rtl8380-spi + - const: realtek,rtl8382-spi + - const: realtek,rtl8391-spi + - const: realtek,rtl8392-spi + - const: realtek,rtl8393-spi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi: spi@1200 { + compatible = "realtek,rtl8382-spi"; + reg = <0x1200 0x100>; + #address-cells = <1>; + #size-cells = <0>; + }; |