[PATCH v15 2/5] iio: adc: mxs-lradc: Add support for adc driver

2017-03-16 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v15

[PATCH v15 5/5] mfd: Move binding document

2017-03-16 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut Acked-by: Lee Jones --- Changes in v15: - none Changes in v14: - none Changes in v13: - none Changes in v12: - none Changes in v11

[PATCH v15 4/5] iio: adc: mxs-lradc: Remove driver

2017-03-16 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v15: - none Changes in v14: - none Changes in v13: - none Changes in v12: - none Changes in v11

[PATCH v15 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2017-03-16 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut Acked-by: Lee Jones --- Changes in v15: - if hardware doesn't contain touchscreen don't load touchscreen driver. Changes in v14: - non

[PATCH v15 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2017-03-16 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic Acked-by: Dmitry Torokhov Reviewed-by: Marek Vasut --- Changes in v15: - use input_set_capability(input, EV_KEY, BTN_TOUCH) instead of __set_bit()s - use return mxs_lradc_ts_register(ts) instead of return 0. Changes

[PATCH v15 0/5] mxs-lradc: Split driver into MFD

2017-03-16 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28 Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v14 2/5] iio: adc: mxs-lradc: Add support for adc driver

2017-03-01 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v14: - fix

[PATCH v14 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2017-03-01 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v14: - none Changes in v13: - use struct state_info instead of using functions for doing conditionals on every operation. - call mxs_lradc_ts_stop() before requesting interrupts. Changes in v12

[PATCH v14 4/5] iio: adc: mxs-lradc: Remove driver

2017-03-01 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v14: - none Changes in v13: - none Changes in v12: - none Changes in v11: - none Changes in v10

[PATCH v14 0/5] mxs-lradc: Split driver into MFD

2017-03-01 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v14 5/5] mfd: Move binding document

2017-03-01 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut Acked-by: Lee Jones --- Changes in v14: - none Changes in v13: - none Changes in v12: - none Changes in v11: - none Changes in v10

[PATCH v14 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2017-03-01 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic Acked-by: Lee Jones --- Changes in v14: - none Changes in v13: - none Changes in v12: - use BIT macro Changes in v11: - create static struct mfd_cells - don'

[PATCH v13 4/5] iio: adc: mxs-lradc: Remove driver

2017-01-29 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v13: - none Changes in v12: - none Changes in v11: - none Changes in v10: - none Changes in v9

[PATCH v13 2/5] iio: adc: mxs-lradc: Add support for adc driver

2017-01-29 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v13

[PATCH v13 5/5] mfd: Move binding document

2017-01-29 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut Acked-by: Lee Jones --- Changes in v13: - none Changes in v12: - none Changes in v11: - none Changes in v10: - none Changes in v9

[PATCH v13 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2017-01-29 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic Acked-by: Lee Jones --- Changes in v13: - none Changes in v12: - use BIT macro Changes in v11: - create static struct mfd_cells - don't set platform data in mfd

[PATCH v13 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2017-01-29 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v13: - use struct state_info instead of using functions for doing conditionals on every operation. - call mxs_lradc_ts_stop() before requesting interrupts. Changes in v12: - none Changes in v11

[PATCH v13 0/5] mxs-lradc: Split driver into MFD

2017-01-29 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28 Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v12 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-12-09 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut --- Changes in v12: - use BIT macro Changes in v11: - create static struct mfd_cells - don't set platform data in mfd cells, set driver

[PATCH v12 0/5] mxs-lradc: Split driver into MFD

2016-12-09 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28 Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v12 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-12-09 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v12

[PATCH v12 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-12-09 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut --- Changes in v12: - none Changes in v11: - use dev_get_drvdata instead dev_get_platdata - use writel instead mxs_lradc_reg_* functions Changes in v10: - none Changes in v9: - none

[PATCH v12 5/5] mfd: Move binding document

2016-12-09 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic Reviewed-by: Marek Vasut --- Changes in v12: - none Changes in v11: - none Changes in v10: - none Changes in v9: - format patch using -M option Changes in

[PATCH v12 4/5] iio: adc: mxs-lradc: Remove driver

2016-12-09 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron Reviewed-by: Marek Vasut --- Changes in v12: - none Changes in v11: - none Changes in v10: - none Changes in v9: - none Changes in v8

[PATCH v11 0/5] mxs-lradc: Split driver into MFD

2016-12-08 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28 Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v11 4/5] iio: adc: mxs-lradc: Remove driver

2016-12-08 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v11: - none Changes in v10: - none Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - none

[PATCH v11 5/5] mfd: Move binding document

2016-12-08 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v11: - none Changes in v10: - none Changes in v9: - format patch using -M option Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - add to

[PATCH v11 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-12-08 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v11: - use dev_get_drvdata instead

[PATCH v11 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-12-08 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v11: - use dev_get_drvdata instead dev_get_platdata - use writel instead mxs_lradc_reg_* functions Changes in v10: - none Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7

[PATCH v11 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-12-08 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v11: - create static struct mfd_cells - don't set platform data in mfd cells, set driver data instead - remove mxs_lradc_reg_* functions, use writel fun

[PATCH v10 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-11-20 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v10: - none Changes in v9: - none

[PATCH v10 0/5] mxs-lradc: Split driver into MFD

2016-11-20 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28 Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v10 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-11-20 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v10: - fetch base address from DT - add a NULL check for of_match_device Changes in v9: - improve commit message. Changes in v8: - rebase onto 4.9-rc1

[PATCH v10 4/5] iio: adc: mxs-lradc: Remove driver

2016-11-20 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v10: - none Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - none Changes in v6: - none

[PATCH v10 5/5] mfd: Move binding document

2016-11-20 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v10: - none Changes in v9: - format patch using -M option Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - add to the patchset

[PATCH v10 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-11-20 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v10: - none Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - remove touch_ret variable in probe and use ret instead - make error check on of_property_read_u32 in probe

[PATCH v9 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-11-02 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v9: - none Changes in v8: - rebase

[PATCH v9 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-11-02 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v9: - improve commit message. Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - define macros ADC_CELL and TSC_CELL - remove one cell and dynamically

[PATCH v9 5/5] mfd: Move binding document

2016-11-02 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v9: - format patch using -M option Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - add to the patchset Documentation/devicetree/bindings

[PATCH v9 0/5] mxs-lradc: Split driver into MFD

2016-11-02 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v9 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-11-02 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - remove touch_ret variable in probe and use ret instead - make error check on of_property_read_u32 in probe Changes in v6: - update

[PATCH v9 4/5] iio: adc: mxs-lradc: Remove driver

2016-11-02 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - none Changes in v6: - none Changes in v5: - none

[PATCH v8 5/5] mfd: Move binding document

2016-10-23 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - add to the patchset .../devicetree/bindings/iio/adc/mxs-lradc.txt | 47

[PATCH v8 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-10-23 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v8: - rebase onto 4.9-rc1 Changes

[PATCH v8 4/5] iio: adc: mxs-lradc: Remove driver

2016-10-23 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - none Changes in v6: - none Changes in v5: - none Changes in v4: - none

[PATCH v8 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-10-23 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic --- Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - define

[PATCH v8 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-10-23 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - remove touch_ret variable in probe and use ret instead - make error check on of_property_read_u32 in probe Changes in v6: - update copyright Changes in v5

[PATCH v8 0/5] mxs-lradc: Split driver into MFD

2016-10-23 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v2] Staging: fbtft: Fix bug in fbtft-core

2016-10-02 Thread Ksenija Stanojevic
Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is because variable update_time is not assigned correctly. Signed-off-by: Ksenija Stanojevic Fixes: 367e8560e8d7 ("Staging: fbtbt: Replace timespec with ktime_t") --- Changes in

[PATCH v7 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-10-02 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v7: - remove touch_ret variable in probe and use ret instead - make error check on of_property_read_u32 in probe Changes in v6: - update copyright Changes in v5: - add field void __iomem *base to

[PATCH v7 4/5] iio: adc: mxs-lradc: Remove driver

2016-10-02 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v7: - none Changes in v6: - none Changes in v5: - none Changes in v4: - none Changes in v3: - none Changes in v2

[PATCH v7 5/5] mfd: Move binding document

2016-10-02 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v7: - add to the patchset .../devicetree/bindings/iio/adc/mxs-lradc.txt | 47 -- .../devicetree/bindings/mfd/mxs-lradc.txt

[PATCH v7 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-10-02 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic --- Changes in v7: - define macros ADC_CELL and TSC_CELL - remo

[PATCH v7 0/5] mxs-lradc: Split driver into MFD

2016-10-02 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v7 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-10-02 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v7: - none Changes in v6: - update

[PATCH] Staging: fbtft: Fix bug in fbtft-core

2016-10-01 Thread Ksenija Stanojevic
Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is because variable update_time is not assigned correctly. Signed-off-by: Ksenija Stanojevic --- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v6 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-09-17 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v6: - update copyright Changes in v5: - add field void __iomem *base to struct mxs_lradc_ts - change arguments in all functions for accessing I/O memory to follow the previous change. - use

[PATCH v6 4/4] iio: adc: mxs-lradc: Remove driver

2016-09-17 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v6: -none Changes in v5: - none Changes in v4: - none Changes in v3: - none Changes in v2: - add to the patchset

[PATCH v6 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-09-17 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v6: - update copyright Changes in

[PATCH v6 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-09-17 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic --- Changes in v6: - update copyright - add kernel-doc header for s

[PATCH v6 0/4] mxs-lradc: Split driver into MFD

2016-09-17 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v5 0/4] mxs-lradc: Split driver into MFD

2016-08-18 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v5 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-08-18 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic --- Changes in v5: - add field void __iomem *base to struct mxs_lradc_adc

[PATCH v5 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-08-18 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v5: - add field void __iomem *base to struct mxs_lradc_ts - change arguments in all functions for accessing I/O memory to follow the previous change. - use devm_ioremap for mapping I/O memory

[PATCH v5 4/4] iio: adc: mxs-lradc: Remove driver

2016-08-18 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v5: - none Changes in v4: - none Changes in v3: - none Changes in v2: - add to the patchset drivers/iio/adc/Kconfig

[PATCH v5 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-08-18 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic --- Changes in v5: - use DEFINE_RES_MEM - don't pass ioreammape

[PATCH v4 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-08-04 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v4: - update copyright - use platform_get_irq_byname - use irq_of_parse_and_map Changes in v3: - add MODULE_*(ALIAS, AUTHOR, DESCRIPTION) Changes in v2: - do not change spacing in Kconfig - remove

[PATCH v4 4/4] iio: adc: mxs-lradc: Remove driver

2016-08-04 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v4: - nothing Changes in v3: - nothing Changes in v2: - nothing drivers/iio/adc/Kconfig | 14 - drivers/iio/adc

[PATCH v4 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-08-04 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic --- Changes in v4: - update copyright - use platform_get_irq_byname - use

[PATCH v4 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-08-04 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic --- Changes in v4: - update copyright - use DEFINE_RES_IRQ_

[PATCH v4 0/4] mxs-lradc: Split driver into MFD

2016-08-04 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v3 4/4] iio: adc: mxs-lradc: Remove driver

2016-06-24 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v3: - none Changes in v2: - none drivers/iio/adc/Kconfig | 14 - drivers/iio/adc/Makefile|1 - drivers/iio/adc

[PATCH v3 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-06-24 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic Acked-by: Dmitry Torokhov --- Changes in v3: - add MODULE_*(ALIAS, AUTHOR, DESCRIPTION) Changes in v2: - do not change spacing in Kconfig - remove dev.parent - rename err_ts_register to error - combine functions

[PATCH v3 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-06-24 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v3: - make buffer large enough for

[PATCH v3 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-06-24 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v3: - add note to commit

[PATCH v3 0/4] mxs-lradc: Split driver into MFD

2016-06-24 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on i.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH v2 4/4] iio: adc: mxs-lradc: Remove driver

2016-06-08 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - none drivers/iio/adc/Kconfig | 14 - drivers/iio/adc/Makefile|1 - drivers/iio/adc/mxs-lradc.c | 1775

[PATCH v2 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-06-08 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - improve commit message - do not change spacing in Kconfig

[PATCH v2 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-06-08 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - do not change spacing in Kconfig - remove dev.parent - rename err_ts_register to error - combine functions hw_stop and disable_ts so that mxs_lradc_ts_remove could be deleted. - add spinlock

[PATCH v2 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-06-08 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - do not change spacing in Kconfig - make struct mfd_cell part of struct mxs_lradc - use switch instead of if in mxs_lradc_irq_mask - use only necessary header files in mxs_lradc.h - use

[PATCH v2 0/4] mxs-lradc: Split driver into MFD

2016-06-08 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on i.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc

[PATCH 3/3] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-04-29 Thread Ksenija Stanojevic
Add mxs-lradc touchscreen driver. Signed-off-by: Ksenija Stanojevic --- drivers/input/touchscreen/Kconfig| 14 +- drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/mxs-lradc-ts.c | 729 +++ 3 files changed, 742 insertions(+), 2

[PATCH 2/3] iio: adc: mxs-lradc: Add support for adc driver

2016-04-29 Thread Ksenija Stanojevic
Add mxs-lradc adc driver. Signed-off-by: Ksenija Stanojevic --- drivers/iio/adc/Kconfig | 37 +- drivers/iio/adc/Makefile| 1 + drivers/iio/adc/mxs-lradc-adc.c | 832 3 files changed, 858 insertions(+), 12 deletions(-) create mode

[PATCH 1/3] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-04-29 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Signed-off-by: Ksenija Stanojevic --- drivers/mfd/Kconfig | 33 +-- drivers/mfd/Makefile | 1 + drivers/mfd/mxs-lradc.c | 213 ++ include/linux/mfd/mxs-lradc.h | 210

[PATCH 0/3] mxs-lradc: Split driver into MFD

2016-04-29 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (3): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen drivers/iio/adc

[PATCH 2/2] iio: adc: set INPUT_PROP_DIRECT

2016-04-10 Thread Ksenija Stanojevic
Set INPUT_PROP_DIRECT to indicate that it is a touchscreen on the device to help userspace classify it. Signed-off-by: Ksenija Stanojevic --- drivers/iio/adc/mxs-lradc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/mxs-lradc.c b/drivers/iio/adc/mxs-lradc.c index 07287af

[PATCH 0/2] iio: adc: Small fixes

2016-04-10 Thread Ksenija Stanojevic
Fix indenting in code and set INPUT_PROP_DIRECT. Ksenija Stanojevic (2): iio: adc: Indent if statement iio: adc: set INPUT_PROP_DIRECT drivers/iio/adc/mxs-lradc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 1.9.1

[PATCH 1/2] iio: adc: Indent if statement

2016-04-10 Thread Ksenija Stanojevic
Indent lines inside if statement. Signed-off-by: Ksenija Stanojevic --- drivers/iio/adc/mxs-lradc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/iio/adc/mxs-lradc.c b/drivers/iio/adc/mxs-lradc.c index 33051b8..07287af 100644 --- a/drivers/iio/adc/mxs

[PATCH] Staging: iio: Fix sparse endian warning

2016-03-23 Thread Ksenija Stanojevic
Fix following sparse warning: warning: cast to restricted __be16 Signed-off-by: Ksenija Stanojevic --- drivers/staging/iio/adc/ad7606_spi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7606_spi.c b/drivers/staging/iio/adc/ad7606_spi.c index

[PATCH] iio: adc: Move mxs-lradc out of staging

2016-02-06 Thread Ksenija Stanojevic
Move mxs-lradc driver from drivers/staging/iio/adc to drivers/iio/adc. Signed-off-by: Ksenija Stanojevic --- drivers/iio/adc/Kconfig | 14 + drivers/iio/adc/Makefile|1 + drivers/iio/adc/mxs-lradc.c | 1770 +++ drivers

[PATCH v5] misc: Move panel driver out of staging

2016-02-03 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic Acked-by: Willy Tarreau --- Changes in v5: - relocate the entire section to the appropriate place alphabetically in the MAINTAINER file. Changes in v4: - modify driver

[PATCH v4] misc: Move panel driver out of staging

2016-02-02 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic Acked-by: Willy Tarreau --- Changes in v4: - modify driver location in MAINTAINERS file Changes in v3: - modify driver location in MAINTAINERS file Changes in v2: - modify

[PATCH v3] misc: Move panel driver out of staging

2016-02-02 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic --- Changes in v3: - modify driver location in MAINTAINERS file Changes in v2: - modify MAINTAINERS file - move lcd-panel-cgram.txt to Documentation/ .../misc-devices}/lcd

[PATCH v2] misc: Move panel driver out of staging

2016-02-02 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - modify MAINTAINERS file - move lcd-panel-cgram.txt to Documentation/ .../misc-devices}/lcd-panel-cgram.txt | 1 - MAINTAINERS

[PATCH v2 5/5] Staging: panel: Make code more readable

2016-01-03 Thread Ksenija Stanojevic
Repace 'for' statement by strchr() function to make code more readable. Signed-off-by: Ksenija Stanojevic --- v2: use strchr(). drivers/staging/panel/panel.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/sta

[PATCH v2 4/5] Staging: panel: Reduce value range for *name

2016-01-03 Thread Ksenija Stanojevic
out is 0-9 so it's too much for om, therefore reduce value range for *name from '0'-'9' to '0'-'7'. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH v2 3/5] Staging: panel: Remove ULL

2016-01-03 Thread Ksenija Stanojevic
Remove ULL on om and im, since it's useless. Signed-off-by: Ksenija Stanojevic --- v2: leave ULL on m and v. drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7138ee7..e9

[PATCH v2 2/5] Staging: panel: Remove typedef pmask_t

2016-01-03 Thread Ksenija Stanojevic
Use __u64 instead of pmask_t and remove pmask_t since is useless. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel

[PATCH v2 1/5] Staging: panel: Use u8 type

2016-01-03 Thread Ksenija Stanojevic
Declare om, im, omask and imask as u8 to remove any confusion if that describes the 8 bits of the data bus on the parallel port. Also change return type of lcd_write_data() to u8. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 6 +++--- 1 file changed, 3

[PATCH v2 0/5] Staging: panel: TODO fixes

2016-01-03 Thread Ksenija Stanojevic
This patchset is based on checkpatch fixes made by previous patches. Here I tried to address all suggestions made by Dan and Willy. Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (5): Staging: panel: Use u8 type Staging: panel: Remove typedef pmask_t Staging: panel: Remove ULL

  1   2   >