The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/accel/nxp,fxls8962af.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/accel/nxp,fxls8962af.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: NXP FXLS8962AF/FXLS8964AF Accelerometer driver
    8 
    9 maintainers:
   10   - Sean Nyekjaer <sean@geanix.com>
   11 
   12 description: |
   13   NXP FXLS8962AF/FXLS8964AF Accelerometer driver that supports
   14   SPI and I2C interface.
   15     https://www.nxp.com/docs/en/data-sheet/FXLS8962AF.pdf
   16     https://www.nxp.com/docs/en/data-sheet/FXLS8964AF.pdf
   17 
   18 properties:
   19   compatible:
   20     enum:
   21       - nxp,fxls8962af
   22       - nxp,fxls8964af
   23 
   24   reg:
   25     maxItems: 1
   26 
   27   vdd-supply:
   28     description: phandle to the regulator that provides power to the accelerometer
   29 
   30   spi-max-frequency: true
   31 
   32   interrupts:
   33     maxItems: 1
   34 
   35   interrupt-names:
   36     enum:
   37       - INT1
   38       - INT2
   39 
   40   drive-open-drain:
   41     type: boolean
   42 
   43 required:
   44   - compatible
   45   - reg
   46 
   47 additionalProperties: false
   48 
   49 examples:
   50   - |
   51     #include <dt-bindings/interrupt-controller/irq.h>
   52     i2c0 {
   53         #address-cells = <1>;
   54         #size-cells = <0>;
   55 
   56         /* Example for a I2C device node */
   57         accelerometer@62 {
   58             compatible = "nxp,fxls8962af";
   59             reg = <0x62>;
   60             interrupt-parent = <&gpio0>;
   61             interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
   62             interrupt-names = "INT1";
   63         };
   64     };
   65   - |
   66     #include <dt-bindings/interrupt-controller/irq.h>
   67     spi0 {
   68         #address-cells = <1>;
   69         #size-cells = <0>;
   70 
   71         /* Example for a SPI device node */
   72         accelerometer@0 {
   73             compatible = "nxp,fxls8962af";
   74             reg = <0>;
   75             spi-max-frequency = <4000000>;
   76             interrupt-parent = <&gpio0>;
   77             interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
   78             interrupt-names = "INT1";
   79         };
   80     };

Cache object: e0aba2538c6e78fa67fe59e946fdf8c2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.