Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/accel/kionix,kxcjk1013.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Kionix KXCJK-1013 Accelerometer
0008 
0009 maintainers:
0010   - Robert Yang <decatf@gmail.com>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - kionix,kxcjk1013
0016       - kionix,kxcj91008
0017       - kionix,kxtj21009
0018       - kionix,kxtf9
0019       - kionix,kx023-1025
0020 
0021   reg:
0022     maxItems: 1
0023 
0024   interrupts:
0025     maxItems: 1
0026 
0027   vdd-supply: true
0028   vddio-supply: true
0029 
0030   mount-matrix:
0031     description: an optional 3x3 mounting rotation matrix.
0032 
0033 required:
0034   - compatible
0035   - reg
0036 
0037 additionalProperties: false
0038 
0039 examples:
0040   - |
0041     i2c {
0042         #address-cells = <1>;
0043         #size-cells = <0>;
0044 
0045         accel@f {
0046             compatible = "kionix,kxtf9";
0047             reg = <0x0F>;
0048             mount-matrix = "0", "1", "0",
0049                            "1", "0", "0",
0050                            "0", "0", "1";
0051         };
0052     };
0053 ...