RE: [PATCH v5 3/7] iio: Add support for DA9150 GPADC

2015-01-07 Thread Opensource [Adam Thomson]
On January 4, 2015 17:22, Jonathan Cameron wrote: > On 22/12/14 16:51, Adam Thomson wrote: > > This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. > > > > Signed-off-by: Adam Thomson > One last query from me. > > Using the extended channel names

RE: [PATCH v5 5/7] power: Add support for DA9150 Charger

2015-01-07 Thread Opensource [Adam Thomson]
On January 4, 2015 17:26, Jonathan Cameron wrote: On 22/12/14 16:51, Adam Thomson wrote: This patch adds support for DA9150 Charger Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com The IIO bits look fine, but your use of devm_free * doesn't

RE: [PATCH v5 3/7] iio: Add support for DA9150 GPADC

2015-01-07 Thread Opensource [Adam Thomson]
On January 4, 2015 17:22, Jonathan Cameron wrote: On 22/12/14 16:51, Adam Thomson wrote: This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com One last query from me. Using the extended channel names in IIO

[PATCH v5 2/7] mfd: da9150: Add DT binding documentation for core

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/mfd/da9150.txt | 43 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation

[PATCH v5 4/7] iio: da9150: Add DT binding documentation for GPADC

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Jonathan Cameron --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git a/Documentation/devicetree

[PATCH v5 6/7] power: da9150: Add DT binding documentation for charger

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt

[PATCH v5 5/7] power: Add support for DA9150 Charger

2014-12-22 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 666 + 3 files changed, 679 insert

[PATCH v5 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Lee Jones --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..bd83dfc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3084,12 +3084,15 @@ S: Supported F: Documentation/hwmon/da90?? F

[PATCH v5 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-12-22 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c| 413 include/linux

[PATCH v5 3/7] iio: Add support for DA9150 GPADC

2014-12-22 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 409 + 3 files changed, 419 insert

[PATCH v5 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC

2014-12-22 Thread Adam Thomson
er 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (7): mfd: Add support for DA9150 combined charger & fuel-gauge device mfd: da9150: Add DT binding documentation for core iio: Add support for DA9150 GPADC iio: da9150: Add DT

[PATCH v5 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2014-12-22 Thread Adam Thomson
update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (7): mfd: Add support for DA9150 combined charger fuel-gauge device mfd: da9150: Add DT binding documentation for core iio: Add support for DA9150 GPADC iio: da9150: Add DT binding documentation for GPADC

[PATCH v5 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-12-22 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c

[PATCH v5 3/7] iio: Add support for DA9150 GPADC

2014-12-22 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 409 + 3

[PATCH v5 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Acked-by: Lee Jones lee.jo...@linaro.org --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..bd83dfc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3084,12 +3084,15 @@ S

[PATCH v5 5/7] power: Add support for DA9150 Charger

2014-12-22 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 666 + 3

[PATCH v5 6/7] power: da9150: Add DT binding documentation for charger

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation

[PATCH v5 4/7] iio: da9150: Add DT binding documentation for GPADC

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Acked-by: Jonathan Cameron ji...@kernel.org --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150

[PATCH v5 2/7] mfd: da9150: Add DT binding documentation for core

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9150.txt | 43 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings

RE: [PATCH v4 8/8] iio: Add ABI documentation for input current readings

2014-12-12 Thread Opensource [Adam Thomson]
On December 12, 2014 11:46, Jonathan Cameron wrote: > On 25/11/14 18:25, Adam Thomson wrote: > > Add information on in_current related readings. > > > > Signed-off-by: Adam Thomson > This one stands on it's own to applied (with some fuzz and tiny > bit of rearra

RE: [PATCH v4 8/8] iio: Add ABI documentation for input current readings

2014-12-12 Thread Opensource [Adam Thomson]
On December 12, 2014 11:46, Jonathan Cameron wrote: On 25/11/14 18:25, Adam Thomson wrote: Add information on in_current related readings. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com This one stands on it's own to applied (with some fuzz and tiny bit of rearranging

RE: [PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-12-08 Thread Opensource [Adam Thomson]
On December 04, 2014 23:02, Hartmut Knaack wrote: > > + indio_dev = devm_iio_device_alloc(>dev, > > + sizeof(struct da9150_gpadc)); > BTW: If you use sizeof(*gpadc) instead (like it is usually done as well), > it will perfectly fit in one line. I preferred

RE: [PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-12-08 Thread Opensource [Adam Thomson]
On December 04, 2014 23:02, Hartmut Knaack wrote: + indio_dev = devm_iio_device_alloc(pdev-dev, + sizeof(struct da9150_gpadc)); BTW: If you use sizeof(*gpadc) instead (like it is usually done as well), it will perfectly fit in one line. I preferred to

[PATCH v4 4/8] iio: da9150: Add DT binding documentation for GPADC

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Jonathan Cameron --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git a/Documentation/devicetree

[PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-11-25 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 410 + 3 files changed, 420 insert

[PATCH v4 7/8] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Lee Jones --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0ff630d..4d2c39a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2990,12 +2990,15 @@ S: Supported F: Documentation/hwmon/da90?? F

[PATCH v4 5/8] power: Add support for DA9150 Charger

2014-11-25 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 666 + 3 files changed, 679 insert

[PATCH v4 8/8] iio: Add ABI documentation for input current readings

2014-11-25 Thread Adam Thomson
Add information on in_current related readings. Signed-off-by: Adam Thomson --- Documentation/ABI/testing/sysfs-bus-iio | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index d760b02

[PATCH v4 6/8] power: da9150: Add DT binding documentation for charger

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt

[PATCH v4 0/8] Add initial support for DA9150 Charger & Fuel-Gauge IC

2014-11-25 Thread Adam Thomson
inding document so it now resides correctly under 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (8): mfd: Add support for DA9150 combined charger & fuel-gauge device mfd: da9150: Add DT binding documentation for c

[PATCH v4 1/8] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-11-25 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c| 413 include/linux

[PATCH v4 2/8] mfd: da9150: Add DT binding documentation for core

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/mfd/da9150.txt | 43 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation

[PATCH v4 1/8] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-11-25 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c

[PATCH v4 2/8] mfd: da9150: Add DT binding documentation for core

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9150.txt | 43 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings

[PATCH v4 0/8] Add initial support for DA9150 Charger Fuel-Gauge IC

2014-11-25 Thread Adam Thomson
it now resides correctly under 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (8): mfd: Add support for DA9150 combined charger fuel-gauge device mfd: da9150: Add DT binding documentation for core iio: Add support for DA9150

[PATCH v4 6/8] power: da9150: Add DT binding documentation for charger

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation

[PATCH v4 8/8] iio: Add ABI documentation for input current readings

2014-11-25 Thread Adam Thomson
Add information on in_current related readings. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/ABI/testing/sysfs-bus-iio | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing

[PATCH v4 5/8] power: Add support for DA9150 Charger

2014-11-25 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 666 + 3

[PATCH v4 7/8] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Acked-by: Lee Jones lee.jo...@linaro.org --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0ff630d..4d2c39a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2990,12 +2990,15 @@ S

[PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-11-25 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 410 + 3

[PATCH v4 4/8] iio: da9150: Add DT binding documentation for GPADC

2014-11-25 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Acked-by: Jonathan Cameron ji...@kernel.org --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150

RE: [PATCH 3/8] iio: Add support for DA9150 GPADC

2014-10-15 Thread Opensource [Adam Thomson]
On October 11, 2014 23:48, Hartmut Knaack wrote: > Hi, > I have put a few comments inline. > > Adam Thomson schrieb am 23.09.2014 12:53: > > This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. > > > > Signed-off-by: Adam Thomson > > --- &

RE: [PATCH 3/8] iio: Add support for DA9150 GPADC

2014-10-15 Thread Opensource [Adam Thomson]
On October 11, 2014 23:48, Hartmut Knaack wrote: Hi, I have put a few comments inline. Adam Thomson schrieb am 23.09.2014 12:53: This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/iio/adc

RE: [PATCH 3/8] iio: Add support for DA9150 GPADC

2014-10-09 Thread Opensource [Adam Thomson]
On October 7, 2014 20:37, Jonathan Cameron wrote: > On October 7, 2014 3:55:55 PM GMT+01:00, "Opensource [Adam Thomson]" > wrote: > >On September 27, 2014 11:50, Jonathan Cameron wrote: > > > >> On 23/09/14 11:53, Adam Thomson wrote: > >> > This p

RE: [PATCH 3/8] iio: Add support for DA9150 GPADC

2014-10-09 Thread Opensource [Adam Thomson]
On October 7, 2014 20:37, Jonathan Cameron wrote: On October 7, 2014 3:55:55 PM GMT+01:00, Opensource [Adam Thomson] adam.thomson.opensou...@diasemi.com wrote: On September 27, 2014 11:50, Jonathan Cameron wrote: On 23/09/14 11:53, Adam Thomson wrote: This patch adds support for DA9150

RE: [PATCH 3/8] iio: Add support for DA9150 GPADC

2014-10-07 Thread Opensource [Adam Thomson]
On September 27, 2014 11:50, Jonathan Cameron wrote: > On 23/09/14 11:53, Adam Thomson wrote: > > This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. > > + > > +static inline int da9150_gpadc_gpio_6v_voltage_now(int raw_val) > > +{ > > +

RE: [PATCH 2/8] mfd: da9150: Add DT binding documentation for core

2014-10-07 Thread Opensource [Adam Thomson]
On September 27, 2014 11:37, Jonathan Cameron wrote: > On 23/09/14 11:53, Adam Thomson wrote: > > Signed-off-by: Adam Thomson > Obviously this really wants a review from one of the device tree guys, but I > have a few > bits based on what Mark has recently sai

RE: [PATCH 2/8] mfd: da9150: Add DT binding documentation for core

2014-10-07 Thread Opensource [Adam Thomson]
On September 27, 2014 11:37, Jonathan Cameron wrote: On 23/09/14 11:53, Adam Thomson wrote: Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Obviously this really wants a review from one of the device tree guys, but I have a few bits based on what Mark has recently said

RE: [PATCH 3/8] iio: Add support for DA9150 GPADC

2014-10-07 Thread Opensource [Adam Thomson]
On September 27, 2014 11:50, Jonathan Cameron wrote: On 23/09/14 11:53, Adam Thomson wrote: This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. + +static inline int da9150_gpadc_gpio_6v_voltage_now(int raw_val) +{ + /* Convert to mV */ + return (6 * ((raw_val * 1000

[PATCH 1/8] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-09-23 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c| 413 include/linux

[PATCH v3 0/8] Add initial support for DA9150 Charger & Fuel-Gauge IC

2014-09-23 Thread Adam Thomson
tree binding document so it now resides correctly under 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (8): mfd: Add support for DA9150 combined charger & fuel-gauge device mfd: da9150: Add DT binding documentation for core

[PATCH 7/8] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Lee Jones --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1ff06de..3c86b30 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2890,12 +2890,15 @@ S: Supported F: Documentation/hwmon/da90?? F

[PATCH 8/8] iio: Add ABI documentation for input current readings

2014-09-23 Thread Adam Thomson
Add information on in_current related readings. Signed-off-by: Adam Thomson --- Documentation/ABI/testing/sysfs-bus-iio | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index d760b02

[PATCH 3/8] iio: Add support for DA9150 GPADC

2014-09-23 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 406 + 3 files changed, 416 insert

[PATCH 5/8] power: Add support for DA9150 Charger

2014-09-23 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 740 + 3 files changed, 753 insert

[PATCH 6/8] power: da9150: Add DT binding documentation for charger

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt

[PATCH 4/8] iio: da9150: Add DT binding documentation for GPADC

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git a/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt

[PATCH 2/8] mfd: da9150: Add DT binding documentation for core

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/mfd/da9150.txt | 41 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation

[PATCH 4/8] iio: da9150: Add DT binding documentation for GPADC

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git a/Documentation

[PATCH 2/8] mfd: da9150: Add DT binding documentation for core

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9150.txt | 41 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings

[PATCH 6/8] power: da9150: Add DT binding documentation for charger

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation

[PATCH 8/8] iio: Add ABI documentation for input current readings

2014-09-23 Thread Adam Thomson
Add information on in_current related readings. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/ABI/testing/sysfs-bus-iio | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing

[PATCH 3/8] iio: Add support for DA9150 GPADC

2014-09-23 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 406 + 3

[PATCH 5/8] power: Add support for DA9150 Charger

2014-09-23 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 740 + 3

[PATCH 7/8] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-09-23 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Acked-by: Lee Jones lee.jo...@linaro.org --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1ff06de..3c86b30 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2890,12 +2890,15 @@ S

[PATCH v3 0/8] Add initial support for DA9150 Charger Fuel-Gauge IC

2014-09-23 Thread Adam Thomson
document so it now resides correctly under 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (8): mfd: Add support for DA9150 combined charger fuel-gauge device mfd: da9150: Add DT binding documentation for core iio: Add support

[PATCH 1/8] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-09-23 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-09-16 Thread Opensource [Adam Thomson]
On September 15, 2014 23:39, Lee Jones wrote: > On Wed, 10 Sep 2014, Opensource [Adam Thomson] wrote: > > On September 10, 2014 10:50, Lee Jones wrote: > > > On Tue, 09 Sep 2014, Opensource [Adam Thomson] wrote: > > > > > > > On August 28, 2014 17:36,

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-09-16 Thread Opensource [Adam Thomson]
On September 15, 2014 23:39, Lee Jones wrote: On Wed, 10 Sep 2014, Opensource [Adam Thomson] wrote: On September 10, 2014 10:50, Lee Jones wrote: On Tue, 09 Sep 2014, Opensource [Adam Thomson] wrote: On August 28, 2014 17:36, Lee Jones wrote: Thanks for the feedback

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-09-10 Thread Opensource [Adam Thomson]
On September 10, 2014 10:50, Lee Jones wrote: > On Tue, 09 Sep 2014, Opensource [Adam Thomson] wrote: > > > On August 28, 2014 17:36, Lee Jones wrote: > > > > Thanks for the feedback. As a general comment a couple of the items you've > > identified relate

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-09-10 Thread Opensource [Adam Thomson]
On September 10, 2014 10:50, Lee Jones wrote: On Tue, 09 Sep 2014, Opensource [Adam Thomson] wrote: On August 28, 2014 17:36, Lee Jones wrote: Thanks for the feedback. As a general comment a couple of the items you've identified relate to future updates (additional functionality being

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-09-09 Thread Opensource [Adam Thomson]
the churn and size of patch submission. These will be added once these patches have been accepted. Where this is the case, I have added notes in-line against the relevant comments you made. > On Thu, 28 Aug 2014, Adam Thomson wrote: > > > DA9150 is a combined Charger and F

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-09-09 Thread Opensource [Adam Thomson]
On August 28, 2014 12:47, Varka Bhadram wrote: > On 08/28/2014 04:18 PM, Adam Thomson wrote: > > (...) > > > +static int da9150_probe(struct i2c_client *client, > > + const struct i2c_device_id *id) > > +{ > > + struct da9150 *da9150; &

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-09-09 Thread Opensource [Adam Thomson]
On August 28, 2014 12:47, Varka Bhadram wrote: On 08/28/2014 04:18 PM, Adam Thomson wrote: (...) +static int da9150_probe(struct i2c_client *client, + const struct i2c_device_id *id) +{ + struct da9150 *da9150; + int ret; + + da9150 = devm_kzalloc

RE: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-09-09 Thread Opensource [Adam Thomson]
the churn and size of patch submission. These will be added once these patches have been accepted. Where this is the case, I have added notes in-line against the relevant comments you made. On Thu, 28 Aug 2014, Adam Thomson wrote: DA9150 is a combined Charger and Fuel-Gauge IC, with additional

RE: [PATCH] mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver

2014-09-03 Thread Opensource [Adam Thomson]
On August 28, 2014 14:38, Adam Thomson wrote: > On August 28, 2014 12:21, Lee Jones wrote: > > > Steve, Adam, > > > > > Current code init regmap with _regmap_config for both da9052-spi > > > and > > > da9052-i2c drivers. da9052-spi sets the read_fla

RE: [PATCH] mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver

2014-09-03 Thread Opensource [Adam Thomson]
On August 28, 2014 14:38, Adam Thomson wrote: On August 28, 2014 12:21, Lee Jones wrote: Steve, Adam, Current code init regmap with da9052_regmap_config for both da9052-spi and da9052-i2c drivers. da9052-spi sets the read_flag_mask. The same setting may be applied for da9052

RE: [PATCH] mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver

2014-08-28 Thread Opensource [Adam Thomson]
On August 28, 2014 12:21, Lee Jones wrote: > Steve, Adam, > > > Current code init regmap with _regmap_config for both da9052-spi and > > da9052-i2c drivers. da9052-spi sets the read_flag_mask. > > The same setting may be applied for da9052-i2c if da9052-spi driver is > > loaded > > first

[PATCH v2 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aefa948..6dc0aee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2883,12 +2883,15 @@ S: Supported F: Documentation/hwmon/da90?? F: drivers/gpio/gpio

[PATCH v2 3/7] iio: Add support for DA9150 GPADC

2014-08-28 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 430 + 3 files changed, 440 insert

[PATCH v2 2/7] mfd: da9150: Add DT binding documentation for core

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/mfd/da9150.txt | 41 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation

[PATCH v2 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-08-28 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 + drivers/mfd/da9150-core.c| 332 ++ drivers/mfd/da9150

[PATCH v2 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC

2014-08-28 Thread Adam Thomson
binding document so it now resides correctly under 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (7): mfd: Add support for DA9150 combined charger & fuel-gauge device mfd: da9150: Add DT binding documentation for core iio:

[PATCH v2 6/7] power: da9150: Add DT binding documentation for charger

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt

[PATCH v2 4/7] iio: da9150: Add DT binding documentation for GPADC

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git a/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt

[PATCH v2 5/7] power: Add support for DA9150 Charger

2014-08-28 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Guage IC Charger. Signed-off-by: Adam Thomson --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 715 + 3 files changed, 728 insert

[PATCH v2 4/7] iio: da9150: Add DT binding documentation for GPADC

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git a/Documentation

[PATCH v2 5/7] power: Add support for DA9150 Charger

2014-08-28 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Guage IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 715 + 3

[PATCH v2 6/7] power: da9150: Add DT binding documentation for charger

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation

[PATCH v2 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2014-08-28 Thread Adam Thomson
so it now resides correctly under 'adc' directory. - Add update to MAINTAINERS file to include these files in Dialog support list. Adam Thomson (7): mfd: Add support for DA9150 combined charger fuel-gauge device mfd: da9150: Add DT binding documentation for core iio: Add support

[PATCH v2 2/7] mfd: da9150: Add DT binding documentation for core

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9150.txt | 41 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings

[PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-08-28 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 + drivers/mfd/da9150-core.c

[PATCH v2 3/7] iio: Add support for DA9150 GPADC

2014-08-28 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 430 + 3

[PATCH v2 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aefa948..6dc0aee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2883,12 +2883,15 @@ S: Supported F: Documentation/hwmon

RE: [PATCH] mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver

2014-08-28 Thread Opensource [Adam Thomson]
On August 28, 2014 12:21, Lee Jones wrote: Steve, Adam, Current code init regmap with da9052_regmap_config for both da9052-spi and da9052-i2c drivers. da9052-spi sets the read_flag_mask. The same setting may be applied for da9052-i2c if da9052-spi driver is loaded first because they

RE: [PATCH] iio: core: Propagate error codes from OF layer to client drivers

2014-08-27 Thread Adam Thomson
On August 26, 2014 15:36, Adam Thomson wrote: > On August 26, 2014 14:48, Ivan T. Ivanov wrote: > > > On Tue, 2014-08-26 at 06:25 -0700, Guenter Roeck wrote: > > > On 08/26/2014 12:51 AM, Ivan T. Ivanov wrote: > > > > Hi, > > > > > > > [ .

RE: [PATCH] iio: core: Propagate error codes from OF layer to client drivers

2014-08-27 Thread Adam Thomson
On August 26, 2014 15:36, Adam Thomson wrote: On August 26, 2014 14:48, Ivan T. Ivanov wrote: On Tue, 2014-08-26 at 06:25 -0700, Guenter Roeck wrote: On 08/26/2014 12:51 AM, Ivan T. Ivanov wrote: Hi, [ ... ] Another, less intrusive, solution will be if we revert last

RE: [PATCH] iio: core: Propagate error codes from OF layer to client drivers

2014-08-26 Thread Opensource [Adam Thomson]
On August 26, 2014 14:48, Ivan T. Ivanov wrote: > On Tue, 2014-08-26 at 06:25 -0700, Guenter Roeck wrote: > > On 08/26/2014 12:51 AM, Ivan T. Ivanov wrote: > > > Hi, > > > > > [ ... ] > > > > > > Another, less intrusive, solution will be if we revert last patch and > > > explicitly > > > check

RE: [PATCH] iio: core: Propagate error codes from OF layer to client drivers

2014-08-26 Thread Opensource [Adam Thomson]
On August 26, 2014 14:48, Ivan T. Ivanov wrote: On Tue, 2014-08-26 at 06:25 -0700, Guenter Roeck wrote: On 08/26/2014 12:51 AM, Ivan T. Ivanov wrote: Hi, [ ... ] Another, less intrusive, solution will be if we revert last patch and explicitly check for EPROBE_DEFER on of_

RE: [PATCH 6/8] power: Add support for DA9150 Charger

2014-06-17 Thread Opensource [Adam Thomson]
On June 16, 2014 14:28, Lee Jones wrote: > > +#ifndef _DA9150_CHARGER_H > > +#define _DA9150_CHARGER_H > > Two '_'s are normally preferred. Ok, can change it accordingly. > > > +#include > > +#include > > What are you using this for? Nothing. Will remove them. Thanks. > > +#include > >

<    4   5   6   7   8   9   10   11   >