diff options
| author | Sebastian Reichel <sre@kernel.org> | 2015-03-27 10:39:45 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 10:20:54 -0400 |
| commit | 21e8681862a544517c1c9d6515770efe3897e326 (patch) | |
| tree | 8546949775e207e0130fcce74b87d3aa5dc30990 /Documentation/devicetree/bindings/misc | |
| parent | c5131a373613713fccd3b7a377d957391c498f21 (diff) | |
Documentation: DT: lis302: update wakeup binding
This updated the documentation of the DT binding to
describe the added wakeup threshold and second wakeup
engine.
It also adds a note, that the axis values may be
negative.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/misc')
| -rw-r--r-- | Documentation/devicetree/bindings/misc/lis302.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/misc/lis302.txt b/Documentation/devicetree/bindings/misc/lis302.txt index 6def86f6b053..2a19bff9693f 100644 --- a/Documentation/devicetree/bindings/misc/lis302.txt +++ b/Documentation/devicetree/bindings/misc/lis302.txt | |||
| @@ -46,11 +46,18 @@ Optional properties for all bus drivers: | |||
| 46 | interrupt 2 | 46 | interrupt 2 |
| 47 | - st,wakeup-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for | 47 | - st,wakeup-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for |
| 48 | upper/lower limit | 48 | upper/lower limit |
| 49 | - st,wakeup-threshold: set wakeup threshold | ||
| 50 | - st,wakeup2-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for | ||
| 51 | upper/lower limit for second wakeup | ||
| 52 | engine. | ||
| 53 | - st,wakeup2-threshold: set wakeup threshold for second wakeup | ||
| 54 | engine. | ||
| 49 | - st,highpass-cutoff-hz=: 1, 2, 4 or 8 for 1Hz, 2Hz, 4Hz or 8Hz of | 55 | - st,highpass-cutoff-hz=: 1, 2, 4 or 8 for 1Hz, 2Hz, 4Hz or 8Hz of |
| 50 | highpass cut-off frequency | 56 | highpass cut-off frequency |
| 51 | - st,hipass{1,2}-disable: disable highpass 1/2. | 57 | - st,hipass{1,2}-disable: disable highpass 1/2. |
| 52 | - st,default-rate=: set the default rate | 58 | - st,default-rate=: set the default rate |
| 53 | - st,axis-{x,y,z}=: set the axis to map to the three coordinates | 59 | - st,axis-{x,y,z}=: set the axis to map to the three coordinates. |
| 60 | Negative values can be used for inverted axis. | ||
| 54 | - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis | 61 | - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis |
| 55 | (used by self-test) | 62 | (used by self-test) |
| 56 | 63 | ||
