~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/mxs-lradc.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mfd/mxs-lradc.txt (Architecture alpha) and /Documentation/devicetree/bindings/mfd/mxs-lradc.txt (Architecture ppc)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php