• Patil, Rachna's avatar
    input: TSC: ti_tscadc: Add Step configuration as platform data · d1fb5743
    Patil, Rachna authored
    There are 16 programmable Step Configuration
    registers which are used by the sequencer.
    Program the Steps in order to configure a channel
    input to be sampled. If the same step is applied
    several times, the coordinate values read are more
    accurate.
    Hence we provide the user an option of how many steps
    should be configured.
    
    For ex: If this value is assigned as 4, This means that
    4 steps are applied to read x co-ordinate and 4 steps to read
    y co-ordinate. Furtheron the interrupt handler already
    holds code to use delta filter and report the best value
    out of these values to the input sub-system.
    Signed-off-by: default avatarPatil, Rachna <rachna@ti.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    d1fb5743
ti_tscadc.c 13.8 KB