Netronix Embedded Controller

Schema identifier ($id): "http://devicetree.org/schemas/mfd/netronix,ntxec.yaml#"

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

Maintainers (maintainers): "Jonathan Neuschäfer <j.neuschaefer@gmx.net>"

This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and is typically implemented as a TI MSP430 microcontroller.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "netronix,ntxec"

reg — required here #

Array item rules (items) #

Item 1

The I2C address of the EC

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

Value type (type): "boolean"

See Documentation/devicetree/bindings/power/power-controller.txt

interrupts — not listed as required here #

Minimum number of items (minItems): 1

The EC can signal interrupts via a GPIO line

#pwm-cells — not listed as required here #

Exact value (const): 2

Number of cells in a PWM specifier.

The following PWM channels are supported:
  - 0: The PWM channel controlled by registers 0xa1-0xa7

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    ec: embedded-controller@43 {
            pinctrl-names = "default";
            pinctrl-0 = <&pinctrl_ntxec>;

            compatible = "netronix,ntxec";
            reg = <0x43>;
            system-power-controller;
            interrupt-parent = <&gpio4>;
            interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
            #pwm-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page