From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f43.google.com ([74.125.83.43]:58690 "EHLO mail-ee0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728Ab3IPQCg (ORCPT ); Mon, 16 Sep 2013 12:02:36 -0400 Received: by mail-ee0-f43.google.com with SMTP id e52so2133008eek.16 for ; Mon, 16 Sep 2013 09:02:35 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jic23@cam.ac.uk Cc: arnd@arndb.de, linus.walleij@linaro.org, denis.ciocca@st.com, linux-iio@vger.kernel.org Subject: [PATCH v4 00/20] iio: ST clean-ups and new sensor support Date: Mon, 16 Sep 2013 17:02:06 +0100 Message-Id: <1379347346-823-1-git-send-email-lee.jones@linaro.org> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org Hi Jonathan, Hopefully I've covered all of your points in this new set. This patch-set includes a few clean-ups surrounding error handling and non-mandatory functionality along with regulator support and the addition of a new pressure/temperature sensor (LPS001WP). Everything has been tested with Device Tree. v2: - Rebased onto Linux -next as requested by Jonathan - Reworked clean-up patch to address Jonathan's concerns - Added binding document (inc regulators) - Extended regulator support in the driver - Re-worked Data Ready pin handling v3: - Standardise sensor names: _ - Added error handling clean-ups - More binding documents; for magn, accel and gyro - Message on successful sensor bring-up; for press, magn, accel and gyro - More device enablement for ux500 by way of CONFIGs - New neat reorder/grouping of patches v4: - Remove "registered" prints - Remove *_ appends - Fix patch mangle - CC DT ML on bindings - Realisation that we're using a different Accel & Magn chip - Move (irq > 0) back into the error path - Squash CONFIG enablement into one patch Documentation/devicetree/bindings/iio/accel/lsm303dlhc.txt | 21 +++++++++++++ Documentation/devicetree/bindings/iio/gyro/l3g4200d.txt | 21 +++++++++++++ Documentation/devicetree/bindings/iio/magnetometer/lsm303dlhc.txt | 21 +++++++++++++ Documentation/devicetree/bindings/iio/pressure/lps001wp.txt | 21 +++++++++++++ arch/arm/boot/dts/ste-dbx5x0.dtsi | 5 ---- arch/arm/boot/dts/ste-snowball.dts | 34 +++++++++++++++++++++ arch/arm/configs/u8500_defconfig | 5 ++++ drivers/iio/accel/st_accel_core.c | 19 ++++++------ drivers/iio/common/st_sensors/st_sensors_core.c | 50 ++++++++++++++++++------------- drivers/iio/gyro/st_gyro_core.c | 19 ++++++------ drivers/iio/magnetometer/st_magn_core.c | 19 ++++++------ drivers/iio/pressure/st_pressure.h | 1 + drivers/iio/pressure/st_pressure_core.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------- drivers/iio/pressure/st_pressure_i2c.c | 1 + include/linux/iio/common/st_sensors.h | 5 ++++ 15 files changed, 329 insertions(+), 67 deletions(-)