All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2 v4] dt-bindings: dspi: added for semtech sx1301
@ 2022-04-20  7:31 ` Changming Huang
  0 siblings, 0 replies; 34+ messages in thread
From: Changming Huang @ 2022-04-20  7:31 UTC (permalink / raw)
  To: broonie, robh+dt, krzysztof.kozlowski+dt, linux-spi, devicetree,
	linux-kernel, shawnguo, leoyang.li, linux-arm-kernel
  Cc: Changming Huang

Add DT Binding doc for semtech sx1301

Signed-off-by: Changming Huang <jerry.huang@nxp.com>
---
changes in v4:
  - rename example node, adjust description
changes in v3:
  - add the dt-bindings

 .../bindings/spi/semtech,sx1301.yaml          | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/semtech,sx1301.yaml

diff --git a/Documentation/devicetree/bindings/spi/semtech,sx1301.yaml b/Documentation/devicetree/bindings/spi/semtech,sx1301.yaml
new file mode 100644
index 000000000000..420fe8d23a1e
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/semtech,sx1301.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/spi/semtech,sx1301.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Semtech sx1301 SPI controller bindings
+
+maintainers:
+  - Changming Huang <jerry.huang@nxp.com>
+
+allOf:
+  - $ref: "spi-controller.yaml"
+
+properties:
+  compatible:
+    const: semtech,sx1301
+
+  reg:
+    maxItems: 1
+
+  spi-max-frequency: true
+
+  fsl,spi-cs-sck-delay: true
+
+  fsl,spi-sck-cs-delay: true
+
+required:
+  - compatible
+  - reg
+  - spi-max-frequency
+
+additionalProperties: false
+
+examples:
+  - |
+    spi@0 {
+      compatible = "semtech,sx1301";
+      reg = <0>;
+      spi-max-frequency = <2000000>;
+      fsl,spi-cs-sck-delay = <1000000>;
+      fsl,spi-sck-cs-delay = <50>;
+    };
+
+...
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2022-04-22  2:20 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20  7:31 [PATCH 1/2 v4] dt-bindings: dspi: added for semtech sx1301 Changming Huang
2022-04-20  7:31 ` Changming Huang
2022-04-20  7:31 ` [PATCH 2/2 v4] arm64: dts: fsl-ls1028a: add dspi2 support Changming Huang
2022-04-20  7:31   ` Changming Huang
2022-04-20 12:06 ` [PATCH 1/2 v4] dt-bindings: dspi: added for semtech sx1301 Krzysztof Kozlowski
2022-04-20 12:06   ` Krzysztof Kozlowski
2022-04-21  9:11   ` [EXT] " Jerry Huang
2022-04-21  9:11     ` Jerry Huang
2022-04-21  9:18     ` Krzysztof Kozlowski
2022-04-21  9:18       ` Krzysztof Kozlowski
2022-04-21  9:35       ` Jerry Huang
2022-04-21  9:35         ` Jerry Huang
2022-04-21  9:44       ` Michael Walle
2022-04-21  9:44         ` Michael Walle
2022-04-21 10:06         ` Jerry Huang
2022-04-21 10:06           ` Jerry Huang
2022-04-21 11:08         ` Krzysztof Kozlowski
2022-04-21 11:08           ` Krzysztof Kozlowski
2022-04-21 11:56           ` Michael Walle
2022-04-21 11:56             ` Michael Walle
2022-04-21 14:23         ` Rob Herring
2022-04-21 14:23           ` Rob Herring
2022-04-21 15:16           ` Michael Walle
2022-04-21 15:16             ` Michael Walle
2022-04-21 19:08             ` Rob Herring
2022-04-21 19:08               ` Rob Herring
2022-04-22  2:19               ` Jerry Huang
2022-04-22  2:19                 ` Jerry Huang
2022-04-21 14:27     ` Rob Herring
2022-04-21 14:27       ` Rob Herring
2022-04-20 13:29 ` Rob Herring
2022-04-20 13:29   ` Rob Herring
2022-04-21  9:12   ` [EXT] " Jerry Huang
2022-04-21  9:12     ` Jerry Huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.