1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mfd/ene-kb9 4 $id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ENE KB930 Embedded Controller !! 7 title: ENE KB930 Embedded Controller bindings 8 8 9 description: | 9 description: | 10 This binding describes the ENE KB930 Embedde 10 This binding describes the ENE KB930 Embedded Controller attached to an 11 I2C bus. 11 I2C bus. 12 12 13 maintainers: 13 maintainers: 14 - Dmitry Osipenko <digetx@gmail.com> 14 - Dmitry Osipenko <digetx@gmail.com> 15 15 16 $ref: /schemas/power/supply/power-supply.yaml << 17 << 18 properties: 16 properties: 19 compatible: 17 compatible: 20 items: 18 items: 21 - enum: 19 - enum: 22 - acer,a500-iconia-ec # Acer A500 Ic 20 - acer,a500-iconia-ec # Acer A500 Iconia tablet device 23 - const: ene,kb930 21 - const: ene,kb930 24 reg: 22 reg: 25 maxItems: 1 23 maxItems: 1 26 24 >> 25 monitored-battery: true >> 26 power-supplies: true 27 system-power-controller: true 27 system-power-controller: true 28 28 29 required: 29 required: 30 - compatible 30 - compatible 31 - reg 31 - reg 32 32 33 unevaluatedProperties: false !! 33 additionalProperties: false 34 34 35 examples: 35 examples: 36 - | 36 - | 37 battery: battery-cell { 37 battery: battery-cell { 38 compatible = "simple-battery"; 38 compatible = "simple-battery"; 39 charge-full-design-microamp-hours = <326 39 charge-full-design-microamp-hours = <3260000>; 40 energy-full-design-microwatt-hours = <24 40 energy-full-design-microwatt-hours = <24000000>; 41 operating-range-celsius = <0 40>; 41 operating-range-celsius = <0 40>; 42 }; 42 }; 43 43 44 mains: ac-adapter { 44 mains: ac-adapter { 45 compatible = "gpio-charger"; 45 compatible = "gpio-charger"; 46 charger-type = "mains"; 46 charger-type = "mains"; 47 gpios = <&gpio 125 0>; 47 gpios = <&gpio 125 0>; 48 }; 48 }; 49 49 50 i2c { 50 i2c { 51 #address-cells = <1>; 51 #address-cells = <1>; 52 #size-cells = <0>; 52 #size-cells = <0>; 53 53 54 embedded-controller@58 { 54 embedded-controller@58 { 55 compatible = "acer,a500-iconia-ec", "e 55 compatible = "acer,a500-iconia-ec", "ene,kb930"; 56 reg = <0x58>; 56 reg = <0x58>; 57 57 58 system-power-controller; 58 system-power-controller; 59 59 60 monitored-battery = <&battery>; 60 monitored-battery = <&battery>; 61 power-supplies = <&mains>; 61 power-supplies = <&mains>; 62 }; 62 }; 63 }; 63 }; 64 64 65 ... 65 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.