brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 7cb0134 Raw
61 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/platform/acer,aspire1-ec.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Acer Aspire 1 Embedded Controller8 9maintainers:10  - Nikita Travkin <nikita@trvn.ru>11 12description:13  The Acer Aspire 1 laptop uses an embedded controller to control battery14  and charging as well as to provide a set of misc features such as the15  laptop lid status and HPD events for the USB Type-C DP alt mode.16 17properties:18  compatible:19    const: acer,aspire1-ec20 21  reg:22    const: 0x7623 24  interrupts:25    maxItems: 126 27  connector:28    $ref: /schemas/connector/usb-connector.yaml#29 30required:31  - compatible32  - reg33  - interrupts34 35additionalProperties: false36 37examples: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