Merge branches 'fixes', 'misc' and 'spectre' into for-next
[sfrench/cifs-2.6.git] / 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 };