Sean McNeil wrote:
Andy Green wrote:Somebody in the thread at some point said: | This large patch removes motion sensor from Linux SPI bitbang driver. | Previously, some access was done through Linux SPI protected | by a mutex, and the ISR access was done by platform bitbang code due | to inability of Linux SPI driver to work in the interrupt context. | | Now all access is done by bitbang callbacks in mach_gta02.c and are | protected by single scheme of interrupt lockout for the duration -- | I line-by-line'd the driver to confirm that best I could, adding | protection and taking more care on several /sys related paths. | | Because this is no longer a Linux SPI bus driver, the path for various | /sys things have changed. They can now be found down, eg, | | /sys/devices/platform/lis302dl.1/sample_rate | | lis302dl.1 is the top sensor and .2 the bottom. The names of the input | susbsytem paths remain the same as before. Responding to myself... It must be multiplexed I guess or there would not be any way to guarantee an immediate level without a toggle when you switch from input to output. |
- [PATCH] fix-lid302dl-bitbang-all-the-way-baby.patch Andy Green
- Re: [PATCH] fix-lid302dl-bitbang-all-the-way-b... Andy Green
- Re: [PATCH] fix-lid302dl-bitbang-all-the-w... Sean McNeil
- Re: [PATCH] fix-lid302dl-bitbang-all-t... Sean McNeil
- Re: [PATCH] fix-lid302dl-bitbang-all-t... Andy Green
- Re: [PATCH] fix-lid302dl-bitbang-a... Andy Green
- Re: [PATCH] fix-lid302dl-bitb... Andy Green
- Re: [PATCH] fix-lid302dl-... andrzej zaborowski
- Re: [PATCH] fix-lid302dl-... Sean McNeil
- Re: [PATCH] fix-lid30... Andy Green
- Re: [PATCH] fix-lid30... Michael 'Mickey' Lauer
- Re: [PATCH] fix-lid30... Andy Green
- Re: [PATCH] fix-lid30... matt_hsu
- Re: [PATCH] fix-lid30... Harald Welte
