[PATCH] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

2015-08-03 Thread Sanchayan Maity
This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. Signed-off-by: Sanchayan Maity --- drivers/iio/adc/Kconfig | 4 ++ drivers/iio/adc

[PATCH] Add continuous sampling with IIO buffers for Vybrid

2015-08-03 Thread Sanchayan Maity
CONFIG_SRCU=y # CONFIG_TASKS_RCU is not set # CONFIG_RCU_STALL_COMMON is not set # CONFIG_TREE_RCU_TRACE is not set CONFIG_RCU_KTHREAD_PRIO=0 # RCU Debugging # CONFIG_SPARSE_RCU_POINTER is not set # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RCU_TRACE is not set With the above second set of con

[PATCH v2 1/4] ARM: dts: vfxxx: Add io-channel-cells property for ADC node

2015-07-16 Thread Sanchayan Maity
This commit adds io-channel-cells property to the ADC node. This property is required in order for an IIO consumer driver to work. Especially required for Colibri VF50, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Signed-off-by: Sanchayan Maity

[PATCH v2 4/4] input: Add DT binding documentation for Colibri VF50 touchscreen

2015-07-16 Thread Sanchayan Maity
This adds device tree binding documentation for the Colibri VF50 touchscreen driver. Signed-off-by: Sanchayan Maity --- .../bindings/input/touchscreen/colibri-vf50-ts.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/input

[PATCH v2 2/4] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-07-16 Thread Sanchayan Maity
Add device tree node for touchscreen support on Colibri VF50. The touchscreen functionality on VF50 uses the ADC channels of Vybrid and some GPIOs. Also add pinctrl nodes for proper pinmux. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf500-colibri-eval-v3.dts | 4 +++ arch/arm/boot

[PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-07-16 Thread Sanchayan Maity
The Colibri Vybrid VF50 module supports 4-wire touchscreens using FETs and ADC inputs. This driver uses the IIO consumer interface and relies on the vf610_adc driver based on the IIO framework. Signed-off-by: Sanchayan Maity --- drivers/input/touchscreen/Kconfig | 12 + drivers/input

[PATCH v2 0/4] Add support for touchscreen on Colibri VF50

2015-07-16 Thread Sanchayan Maity
T for touchctrl_gpios 4. Add the io-channel-cells property before status property. 5. Add GPIOLIB as dependency in the Kconfig file Version 1 of the patchset can be found here https://lkml.org/lkml/2015/6/30/103 Thank you for the feedback Stefan. Thanks & Regards, Sanchayan. Sanchayan Maity (

[PATCH v3 2/2] ARM: dts: vf-colibri: Add property for minimum sample time

2015-07-14 Thread Sanchayan Maity
Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[PATCH v3 1/2] iio: adc: vf610: Determine sampling frequencies by using minimum sample time

2015-07-14 Thread Sanchayan Maity
possible. In case the sample time property is not specified through the device tree, a safe default value of 1000ns is assumed. Signed-off-by: Sanchayan Maity --- .../devicetree/bindings/iio/adc/vf610-adc.txt | 5 ++ drivers/iio/adc/vf610_adc.c| 79

[PATCH v3 0/2] Implement sample time consideration for Vybrid's ADC

2015-07-14 Thread Sanchayan Maity
.html - Sanchayan. Sanchayan Maity (2): iio: adc: vf610: Determine sampling frequencies by using minimum sample time ARM: dts: vf-colibri: Add property for minimum sample time .../devicetree/bindings/iio/adc/vf610-adc.txt | 5 ++ arch/arm/boot/dts/vf-colibri.dtsi

[PATCH v1 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-06-29 Thread Sanchayan Maity
The Colibri Vybrid VF50 module supports 4-wire touchscreens using FETs and ADC inputs. This driver uses the IIO consumer interface and relies on the vf610_adc driver based on the IIO framework. Signed-off-by: Sanchayan Maity --- drivers/input/touchscreen/Kconfig | 12 + drivers/input

[PATCH v1 1/4] ARM: dts: vfxxx: Add io-channel-cells property for ADC node

2015-06-29 Thread Sanchayan Maity
This commit adds io-channel-cells property to the ADC node. This property is required in order for an IIO consumer driver to work. Especially required for Colibri VF50, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Signed-off-by: Sanchayan Maity

[PATCH v1 4/4] input: Add DT binding documentation for Colibri VF50 touchscreen

2015-06-29 Thread Sanchayan Maity
This adds device tree binding documentation for the Colibri VF50 touchscreen driver. Signed-off-by: Sanchayan Maity --- .../bindings/input/touchscreen/colibri-vf50-ts.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/input

[PATCH v1 2/4] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-06-29 Thread Sanchayan Maity
Add device tree node for touchscreen support on Colibri VF50. The touchscreen functionality on VF50 uses the ADC channels of Vybrid and some GPIOs. Also add pinctrl nodes for proper pinmux. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf500-colibri-eval-v3.dts | 4 +++ arch/arm/boot

[PATCH v1 0/4] Add support for touchscreen on Colibri VF50

2015-06-29 Thread Sanchayan Maity
Hello, The patchset adds support for 4 wire touchscreen on Toradex Colibri VF50 modules. Patches are based on top of shawn's branch. Thanks & Regards, Sanchayan. Sanchayan Maity (4): ARM: dts: vfxxx: Add io-channel-cells property for ADC node ARM: dts: vf500-colibri: Add device

[RFC PATCH v6 3/3] drivers: nvmem: Add Vybrid OCOTP support

2015-06-29 Thread Sanchayan Maity
The patch adds support for the On Chip One Time Programmable Peripheral (OCOTP) on the Vybrid platform. Signed-off-by: Sanchayan Maity --- drivers/nvmem/Kconfig | 10 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/vf610-ocotp.c | 250 3

[RFC PATCH v6 2/3] ARM: dts: vfxxx: Add OCOTP node

2015-06-29 Thread Sanchayan Maity
Add device tree node for the On-Chip One Time Programmable controller (OCOTP) on the Vybrid platform. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

[RFC PATCH v6 0/3] Implement NVMEM/SoC bus support for Vybrid

2015-06-29 Thread Sanchayan Maity
gards, Sanchayan. Sanchayan Maity (3): clk: clk-vf610: Add clock for Vybrid OCOTP controller ARM: dts: vfxxx: Add OCOTP node drivers: nvmem: Add Vybrid OCOTP support arch/arm/boot/dts/vfxxx.dtsi| 7 + drivers/clk/imx/clk-vf610.c | 1 + drivers/nvmem/Kc

[RFC PATCH v6 1/3] clk: clk-vf610: Add clock for Vybrid OCOTP controller

2015-06-29 Thread Sanchayan Maity
. We explicitly specify the ipg clock for OCOTP as a result. Signed-off-by: Sanchayan Maity --- drivers/clk/imx/clk-vf610.c | 1 + include/dt-bindings/clock/vf610-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-vf610.c b/drivers/clk

Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support

2015-06-24 Thread Sanchayan Maity
On 15-06-24 10:37:43, Srinivas Kandagatla wrote: > > > On 24/06/15 06:19, maitysancha...@gmail.com wrote: > >I just tested it without the "select REGMAP_MMIO" and it works just fine. > You just got lucky in this case, as REGMAP_MMIO is getting selected > somewhere else. > > Drivers should direct

[PATCH v2 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-06-24 Thread Sanchayan Maity
possible. Signed-off-by: Sanchayan Maity --- .../devicetree/bindings/iio/adc/vf610-adc.txt | 6 ++ drivers/iio/adc/vf610_adc.c| 74 -- 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/vf610

[PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-06-24 Thread Sanchayan Maity
Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot

[PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC

2015-06-24 Thread Sanchayan Maity
00026.html - Sanchayan. Sanchayan Maity (2): iio: adc: Determine sampling frequencies by using minimum sample time ARM: dts: vfxxx: Add property for minimum sample time .../devicetree/bindings/iio/adc/vf610-adc.txt | 6 ++ arch/arm/boot/dts/vfxxx.dtsi | 2 + drive

Re: [PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-23 Thread Sanchayan Maity
Hello, On 15-06-23 21:47:34, Stefan Wahren wrote: > Hi Srinivas, > > > Srinivas Kandagatla hat am 23. Juni 2015 um > > 01:07 geschrieben: > > > > > > [...] > > > > Device Tree: > > > > /* Provider */ > > qfprom: qfprom@0070 { > > ... > > > > /* Data cells */ > > tsens_calibration: calib@404

[RFC PATCH v6 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-06-23 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts

[RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support

2015-06-23 Thread Sanchayan Maity
The patch adds support for the On Chip One Time Programmable Peripheral (OCOTP) and On Chip ROM (OCROM) support. On Vybrid OCOTP contain data like SoC ID, MAC address and OCROM has the revision ID. Signed-off-by: Sanchayan Maity --- drivers/nvmem/Kconfig | 11 + drivers/nvmem

[RFC PATCH v6 0/2] Implement NVMEM/SoC bus support for Vybrid

2015-06-23 Thread Sanchayan Maity
- 0x0061 - 0x0100 - 0x41c8 The ROM revision differs the most, so we would like to go with the revision information from the ROM register 0x80. Regards, Sanchayan. Sanchayan Maity (2): ARM: dts: vfxxx: Add OCOTP and OCROM nodes nvmem: Add Vybrid OCOTP and OCROM support arch/arm

[PATCH v1 0/2] Implement sample time consideration

2015-06-07 Thread Sanchayan Maity
ernel/1505.3/02043.html which got recently applied. Tested with shawn's for-next branch. Regards, Sanchayan. Sanchayan Maity (2): iio: adc: Determine sampling frequencies by using minimum sample time ARM: dts: vfxxx: Add property for minimum sample time .../devicetree/bindings/iio/adc/vf6

[PATCH v1 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-06-07 Thread Sanchayan Maity
possible. Signed-off-by: Sanchayan Maity --- .../devicetree/bindings/iio/adc/vf610-adc.txt | 6 ++ drivers/iio/adc/vf610_adc.c| 74 -- 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/vf610

[PATCH v1 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-06-07 Thread Sanchayan Maity
Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot

[PATCH v5 2/2] soc: Add driver for Freescale Vybrid Platform

2015-06-05 Thread Sanchayan Maity
/devices/soc0 > ls family machinepower revision soc_id subsystem uevent > cat family Freescale Vybrid VF610 > cat machine Freescale Vybrid > cat revision 0013 > cat soc_id df6472a60c1c39d4 Signed-off-by: Sanchayan Maity --- drivers/soc/Kconfig

[PATCH v5 0/2] Implement SoC bus support for Vybrid

2015-06-05 Thread Sanchayan Maity
M register 0x80. Sanchayan Maity (2): ARM: dts: vfxxx: Add OCOTP and OCROM nodes soc: Add driver for Freescale Vybrid Platform arch/arm/boot/dts/vfxxx.dtsi | 12 drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/fsl/Kconfig | 10 +++ drivers/s

[PATCH v5 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-06-05 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi

[PATCH v4 2/2] soc: Add driver for Freescale Vybrid Platform

2015-05-26 Thread Sanchayan Maity
/devices/soc0 > ls family machinepower revision soc_id subsystem uevent > cat family Freescale Vybrid VF610 > cat machine Freescale Vybrid > cat revision 0013 > cat soc_id df6472a60c1c39d4 Signed-off-by: Sanchayan Maity --- drivers/soc/Kconfig

[PATCH v4 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-05-26 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi

[PATCH v4 0/2] Implement SoC bus support for Vybrid

2015-05-26 Thread Sanchayan Maity
like to go with the revision information from the ROM register 0x80. Sanchayan Maity (2): ARM: dts: vfxxx: Add OCOTP and OCROM nodes soc: Add driver for Freescale Vybrid Platform arch/arm/boot/dts/vfxxx.dtsi | 12 drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1

[PATCH v3 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-05-22 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

[PATCH v3 0/2] Implement SoC bus support for Vybrid

2015-05-22 Thread Sanchayan Maity
000 - none... Colibri VF50 V1.0A (1N02G) - 0x0011 - 0x0061 - 0x0100 - none... Vybrid Tower Rev J (1N02G) - 0x0011 - 0x0061 - 0x0100 - 0x41c8 The ROM revision differs the most, so we would like to go with the revision information from the ROM register 0x80. Sanchaya

[PATCH v3 2/2] soc: Add driver for Freescale Vybrid Platform

2015-05-22 Thread Sanchayan Maity
/devices/soc0 > ls family machinepower revision soc_id subsystem uevent > cat family Freescale Vybrid VF610 > cat machine Freescale Vybrid > cat revision 0013 > cat soc_id df6472a60c1c39d4 Signed-off-by: Sanchayan Maity --- drivers/soc/Kconfig

[PATCH v2 2/2] ARM: vf610: Add SoC bus support for Vybrid

2015-05-19 Thread Sanchayan Maity
bus infrastructure. Sample Output: root@vf:/sys/devices/soc0# cat soc_id df63c12a2e2161d4 root@vf:/sys/devices/soc0# cat family Freescale Vybrid VF500 root@vf:/sys/devices/soc0# cat revision 0013 root@vf:/sys/devices/soc0# cat machine Freescale Vybrid Signed-off-by: Sanchayan Maity --- arch

[PATCH v2 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-05-19 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

[PATCH v2 0/2] Implement SoC bus support for Vybrid

2015-05-19 Thread Sanchayan Maity
it as syscon. Sanchayan Maity (2): ARM: dts: vfxxx: Add OCOTP and OCROM nodes ARM: vf610: Add SoC bus support for Vybrid arch/arm/boot/dts/vfxxx.dtsi | 10 + arch/arm/mach-imx/mach-vf610.c | 85 +- 2 files changed, 93 insertions(+), 2 dele

[PATCH v1 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-05-17 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

[PATCH v1 2/2] ARM: vf610: Add SoC bus support for Vybrid

2015-05-17 Thread Sanchayan Maity
bus infrastructure. Sample Output: root@vf:/sys/devices/soc0# cat soc_id df63c12a2e2161d4 root@vf:/sys/devices/soc0# cat family Freescale Vybrid VF500 root@vf:/sys/devices/soc0# cat revision 0013 root@vf:/sys/devices/soc0# cat machine Freescale Vybrid Signed-off-by: Sanchayan Maity --- arch

[PATCH v1 0/2] Implement SoC bus support for Vybrid

2015-05-17 Thread Sanchayan Maity
like to go with the revision information from the ROM register 0x80. Changes since RFC: - Use a DT entry for the ROM area while specifying it as syscon. Thanks & Regards, Sanchayan Maity. Sanchayan Maity (2): ARM: dts: vfxxx: Add OCOTP and OCROM nodes ARM: vf610: Add SoC bus support f

[RFC 2/2] ARM: vf610: Add SoC bus support for Vybrid

2015-05-10 Thread Sanchayan Maity
bus infrastructure. Signed-off-by: Sanchayan Maity --- arch/arm/mach-imx/mach-vf610.c | 76 +- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mach-vf610.c b/arch/arm/mach-imx/mach-vf610.c index 1ba7738..74681f1 100644 --- a

[RFC 1/2] ARM: dts: vfxxx: Add OCOTP node

2015-05-10 Thread Sanchayan Maity
Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP). Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 5857f60..a79776e 100644

[RFC 0/2] Implement SoC bus support for Vybrid

2015-05-10 Thread Sanchayan Maity
oc_id root@colibri-vf:/sys/devices/soc0# cat revision 0013 root@colibri-vf:/sys/devices/soc0# cat soc_id df63c12a2e2161d4 root@colibri-vf:/sys/devices/soc0# cat family Freescale Vybrid VF500 root@colibri-vf:/sys/devices/soc0# cat machine Freescale Vybrid Thanks & Regards, Sanchayan Maity. Sanc

[PATCH 2/2] ARM: dts: vfxxx: Add SNVS node

2015-01-06 Thread Sanchayan Maity
Add device tree node for the Secure Non-Volatile Storage (SNVS) on the VF610 platform. The SNVS block also has a Real Time Counter (RTC). Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf500.dtsi |4 arch/arm/boot/dts/vfxxx.dtsi | 14 ++ 2 files changed, 18

[PATCH 1/2] ARM: imx: clk-vf610: Add clock for SNVS

2015-01-06 Thread Sanchayan Maity
Add support for clock gating of the SNVS peripheral. Signed-off-by: Sanchayan Maity --- arch/arm/mach-imx/clk-vf610.c |2 ++ include/dt-bindings/clock/vf610-clock.h |3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-vf610.c b/arch/arm

[PATCH 0/2] Add SNVS clock gating and SNVS node for DT

2015-01-06 Thread Sanchayan Maity
] v2: https://lkml.org/lkml/2014/12/3/23 v2: https://lkml.org/lkml/2014/11/7/295 v1: https://lkml.org/lkml/2014/9/26/492 Sanchayan Maity (2): ARM: imx: clk-vf610: Add clock for SNVS ARM: dts: vfxxx: Add SNVS node arch/arm/boot/dts/vf500.dtsi|4 arch/arm/boot/dts

Re: [PATCH 1/3] usb: chipidea: Add identification registers access APIs

2014-12-24 Thread Sanchayan Maity
On 12/25/2014 07:43 AM, Peter Chen wrote: > On Wed, Dec 24, 2014 at 09:45:31PM +0530, Sanchayan Maity wrote: >> On 12/24/2014 09:30 PM, Stefan Agner wrote: >>> On 2014-12-19 10:55, Sanchayan Maity wrote: >>>> Using hw_write_id_reg and hw_read_id_reg to write and read

Re: [PATCH 1/3] usb: chipidea: Add identification registers access APIs

2014-12-24 Thread Sanchayan Maity
On 12/24/2014 09:30 PM, Stefan Agner wrote: > On 2014-12-19 10:55, Sanchayan Maity wrote: >> Using hw_write_id_reg and hw_read_id_reg to write and read >> identification registers contents. This can be used to get >> controller information, change some system config

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-24 Thread Sanchayan Maity
On 12/24/2014 02:30 PM, Peter Chen wrote: > >> >> On 12/23/2014 05:39 AM, Peter Chen wrote: >>> On Mon, Dec 22, 2014 at 06:39:42PM +0530, Sanchayan Maity wrote: >>>> On 12/22/2014 06:48 AM, Peter Chen wrote: >>>>> On Fri, Dec 19, 2014 at 03:25:

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-23 Thread Sanchayan Maity
On 12/23/2014 05:39 AM, Peter Chen wrote: > On Mon, Dec 22, 2014 at 06:39:42PM +0530, Sanchayan Maity wrote: >> On 12/22/2014 06:48 AM, Peter Chen wrote: >>> On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: >>>> The first two patches add identifica

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-22 Thread Sanchayan Maity
On 12/23/2014 05:39 AM, Peter Chen wrote: > On Mon, Dec 22, 2014 at 06:39:42PM +0530, Sanchayan Maity wrote: >> On 12/22/2014 06:48 AM, Peter Chen wrote: >>> On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: >>>> The first two patches add identifica

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-22 Thread Sanchayan Maity
On 12/22/2014 06:48 AM, Peter Chen wrote: > On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: >> The first two patches add identification register API's. These can >> be used to get controller's revision. >> >> The third patch implements a

[PATCH 3/3] usb: chipidea: Add errata for revision 2.40a

2014-12-19 Thread Sanchayan Maity
r interval, depending on the urgency of transfer execution for the application. Signed-off-by: Sanchayan Maity --- drivers/usb/chipidea/udc.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 0444d3f..551ab37 10

[PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-19 Thread Sanchayan Maity
ion so will not be able to reply or do any further tests till Monday. Will attend and take care of any comments/requests for further changes/testing from Tuesday. Apologize for the delay in advance. Sanchayan Maity (3): usb: chipidea: Add identification registers access APIs usb: chipide

[PATCH 2/3] usb: chipidea: Add chipidea revision information

2014-12-19 Thread Sanchayan Maity
: Sanchayan Maity --- drivers/usb/chipidea/bits.h | 10 ++ drivers/usb/chipidea/core.c | 23 +-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/bits.h b/drivers/usb/chipidea/bits.h index ca57e3d..e935ccc 100644 --- a/drivers/usb

[PATCH 1/3] usb: chipidea: Add identification registers access APIs

2014-12-19 Thread Sanchayan Maity
Using hw_write_id_reg and hw_read_id_reg to write and read identification registers contents. This can be used to get controller information, change some system configurations and so on. Signed-off-by: Sanchayan Maity --- drivers/usb/chipidea/ci.h | 53

[RESEND PATCHv2] drivers/rtc/rtc-snvs: Add clock support

2014-12-02 Thread Sanchayan Maity
Vybrid results in a crash. This patch adds the clock support but also makes it optional so Vybrid platform can use the clock if defined while making sure not to break i.MX . Signed-off-by: Sanchayan Maity --- drivers/rtc/rtc-snvs.c | 34 -- 1 file changed, 32

[RESEND PATCHv2] Add SNVS clock support to rtc-snvs driver

2014-12-02 Thread Sanchayan Maity
earlier set of patches, this makes sure that the driver does not break for the other i.MX devices for which the clock has not been defined and enabled elsewhere. Sanchayan Maity (1): drivers/rtc/rtc-snvs: Add clock support drivers/rtc/rtc-snvs.c | 34 -- 1 file

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-27 Thread Sanchayan Maity
On Wednesday 19 November 2014 10:19 AM, Sanchayan Maity wrote: > On Wednesday 19 November 2014 06:47 AM, Shawn Guo wrote: >> On Thu, Nov 13, 2014 at 11:03:09AM +0530, Sanchayan Maity wrote: >>> On Wednesday 12 November 2014 04:17 PM, Shawn Guo wrote: >>>> On Wed, No

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-18 Thread Sanchayan Maity
On Wednesday 19 November 2014 06:47 AM, Shawn Guo wrote: > On Thu, Nov 13, 2014 at 11:03:09AM +0530, Sanchayan Maity wrote: >> On Wednesday 12 November 2014 04:17 PM, Shawn Guo wrote: >>> On Wed, Nov 12, 2014 at 02:26:51PM +0530, Sanchayan Maity wrote: >>>> On Wedne

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-12 Thread Sanchayan Maity
On Wednesday 12 November 2014 04:17 PM, Shawn Guo wrote: > On Wed, Nov 12, 2014 at 02:26:51PM +0530, Sanchayan Maity wrote: >> On Wednesday 12 November 2014 02:57 AM, Stefan Agner wrote: >>> On 2014-11-07 14:04, Sanchayan Maity wrote: >>>> This patch adds clock

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-12 Thread Sanchayan Maity
On Wednesday 12 November 2014 02:57 AM, Stefan Agner wrote: > On 2014-11-07 14:04, Sanchayan Maity wrote: >> This patch adds clock enable and disable support for >> the SNVS peripheral, which is required for using the >> RTC within the SNVS block. > > What happens if th

Re: [[PATCHv2] 2/3] ARM: dts: vfxxx: Add SNVS node

2014-11-12 Thread Sanchayan Maity
Hello, On Wednesday 12 November 2014 02:50 AM, Stefan Agner wrote: > On 2014-11-07 14:04, Sanchayan Maity wrote: >> This patch adds a devicetree node for the Secure >> Non-Volatile Storage (SNVS) on the VF610 platform. >> The SNVS block also has a Real Time Counter (RTC)

[[PATCHv2] 2/3] ARM: dts: vfxxx: Add SNVS node

2014-11-07 Thread Sanchayan Maity
This patch adds a devicetree node for the Secure Non-Volatile Storage (SNVS) on the VF610 platform. The SNVS block also has a Real Time Counter (RTC). Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm

[[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-07 Thread Sanchayan Maity
This patch adds clock enable and disable support for the SNVS peripheral, which is required for using the RTC within the SNVS block. Signed-off-by: Sanchayan Maity --- drivers/rtc/rtc-snvs.c | 34 -- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git

[[PATCHv2] 1/3] ARM: imx: clk-vf610: Add clock for SNVS

2014-11-07 Thread Sanchayan Maity
This patch adds support for clock gating of the SNVS peripheral. Signed-off-by: Sanchayan Maity --- arch/arm/mach-imx/clk-vf610.c |1 + include/dt-bindings/clock/vf610-clock.h |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-vf610.c b

[[PATCHv2] 0/3] Add SNVS clock gating and clock support to rtc-snvs driver

2014-11-07 Thread Sanchayan Maity
which the clock has not been defined and enabled elsewhere. Sanchayan Maity (3): ARM: imx: clk-vf610: Add clock for SNVS ARM: dts: vfxxx: Add SNVS node drivers/rtc/rtc-snvs: Add clock support arch/arm/boot/dts/vfxxx.dtsi| 15 ++ arch/arm/mach-imx/clk-vf610.c

Re: [PATCH 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-09-29 Thread Sanchayan Maity
>> This patch adds clock enable and disable support >> for the SNVS peripheral which is required by the >> SNVS RTC. >> >> Signed-off-by: Sanchayan Maity >> --- >> drivers/rtc/rtc-snvs.c | 48 >> +++- &

[PATCH 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-09-26 Thread Sanchayan Maity
This patch adds clock enable and disable support for the SNVS peripheral which is required by the SNVS RTC. Signed-off-by: Sanchayan Maity --- drivers/rtc/rtc-snvs.c | 48 +++- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/drivers

[PATCH 2/3] ARM: dts: vf610: Add SNVS node

2014-09-26 Thread Sanchayan Maity
This adds a devicetree node for RTC support for the VF610 platform. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf610.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 4d2ec32..3c0c757 100644

[PATCH 1/3] ARM: imx: clk-vf610: Add SNVS clock

2014-09-26 Thread Sanchayan Maity
This patch adds the SNVS clock gating which is required by the SNVS peripheral. Signed-off-by: Sanchayan Maity --- arch/arm/mach-imx/clk-vf610.c |1 + include/dt-bindings/clock/vf610-clock.h |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH 0/3] Add SNVS clock gating and clock support to rtc-snvs driver

2014-09-26 Thread Sanchayan Maity
of patches is ok? Is there another more appropriate solution? I couldn't find any other piece of code which was enabling the clock gating for the SNVS peripheral explicitly. Is this expected to be taken care of by uboot? Sanchayan Maity (3): ARM: imx: clk-vf610: Add SNVS clock ARM: dts:

[PATCH v3] ARM: dts: vf610-colibri: Add ADC support

2014-09-26 Thread Sanchayan Maity
Enable ADC support for Colibri VF61 modules Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf610-colibri.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi index 0cd8343..c8bf6e2 100644 --- a

Re: [PATCH v2] ARM: dts: vf610-colibri: Add ADC support

2014-09-26 Thread Sanchayan Maity
On Friday 26 September 2014 07:37 AM, Shawn Guo wrote: > On Fri, Sep 19, 2014 at 04:56:13PM +0530, Sanchayan Maity wrote: >> Enable ADC support for Colibri VF61 modules >> >> Signed-off-by: Sanchayan Maity >> --- >> arch/arm/boot/dts/vf610-colibri.dtsi | 10

[PATCH v3] drivers/iio/adc/vf610-adc: Add temperature sensor support

2014-09-19 Thread Sanchayan Maity
Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity

[PATCH v3] drivers/iio/adc/vf610-adc: Add temperature sensor support

2014-09-19 Thread Sanchayan Maity
on [v1] http://thread.gmane.org/gmane.linux.kernel.iio/13960/focus=13963 [v2] https://lkml.org/lkml/2014/9/18/161 Sanchayan Maity (1): drivers/iio/adc/vf610-adc: Add temperature sensor support drivers/iio/adc/vf610_adc.c | 28 ++-- 1 file changed, 26 insertions(+)

[PATCH v2] ARM: dts: vf610-colibri: Add ADC support

2014-09-19 Thread Sanchayan Maity
Enable ADC support for Colibri VF61 modules Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi index 0cd8343..6fd099e 100644 --- a

[PATCH v2] Enable ADC support for Colibri VF61 modules

2014-09-19 Thread Sanchayan Maity
Changes since v1: Sorted the nodes alphabetically Initial discussion over here [1]: https://lkml.org/lkml/2014/9/19/145 Sanchayan Maity (1): ARM: dts: vf610-colibri: Add ADC support arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) -- 1.7.9.5 -- To

Re: [PATCH v2] Implement temperature sensor for vf610-adc

2014-09-19 Thread Sanchayan Maity
>> Vybrid ADC peripheral includes a temperature sensor >> which is connected to channel number 26. The patch >> adds support for the sensor. The raw value is read >> and the temperature calculated in milli degree Celsius, >> which is returned using IIO_CHAN_INFO_PRO

Re: [PATCH 1/2] ARM: dts: vf610-colibri: Add ADC support

2014-09-19 Thread Sanchayan Maity
>> Enable ADC support for Colibri VF61 modules >> >> Signed-off-by: Sanchayan Maity >> --- >> arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi &g

[PATCH v2] Implement temperature sensor for vf610-adc

2014-09-18 Thread Sanchayan Maity
Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. The patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using IIO_CHAN_INFO_PROCESSED option. Sanchayan Maity (1): ARM: imx

[PATCH v2] ARM: imx: vf610-adc: Add temperature sensor support

2014-09-18 Thread Sanchayan Maity
Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity

[PATCH 1/2] ARM: dts: vf610-colibri: Add ADC support

2014-09-17 Thread Sanchayan Maity
Enable ADC support for Colibri VF61 modules Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi index 0cd8343..275ebec 100644 --- a

[PATCH 2/2] ARM: imx: vf610-adc: Add temperature sensor support

2014-09-17 Thread Sanchayan Maity
Vybrid ADC module includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in degree Celsius which is returned using the IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity

[PATCH 0/2] Add ADC support for Colibri VF61 and implement temperature sensor for vf610-adc

2014-09-17 Thread Sanchayan Maity
option. Sanchayan Maity (2): ARM: dts: vf610-colibri: Add ADC support ARM: imx: vf610-adc: Add temperature sensor support arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ drivers/iio/adc/vf610_adc.c | 34 +++--- 2 files changed, 41 insertions(+), 3

<    1   2