summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 15:21:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 15:21:21 -0700
commit27f5a85fb535296ebaa8334627774f0201df8a11 (patch)
tree3dd81a7c4690da4f19b5f0616a60f0a9dfaec809 /Documentation
parentcaf382fe31b7327a1e4449f1c05c0cc7fb5b90be (diff)
parent2017cff24cc08b145bff7256dd6b0ef99e7e8a01 (diff)
Merge tag 'iio-for-3.18b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
Jonathan writes: Second round of new IIO drivers, features and cleanups for the 3.18 cycle. New drivers and part support * Bosch bmg160 Gyroscope driver * Dyna-Image al3320a ambient light sensor driver * Bosh bmi055 gyroscope part driver (accelerometer part supported by bmc150) * isl29018 - add support for isl29023 and isl29035 * kxcjk-1013 - add support for kxcj9-1008 and kxtj2-1009 * bmc150 - additional part support (BMI055 accelerometer part, BMA255, BMA222E, BMA250E and BMA280). Different resolutions but otherwise similar parts. * bma180 - add BMA250 (note different from the BMA250E support above despite the naming). A lot of driver reworking lead up to this - described below. New features * kxcjk1013 - add threshold event support. * rockchip - document DT bindings. * isl29018 - ACPI support * bma180 - enable use without IRQ Cleanups * Tree wide - drop owner field assignment if using the module_platform_driver helper as that assigns it anyway. * kxcjk1013 - drop a redundant assignment of the current range and fix a a defined but not used warning. * inv_mpu6050 - Remove an unnecessary cast form a void pointer. * rockchip - drop and unused variable. * at91_adc - make a local function static. * st-sensors-core - correctly handle an error in setting in st_sensors_set_drdy_int_pin * isl29018 - typo fix * bmc150 - fix incorrect scale value for 16G range (Driver new this cycle) * bmc150 - fix issues when CONFIG_PM_RUNTIME not set (Driver new this cycle) * ad7606 - line length tidy up. * bmg160 - set power state only if PM_RUNTIME is defined. * ak8975 - fix some unnecessary casting between char * and const char * * bma180 - prefix remaining bits and bobs with bma180_ and ensure consistent. - use a bool instead of an int for state (as its either on or off). - expose the temperature channel - statically allocate buffers to avoid need for update_scan_mode callback. - refactor to allow futher chip variants including support for part specific config and disable code + different resolutions.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg1607
-rw-r--r--Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt24
2 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160 b/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160
new file mode 100644
index 000000000000..e98209c9155e
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160
@@ -0,0 +1,7 @@
+What: /sys/bus/iio/devices/triggerX/name = "bmg160-any-motion-devX"
+KernelVersion: 3.17
+Contact: linux-iio@vger.kernel.org
+Description:
+ The BMG160 gyro kernel module provides an additional trigger,
+ which sets driver in a mode, where data is pushed to the buffer
+ only when there is any motion.
diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt
new file mode 100644
index 000000000000..5d3ec1df226d
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt
@@ -0,0 +1,24 @@
+Rockchip Successive Approximation Register (SAR) A/D Converter bindings
+
+Required properties:
+- compatible: Should be "rockchip,saradc"
+- reg: physical base address of the controller and length of memory mapped
+ region.
+- interrupts: The interrupt number to the cpu. The interrupt specifier format
+ depends on the interrupt controller.
+- clocks: Must contain an entry for each entry in clock-names.
+- clock-names: Shall be "saradc" for the converter-clock, and "apb_pclk" for
+ the peripheral clock.
+- vref-supply: The regulator supply ADC reference voltage.
+- #io-channel-cells: Should be 1, see ../iio-bindings.txt
+
+Example:
+ saradc: saradc@2006c000 {
+ compatible = "rockchip,saradc";
+ reg = <0x2006c000 0x100>;
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
+ clock-names = "saradc", "apb_pclk";
+ #io-channel-cells = <1>;
+ vref-supply = <&vcc18>;
+ };