swir,hl78xx-gnss (on uart bus)

Description

Binding for a modem child node that indicates the modem supports
GNSS functionality. This node is intended to be a child of a modem
device node (for example, `modem: hl_modem { ... };`).

The binding is intentionally small and extensible; it documents a
presence node (compatible = "swir,hl78xx-gnss") and may be extended
in future with additional properties that the driver may consume.

Examples

&uart0 {
        current-speed = <9600>;
        /* ... */
        gnss: gnss-nmea-generic {
                compatible = "gnss-nmea-generic";
        };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

fix-rate

int

Initial fix-rate GNSS modem will be operating on. May be adjusted at
run-time through GNSS APIs. Must be greater than 50-ms.
Default is power-on setting.

Default value: 1000

enable-gpios

phandle-array

GPIO that enables the receiver when active and puts it into standby
when inactive. The driver asserts this signal on resume and deasserts
it on suspend.

reset-gpios

phandle-array

GPIO that resets the receiver when active. The driver pulses this
signal during initialization. Requires reset-pulse-duration-ms.

reset-pulse-duration-ms

int

Minimum reset pulse duration in milliseconds.

startup-time-ms

int

Time in milliseconds for the receiver to start after asserting enable-gpios.
The driver waits this long before communicating with the receiver.
The default preserves operation without an enable signal. Set this to
the receiver's wake-up time when enable-gpios is used.

Default value: 0

pps-mode

string

PPS output mode:
- GNSS_PPS_MODE_DISABLED: Output disabled
- GNSS_PPS_MODE_ENABLED: Output always enabled
- GNSS_PPS_MODE_ENABLED_AFTER_LOCK: Output enabled from first lock
- GNSS_PPS_MODE_ENABLED_WHILE_LOCKED: Output enabled only while locked

This property is required.

Legal values: GNSS_PPS_MODE_DISABLED, GNSS_PPS_MODE_ENABLED, GNSS_PPS_MODE_ENABLED_AFTER_LOCK, GNSS_PPS_MODE_ENABLED_WHILE_LOCKED

pps-pulse-width

int

1PPS pulse width

Default value: 100