[PATCH] hwmon: (ads1015) Make gain and datarate configurable

2011-03-21 Thread Dirk Eibach
devicetree stuff to ads1015_get_channels_config_of() - renamed ads1015_get_exported_channels() to ads1015_get_channels_config() - renamed ADS1015_CONFIG_CHANNELS to ADS1015_CHANNELS - fixed some style inconsistencies Signed-off-by: Dirk Eibach --- .../devicetree/bindings/hwmon/ads1015.txt

[PATCH v2] hwmon: (ads1015) Make gain and datarate configurable

2011-03-16 Thread Dirk Eibach
Documentation - improved patch description Signed-off-by: Dirk Eibach --- .../devicetree/bindings/hwmon/ads1015.txt | 73 + Documentation/devicetree/bindings/i2c/ads1015.txt | 29 - Documentation/hwmon/ads1015| 44 ++--- drivers/hwmon/ads1015.c

[PATCH] hwmon: (ads1015) Make gain and datarate configurable

2011-03-09 Thread Dirk Eibach
Signed-off-by: Dirk Eibach --- .../devicetree/bindings/hwmon/ads1015.txt | 73 ++ Documentation/devicetree/bindings/i2c/ads1015.txt | 29 -- Documentation/hwmon/ads1015| 48 +++--- drivers/hwmon/ads1015.c

[PATCH v3] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Dirk Eibach
Signed-off-by: Dirk Eibach --- Changes since v1: - removed sysfs from description - explain channels Changes since v2: - Replaced 'accessable' by 'accessible'. Documentation/devicetree/bindings/i2c/ads1015.txt | 29 + 1 files changed, 29 insert

[PATCH v2] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Dirk Eibach
Signed-off-by: Dirk Eibach --- Changes since v1: - removed sysfs from description - explain channels Documentation/devicetree/bindings/i2c/ads1015.txt | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c

[PATCH] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Dirk Eibach
Signed-off-by: Dirk Eibach --- Documentation/devicetree/bindings/i2c/ads1015.txt | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/ads1015.txt diff --git a/Documentation/devicetree/bindings/i2c/ads1015.txt b

[PATCH v4] hwmon: Add support for Texas Instruments ADS1015

2011-03-03 Thread Dirk Eibach
Signed-off-by: Dirk Eibach --- Changes since v1: - fixed/extended Documentation - removed unused register definitions - hardcoded PGA fullscale table size - made sure patch applies against v2.6.38-rc4 - reordered functions to avoid forward declaration - results from i2c_smbus_read_word_data() are