From 66d1a0786d2b96a7e5016136defec4c39a90f5f5 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Fri, 6 May 2022 14:45:37 +0530 Subject: [PATCH] Documentation: Add DT binding doc for Tegra SPI Aurix communciation Add DT binding document for NVIDIA Tegra SPI Aurix communication. bug 3583584 Change-Id: I6e9f949add8503b018e58e68347922359e559474 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2708697 GVS: Gerrit_Virtual_Submit --- .../bindings/spi/spi-aurix-tegra.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-aurix-tegra.yaml diff --git a/Documentation/devicetree/bindings/spi/spi-aurix-tegra.yaml b/Documentation/devicetree/bindings/spi/spi-aurix-tegra.yaml new file mode 100644 index 00000000..4a595a6b --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-aurix-tegra.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/spi-aurix-tegra.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DT binding for Tegra SPI Aurix communication protocol driver + +maintainers: + - Lars-Peter Clausen + - Jonathan Cameron + +description: | + This driver communicates to AUrix over SPI channel with agreed + protocols. + +properties: + compatible: + enum: + - aurix-tegra-spi + + reg: + maxItems: 1 + + spi-max-frequency: true + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + spi@0 { + reg = <0>; + compatible = "aurix-tegra-spi"; + spi-max-frequency = <10000000>; + }; + }; +...