Commit a84fbe4d authored by Imre Deak's avatar Imre Deak Committed by Juha Yrjola

ARM: OMAP: update ads7846 x_plate_ohm for N770

Change the X plate resistance so that user-space gets the pressure
value range it expects.
Signed-off-by: default avatarImre Deak <imre.deak@nokia.com>
Signed-off-by: default avatarJuha Yrjola <juha.yrjola@nokia.com>
parent 85ebd1e8
...@@ -93,7 +93,7 @@ static struct platform_device *nokia770_devices[] __initdata = { ...@@ -93,7 +93,7 @@ static struct platform_device *nokia770_devices[] __initdata = {
static struct ads7846_platform_data nokia770_ads7846_platform_data __initdata = { static struct ads7846_platform_data nokia770_ads7846_platform_data __initdata = {
.x_max = 0x0fff, .x_max = 0x0fff,
.y_max = 0x0fff, .y_max = 0x0fff,
.x_plate_ohms = 120, .x_plate_ohms = 180,
.pressure_max = 200, .pressure_max = 200,
.debounce_max = 10, .debounce_max = 10,
.debounce_tol = 3, .debounce_tol = 3,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment