ENE KB930 Embedded Controller

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ene-kb930.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

This binding describes the ENE KB930 Embedded Controller attached to an I2C bus.

Maintainers (maintainers): "Dmitry Osipenko <digetx@gmail.com>"

Shared schema rule ($ref): /schemas/power/supply/power-supply.yaml

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "acer,a500-iconia-ec"

Item 2

Exact value (const): "ene,kb930"

reg — required here #

Maximum number of items (maxItems): 1

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

battery: battery-cell {
  compatible = "simple-battery";
  charge-full-design-microamp-hours = <3260000>;
  energy-full-design-microwatt-hours = <24000000>;
  operating-range-celsius = <0 40>;
};

mains: ac-adapter {
  compatible = "gpio-charger";
  charger-type = "mains";
  gpios = <&gpio 125 0>;
};

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  embedded-controller@58 {
    compatible = "acer,a500-iconia-ec", "ene,kb930";
    reg = <0x58>;

    system-power-controller;

    monitored-battery = <&battery>;
    power-supplies = <&mains>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 22: Acer A500 Iconia tablet device

Edit this page