Re: [PATCH 1/2] arm64: dts: ti: k3-am654: Add Support for MMC/SD

2018-12-07 Thread Vignesh R
On 07/12/18 2:12 PM, Faiz Abbas wrote: > There are two MMC host controller instances present on the TI's > Am654 SOCs. Add device tree nodes for the same. > > Signed-off-by: Faiz Abbas > --- > arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 28 > 1 file changed, 28

[PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Enable ECAP PWM

2018-12-07 Thread Vignesh R
Enable ECAP PWM which is used for LCD backlight. Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index

[PATCH 0/2] AM654: Add ECAP PWM support

2018-12-07 Thread Vignesh R
Couple of patches to add ECAP PWM support for AM654 SoC. Based on top of git://git.kernel.org/pub/scm/linux/kernel/git/kristo/linux.git 4.20-rc1-am65x-queue Vignesh R (2): arm64: dts: ti: k3-am65-main: Add ECAP PWM node arm64: dts: ti: k3-am654-base-board: Enable ECAP PWM arch/arm64/boot

[PATCH 1/2] arm64: dts: ti: k3-am65-main: Add ECAP PWM node

2018-12-07 Thread Vignesh R
Add DT entry for ECAP0 PWM node present in main domain Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 916434839603

Re: [PATCH v5 0/7] spi: add support for octal mode

2018-12-05 Thread Vignesh R
Hi Boris, On 03/12/18 2:49 PM, Boris Brezillon wrote: > Hi Mark, > > On Mon, 3 Dec 2018 08:39:00 + > Yogesh Narayan Gaur wrote: > >> >> Yogesh Gaur (7): >> spi: add support for octal mode I/O data transfer >> spi: spi-mem: add support for octal mode I/O data transfer > > Can you take

Re: [PATCH] dt-bindings: ti-tsc-adc: Add new compatible for AM654 SoCs

2018-12-04 Thread Vignesh R
Hi, On 19/11/18 3:15 PM, Vignesh R wrote: > AM654 SoCs has ADC IP which is similar to AM335x. Add new compatible to > handle AM654 SoCs. Also, it seems that existing compatible strings used > in the kernel DTs were never documented. So, document them now. > > Signed-of

[PATCH v2 1/2] mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells

2018-12-03 Thread Vignesh R
Use PLATFORM_DEVID_AUTO to number mfd cells while registering, so that different instances are uniquely identified. This is required in order to support registering of multiple instances of same ti_am335x_tscadc IP. Signed-off-by: Vignesh R --- v2: use PLATFORM_DEVID_AUTO as suggested by Lee

[PATCH v2 2/2] iio: adc: ti_am335x_tscadc: Improve accuracy of measurement

2018-12-03 Thread Vignesh R
to VREFP and VREFN respectively in STEP_CONFIGx register. Without these changes, there may be variation of as much as ~2% in the ADC's digital output which is bad for precise measurement. Signed-off-by: Vignesh R Acked-by: Jonathan Cameron Acked-by: Lee Jones --- v2: No change drivers/iio/adc

[PATCH v2 0/2] tscadc: Couple of fixes

2018-12-03 Thread Vignesh R
Couple of fixes for tscadc drivers that I found while adding support for new SoC. Vignesh R (2): mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells iio: adc: ti_am335x_tscadc: Improve accuracy of measurement drivers/iio/adc/ti_am335x_adc.c | 5

Re: [PATCH 1/2] mfd: ti_am335x_tscadc: Provide unique name for child mfd cells

2018-11-28 Thread Vignesh R
On 28/11/18 4:33 PM, Lee Jones wrote: > On Wed, 28 Nov 2018, Vignesh R wrote: > >> Hi, >> >> On 28/11/18 2:37 PM, Lee Jones wrote: >>> On Mon, 19 Nov 2018, Vignesh R wrote: >>> >>>> Provide unique names for child mfd cells, this is req

Re: [PATCH 1/2] mfd: ti_am335x_tscadc: Provide unique name for child mfd cells

2018-11-28 Thread Vignesh R
Hi, On 28/11/18 2:37 PM, Lee Jones wrote: > On Mon, 19 Nov 2018, Vignesh R wrote: > >> Provide unique names for child mfd cells, this is required in order to >> support registering of multiple instances of same ti_am335x_tscadc IP. > > I don't think it is. What is the

Re: [PATCH 4.14 32/62] i2c: omap: Enable for ARCH_K3

2018-11-26 Thread Vignesh R
t for K3 platforms. > > Signed-off-by: Vignesh R > Reviewed-by: Grygorii Strashko > Signed-off-by: Wolfram Sang > Signed-off-by: Sasha Levin > --- > drivers/i2c/busses/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dr

Re: [PATCH v2 1/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions

2018-11-20 Thread Vignesh R
On 20/11/18 4:07 PM, Tero Kristo wrote: > On 20/11/2018 12:09, Vignesh R wrote: >> On 19/11/18 12:49 PM, Tero Kristo wrote: >>> On 17/11/2018 18:05, Nishanth Menon wrote: >>>> On 11:31-20181113, Vignesh R wrote: >>>>> The dt-bindings hea

Re: [PATCH v2 1/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions

2018-11-20 Thread Vignesh R
On 19/11/18 12:49 PM, Tero Kristo wrote: > On 17/11/2018 18:05, Nishanth Menon wrote: >> On 11:31-20181113, Vignesh R wrote: >>> The dt-bindings header for TI K3 AM6 SoCs define a set of macros for >> [...] >> >> Thanks for reducing the combinations down to

[PATCH] dt-bindings: ti-tsc-adc: Add new compatible for AM654 SoCs

2018-11-19 Thread Vignesh R
AM654 SoCs has ADC IP which is similar to AM335x. Add new compatible to handle AM654 SoCs. Also, it seems that existing compatible strings used in the kernel DTs were never documented. So, document them now. Signed-off-by: Vignesh R --- .../devicetree/bindings/input/touchscreen/ti-tsc-adc.txt

[PATCH 2/2] iio: adc: ti_am335x_tscadc: Improve accuracy of measurement

2018-11-18 Thread Vignesh R
to VREFP and VREFN respectively in STEP_CONFIGx register. Without these changes, there may be variation of as much as ~2% in the ADC's digital output which is bad for precise measurement. Signed-off-by: Vignesh R --- drivers/iio/adc/ti_am335x_adc.c | 5 - include/linux/mfd

[PATCH 1/2] mfd: ti_am335x_tscadc: Provide unique name for child mfd cells

2018-11-18 Thread Vignesh R
Provide unique names for child mfd cells, this is required in order to support registering of multiple instances of same ti_am335x_tscadc IP. Signed-off-by: Vignesh R --- drivers/mfd/ti_am335x_tscadc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mfd

[PATCH 0/2] tscadc: Couple of fixes

2018-11-18 Thread Vignesh R
Couple of fixes for tscadc drivers that I found while adding support for new SoC. Patches are standalone and can go via individual domain trees. Vignesh R (2): mfd: ti_am335x_tscadc: Provide unique name for child mfd cells iio: adc: ti_am335x_tscadc: Improve accuracy of measurement drivers

Re: [PATCH AUTOSEL 4.18 39/59] i2c: omap: Enable for ARCH_K3

2018-11-14 Thread Vignesh R
Hi, On 15/11/18 3:53 AM, Sasha Levin wrote: > From: Vignesh R > > [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] This patch depends on c77245722fb4 ("arm64: Add support for TI's K3 Multicore SoC architecture") which adds ARCH_K3 Kconfig symbol and merged t

Re: [PATCH] mtd: spi-nor: Fix Cadence QSPI page fault kernel panic

2018-11-14 Thread Vignesh R
Hi, On 13/11/18 11:02 PM, thor.tha...@linux.intel.com wrote: > From: Thor Thayer > > The current Cadence QSPI driver caused a kernel panic sporadically > when writing to QSPI. The problem was caused by writing more bytes > than needed because the QSPI operated on 4 bytes at a time. > > [

Re: [PATCH v3 0/7] spi: add support for octo mode

2018-11-13 Thread Vignesh R
Hi Yogesh On 23/10/18 3:07 PM, Yogesh Narayan Gaur wrote: > Add support for octo mode IO data transfer. > Micron flash, mt35xu512aba, supports octal mode data transfer and > NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). > > Patch series > * Add support for octo mode

[PATCH v2 1/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions

2018-11-12 Thread Vignesh R
The dt-bindings header for TI K3 AM6 SoCs define a set of macros for defining pinmux configs in human readable form, instead of raw-coded hex values. Signed-off-by: Vignesh R --- MAINTAINERS | 1 + include/dt-bindings/pinctrl/k3.h | 35 2

[PATCH v2 4/4] arm64: dts: ti: k3-am654-base-board: Add I2C nodes

2018-11-12 Thread Vignesh R
Add DT entries for I2C instances present in AM654 SoC. Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 44 arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 11 +++ arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi| 11 +++ arch/arm64/boot/dts/ti/k3-am65

[PATCH v2 2/4] arm64: dts: ti: k3-am65: Add pinctrl regions

2018-11-12 Thread Vignesh R
From: Tero Kristo Add pinctrl regions for the main and wkup mmr. The range for main pinctrl region contains a gap at offset 0x2e4, and because of this, the pinctrl range is split into two sections. Signed-off-by: Tero Kristo Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am65

[PATCH v2 3/4] arm64: dts: ti: am654-base-board: Add pinmux for main uart0

2018-11-12 Thread Vignesh R
Add pinmux for main uart0 that is serves as console on AM654 EVM Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654

[PATCH v2 0/4] AM654: Add pinmux support

2018-11-12 Thread Vignesh R
Add pinmux definitions and pinctrl regions for AM654 SoCs and enable uart and i2c. v2: Add only minimum needed macros in dt-bindings include file New patches to illustrate pinmux using uart and i2c Tero Kristo (1): arm64: dts: ti: k3-am65: Add pinctrl regions Vignesh R (3): dt-bindings

[PATCH v4 3/3] MAINTAINERS: Add entry for i2c-omap driver

2018-11-09 Thread Vignesh R
Add separate entry for i2c-omap and add my name as maintainer for this driver. Signed-off-by: Vignesh R --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c78aca287970..284ffe907b31 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10808,6

[PATCH v4 1/3] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs

2018-11-09 Thread Vignesh R
AM654 SoCs have same I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs. While at that reformat the existing compatible list for older SoCs to list one valid compatible per line. Signed-off-by: Vignesh R Reviewed-by: Rob Herring Reviewed-by: Grygorii Strashko --- Documentation

[PATCH v4 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-11-09 Thread Vignesh R
Couple of patches to enable i2c-omap driver to be used with TI's new AM654 platforms. v4: Add maintainer tag instead of reviewer in patch 3/3. v3: Rebase onto v4.20-rc1 Collect Reviewed-by's on v2 Add a patch to MAINTAINERS for i2c-omap.c Vignesh R (3): dt-bindings: i2c-omap: Add new

[PATCH v4 2/3] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3

2018-11-09 Thread Vignesh R
Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R Reviewed-by: Grygorii Strashko --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 56ccb1ea7da5..77dc94b44011

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

2018-11-08 Thread Vignesh R
On 08/11/18 2:53 PM, Wolfram Sang wrote: > On Thu, Nov 08, 2018 at 02:49:31PM +0530, Vignesh R wrote: >> Add separate entry for i2c-omap and add my name as reviewer for this >> driver. > > Thanks for stepping up, yet out of curiosity: why not maintainer? >

[PATCH v3 1/3] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs

2018-11-08 Thread Vignesh R
AM654 SoCs have same I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs. While at that reformat the existing compatible list for older SoCs to list one valid compatible per line. Signed-off-by: Vignesh R Reviewed-by: Rob Herring Reviewed-by: Grygorii Strashko --- Documentation

[PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

2018-11-08 Thread Vignesh R
Add separate entry for i2c-omap and add my name as reviewer for this driver. Signed-off-by: Vignesh R --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8d4c874a5d6e..6519eea4813e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10821,6

[PATCH v3 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-11-08 Thread Vignesh R
Couple of patches to enable i2c-omap driver to be used with TI's new AM654 platforms. v3: Rebase onto v4.20-rc1 Collect Reviewed-by's on v2 Add a patch to MAINTAINERS for i2c-omap.c Vignesh R (3): dt-bindings: i2c-omap: Add new compatible for AM654 SoCs i2c: busses: Kconfig: Enable I2C_OMAP

[PATCH v3 2/3] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3

2018-11-08 Thread Vignesh R
Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R Reviewed-by: Grygorii Strashko --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 56ccb1ea7da5..77dc94b44011

Re: [PATCH v2 0/2] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-11-07 Thread Vignesh R
On 29/10/18 4:04 AM, Wolfram Sang wrote: > On Sat, Oct 20, 2018 at 01:23:40PM +0530, Vignesh R wrote: >> >> >> On 28-Sep-18 10:55 AM, Vignesh R wrote: >>> Couple of patches to enable i2c-omap driver to be used with TI's new >>> AM654 platforms. >>&g

[PATCH 1/2] dt-bindings: spi: omap-spi: Add compatible for AM654 SoC

2018-11-07 Thread Vignesh R
AM654 SoC has same McSPI IP as OMAP2+ platforms. Add new compatible to support McSPI on AM654 SoC. Signed-off-by: Vignesh R --- Documentation/devicetree/bindings/spi/omap-spi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b

[PATCH 2/2] spi: Kconfig: Enable McSPI driver for K3 platforms

2018-11-07 Thread Vignesh R
Enable McSPI driver to be built for K3 platforms, to support McSPI on AM654 SoC of K3 family. Signed-off-by: Vignesh R --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 7d3a5c94727e..51e620264b62 100644

[PATCH 0/2] McSPI: Enable mcspi driver for AM654 SoCs

2018-11-07 Thread Vignesh R
Couple of patches to enable mcspi driver to be used with TI's new AM654 SoCs. Vignesh R (2): dt-bindings: spi: omap-spi: Add compatible for AM654 SoC spi: Kconfig: Enable McSPI driver for K3 platforms Documentation/devicetree/bindings/spi/omap-spi.txt | 1 + drivers/spi/Kconfig

Re: [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs

2018-10-31 Thread Vignesh R
Hi Thierry, On 16/10/18 4:45 PM, Thierry Reding wrote: > On Tue, Oct 16, 2018 at 11:34:00AM +0530, Vignesh R wrote: >> Couple of patches to enable pwm-tiecap driver to be used with TI's new >> AM654 platforms. >> >> Vignesh R (2): >> dt-bindings: pwm:

Re: [PATCH v2 0/2] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-10-20 Thread Vignesh R
On 28-Sep-18 10:55 AM, Vignesh R wrote: > Couple of patches to enable i2c-omap driver to be used with TI's new > AM654 platforms. > > > Vignesh R (2): > dt-bindings: i2c-omap: Add new compatible for AM654 SoCs > i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K

[PATCH v2 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible

2018-10-16 Thread Vignesh R
Add a new compatible string "ti,am654-ecap" to support PWM ECAP IP of TI AM654 SoC. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- v2: Add Reviewed-by Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/

[PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs

2018-10-16 Thread Vignesh R
Couple of patches to enable pwm-tiecap driver to be used with TI's new AM654 platforms. Vignesh R (2): dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + drivers/pwm

[PATCH v2 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3

2018-10-16 Thread Vignesh R
K3 devices have the same ECAP IP as OMAP SoCs. Enable driver to be built for K3 devices. Also, drop reference to AM33xx in help text, as IP is found on multiple TI SoCs. Signed-off-by: Vignesh R --- v2: Update help text to drop AM33xx as suggested by Andrew drivers/pwm/Kconfig | 5 ++--- 1

Re: [PATCH 3/3] spi: omap2-mcspi: Add slave mode support

2018-10-15 Thread Vignesh R
Hi Sekhar, On Monday 15 October 2018 01:53 PM, Sekhar Nori wrote: [...] >> >> +static irqreturn_t omap2_mcspi_irq_handler(int irq, void *data) >> +{ >> +struct omap2_mcspi *mcspi = data; >> +u32 irqstat; >> + >> +irqstat = mcspi_read_reg(mcspi->master, OMAP2_MCSPI_IRQSTATUS); >> +

[PATCH 2/3] spi: omap2-mcspi: Set FIFO DMA trigger level to word length

2018-10-15 Thread Vignesh R
and slave mode. Signed-off-by: Vignesh R --- drivers/spi/spi-omap2-mcspi.c | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 985f00d8a964..88469bb22235 100644 --- a/drivers/spi/spi

[PATCH 3/3] spi: omap2-mcspi: Add slave mode support

2018-10-15 Thread Vignesh R
out. Signed-off-by: Vignesh R --- drivers/spi/spi-omap2-mcspi.c | 138 ++ 1 file changed, 122 insertions(+), 16 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 88469bb22235..f024c3fc3679 100644 --- a/drivers/spi/spi

[PATCH 0/3] omap2-mcspi: Add slave mode support

2018-10-15 Thread Vignesh R
for regression. Vignesh R (3): spi: omap2-mcspi: Switch to readl_poll_timeout() spi: omap2-mcspi: Set FIFO DMA trigger level to word length spi: omap2-mcspi: Add slave mode support drivers/spi/spi-omap2-mcspi.c | 177 +- 1 file changed, 131 insertions(+), 46 deletions

[PATCH 1/3] spi: omap2-mcspi: Switch to readl_poll_timeout()

2018-10-15 Thread Vignesh R
Use standard readl_poll_timeout() macro for polling on status bits. Signed-off-by: Vignesh R --- drivers/spi/spi-omap2-mcspi.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 508c61c669e7

Re: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-11 Thread Vignesh R
> desc->flags = !chip->get_direction(chip, i) ? > (1 << FLAG_IS_OUT) : 0; > > > Thanks! > On Thu, Oct 11, 2018 at 2:18 PM Vignesh R wrote: >> >> Hi, >> >> On Friday 05 October 2018 12:

Re: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-11 Thread Vignesh R
Hi, On Friday 05 October 2018 12:23 PM, Ricardo Ribalda Delgado wrote: > Current code assumes that the direction is input if direction_input > function is set. > This might not be the case on GPIOs with programmable direction. > > Signed-off-by: Ricardo Ribalda Delgado > Tested-by: Jeffrey Hugo

Re: [PATCH 0/3] spi-nor: Add Octal SPI support

2018-10-08 Thread Vignesh R
Hi Boris, Sorry I missed this mail. On Thursday 04 October 2018 04:47 PM, Boris Brezillon wrote: > On Thu, 4 Oct 2018 16:05:36 +0530 > Vignesh R wrote: > >>>> >>>> .../devicetree/bindings/mtd/cadence-quadspi.txt | 1 + >>>> drivers/mtd/s

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-10-04 Thread Vignesh R
On Friday 28 September 2018 11:42 AM, Vignesh R wrote: > Hi Lee, > > On Wednesday 25 July 2018 10:56 AM, Lee Jones wrote: > [...] >>>>>>>> >>>>>>>> Vignesh R (5): >>>>>>>> mfd: ti_am335x_tscadc: Don't mark TSC

Re: [PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-04 Thread Vignesh R
On Thursday 04 October 2018 03:15 PM, Boris Brezillon wrote: > On Wed, 3 Oct 2018 22:26:01 +0530 > Vignesh R wrote: > >> Micron's mt35xu512aba flash is an Octal flash that has x8 IO lines. It >> supports read/write over 8 IO lines simulatenously. Add support for >>

Re: [PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-04 Thread Vignesh R
Hi, On Thursday 04 October 2018 12:21 PM, Yogesh Narayan Gaur wrote: > Hi Vignesh, > >> -Original Message----- >> From: Vignesh R [mailto:vigne...@ti.com] >> Sent: Wednesday, October 3, 2018 10:26 PM >> To: Boris Brezillon ; Marek Vasut >> ; Rob Herring

Re: [PATCH 0/3] spi-nor: Add Octal SPI support

2018-10-04 Thread Vignesh R
On Thursday 04 October 2018 12:50 AM, Boris Brezillon wrote: > On Wed, 3 Oct 2018 22:26:00 +0530 > Vignesh R wrote: > >> This series adds support for octal mode of mt35x flash. Also, adds >> support for OSPI version of Cadence QSPI controller. >> >> Based on to

Re: [PATCH 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Vignesh R
Hi Yogesh, On Thursday 04 October 2018 02:18 PM, Yogesh Gaur wrote: > Add support for octal mode IO data transfer. > Micron flash, mt35xu512aba, supports octal mode data transfer and > NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). > > Patch series > * Add support for

[PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible

2018-10-03 Thread Vignesh R
Add a new compatible string "ti,am654-ecap" to support PWM ECAP IP of TI AM654 SoC. Signed-off-by: Vignesh R Signed-off-by: Sekhar Nori --- Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindin

[PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3

2018-10-03 Thread Vignesh R
K3 devices have the same ECAP IP as OMAP SoC. Enable driver to be built for K3 devices. Signed-off-by: Vignesh R Signed-off-by: Sekhar Nori --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 504d252716f2

[PATCH 0/2] pwm-tiecap: Add support for AM654 SoCs

2018-10-03 Thread Vignesh R
Couple of patches to enable pwm-tiecap driver to be used with TI's new AM654 platforms. Vignesh R (2): dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + drivers/pwm

[PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-03 Thread Vignesh R
that provides auto detection of Octal mode capabilities and opcodes. Therefore, this capability is manually added using new SPI_NOR_OCTAL_READ flag. Signed-off-by: Vignesh R --- drivers/mtd/spi-nor/spi-nor.c | 11 ++- include/linux/mtd/spi-nor.h | 2 ++ 2 files changed, 12 insertions(+), 1

[PATCH 2/3] dt-bindings: cadence-quadspi: Add new compatible for AM654 SoC

2018-10-03 Thread Vignesh R
AM654 SoC has Cadence Octal SPI controller, which is similar to Cadence QSPI controller but supports Octal IO(x8 data lines) and Double Data Rate(DDR) mode. Add new compatible to support OSPI controller on TI's AM654 SoCs. Signed-off-by: Vignesh R --- Documentation/devicetree/bindings/mtd

[PATCH 0/3] spi-nor: Add Octal SPI support

2018-10-03 Thread Vignesh R
This series adds support for octal mode of mt35x flash. Also, adds support for OSPI version of Cadence QSPI controller. Based on top of patches adding basic support for mt35xu512aba here: https://patchwork.ozlabs.org/cover/971437/ Vignesh R (3): mtd: spi-nor: Add Octal mode support

[PATCH 3/3] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2018-10-03 Thread Vignesh R
Cadence OSPI controller IP supports Octal IO (x8 IO lines), It also has an integrated PHY. IP register layout is very similar to existing QSPI IP except for additional bits to support Octal and Octal DDR mode. Therefore, extend current driver to support Octal mode. Signed-off-by: Vignesh R

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-09-28 Thread Vignesh R
Hi Lee, On Wednesday 25 July 2018 10:56 AM, Lee Jones wrote: [...] >>>>>>> >>>>>>> Vignesh R (5): >>>>>>> mfd: ti_am335x_tscadc: Don't mark TSCADC MFD as wakeup capable >>>>>>> Input: ti_am335x_tsc:

[PATCH v4] ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode

2018-09-28 Thread Vignesh R
Add ti,syscon-unaligned-access property to PCIe RC nodes to set appropriate bits in CTRL_CORE_SMA_SW_7 register to enable workaround for errata i870. Signed-off-by: Vignesh R --- This patch is split from v3 here: https://lore.kernel.org/patchwork/cover/967020/ Dependent DT binding documentation

Re: [PATCH v4] ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

2018-09-27 Thread Vignesh R
On Wednesday 26 September 2018 10:57 PM, Tony Lindgren wrote: > * Vignesh R [180924 22:25]: >> Bit positions of PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE and >> PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE in CTRL_CORE_SMA_SW_7 are >> incorrectly documented in the TRM. In fa

Re: [PATCH 1/2] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs

2018-09-27 Thread Vignesh R
On Wednesday 26 September 2018 08:14 PM, Peter Rosin wrote: > On 2018-09-26 13:57, Vignesh R wrote: >> AM654 SoCs have similar I2C IP as OMAP SoCs. Add new compatible to >> handle AM654 SoCs. >> >> Signed-off-by: Vignesh R >> --- >> Documentation/d

[PATCH v2 0/2] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-09-27 Thread Vignesh R
Couple of patches to enable i2c-omap driver to be used with TI's new AM654 platforms. Vignesh R (2): dt-bindings: i2c-omap: Add new compatible for AM654 SoCs i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3 Documentation/devicetree/bindings/i2c/i2c-omap.txt | 8 ++-- drivers/i2c

[PATCH v2 2/2] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3

2018-09-27 Thread Vignesh R
Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R --- v2: No changes drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 451d4ae50e66..ac4b09642f63 100644 --- a/drivers

[PATCH v2 1/2] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs

2018-09-27 Thread Vignesh R
AM654 SoCs have same I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs. While at that reformat the existing compatible list for older SoCs to list one valid compatible per line. Signed-off-by: Vignesh R --- v2: Reformat compatible existing compatible list. Documentation/devicetree

[PATCH] arm64: dts: k3-am65-wakeup: Fix wakeup_uart reg address

2018-09-26 Thread Vignesh R
t;) Signed-off-by: Vignesh R --- Based on next-20180926 arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi index ee56959f4af8..c617393ea767 100644

[PATCH 2/2] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3

2018-09-26 Thread Vignesh R
Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 451d4ae50e66..ac4b09642f63 100644 --- a/drivers/i2c/busses

[PATCH 0/2] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-09-26 Thread Vignesh R
Couple of patches to enable i2c-omap driver to be used with TI's new AM654 platforms. Vignesh R (2): dt-bindings: i2c-omap: Add new compatible for AM654 SoCs i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3 Documentation/devicetree/bindings/i2c/i2c-omap.txt | 1 + drivers/i2c/busses

[PATCH 1/2] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs

2018-09-26 Thread Vignesh R
AM654 SoCs have similar I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs. Signed-off-by: Vignesh R --- Documentation/devicetree/bindings/i2c/i2c-omap.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-omap.txt b

[PATCH v5 2/2] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-09-25 Thread Vignesh R
mode so as to maintain DT backward compatibility. Reported-by: Chris Welch Signed-off-by: Vignesh R Acked-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-dra7xx.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c

[PATCH v5 1/2] dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode

2018-09-25 Thread Vignesh R
Update device tree binding documentation of TI's dra7xx PCI controller for enabling unaligned mem access as applicable not just in EP mode but in host mode as well. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/ti-pci.txt | 5 + 1 file changed

[PATCH v5 0/2] pci-dra7xx: Enable errata i870 workaround for RC mode

2018-09-25 Thread Vignesh R
: Reorder patch 2 to appear at the last. Collect all the ACKs Changes since v1: Drop IRQ handling rework (will be sent out separately) Vignesh R (2): dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

[PATCH v4] ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

2018-09-24 Thread Vignesh R
pcie1 dt node for EP mode") Cc: sta...@vger.kernel.org Signed-off-by: Vignesh R --- This patch is split from v3 here: https://lore.kernel.org/patchwork/cover/967020/ Patch can be applied standalone and has no dependencies on other patches in v3. arch/arm/boot/dts/dra7.dtsi | 2 +- 1 file

Re: [PATCH v4 2/2] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-09-18 Thread Vignesh R
Hi, On Tuesday 18 September 2018 03:11 PM, Lorenzo Pieralisi wrote: > On Mon, Sep 17, 2018 at 11:36:35PM +0530, Vignesh R wrote: [...] >> >> diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c >> b/drivers/pci/controller/dwc/pci-dra7xx.c >> index ce9224

Re: [PATCH v3 0/4] pci-dra7xx: Enable errata i870 workaround for RC mode

2018-09-17 Thread Vignesh R
Hi Lorenzo, On 17-Sep-18 3:17 PM, Lorenzo Pieralisi wrote: > On Fri, Sep 07, 2018 at 10:00:09AM -0700, Tony Lindgren wrote: >> * Vignesh R [180810 10:10]: >>> [...] >>>>> Tony, >>>>> >>>>> If you are okay with the series, could you p

[PATCH v4 1/2] dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode

2018-09-17 Thread Vignesh R
Update device tree binding documentation of TI's dra7xx PCI controller for enabling unaligned mem access as applicable not just in EP mode but in host mode as well. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/ti-pci.txt | 5 + 1 file changed

[PATCH v4 2/2] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-09-17 Thread Vignesh R
-by: Chris Welch Signed-off-by: Vignesh R Acked-by: Kishon Vijay Abraham I Acked-by: Lorenzo Pieralisi --- drivers/pci/controller/dwc/pci-dra7xx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c b/drivers/pci/controller/dwc

[PATCH v4 0/2] pci-dra7xx: Enable errata i870 workaround for RC mode

2018-09-17 Thread Vignesh R
rework (will be sent out separately) v2: https://patchwork.ozlabs.org/cover/935454/ v1: https://lkml.org/lkml/2017/12/1/59 Vignesh R (2): dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode Documentation

Re: [PATCH] serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3

2018-09-09 Thread Vignesh R
On Tuesday 28 August 2018 06:33 AM, Nishanth Menon wrote: > From: Lokesh Vutla > > Allow 8250 omap serial driver to be used for K3 platforms. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Nishanth Menon > --- > Acked-by: Vignesh R > Now that we have the

Re: [PATCH v2] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-09-04 Thread Vignesh R
also to 2. >> > > Please add Fixes > > Vignesh, Sekhar, Tony, > > Do we agree this is the right way to go forward? if yes, please > ack. > > LGTM, thanks kishon! Acked-by: Vignesh R -- Regards Vignesh

Re: [PATCH] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-08-31 Thread Vignesh R
Kishon, On 28-Aug-18 9:55 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [180828 10:31]: >> AM65 has two PCIe controllers and each PCIe controller has '2' address >> spaces one within the 4GB address space of the SoC and the other above >> the 4GB address space of the SoC in addition to the

Re: [PATCH v3 0/4] pci-dra7xx: Enable errata i870 workaround for RC mode

2018-08-10 Thread Vignesh R
On Wednesday 08 August 2018 10:27 PM, Lorenzo Pieralisi wrote: > On Tue, Jul 24, 2018 at 11:01:46PM +0530, Vignesh R wrote: >> Make workaround for errata i870 applicable in Host mode as >> well(previously it was enabled only for EP mode) as per errata >> documentation: htt

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-07-24 Thread Vignesh R
On Monday 23 July 2018 11:07 AM, Lee Jones wrote: > On Wed, 18 Jul 2018, Dmitry Torokhov wrote: > >> On Wed, Jul 18, 2018 at 08:47:36AM +0100, Lee Jones wrote: >>> On Tue, 17 Jul 2018, Vignesh R wrote: >>> >>>> Hi Dmitry, >>>> &

[PATCH v3 1/4] dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode

2018-07-24 Thread Vignesh R
Update device tree binding documentation of TI's dra7xx PCI controller for enabling unaligned mem access as applicable not just in EP mode but in host mode as well. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/ti-pci.txt | 5 + 1 file changed

[PATCH v3 4/4] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-07-24 Thread Vignesh R
-by: Chris Welch Signed-off-by: Vignesh R Acked-by: Kishon Vijay Abraham I Acked-by: Lorenzo Pieralisi --- v3: collect ACKs. Fix s/appplied/applied. drivers/pci/controller/dwc/pci-dra7xx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pci/controller/dwc

[PATCH v3 0/4] pci-dra7xx: Enable errata i870 workaround for RC mode

2018-07-24 Thread Vignesh R
: https://lkml.org/lkml/2017/12/1/59 Vignesh R (4): dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode ARM: dts: dra7: Fix up unaligned access setting for PCIe EP pci: dwc: pci-dra7xx: Enable errata

[PATCH v3 3/4] ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

2018-07-24 Thread Vignesh R
pcie1 dt node for EP mode") Cc: sta...@vger.kernel.org Signed-off-by: Vignesh R --- v3; Add Fixes tag arch/arm/boot/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 1050da6c6d35..fc50d6a8e

[PATCH v3 2/4] ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode

2018-07-24 Thread Vignesh R
Add ti,syscon-unaligned-access property to PCIe RC nodes to set appropriate bits in CTRL_CORE_SMA_SW_7 register to enable workaround for errata i870. Signed-off-by: Vignesh R --- arch/arm/boot/dts/dra7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch

Re: [PATCH 1/2] mtd: spi-nor: cadence-quadspi: fix timeout handling in wait_for_completion_timeout

2018-07-21 Thread Vignesh R
Hi, On 21-Jul-18 7:51 PM, Nicholas Mc Guire wrote: > wait_for_completion_timeout returns unsigned long not int so a variable of > proper type is introduced. Further the check for <= 0 is ambiguous and should > be == 0 here. > Oops, my bad. Thanks for the fix! I see you have fixed similar bug in

Re: [PATCH v2 2/4] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-07-19 Thread Vignesh R
On Thursday 19 July 2018 04:45 PM, Lorenzo Pieralisi wrote: > On Thu, Jul 19, 2018 at 04:04:34PM +0530, Vignesh R wrote: >> Hi Lorenzo, >> [...] >>>> + ret = dra7xx_pcie_unaligned_memaccess(dev); >>>> + if (ret) >>>> + dev_err

Re: [PATCH v2 4/4] ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

2018-07-19 Thread Vignesh R
Hi Tony, On Tuesday 17 July 2018 03:25 PM, Kishon Vijay Abraham I wrote: > > > On Wednesday 27 June 2018 05:59 PM, Vignesh R wrote: >> Bit positions of PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE and >> PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE in CTRL_CORE_SMA_SW_7 are >> incorr

Re: [PATCH v2 2/4] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-07-19 Thread Vignesh R
Hi Lorenzo, On Wednesday 18 July 2018 04:32 PM, Lorenzo Pieralisi wrote: > On Wed, Jun 27, 2018 at 05:59:17PM +0530, Vignesh R wrote: >> Errata i870 is applicable in both EP and RC mode. Therefore rename >> function dra7xx_pcie_ep_unaligned_memaccess(), that implements errat

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-07-17 Thread Vignesh R
Hi Dmitry, On Saturday 30 June 2018 04:03 PM, Vignesh R wrote: > On AM335x, resistive TSC can wakeup the system from low power state. > Currently, parent MFD device is marked as wakeup source, which is > inaccurate as its the touch event generated by TSC thats the wakeup > source.

Re: [PATCH 4/5] iio: adc: ti_am335x_adc: Disable ADC during suspend unconditionally

2018-07-04 Thread Vignesh R
On Saturday 30 June 2018 08:48 PM, Jonathan Cameron wrote: > On Sat, 30 Jun 2018 16:03:17 +0530 > Vignesh R wrote: > >> Parent MFD device takes care of enabling ADC interface whenever >> touchscreen is marked wakeup capable. Therefore, unconditionally disable >>

  1   2   3   4   5   6   7   >