Kionix KXCJK-1013 Accelerometer

Schema identifier ($id): "http://devicetree.org/schemas/iio/accel/kionix,kxcjk1013.yaml#"

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

Maintainers (maintainers): "Robert Yang <decatf@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "kionix,kxcjk1013", "kionix,kxcj91008", "kionix,kxtj21009", "kionix,kxtf9", "kionix,kx022-1020", "kionix,kx023-1025"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

vddio-supply — not listed as required here #

true — No constraints added by this property rule.

mount-matrix — not listed as required here #

an optional 3x3 mounting rotation matrix.

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) #

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

    accel@f {
        compatible = "kionix,kxtf9";
        reg = <0xf>;
        mount-matrix = "0", "1", "0",
                       "1", "0", "0",
                       "0", "0", "1";
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page