[RFC LINUX PATCH] dt: xilinx: xadc: provision to control clock frequency

2015-12-23 Thread Ranjit Waghmode
frequency So this patch adds parameter tck-rate to set user defined values from above pool to control the clock frequency. Signed-off-by: Ranjit Waghmode --- Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation

[RFC LINUX PATCH] dt: xilinx: xadc: provision to control clock frequency

2015-12-23 Thread Ranjit Waghmode
frequency So this patch adds parameter tck-rate to set user defined values from above pool to control the clock frequency. Signed-off-by: Ranjit Waghmode <ranjit.waghm...@xilinx.com> --- Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt | 7 +++ 1 file changed, 7 insertions(+)

[LINUX RFC v3 3/4] mtd: spi-nor: add dual parallel mode support

2015-12-14 Thread Ranjit Waghmode
, sector_size, erase_size and toatal flash size as and when required. - Dividing address by 2 - Updating spi->master->flags for qspi driver to change CS Signed-off-by: Ranjit Waghmode --- V3 Changes: - No change in this patch V2 Changes: - Splitted to separate MTD layer change

[LINUX RFC v3 2/4] mtd: add spi_device instance to spi_nor struct

2015-12-14 Thread Ranjit Waghmode
This patch adds struct spi_device instacne to the spi_nor structure. Signed-off-by: Ranjit Waghmode --- V3 Changes: - No change in this patch V2 Changes: - This is new patch, basically splitted on request of Mark Brown --- drivers/mtd/devices/m25p80.c | 1 + include/linux/mtd

[LINUX RFC v3 4/4] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-12-14 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode --- V3 Changes: - No change in this patch V2 Changes: - No change in this patch --- drivers/spi/spi-zynqmp-gqspi.c | 24

[LINUX RFC v3 1/4] spi: addng support for data stripe feature in core

2015-12-14 Thread Ranjit Waghmode
bytes i.e. 1, 3, 5,.. are transmitted on upper data bus. To support data stripe; need to assert both chip selects once. This is achieved throught API SPI_MASTER_BOTH_CS. Signed-off-by: Ranjit Waghmode --- V3 Changes: - Updated comments for newly added APIs. - Changed patch

[LINUX RFC v3 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-12-14 Thread Ranjit Waghmode
clear. --- V3 Changes: - Changed couple of comments to remove ambiguity in understanding V2 Changes: a) Splitted patches based on logical changes b) Added error handling for newly added APIs in SPI core --- Ranjit Waghmode (4): spi: addng support for data stripe feature in core mtd: add spi_

[LINUX RFC v3 3/4] mtd: spi-nor: add dual parallel mode support

2015-12-14 Thread Ranjit Waghmode
, sector_size, erase_size and toatal flash size as and when required. - Dividing address by 2 - Updating spi->master->flags for qspi driver to change CS Signed-off-by: Ranjit Waghmode <ranjit.waghm...@xilinx.com> --- V3 Changes: - No change in this patch V2 Changes:

[LINUX RFC v3 1/4] spi: addng support for data stripe feature in core

2015-12-14 Thread Ranjit Waghmode
bytes i.e. 1, 3, 5,.. are transmitted on upper data bus. To support data stripe; need to assert both chip selects once. This is achieved throught API SPI_MASTER_BOTH_CS. Signed-off-by: Ranjit Waghmode <ranjit.waghm...@xilinx.com> --- V3 Changes: - Updated comments for newly adde

[LINUX RFC v3 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-12-14 Thread Ranjit Waghmode
clear. --- V3 Changes: - Changed couple of comments to remove ambiguity in understanding V2 Changes: a) Splitted patches based on logical changes b) Added error handling for newly added APIs in SPI core --- Ranjit Waghmode (4): spi: addng support for data stripe feature in core mtd: add spi_

[LINUX RFC v3 4/4] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-12-14 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode <ranjit.waghm...@xilinx.com> --- V3 Changes: - No change in this patch V2 Changes: - No change in this patch --- drivers/spi/spi-

[LINUX RFC v3 2/4] mtd: add spi_device instance to spi_nor struct

2015-12-14 Thread Ranjit Waghmode
This patch adds struct spi_device instacne to the spi_nor structure. Signed-off-by: Ranjit Waghmode <ranjit.waghm...@xilinx.com> --- V3 Changes: - No change in this patch V2 Changes: - This is new patch, basically splitted on request of Mark Brown --- drivers/mtd/devices/

[LINUX PATCH] iio: xadc: fix for extended name remains same issue

2015-11-23 Thread Ranjit Waghmode
of the above issue by updating 'channels' structure inside xadc_parse_dt() function with the help of 'xadc_channels' structure so that every channel's parameters will be updated properly. Also for the sake of simplicity this patch updates default values for extend_name. Signed-off-by: Ranjit Waghmode

[LINUX PATCH] iio: xadc: fix for extended name remains same issue

2015-11-23 Thread Ranjit Waghmode
of the above issue by updating 'channels' structure inside xadc_parse_dt() function with the help of 'xadc_channels' structure so that every channel's parameters will be updated properly. Also for the sake of simplicity this patch updates default values for extend_name. Signed-off-by: Ranjit Waghmode

[LINUX RFC v2 4/4] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-08-26 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode --- V2 Changes: - No change in this patch --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion

[LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-08-26 Thread Ranjit Waghmode
mments and suggestions are always welcomed --- V2 Changes: a) Splitted patches based on logical changes b) Added error handling for newly added APIs in SPI core --- Ranjit Waghmode (4): spi: add support of two chip selects & data stripe mtd: add spi_device instance to spi_nor struct spi-nor

[LINUX RFC v2 3/4] spi-nor: add dual parallel mode support

2015-08-26 Thread Ranjit Waghmode
, erase_size and toatal flash size as and when required. - Dividing address by 2 - Updating spi->master->flags for qspi driver to change CS Signed-off-by: Ranjit Waghmode --- V2 Changes: Splitted to separate MTD layer changes from SPI core changes --- drivers/mtd/spi-nor/spi-nor.

[LINUX RFC v2 2/4] mtd: add spi_device instance to spi_nor struct

2015-08-26 Thread Ranjit Waghmode
This patch adds struct spi_device instacne to the spi_nor structure Signed-off-by: Ranjit Waghmode --- V2 Changes: This is new patch, basically splitted on request of Mark Brown --- drivers/mtd/devices/m25p80.c | 1 + include/linux/mtd/spi-nor.h | 1 + 2 files changed, 2 insertions(+) diff

[LINUX RFC v2 1/4] spi: add support of two chip selects & data stripe

2015-08-26 Thread Ranjit Waghmode
the flash devices. So newly added API will help in enabling both the chips. - Added API to support data stripe feature: with data stripe enabled, even bytes i.e. 0, 2, 4,... are transmitted on lower data bus odd bytes i.e. 1, 3, 5,.. are transmitted on upper data bus. Signed-off-by: Ranjit

[LINUX RFC v2 4/4] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-08-26 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- V2 Changes: - No change in this patch --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23

[LINUX RFC v2 2/4] mtd: add spi_device instance to spi_nor struct

2015-08-26 Thread Ranjit Waghmode
This patch adds struct spi_device instacne to the spi_nor structure Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- V2 Changes: This is new patch, basically splitted on request of Mark Brown --- drivers/mtd/devices/m25p80.c | 1 + include/linux/mtd/spi-nor.h | 1 + 2 files changed

[LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-08-26 Thread Ranjit Waghmode
and suggestions are always welcomed --- V2 Changes: a) Splitted patches based on logical changes b) Added error handling for newly added APIs in SPI core --- Ranjit Waghmode (4): spi: add support of two chip selects data stripe mtd: add spi_device instance to spi_nor struct spi-nor: add dual

[LINUX RFC v2 1/4] spi: add support of two chip selects data stripe

2015-08-26 Thread Ranjit Waghmode
the flash devices. So newly added API will help in enabling both the chips. - Added API to support data stripe feature: with data stripe enabled, even bytes i.e. 0, 2, 4,... are transmitted on lower data bus odd bytes i.e. 1, 3, 5,.. are transmitted on upper data bus. Signed-off-by: Ranjit

[LINUX RFC v2 3/4] spi-nor: add dual parallel mode support

2015-08-26 Thread Ranjit Waghmode
, erase_size and toatal flash size as and when required. - Dividing address by 2 - Updating spi-master-flags for qspi driver to change CS Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- V2 Changes: Splitted to separate MTD layer changes from SPI core changes --- drivers/mtd/spi-nor

[LINUX RFC 2/2] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-08-03 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-zynqmp

[LINUX RFC 1/2] mtd: spi-nor: add dual parallel mode support

2015-08-03 Thread Ranjit Waghmode
functions by: a) Increasing page_size, sector_size, erase_size and toatal flash size as and when required. b) Dividing address by 2 c) Updating spi->master->flags for qspi driver to change CS - Added defines for data stripe and two flash support Signed-off-by: Ranjit Waghmode --- d

[LINUX RFC 0/2] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-08-03 Thread Ranjit Waghmode
e very high level changes and expected to make an idea clear. Comments and suggestions are always welcomed. Ranjit Waghmode (2): mtd: spi-nor: add dual parallel mode support spi: zynqmp: gqspi: add support for dual parallel mode configuration drivers/mtd/devices/m25p80.c | 1 + drivers/m

[LINUX RFC 0/2] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-08-03 Thread Ranjit Waghmode
high level changes and expected to make an idea clear. Comments and suggestions are always welcomed. Ranjit Waghmode (2): mtd: spi-nor: add dual parallel mode support spi: zynqmp: gqspi: add support for dual parallel mode configuration drivers/mtd/devices/m25p80.c | 1 + drivers/mtd/spi-nor

[LINUX RFC 2/2] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-08-03 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git

[LINUX RFC 1/2] mtd: spi-nor: add dual parallel mode support

2015-08-03 Thread Ranjit Waghmode
functions by: a) Increasing page_size, sector_size, erase_size and toatal flash size as and when required. b) Dividing address by 2 c) Updating spi-master-flags for qspi driver to change CS - Added defines for data stripe and two flash support Signed-off-by: Ranjit Waghmode ranjit.waghm

[RFC PATCH 1/2] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-07-09 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-zynqmp

[RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller

2015-07-09 Thread Ranjit Waghmode
dependencies. Ranjit Waghmode (2): spi: zynqmp: gqspi: add support for dual parallel mode configuration spi: zynqmp: gqspi: add support for stacked mode configuration drivers/spi/spi-zynqmp-gqspi.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) -- 2.1.2

[RFC PATCH 2/2] spi: zynqmp: gqspi: add support for stacked mode configuration

2015-07-09 Thread Ranjit Waghmode
This patch adds support of stacked mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode --- drivers/spi/spi-zynqmp-gqspi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/spi/spi-zynqmp-gqspi.c b/drivers/spi/spi-zynqmp-gqspi.c

[RFC PATCH 2/2] spi: zynqmp: gqspi: add support for stacked mode configuration

2015-07-09 Thread Ranjit Waghmode
This patch adds support of stacked mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- drivers/spi/spi-zynqmp-gqspi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/spi/spi-zynqmp-gqspi.c b/drivers

[RFC PATCH 0/2] spi: add dual parallel stacked mode support in Zynq MPSoC GQSPI controller

2015-07-09 Thread Ranjit Waghmode
dependencies. Ranjit Waghmode (2): spi: zynqmp: gqspi: add support for dual parallel mode configuration spi: zynqmp: gqspi: add support for stacked mode configuration drivers/spi/spi-zynqmp-gqspi.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) -- 2.1.2

[RFC PATCH 1/2] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-07-09 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git

[LINUX RFC v3 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- In v3, accommodating review comments given by Shubhrajyoti. Changes in v3: - Updated chip assert/de-assert timeout loop using jiffies - Updated minor kernel doc comments

[LINUX RFC v3 1/2] devicetree: Add DT bindings documentation for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- Changes in v3: - Did split in register addressing as per Sorens request Changes in v2: No changes in v2 --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt| 26

[LINUX RFC v3 1/2] devicetree: Add DT bindings documentation for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- Changes in v3: - Did split in register addressing as per Sorens request Changes in v2: No changes in v2 --- .../devicetree/bindings/spi/spi-zynqmp

[LINUX RFC v3 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- In v3, accommodating review comments given by Shubhrajyoti. Changes in v3: - Updated chip assert/de-assert timeout loop using jiffies - Updated minor

[LINUX RFC V2 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-05 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- Here is the v2 series. Following comments are not taken care in this version: a) Comment from Mark Brown regarding DMA manual mapping- This QSPI DMA only supports RX and not TX

[LINUX RFC V2 1/2] devicetree: Add DT bindings documentation for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-05 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- No changes in v2 --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation

[LINUX RFC V2 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-05 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- Here is the v2 series. Following comments are not taken care in this version: a) Comment from Mark Brown regarding DMA manual mapping- This QSPI DMA

[LINUX RFC V2 1/2] devicetree: Add DT bindings documentation for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-05 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- No changes in v2 --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt| 26 ++ 1 file changed, 26 insertions(+) create mode

[RFC PATCH 1/2] devicetree: Add devicetree bindings documentation for ZynqMP GQSPI

2015-05-20 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi

[RFC PATCH 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-05-20 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- drivers/spi/Kconfig|6 + drivers/spi/Makefile |1 + drivers/spi/spi-zynqmp-gqspi.c | 1092 3 files changed

[RFC PATCH 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-05-20 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- drivers/spi/Kconfig|6 + drivers/spi/Makefile |1 + drivers/spi/spi-zynqmp-gqspi.c | 1092

[RFC PATCH 1/2] devicetree: Add devicetree bindings documentation for ZynqMP GQSPI

2015-05-20 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode ranjit.waghm...@xilinx.com --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation