Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98ddec80 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

dt-bindings: add generic gnss binding



Describe generic properties for GNSS receivers.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2b6a4403
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
GNSS Receiver DT binding

This documents the binding structure and common properties for GNSS receiver
devices.

A GNSS receiver node is a node named "gnss" and typically resides on a serial
bus (e.g. UART, I2C or SPI).

Please refer to the following documents for generic properties:

	Documentation/devicetree/bindings/serial/slave-device.txt
	Documentation/devicetree/bindings/spi/spi-bus.txt

Required properties:

- compatible	: A string reflecting the vendor and specific device the node
		  represents

Optional properties:
- enable-gpios	: GPIO used to enable the device
- timepulse-gpios	: Time pulse GPIO

Example:

serial@1234 {
	compatible = "ns16550a";

	gnss {
		compatible = "u-blox,neo-8";

		vcc-supply = <&gnss_reg>;
		timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;

		current-speed = <4800>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -6041,6 +6041,7 @@ F: include/uapi/linux/gigaset_dev.h
GNSS SUBSYSTEM
M:	Johan Hovold <johan@kernel.org>
S:	Maintained
F:	Documentation/devicetree/bindings/gnss/
F:	drivers/gnss/
F:	include/linux/gnss.h