Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
37 lines
819 B
Plaintext
37 lines
819 B
Plaintext
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>;
|
|
};
|
|
};
|