Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/embedded-controller/acer,aspire1-ec.yaml
29285 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/embedded-controller/acer,aspire1-ec.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Acer Aspire 1 Embedded Controller
8
9
maintainers:
10
- Nikita Travkin <nikita@trvn.ru>
11
12
description:
13
The Acer Aspire 1 laptop uses an embedded controller to control battery
14
and charging as well as to provide a set of misc features such as the
15
laptop lid status and HPD events for the USB Type-C DP alt mode.
16
17
properties:
18
compatible:
19
const: acer,aspire1-ec
20
21
reg:
22
const: 0x76
23
24
interrupts:
25
maxItems: 1
26
27
connector:
28
$ref: /schemas/connector/usb-connector.yaml#
29
30
required:
31
- compatible
32
- reg
33
- interrupts
34
35
additionalProperties: false
36
37
examples:
38
- |
39
#include <dt-bindings/interrupt-controller/irq.h>
40
i2c {
41
#address-cells = <1>;
42
#size-cells = <0>;
43
44
embedded-controller@76 {
45
compatible = "acer,aspire1-ec";
46
reg = <0x76>;
47
48
interrupts-extended = <&tlmm 30 IRQ_TYPE_LEVEL_LOW>;
49
50
connector {
51
compatible = "usb-c-connector";
52
53
port {
54
ec_dp_in: endpoint {
55
remote-endpoint = <&mdss_dp_out>;
56
};
57
};
58
};
59
};
60
};
61
62