[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_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 configs I do not e

[PATCH] Add continuous sampling with IIO buffers for Vybrid

2015-08-03 Thread Sanchayan Maity
in the driver? My guess would be those RCU STALL configs? [1]. https://lkml.org/lkml/2015/5/27/350 [2]. https://lkml.org/lkml/2015/7/14/395 Thanks Regards, Sanchayan Maity. Sanchayan Maity (1): iio: adc: vf610: Add IIO buffer support for Vybrid ADC drivers/iio/adc/Kconfig | 4 ++ drivers

[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 maitysancha...@gmail.com --- drivers/iio/adc/Kconfig

[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
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 (4):

[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 0/4] Add support for touchscreen on Colibri VF50

2015-07-16 Thread Sanchayan Maity
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 (4): ARM

[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 maitysancha...@gmail.com --- drivers/input/touchscreen/Kconfig

[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 maitysancha...@gmail.com --- .../bindings/input/touchscreen/colibri-vf50-ts.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vf500-colibri-eval-v3.dts

[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
- 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 | 2

[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 maitysancha...@gmail.com --- .../devicetree/bindings/iio/adc/vf610-adc.txt | 5 ++ drivers/iio/adc/vf610_adc.c

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ 1 file changed, 2 insertions

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

2015-07-14 Thread Sanchayan Maity
- 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 | 2

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

2015-06-30 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-30 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-30 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-30 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-30 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 tree

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

2015-06-30 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 maitysancha...@gmail.com --- drivers/input/touchscreen/Kconfig

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

2015-06-30 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 0/4] Add support for touchscreen on Colibri VF50

2015-06-30 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 tree node

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

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

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

2015-06-30 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 maitysancha...@gmail.com --- arch/arm/boot/dts/vf500-colibri-eval-v3.dts

[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
, 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/Kconfig

[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

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

2015-06-29 Thread Sanchayan Maity
, 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/Kconfig

[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 maitysancha...@gmail.com --- 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

[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 maitysancha...@gmail.com --- 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

[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 maitysancha...@gmail.com --- drivers/nvmem/Kconfig | 10 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/vf610-ocotp.c | 250

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

[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
- 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 + drivers/iio/adc

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

2015-06-24 Thread Sanchayan Maity
- 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 + drivers/iio/adc

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions

[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 maitysancha...@gmail.com --- .../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

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 directly select

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
- 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/boot/dts/vfxxx.dtsi | 18

[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 maitysancha...@gmail.com --- drivers/nvmem/Kconfig | 11

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

2015-06-23 Thread Sanchayan Maity
- 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/boot/dts/vfxxx.dtsi | 18

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b

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 srinivas.kandaga...@linaro.org hat am 23. Juni 2015 um 01:07 geschrieben: [...] Device Tree: /* Provider */ qfprom: qfprom@0070 { ... /* Data cells */ tsens_calibration: calib@404

[PATCH v1 0/2] Implement sample time consideration

2015-06-07 Thread Sanchayan Maity
/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/vf610-adc.txt

[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 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 maitysancha...@gmail.com --- .../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

[PATCH v1 0/2] Implement sample time consideration

2015-06-07 Thread Sanchayan Maity
/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/vf610-adc.txt

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions

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

2015-06-05 Thread Sanchayan Maity
ces/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
. 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/soc/fsl/Makefile

[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 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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm

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

2015-06-05 Thread Sanchayan Maity
. 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/soc/fsl/Makefile

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

2015-06-05 Thread Sanchayan Maity
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 maitysancha...@gmail.com --- drivers/soc/Kconfig | 1 + drivers/soc

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

2015-05-26 Thread Sanchayan Maity
ces/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
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 + drivers

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

2015-05-26 Thread Sanchayan Maity
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 + drivers

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm

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

2015-05-26 Thread Sanchayan Maity
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 maitysancha...@gmail.com --- drivers/soc/Kconfig | 1 + drivers/soc

[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
... 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. Sanchayan Maity (2

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

2015-05-22 Thread Sanchayan Maity
ces/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 v3 0/2] Implement SoC bus support for Vybrid

2015-05-22 Thread Sanchayan Maity
... 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. Sanchayan Maity (2

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

2015-05-22 Thread Sanchayan Maity
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 maitysancha...@gmail.com --- drivers/soc/Kconfig | 1 + drivers/soc

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm

[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 deletions

[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 deletions

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm

[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 maitysancha

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

2015-05-18 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-18 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-18 Thread Sanchayan Maity
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 for Vy

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

2015-05-18 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 maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm

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

2015-05-18 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 maitysancha

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

2015-05-18 Thread Sanchayan Maity
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 for Vybrid

[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

[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
@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. Sanchayan Mait

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

2015-05-10 Thread Sanchayan Maity
bus infrastructure. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- 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

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

2015-05-10 Thread Sanchayan Maity
@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. Sanchayan Maity (2

[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 maitysancha...@gmail.com --- 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

[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

[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 maitysancha...@gmail.com --- arch/arm/boot/dts/vf500.dtsi |4 arch/arm/boot/dts/vfxxx.dtsi | 14 ++ 2

<    1   2   3   4   >