[PATCH v3 1/2] iio: Add driver for TLA202x ADCs

2019-03-26 Thread Ibtsam Ul-Haq
Basic driver for Texas Instruments TLA202x series ADCs. Input channels are configurable from the device tree. Input scaling is supported. Trigger buffer support is not yet implemented. Signed-off-by: Ibtsam Ul-Haq --- Changes in v3: - Added locking when setting SCALE - Removed deep-indented goto

[PATCH v3 2/2] dt-bindings: iio: Add bindings for TI TLA202x ADCs

2019-03-26 Thread Ibtsam Ul-Haq
This adds devicetree bindings for TI TLA202x ADCs. Signed-off-by: Ibtsam Ul-Haq --- .../devicetree/bindings/iio/adc/ti-tla2024.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ti-tla2024.txt diff --git a

Re: [PATCH v2] iio: Add driver for TLA202x ADCs

2019-03-22 Thread Ibtsam Ul-Haq
Thanks for the review. I shall make these changes in v3. One comment below. On Sat, Mar 16, 2019 at 3:48 PM Jonathan Cameron wrote: > > On Wed, 13 Mar 2019 12:14:03 +0100 > Ibtsam Ul-Haq wrote: > > > Basic driver for Texas Instruments TLA202x series ADCs. Input > > c

[PATCH v2] iio: Add driver for TLA202x ADCs

2019-03-13 Thread Ibtsam Ul-Haq
Basic driver for Texas Instruments TLA202x series ADCs. Input channels are configurable from the device tree. Input scaling is supported. Trigger buffer support is not yet implemented. Signed-off-by: Ibtsam Ul-Haq --- Changes in v2: - changed commit message - Added mutex to protect channel