diff mbox series

[4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

Message ID 20200430174615.41185-5-tony@atomide.com
State New
Headers show
Series n_gsm serdev support and GNSS driver for droid4 | expand

Commit Message

Tony Lindgren April 30, 2020, 5:46 p.m. UTC
Add a binding document for Motorola Mapphone MDM6600 GNSS driver that
can be used with phones such as droid4.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 .../devicetree/bindings/gnss/motmdm.yaml      | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gnss/motmdm.yaml
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gnss/motmdm.yaml b/Documentation/devicetree/bindings/gnss/motmdm.yaml
new file mode 100644
--- /dev/null
+++ b/Documentation/devicetree/bindings/gnss/motmdm.yaml
@@ -0,0 +1,29 @@ 
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/gnss/motmdm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Motorola Mapphone MDM6600 GNSS binding
+
+maintainers:
+  - Tony Lindgren <tony@atomide.com>
+
+properties:
+  compatible:
+    const: motorola,mapphone-mdm6600-gnss
+
+  reg:
+    items:
+      description: TS 27.010 channel the GNSS device is using
+
+required:
+  - compatible
+  - reg
+
+examples:
+  - |
+    gnss@4 {
+      compatible = "motorola,mapphone-mdm6600-gnss";
+      reg = <4>;
+    };