Re: [RFC PATCH 0/3] provide imx rproc driver

2017-06-18 Thread Sanchayan
mx7.cfg > > Comment and suggestions are welcome. Have you by chance also tried testing this with FreeRTOS code running on the M4 side? Regards, Sanchayan. > > Regards, > Oleksij > > Oleksij Rempel (3): > ARM: dts: imx7d: add imx7d-phyboard-zeta > remoteproc: im

[PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module

2016-09-21 Thread Sanchayan Maity
Add support for Toradex Colibri iMX6 module. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 +++ 3 files changed

[PATCH v1 1/3] ARM: dts: imx6qdl-apalis: Do not rely on DDC I2C bus bitbang for HDMI

2016-09-13 Thread Sanchayan Maity
Remove the use of DDC I2C bus bitbang to support reading of EDID and rely on support from internal HDMI I2C master controller instead. As a result remove the device tree property ddc-i2c-bus. Signed-off-by: Sanchayan Maity --- Hello, This patch is tested with the following patch applied https

[PATCH v1 2/3] ARM: dts: imx6q-apalis-ixora: Remove use of pwm-leds

2016-09-13 Thread Sanchayan Maity
Remove use of pwm-leds and use the standard /sys/class/pwm interface from PWM subsystem. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/imx6q-apalis-ixora.dts | 22 -- 1 file changed, 22 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora.dts b/arch/arm

[PATCH v1 3/3] ARM: dts: imx6qdl-apalis: Use enable-gpios property for backlight

2016-09-13 Thread Sanchayan Maity
Use enable-gpios property of PWM backlight driver for backlight control. While at it also fix the use of brightness levels required by EDT displays which require inverted PWM's. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 9 + 1 file changed, 9 inser

[PATCH v5 0/3] Add support for touchscreen on Colibri VF50

2015-09-01 Thread Sanchayan Maity
.com/linux-input@vger.kernel.org/msg18090.html Version 1 of the patchset can be found here https://lkml.org/lkml/2015/6/30/103 Regards, Sanchayan. Sanchayan Maity (3): ARM: dts: vf500-colibri: Add device tree node for touchscreen support input: Add DT binding documentation for Colibri VF50

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

2015-09-01 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 v5 1/3] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-09-01 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 | 5 +++ arch/arm/boot

[PATCH v5 2/3] input: Add DT binding documentation for Colibri VF50 touchscreen

2015-09-01 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 | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/input

[PATCH v10 0/4] Implement OCOTP driver for Vybrid using NVMEM

2015-09-07 Thread Sanchayan Maity
et can be found here http://www.spinics.net/lists/devicetree/msg80257.html The RFC version can be found here https://lkml.org/lkml/2015/5/11/13 Thanks & Regards, Sanchayan Maity. Sanchayan Maity (4): clk: clk-vf610: Add clock for Vybrid OCOTP controller ARM: dts: vfxxx: Add OCOTP node dr

[PATCH v10 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver

2015-09-07 Thread Sanchayan Maity
Add the devicetree bindings for the Freescale Vybrid On-Chip OTP driver. Signed-off-by: Sanchayan Maity Acked-by: Srinivas Kandagatla --- .../devicetree/bindings/nvmem/vf610-ocotp.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation

[PATCH v10 3/4] drivers: nvmem: Add Vybrid OCOTP support

2015-09-07 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 Acked-by: Srinivas Kandagatla --- drivers/nvmem/Kconfig | 10 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/vf610-ocotp.c | 302

[PATCH v10 1/4] clk: clk-vf610: Add clock for Vybrid OCOTP controller

2015-09-07 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

[PATCH v10 2/4] ARM: dts: vfxxx: Add OCOTP node

2015-09-07 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 | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

[PATCH] ARM: dts: vfxxx: Fix erroneous property in esdhc0 node

2015-10-17 Thread Sanchayan Maity
de. This patch fixes it. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 6736bae..a64bfe1 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++

[PATCH] iio: adc: vf610_adc: Fix division by zero error

2015-10-19 Thread Sanchayan Maity
r9:8076a5ec r8:0098 r7:807d5780 r6:807d5780 r5:0006 [1.265153] r4:807a0ee8 [1.267753] [<8076acf8>] (kernel_init_freeable) from [<80590ef0>] (kernel_init+0x18/0xf0) [1.276021] r10: r9: r8: r7: r6: r5:80590ed8 [1.284015] r4:807d5780 [

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

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

[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

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

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

2015-06-23 Thread Sanchayan Maity
0c00 > > 000 > > ... > > * > > 0001000 > > > > i want to port OCOTP driver for MXS, which hasn't MMIO. From my understanding > hexdump would readout the complete register range defined in provider DT node.

[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

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

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

2015-06-24 Thread Sanchayan Maity
n my driver's kconfig. Sorry about missing that Stefan and Srinivas. - Sanchayan. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

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

[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

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

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

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

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 >> +++- &

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

[PATCH v3 1/3] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-08-05 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 v3 3/3] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-05 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 v3 2/3] input: Add DT binding documentation for Colibri VF50 touchscreen

2015-08-05 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 | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/input

[PATCH v3 0/3] Add support for touchscreen on Colibri VF50

2015-08-05 Thread Sanchayan Maity
Kconfig file Version 2 of the patchset can be found here https://www.mail-archive.com/linux-input@vger.kernel.org/msg18090.html Version 1 of the patchset can be found here https://lkml.org/lkml/2015/6/30/103 Thank you very much for the feedback till now. Regards, Sanchayan. Sanchayan Maity

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

2015-08-05 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 v2] Add continuous sampling with IIO buffers for Vybrid

2015-08-05 Thread Sanchayan Maity
# RCU Subsystem CONFIG_TINY_RCU=y 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

[PATCH v7 0/4] Implement OCOTP driver for Vybrid using NVMEM

2015-08-06 Thread Sanchayan Maity
ying it as syscon. Thanks & Regards, Sanchayan Maity. Sanchayan Maity (4): clk: clk-vf610: Add clock for Vybrid OCOTP controller ARM: dts: vfxxx: Add OCOTP node drivers: nvmem: Add Vybrid OCOTP support nvmem: Add DT binding documentation for Vybrid OCOTP driver .../devicetree/bindin

[PATCH v7 3/4] drivers: nvmem: Add Vybrid OCOTP support

2015-08-06 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 | 297 3

[PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver

2015-08-06 Thread Sanchayan Maity
Add the devicetree bindings for the Freescale Vybrid On-Chip OTP driver. Signed-off-by: Sanchayan Maity --- .../devicetree/bindings/nvmem/vf610-ocotp.txt| 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/vf610

[PATCH v7 1/4] clk: clk-vf610: Add clock for Vybrid OCOTP controller

2015-08-06 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

[PATCH v7 2/4] ARM: dts: vfxxx: Add OCOTP node

2015-08-06 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 | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

[PATCH] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel

2015-08-06 Thread Sanchayan Maity
Add iio_hwmon node to expose the temperature channel on Vybrid as hardware monitor device using the iio_hwmon driver. 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

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

2015-08-17 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 --- Changes since v3: Fix iio_buffer_setup_ops for

[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 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 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 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 1/5] mfd: syscon: Introduce syscon_regmap_read_from_offset

2016-05-02 Thread Sanchayan Maity
de name of phandle reference, reading the offset from the node entry and providing the value from the offset in the register map. Signed-off-by: Sanchayan Maity --- drivers/mfd/syscon.c | 30 ++ include/linux/mfd/syscon.h | 10 ++ 2 files changed, 40 insertion

[PATCH v2 2/5] ARM: dts: vfxxx: Add device tree node for OCOTP

2016-05-02 Thread Sanchayan Maity
Add device tree node for the OCOTP peripheral on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2c13ec6..0e34d44 100644 --- a/arch/arm

[PATCH v2 3/5] ARM: dts: vfxxx: Add OCROM and phandle entries for Vybrid SoC bus driver

2016-05-02 Thread Sanchayan Maity
Add OCROM node and introduce phandles to OCROM, MSCM and NVMEM OCOTP for use by the Vybrid SoC bus driver. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm

[PATCH v2 0/5] Implement SoC bus driver for Vybrid

2016-05-02 Thread Sanchayan Maity
nics.net/lists/devicetree/msg80257.html The RFC version can be found here https://lkml.org/lkml/2015/5/11/13 Regards, Sanchayan. Sanchayan Maity (5): mfd: syscon: Introduce syscon_regmap_read_from_offset ARM: dts: vfxxx: Add device tree node for OCOTP ARM: dts: vfxxx: Add OCROM and phandle entries

[PATCH v2 4/5] soc: Add SoC bus driver for Freescale Vybrid Platform

2016-05-02 Thread Sanchayan Maity
ys/bus/soc/devices/soc0# cat revision 0013 root@colibri-vf:/sys/bus/soc/devices/soc0# cat soc_id df6472a6130f29d4 Signed-off-by: Sanchayan Maity --- drivers/soc/Kconfig | 1 + drivers/soc/fsl/Kconfig | 10 +++ drivers/soc/fsl/Makefile| 1 + drivers/soc/fsl/soc-vf6

[PATCH v2 5/5] vf610-soc: Add Vybrid SoC device tree binding documentation

2016-05-02 Thread Sanchayan Maity
Add device tree binding documentation for Vybrid SoC. Signed-off-by: Sanchayan Maity --- .../bindings/arm/freescale/fsl,vf610-soc.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,vf610-soc.txt diff

[PATCH v3 3/4] ARM: dts: vfxxx: Add device tree node required by Vybrid SoC driver

2016-05-20 Thread Sanchayan Maity
Add a device tree node which will be used to bind the Vybrid SoC driver and provide information adhering to the following: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-devices-soc Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 8 1 file changed, 8

[PATCH v3 1/4] ARM: dts: vfxxx: Add device tree node for OCOTP

2016-05-20 Thread Sanchayan Maity
Add device tree node for the OCOTP peripheral on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2c13ec6..0e34d44 100644 --- a/arch/arm

[PATCH v3 2/4] ARM: dts: vfxxx: Add On-Chip ROM node for Vybrid

2016-05-20 Thread Sanchayan Maity
Add a device tree node for the On-Chip ROM on Vybrid. 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 0e34d44..6c5222e 100644 --- a/arch/arm/boot/dts

[PATCH v3 4/4] soc: Add SoC driver for Freescale Vybrid platform

2016-05-20 Thread Sanchayan Maity
ys/bus/soc/devices/soc0# cat revision 0013 root@colibri-vf:/sys/bus/soc/devices/soc0# cat soc_id df6472a6130f29d4 Signed-off-by: Sanchayan Maity --- .../bindings/arm/freescale/fsl,vf610-soc.txt | 20 +++ drivers/soc/Kconfig| 1 + drivers/soc/f

[PATCH v3 0/4] Implement SoC driver for Vybrid

2016-05-20 Thread Sanchayan Maity
chset can be found here http://www.spinics.net/lists/devicetree/msg80257.html The RFC version can be found here https://lkml.org/lkml/2015/5/11/13 Regards, Sanchayan. Sanchayan Maity (4): ARM: dts: vfxxx: Add device tree node for OCOTP ARM: dts: vfxxx: Add On-Chip ROM node for Vybrid ARM: dts:

[PATCH v3 0/3] Allow iio_hwmon to accept hypen in node names

2016-02-15 Thread Sanchayan Maity
l.org/lkml/2015/9/16/932 v2: https://lkml.org/lkml/2016/2/12/168 Thanks & Regards, Sanchayan Maity. Sanchayan Maity (3): hwmon: iio_hwmon: Allow the driver to accept hypen in device tree node names ARM: dts: Change iio_hwmon nodes to use hypen in node names ARM: dts: vfxxx: Add iio_hwmon

[PATCH v3 2/3] ARM: dts: Change iio_hwmon nodes to use hypen in node names

2016-02-15 Thread Sanchayan Maity
Change iio_hwmon nodes to use hypen in node names instead of underscore. Signed-off-by: Sanchayan Maity --- Documentation/devicetree/bindings/iio/iio-bindings.txt | 2 +- arch/arm/boot/dts/imx23.dtsi | 2 +- arch/arm/boot/dts/imx28.dtsi | 2

[PATCH v3 3/3] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel

2016-02-15 Thread Sanchayan Maity
Add iio-hwmon node to expose the temperature channel on Vybrid as hardware monitor device using the iio_hwmon driver. 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

[PATCH v3 1/3] hwmon: iio_hwmon: Allow the driver to accept hypen in device tree node names

2016-02-15 Thread Sanchayan Maity
managed string, replacing hypen with underscore and then calling hwmon_device_register_with_groups. This allows the use of hypen in device tree node name while maintaining backwards compatibility and preventing any possible regressions with user space. Signed-off-by: Sanchayan Maity --- drivers

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-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] 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)

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

[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

[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

[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

  1   2   >