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
CONFIG_SRCU=y
# CONFIG_TASKS_RCU is not set
# CONFIG_RCU_STALL_COMMON is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_RCU_KTHREAD_PRIO=0
# RCU Debugging
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_TRACE is not set
With the above second set of con
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
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
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
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
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 (
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
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
.html
- Sanchayan.
Sanchayan Maity (2):
iio: adc: vf610: Determine sampling frequencies by using minimum
sample time
ARM: dts: vf-colibri: Add property for minimum sample time
.../devicetree/bindings/iio/adc/vf610-adc.txt | 5 ++
arch/arm/boot/dts/vf-colibri.dtsi
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
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
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
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
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
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
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
gards,
Sanchayan.
Sanchayan Maity (3):
clk: clk-vf610: Add clock for Vybrid OCOTP controller
ARM: dts: vfxxx: Add OCOTP node
drivers: nvmem: Add Vybrid OCOTP support
arch/arm/boot/dts/vfxxx.dtsi| 7 +
drivers/clk/imx/clk-vf610.c | 1 +
drivers/nvmem/Kc
. 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
On 15-06-24 10:37:43, Srinivas Kandagatla wrote:
>
>
> On 24/06/15 06:19, maitysancha...@gmail.com wrote:
> >I just tested it without the "select REGMAP_MMIO" and it works just fine.
> You just got lucky in this case, as REGMAP_MMIO is getting selected
> somewhere else.
>
> Drivers should direct
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
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
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
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
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
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
- 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
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
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
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
/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
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
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
/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
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
like to go with the
revision information from the ROM register 0x80.
Sanchayan Maity (2):
ARM: dts: vfxxx: Add OCOTP and OCROM nodes
soc: Add driver for Freescale Vybrid Platform
arch/arm/boot/dts/vfxxx.dtsi | 12
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1
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
000
- none...
Colibri VF50 V1.0A (1N02G)
- 0x0011
- 0x0061
- 0x0100
- none...
Vybrid Tower Rev J (1N02G)
- 0x0011
- 0x0061
- 0x0100
- 0x41c8
The ROM revision differs the most, so we would like to go with the
revision information from the ROM register 0x80.
Sanchaya
/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
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
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
it as syscon.
Sanchayan Maity (2):
ARM: dts: vfxxx: Add OCOTP and OCROM nodes
ARM: vf610: Add SoC bus support for Vybrid
arch/arm/boot/dts/vfxxx.dtsi | 10 +
arch/arm/mach-imx/mach-vf610.c | 85 +-
2 files changed, 93 insertions(+), 2 dele
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
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
like to go with the
revision information from the ROM register 0x80.
Changes since RFC:
- Use a DT entry for the ROM area while specifying it as syscon.
Thanks & Regards,
Sanchayan Maity.
Sanchayan Maity (2):
ARM: dts: vfxxx: Add OCOTP and OCROM nodes
ARM: vf610: Add SoC bus support f
bus infrastructure.
Signed-off-by: Sanchayan Maity
---
arch/arm/mach-imx/mach-vf610.c | 76 +-
1 file changed, 75 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mach-vf610.c b/arch/arm/mach-imx/mach-vf610.c
index 1ba7738..74681f1 100644
--- a
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
oc_id
root@colibri-vf:/sys/devices/soc0# cat revision
0013
root@colibri-vf:/sys/devices/soc0# cat soc_id
df63c12a2e2161d4
root@colibri-vf:/sys/devices/soc0# cat family
Freescale Vybrid VF500
root@colibri-vf:/sys/devices/soc0# cat machine
Freescale Vybrid
Thanks & Regards,
Sanchayan Maity.
Sanc
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
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
] 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
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
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
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:
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
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
On 12/22/2014 06:48 AM, Peter Chen wrote:
> On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote:
>> The first two patches add identification register API's. These can
>> be used to get controller's revision.
>>
>> The third patch implements a
r interval, depending on the urgency of transfer execution for the
application.
Signed-off-by: Sanchayan Maity
---
drivers/usb/chipidea/udc.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 0444d3f..551ab37 10
ion so will not be able to reply or do any further
tests till Monday. Will attend and take care of any comments/requests for
further changes/testing from Tuesday. Apologize for the delay in advance.
Sanchayan Maity (3):
usb: chipidea: Add identification registers access APIs
usb: chipide
: 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
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
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
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
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
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
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
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
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)
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
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
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
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
>> 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
>> +++-
&
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
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
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
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:
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
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
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
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(+)
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
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
>> 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
>> 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
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
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
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
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
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
101 - 190 of 190 matches
Mail list logo