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

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 con

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-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:26PM +0530, Sanchayan Maity wrote: The first two patches add

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 configurations and so on. Checkpatch

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 identification registers contents

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-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 identification register API's. These can be used

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 an errata f

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 identification register API's. These can be used

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 an errata for revision 2.40a. Not sure which other

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

2014-12-19 Thread Sanchayan Maity
, 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 100644

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

2014-12-19 Thread Sanchayan Maity
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: chipidea: Add chipidea

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

2014-12-19 Thread Sanchayan Maity
-by: 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

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

2014-12-19 Thread Sanchayan Maity
-by: Sanchayan Maity maitysancha...@gmail.com --- 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

[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 maitysancha...@gmail.com --- drivers/usb/chipidea/ci.h | 53

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

2014-12-19 Thread Sanchayan Maity
, depending on the urgency of transfer execution for the application. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- 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

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

2014-12-19 Thread Sanchayan Maity
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: chipidea: Add chipidea

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

2014-12-02 Thread Sanchayan Maity
for 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
as in the 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

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

2014-12-02 Thread Sanchayan Maity
as in the 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

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

2014-12-02 Thread Sanchayan Maity
for 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 maitysancha...@gmail.com --- drivers/rtc/rtc-snvs.c | 34

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-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, Nov 12, 2014 at 02:26:51PM +0530, Sanchayan

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-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 Wednesday 12 November 2014 02:57 AM, Stefan

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 cl

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 happ

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 (R

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). Signed-off-by: Sanchayan

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 the device tree node is there while

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 enable and disable support for the SNVS

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

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

[[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 maitysancha...@gmail.com --- drivers/rtc/rtc-snvs.c | 34 -- 1 file changed, 32 insertions(+), 2

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

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

2014-11-07 Thread Sanchayan Maity
for 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 >> +++- &

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 maitysancha...@gmail.com --- drivers/rtc/rtc-snvs.c | 48 +++- 1 file changed, 39 insertions(+), 9

[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: vf610

[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

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

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 maitysancha...@gmail.com --- arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ 1 file

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

[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 maitysancha...@gmail.com --- arch/arm/mach-imx/clk-vf610.c |1 + include/dt-bindings/clock/vf610-clock.h |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff

[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: vf610

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

[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 maitysancha...@gmail.com --- drivers/rtc/rtc-snvs.c | 48 +++- 1 file changed, 39 insertions(+), 9 deletions

[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

[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

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

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

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_PROCESSED option. Sanchayan Maity (1

[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

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

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

2014-09-19 Thread Sanchayan Maity
://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(+), 2 deletions

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

[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

[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

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

<    1   2   3   4