Path: blob/master/Documentation/devicetree/bindings/embedded-controller/acer,aspire1-ec.yaml
29285 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/embedded-controller/acer,aspire1-ec.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Acer Aspire 1 Embedded Controller78maintainers:9- Nikita Travkin <nikita@trvn.ru>1011description:12The Acer Aspire 1 laptop uses an embedded controller to control battery13and charging as well as to provide a set of misc features such as the14laptop lid status and HPD events for the USB Type-C DP alt mode.1516properties:17compatible:18const: acer,aspire1-ec1920reg:21const: 0x762223interrupts:24maxItems: 12526connector:27$ref: /schemas/connector/usb-connector.yaml#2829required:30- compatible31- reg32- interrupts3334additionalProperties: false3536examples:37- |38#include <dt-bindings/interrupt-controller/irq.h>39i2c {40#address-cells = <1>;41#size-cells = <0>;4243embedded-controller@76 {44compatible = "acer,aspire1-ec";45reg = <0x76>;4647interrupts-extended = <&tlmm 30 IRQ_TYPE_LEVEL_LOW>;4849connector {50compatible = "usb-c-connector";5152port {53ec_dp_in: endpoint {54remote-endpoint = <&mdss_dp_out>;55};56};57};58};59};606162