blob: 3526d8b045fd235a0b8970b591a7ea7ad188bc15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/ti,tps65217-pwrbutton.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Texas Instruments TPS65217 and TPS65218 Power Button
maintainers:
- Eduard Bostina <egbostina@gmail.com>
description:
This module is part of the TPS65217/TPS65218 PMIC. It provides a simple
power button event via an interrupt.
properties:
compatible:
enum:
- ti,tps65217-pwrbutton
- ti,tps65218-pwrbutton
interrupts:
maxItems: 1
required:
- compatible
- interrupts
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
pmic {
#address-cells = <1>;
#size-cells = <0>;
power-button {
compatible = "ti,tps65218-pwrbutton";
interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
};
};
|