[PATCH 2/2] iio: ad7793: Fix the serial interface reset

2017-09-05 Thread Dragos Bogdan
d7793: Add support for the ad7798 and ad7799") Signed-off-by: Dragos Bogdan <dragos.bog...@analog.com> --- drivers/iio/adc/ad7793.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c index e6706a09e100..47c

[PATCH 2/2] iio: ad7793: Fix the serial interface reset

2017-09-05 Thread Dragos Bogdan
d7793: Add support for the ad7798 and ad7799") Signed-off-by: Dragos Bogdan --- drivers/iio/adc/ad7793.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c index e6706a09e100..47c3d7f32900 100644 --- a/drivers/iio/adc/ad77

[PATCH 1/2] iio: ad_sigma_delta: Implement a dedicated reset function

2017-09-05 Thread Dragos Bogdan
Since most of the SD ADCs have the option of reseting the serial interface by sending a number of SCLKs with CS = 0 and DIN = 1, a dedicated function that can do this is usefull. Signed-off-by: Dragos Bogdan <dragos.bog...@analog.com> --- drivers/iio/adc/ad_sigma_delta.c

[PATCH 1/2] iio: ad_sigma_delta: Implement a dedicated reset function

2017-09-05 Thread Dragos Bogdan
Since most of the SD ADCs have the option of reseting the serial interface by sending a number of SCLKs with CS = 0 and DIN = 1, a dedicated function that can do this is usefull. Signed-off-by: Dragos Bogdan --- drivers/iio/adc/ad_sigma_delta.c | 28 include

[PATCH] iio:ad7793: Fix the serial interface reset

2017-09-04 Thread Dragos Bogdan
d7798 and ad7799") Signed-off-by: Dragos Bogdan <dragos.bog...@analog.com> --- drivers/iio/adc/ad7793.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c index e6706a09e100..8680abf72dd2 100644 --- a/drivers/iio/ad

[PATCH] iio:ad7793: Fix the serial interface reset

2017-09-04 Thread Dragos Bogdan
d7798 and ad7799") Signed-off-by: Dragos Bogdan --- drivers/iio/adc/ad7793.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c index e6706a09e100..8680abf72dd2 100644 --- a/drivers/iio/adc/ad7793.c +++ b/drivers/iio/ad

[PATCH] iio: imu: adis16480: Fix acceleration scale factor for adis16480

2017-08-03 Thread Dragos Bogdan
According to the datasheet, the range of the acceleration is [-10 g, + 10 g], so the scale factor should be 10 instead of 5. Signed-off-by: Dragos Bogdan <dragos.bog...@analog.com> --- drivers/iio/imu/adis16480.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i

[PATCH] iio: imu: adis16480: Fix acceleration scale factor for adis16480

2017-08-03 Thread Dragos Bogdan
According to the datasheet, the range of the acceleration is [-10 g, + 10 g], so the scale factor should be 10 instead of 5. Signed-off-by: Dragos Bogdan --- drivers/iio/imu/adis16480.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio

[PATCH v2] power: supply: ltc2941-battery-gauge: Add LTC2944 support

2017-07-11 Thread Dragos Bogdan
The only difference between the already supported LTC2943 and LTC2944 is the operating range (3.6V - 20V compared to 3.6V - 60V). Signed-off-by: Dragos Bogdan <dragos.bog...@analog.com> --- Changes in v2: - Fix the voltage and current conversion. .../devicetree/bindings/power/supply/l

[PATCH v2] power: supply: ltc2941-battery-gauge: Add LTC2944 support

2017-07-11 Thread Dragos Bogdan
The only difference between the already supported LTC2943 and LTC2944 is the operating range (3.6V - 20V compared to 3.6V - 60V). Signed-off-by: Dragos Bogdan --- Changes in v2: - Fix the voltage and current conversion. .../devicetree/bindings/power/supply/ltc2941.txt | 10 ++--- drivers

[PATCH] power: supply: ltc2941-battery-gauge: Add LTC2944 support

2017-07-11 Thread Dragos Bogdan
The only difference between the already supported LTC2943 and LTC2944 is the operating range (3.6V - 20V compared to 3.6V - 60V). Signed-off-by: Dragos Bogdan <dragos.bog...@analog.com> --- Documentation/devicetree/bindings/power/supply/ltc2941.txt | 10 +- drivers/power/supply/l

[PATCH] power: supply: ltc2941-battery-gauge: Add LTC2944 support

2017-07-11 Thread Dragos Bogdan
The only difference between the already supported LTC2943 and LTC2944 is the operating range (3.6V - 20V compared to 3.6V - 60V). Signed-off-by: Dragos Bogdan --- Documentation/devicetree/bindings/power/supply/ltc2941.txt | 10 +- drivers/power/supply/ltc2941-battery-gauge.c