Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752269AbaBJE1l (ORCPT ); Sun, 9 Feb 2014 23:27:41 -0500 Received: from mail-pb0-f51.google.com ([209.85.160.51]:64638 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbaBJE1j (ORCPT ); Sun, 9 Feb 2014 23:27:39 -0500 From: Matt Ranostay To: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org Cc: matt.porter@linaro.org, pantelis.antoniou@gmail.com, Matt Ranostay Subject: [PATCH v6 0/2] AS3935 lightning sensor support Date: Sun, 9 Feb 2014 20:27:29 -0800 Message-Id: <1392006451-7818-1-git-send-email-mranostay@gmail.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for the AMS AS3935 lightning sensor that allows reporting back estimated storm distance and strike events. Changes from v5 * SPI write cache-aligned issues fixed * Fixed mutex_unlock's being missed * Reports distance in meters instead of kilometers (1km steps) * tune_cap is now in picofarads and not a register value Matt Ranostay (2): iio:as3935: Add DT binding docs for AS3935 driver iio: Add AS3935 lightning sensor support .../ABI/testing/sysfs-bus-iio-proximity-as3935 | 18 + .../devicetree/bindings/iio/proximity/as3935.txt | 27 ++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + drivers/iio/proximity/Kconfig | 19 + drivers/iio/proximity/Makefile | 6 + drivers/iio/proximity/as3935.c | 443 +++++++++++++++++++++ 8 files changed, 516 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 create mode 100644 Documentation/devicetree/bindings/iio/proximity/as3935.txt create mode 100644 drivers/iio/proximity/Kconfig create mode 100644 drivers/iio/proximity/Makefile create mode 100644 drivers/iio/proximity/as3935.c -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/