15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: ENE KB930 Embedded Controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotdescription: | 105def4c47SEmmanuel Vadot This binding describes the ENE KB930 Embedded Controller attached to an 115def4c47SEmmanuel Vadot I2C bus. 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel Vadotmaintainers: 145def4c47SEmmanuel Vadot - Dmitry Osipenko <digetx@gmail.com> 155def4c47SEmmanuel Vadot 16*8bab661aSEmmanuel Vadot$ref: /schemas/power/supply/power-supply.yaml 17*8bab661aSEmmanuel Vadot 185def4c47SEmmanuel Vadotproperties: 195def4c47SEmmanuel Vadot compatible: 205def4c47SEmmanuel Vadot items: 215def4c47SEmmanuel Vadot - enum: 225def4c47SEmmanuel Vadot - acer,a500-iconia-ec # Acer A500 Iconia tablet device 235def4c47SEmmanuel Vadot - const: ene,kb930 245def4c47SEmmanuel Vadot reg: 255def4c47SEmmanuel Vadot maxItems: 1 265def4c47SEmmanuel Vadot 275def4c47SEmmanuel Vadot system-power-controller: true 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadotrequired: 305def4c47SEmmanuel Vadot - compatible 315def4c47SEmmanuel Vadot - reg 325def4c47SEmmanuel Vadot 33*8bab661aSEmmanuel VadotunevaluatedProperties: false 345def4c47SEmmanuel Vadot 355def4c47SEmmanuel Vadotexamples: 365def4c47SEmmanuel Vadot - | 375def4c47SEmmanuel Vadot battery: battery-cell { 385def4c47SEmmanuel Vadot compatible = "simple-battery"; 395def4c47SEmmanuel Vadot charge-full-design-microamp-hours = <3260000>; 405def4c47SEmmanuel Vadot energy-full-design-microwatt-hours = <24000000>; 415def4c47SEmmanuel Vadot operating-range-celsius = <0 40>; 425def4c47SEmmanuel Vadot }; 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot mains: ac-adapter { 455def4c47SEmmanuel Vadot compatible = "gpio-charger"; 465def4c47SEmmanuel Vadot charger-type = "mains"; 475def4c47SEmmanuel Vadot gpios = <&gpio 125 0>; 485def4c47SEmmanuel Vadot }; 495def4c47SEmmanuel Vadot 505def4c47SEmmanuel Vadot i2c { 515def4c47SEmmanuel Vadot #address-cells = <1>; 525def4c47SEmmanuel Vadot #size-cells = <0>; 535def4c47SEmmanuel Vadot 545def4c47SEmmanuel Vadot embedded-controller@58 { 555def4c47SEmmanuel Vadot compatible = "acer,a500-iconia-ec", "ene,kb930"; 565def4c47SEmmanuel Vadot reg = <0x58>; 575def4c47SEmmanuel Vadot 585def4c47SEmmanuel Vadot system-power-controller; 595def4c47SEmmanuel Vadot 605def4c47SEmmanuel Vadot monitored-battery = <&battery>; 615def4c47SEmmanuel Vadot power-supplies = <&mains>; 625def4c47SEmmanuel Vadot }; 635def4c47SEmmanuel Vadot }; 645def4c47SEmmanuel Vadot 655def4c47SEmmanuel Vadot... 66