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/mfd/mxs-lradc.txt

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 * Freescale MXS LRADC device driver
    2 
    3 Required properties:
    4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc"
    5               for i.MX28 SoC
    6 - reg: Address and length of the register set for the device
    7 - interrupts: Should contain the LRADC interrupts
    8 
    9 Optional properties:
   10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen
   11                                to LRADC. Valid value is either 4 or 5. If this
   12                                property is not present, then the touchscreen is
   13                                disabled. 5 wires is valid for i.MX28 SoC only.
   14 - fsl,ave-ctrl: number of samples per direction to calculate an average value.
   15                 Allowed value is 1 ... 32, default is 4
   16 - fsl,ave-delay: delay between consecutive samples. Allowed value is
   17                  2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at
   18                  2 kHz and its default is 2 (= 1 ms)
   19 - fsl,settling: delay between plate switch to next sample. Allowed value is
   20                 1 ... 2047. It counts at 2 kHz and its default is
   21                 10 (= 5 ms)
   22 
   23 Example for i.MX23 SoC:
   24 
   25         lradc@80050000 {
   26                 compatible = "fsl,imx23-lradc";
   27                 reg = <0x80050000 0x2000>;
   28                 interrupts = <36 37 38 39 40 41 42 43 44>;
   29                 fsl,lradc-touchscreen-wires = <4>;
   30                 fsl,ave-ctrl = <4>;
   31                 fsl,ave-delay = <2>;
   32                 fsl,settling = <10>;
   33         };
   34 
   35 Example for i.MX28 SoC:
   36 
   37         lradc@80050000 {
   38                 compatible = "fsl,imx28-lradc";
   39                 reg = <0x80050000 0x2000>;
   40                 interrupts = <10 14 15 16 17 18 19 20 21 22 23 24 25>;
   41                 fsl,lradc-touchscreen-wires = <5>;
   42                 fsl,ave-ctrl = <4>;
   43                 fsl,ave-delay = <2>;
   44                 fsl,settling = <10>;
   45         };

Cache object: c323cc09520ebcaef7a58b81f8664664


[ 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.