Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: add generic gnss binding

Describe generic properties for GNSS receivers.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
98ddec80 2b6a4403

+37
+36
Documentation/devicetree/bindings/gnss/gnss.txt
··· 1 + GNSS Receiver DT binding 2 + 3 + This documents the binding structure and common properties for GNSS receiver 4 + devices. 5 + 6 + A GNSS receiver node is a node named "gnss" and typically resides on a serial 7 + bus (e.g. UART, I2C or SPI). 8 + 9 + Please refer to the following documents for generic properties: 10 + 11 + Documentation/devicetree/bindings/serial/slave-device.txt 12 + Documentation/devicetree/bindings/spi/spi-bus.txt 13 + 14 + Required properties: 15 + 16 + - compatible : A string reflecting the vendor and specific device the node 17 + represents 18 + 19 + Optional properties: 20 + - enable-gpios : GPIO used to enable the device 21 + - timepulse-gpios : Time pulse GPIO 22 + 23 + Example: 24 + 25 + serial@1234 { 26 + compatible = "ns16550a"; 27 + 28 + gnss { 29 + compatible = "u-blox,neo-8"; 30 + 31 + vcc-supply = <&gnss_reg>; 32 + timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 33 + 34 + current-speed = <4800>; 35 + }; 36 + };
+1
MAINTAINERS
··· 6041 6041 GNSS SUBSYSTEM 6042 6042 M: Johan Hovold <johan@kernel.org> 6043 6043 S: Maintained 6044 + F: Documentation/devicetree/bindings/gnss/ 6044 6045 F: drivers/gnss/ 6045 6046 F: include/linux/gnss.h 6046 6047