[PATCH v2 0/4] lis3: lis3lv02d_i2c: Add device tree support
AnilKumar Ch
anilkumar at ti.com
Fri Sep 14 18:06:52 EST 2012
Adds device tree support to lis3lv02d_i2c driver. Along with this
DT init is moved from core driver to individual drivers, with the
current implementation some pdata is missing in lis3lv02d_i2c driver.
Also adds platform data for lis331dlh driver to am335x-EVM. These
patches were tested on AM335x-EVM.
Changes from v1:
- Moved lis3lv02d_init_dt to individual drivers with
some code clean-up.
- Added lis331dlh compatible entry for lis331dlh parts
AnilKumar Ch (4):
lis3: lis3lv02d: remove lis3lv02d driver DT init
lis3: lis3lv02d_spi: Add lis3lv02d device tree init
lis3: lis3lv02d_i2c: Add lis3lv02d device tree init
ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm
arch/arm/boot/dts/am335x-evm.dts | 42 ++++++++++++++++++++++++++++++++
drivers/misc/lis3lv02d/lis3lv02d.c | 8 ++----
drivers/misc/lis3lv02d/lis3lv02d.h | 1 +
drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 19 +++++++++++++++
drivers/misc/lis3lv02d/lis3lv02d_spi.c | 8 +++---
5 files changed, 69 insertions(+), 9 deletions(-)
--
1.7.9.5
More information about the devicetree-discuss
mailing list