Re: [PATCHv2 4/4] DTS: ARM: OMAP3-N900: Add lis3lv02d support
* Sebastian Reichel s...@kernel.org [150514 15:41]: Hi Tony, On Fri, Mar 27, 2015 at 03:39:46PM +0100, Sebastian Reichel wrote: This adds support for the N900's accelerometer to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel s...@kernel.org Acked-by: Tony Lindgren t...@atomide.com --- Quote from Tony: This at least currently does not conflict with anything I have queued, so I suggest you try to get Greg to take the whole set: http://article.gmane.org/gmane.linux.ports.arm.omap/125020 It seems Greg did not see this message (this patch did not make it into 4.1-rc and the driver changes did), so could you queue this patch for 4.2? Hmm seems to be there as commit 1ac4e6fee41d6. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCHv2 4/4] DTS: ARM: OMAP3-N900: Add lis3lv02d support
Hi, On Wed, May 20, 2015 at 10:21:22AM -0700, Tony Lindgren wrote: * Sebastian Reichel s...@kernel.org [150514 15:41]: On Fri, Mar 27, 2015 at 03:39:46PM +0100, Sebastian Reichel wrote: This adds support for the N900's accelerometer to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel s...@kernel.org Acked-by: Tony Lindgren t...@atomide.com --- Quote from Tony: This at least currently does not conflict with anything I have queued, so I suggest you try to get Greg to take the whole set: http://article.gmane.org/gmane.linux.ports.arm.omap/125020 It seems Greg did not see this message (this patch did not make it into 4.1-rc and the driver changes did), so could you queue this patch for 4.2? Hmm seems to be there as commit 1ac4e6fee41d6. uhm right, my mistake. No clue how I missed it (especially since it's the last change in the n900 dts file). Sorry for the noise. -- Sebastian signature.asc Description: Digital signature
Re: [PATCHv2 4/4] DTS: ARM: OMAP3-N900: Add lis3lv02d support
* Sebastian Reichel s...@kernel.org [150321 13:20]: From: Sebastian Reichel s...@kernel.or This adds support for the N900's accelerometer to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel s...@kernel.org This at least currently does not conflict with anything I have queued, so I suggest you try to get Greg to take the whole set: Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/boot/dts/omap3-n900.dts | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6040327..b02a717 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -602,6 +602,58 @@ pinctrl-0 = i2c3_pins; clock-frequency = 40; + + lis302dl: lis3lv02d@1d { + compatible = st,lis3lv02d; + reg = 0x1d; + + Vdd-supply = vaux1; + Vdd_IO-supply = vio; + + interrupt-parent = gpio6; + interrupts = 21 20; /* 181 and 180 */ + + /* click flags */ + st,click-single-x; + st,click-single-y; + st,click-single-z; + + /* Limits are 0.5g * value */ + st,click-threshold-x = 8; + st,click-threshold-y = 8; + st,click-threshold-z = 10; + + /* Click must be longer than time limit */ + st,click-time-limit = 9; + + /* Kind of debounce filter */ + st,click-latency = 50; + + /* Interrupt line 2 for click detection */ + st,irq2-click; + + st,wakeup-x-hi; + st,wakeup-y-hi; + st,wakeup-threshold = (800/18); /* millig-value / 18 to get HW values */ + + st,wakeup2-z-hi; + st,wakeup2-threshold = (900/18); /* millig-value / 18 to get HW values */ + + st,hipass1-disable; + st,hipass2-disable; + + st,axis-x = 1;/* LIS3_DEV_X */ + st,axis-y = (-2); /* LIS3_INV_DEV_Y */ + st,axis-z = (-3); /* LIS3_INV_DEV_Z */ + + st,min-limit-x = (-32); + st,min-limit-y = 3; + st,min-limit-z = 3; + + st,max-limit-x = (-3); + st,max-limit-y = 32; + st,max-limit-z = 32; + }; }; mmc1 { -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCHv2 4/4] DTS: ARM: OMAP3-N900: Add lis3lv02d support
From: Sebastian Reichel s...@kernel.or This adds support for the N900's accelerometer to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel s...@kernel.org --- arch/arm/boot/dts/omap3-n900.dts | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6040327..b02a717 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -602,6 +602,58 @@ pinctrl-0 = i2c3_pins; clock-frequency = 40; + + lis302dl: lis3lv02d@1d { + compatible = st,lis3lv02d; + reg = 0x1d; + + Vdd-supply = vaux1; + Vdd_IO-supply = vio; + + interrupt-parent = gpio6; + interrupts = 21 20; /* 181 and 180 */ + + /* click flags */ + st,click-single-x; + st,click-single-y; + st,click-single-z; + + /* Limits are 0.5g * value */ + st,click-threshold-x = 8; + st,click-threshold-y = 8; + st,click-threshold-z = 10; + + /* Click must be longer than time limit */ + st,click-time-limit = 9; + + /* Kind of debounce filter */ + st,click-latency = 50; + + /* Interrupt line 2 for click detection */ + st,irq2-click; + + st,wakeup-x-hi; + st,wakeup-y-hi; + st,wakeup-threshold = (800/18); /* millig-value / 18 to get HW values */ + + st,wakeup2-z-hi; + st,wakeup2-threshold = (900/18); /* millig-value / 18 to get HW values */ + + st,hipass1-disable; + st,hipass2-disable; + + st,axis-x = 1;/* LIS3_DEV_X */ + st,axis-y = (-2); /* LIS3_INV_DEV_Y */ + st,axis-z = (-3); /* LIS3_INV_DEV_Z */ + + st,min-limit-x = (-32); + st,min-limit-y = 3; + st,min-limit-z = 3; + + st,max-limit-x = (-3); + st,max-limit-y = 32; + st,max-limit-z = 32; + }; }; mmc1 { -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html