Lines Matching +full:power +full:- +full:role
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/platform/lenovo,yoga-c630-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
13 The Qualcomm Snapdragon-based Lenovo Yoga C630 has an Embedded Controller
14 (EC) which handles things such as battery and USB Type-C. This binding
19 const: lenovo,yoga-c630-ec
24 '#address-cells':
27 '#size-cells':
35 $ref: /schemas/connector/usb-connector.yaml#
44 - compatible
45 - reg
46 - interrupts
51 - |+
52 #include <dt-bindings/interrupt-controller/irq.h>
54 clock-frequency = <400000>;
56 #address-cells = <1>;
57 #size-cells = <0>;
59 embedded-controller@70 {
60 compatible = "lenovo,yoga-c630-ec";
63 interrupts-extended = <&tlmm 20 IRQ_TYPE_LEVEL_HIGH>;
65 #address-cells = <1>;
66 #size-cells = <0>;
69 compatible = "usb-c-connector";
71 power-role = "source";
72 data-role = "host";
76 compatible = "usb-c-connector";
78 power-role = "source";
79 data-role = "host";