Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Pps bindings

Single-page view · as markdown

PPS Signal via GPIO

Peios Kernel / Hardware and drivers / Device-tree binding reference / Pps bindings

Schema identifier ($id): "http://devicetree.org/schemas/pps/pps-gpio.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "pps-gpio"

gpios — required here #

The GPIO that provides the PPS signal.

Maximum number of items (maxItems): 1

echo-gpios — not listed as required here #

The GPIO that provides the PPS ECHO signal.

Maximum number of items (maxItems): 1

echo-active-ms — not listed as required here #

Duration in ms of the active portion of the echo pulse.

assert-falling-edge — not listed as required here #

Indicates a falling edge assert, when present. Rising edge if absent.

Value type (type): "boolean"

Required in this object (required): "compatible", "gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

pps {
    compatible = "pps-gpio";
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_pps>;
    gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
    assert-falling-edge;
    echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
    echo-active-ms = <100>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Peios Learn — documentation for Peios software.

Built with Trail.