xref: /freebsd-src/sys/contrib/device-tree/Bindings/timestamp/hte-consumer.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/timestamp/hte-consumer.yaml#
5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: HTE Consumer
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Dipen Patel <dipenp@nvidia.com>
11d5b0e70fSEmmanuel Vadot
12d5b0e70fSEmmanuel Vadotselect: true
13d5b0e70fSEmmanuel Vadot
14d5b0e70fSEmmanuel Vadotproperties:
15d5b0e70fSEmmanuel Vadot  timestamps:
16d5b0e70fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
17d5b0e70fSEmmanuel Vadot    description:
18d5b0e70fSEmmanuel Vadot      The list of HTE provider phandle. The first cell must represent the
19d5b0e70fSEmmanuel Vadot      provider phandle followed by the line identifiers. The meaning of the
20d5b0e70fSEmmanuel Vadot      line identifier and exact number of arguments must be specified in the
21d5b0e70fSEmmanuel Vadot      HTE provider device tree binding document.
22d5b0e70fSEmmanuel Vadot
23d5b0e70fSEmmanuel Vadot  timestamp-names:
24d5b0e70fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/string-array
25d5b0e70fSEmmanuel Vadot    description:
26d5b0e70fSEmmanuel Vadot      An optional string property to label each line specifier present in the
27d5b0e70fSEmmanuel Vadot      timestamp property.
28d5b0e70fSEmmanuel Vadot
29d5b0e70fSEmmanuel Vadotdependencies:
30d5b0e70fSEmmanuel Vadot  timestamp-names: [ timestamps ]
31d5b0e70fSEmmanuel Vadot
32d5b0e70fSEmmanuel VadotadditionalProperties: true
33d5b0e70fSEmmanuel Vadot
34d5b0e70fSEmmanuel Vadotexamples:
35d5b0e70fSEmmanuel Vadot  - |
36d5b0e70fSEmmanuel Vadot    hte_tegra_consumer {
37d5b0e70fSEmmanuel Vadot              timestamps = <&tegra_hte_aon 0x9>, <&tegra_hte_lic 0x19>;
38d5b0e70fSEmmanuel Vadot              timestamp-names = "hte-gpio", "hte-i2c";
39d5b0e70fSEmmanuel Vadot    };
40