Re: [PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS

2016-12-04 Thread Mugunthan V N
Hi Lee Jones On Wednesday 30 November 2016 02:39 AM, Dmitry Torokhov wrote: > On Tue, Nov 29, 2016 at 11:11:35AM +0530, Mugunthan V N wrote: >> On Friday 25 November 2016 03:29 PM, Lee Jones wrote: >>> On Fri, 25 Nov 2016, Mugunthan V N wrote: >>> >>>> Hi Dm

Re: [PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS

2016-11-28 Thread Mugunthan V N
On Friday 25 November 2016 03:29 PM, Lee Jones wrote: > On Fri, 25 Nov 2016, Mugunthan V N wrote: > >> Hi Dmitry Torokhov, >> >> On Thursday 10 November 2016 10:05 PM, Mugunthan V N wrote: >>> This patch series enables ADC to be clocked at 24MHz as the >>>

Re: [PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS

2016-11-24 Thread Mugunthan V N
Hi Dmitry Torokhov, On Thursday 10 November 2016 10:05 PM, Mugunthan V N wrote: > This patch series enables ADC to be clocked at 24MHz as the > TI AM335x ADC driver has already adopted to use DMA to transfer > ADC samples. Now ADC can generated upto 800K Samples per second > with the

[PATCH v2 2/3] Input: ti_am335x_tsc: Add support for ti,charge-delay-ns

2016-11-12 Thread Mugunthan V N
assumed that it is for 3MHz TSCADC clock and will be calculated as per current clock speed. Signed-off-by: Mugunthan V N --- drivers/input/touchscreen/ti_am335x_tsc.c | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v2 3/3] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-11-12 Thread Mugunthan V N
Increase ADC reference clock from 3MHz to 24MHz so that the sampling rates goes up from 100K samples per second to 800K samples per second on AM335x and AM437x SoC. Signed-off-by: Mugunthan V N --- include/linux/mfd/ti_am335x_tscadc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 1/3] dt/binding: ti-tsc-adc: deprecate ti,charge-delay and add binding doc for ti,charge-delay-ns

2016-11-10 Thread Mugunthan V N
clock. Representing the charge delay of touchscreen in terms of ADC clocks is incorrect. So change this representation to ti,charge-delay-ns, which driver can convert it to number clock cycles based on ref clock frequency. Signed-off-by: Mugunthan V N --- .../bindings/input/touchscreen/ti-tsc

[PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS

2016-11-10 Thread Mugunthan V N
http://pastebin.ubuntu.com/23456616/ Mugunthan V N (3): dt/binding: ti-tsc-adc: deprecate ti,charge-delay and add binding doc for ti,charge-delay-ns Input: ti_am335x_tsc: Add support for ti,charge-delay-ns drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz .../bindings/

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-27 Thread Mugunthan V N
On Monday 24 October 2016 11:32 AM, Mugunthan V N wrote: > Increase ADC reference clock from 3MHz to 24MHz so that the > sampling rates goes up from 100K samples per second to 800K > samples per second on AM335x and AM437x SoC. > > Also increase opendelay for touchscreen c

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-24 Thread Mugunthan V N
On Tuesday 25 October 2016 02:28 AM, John Syne wrote: >> > On Oct 23, 2016, at 11:02 PM, Mugunthan V N wrote: >> > >> > Increase ADC reference clock from 3MHz to 24MHz so that the >> > sampling rates goes up from 100K samples per second to 800K >> >

[PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-23 Thread Mugunthan V N
the same amount touch events reported via evtest on AM335x GP EVM. Signed-off-by: Mugunthan V N --- This patch depends on ADC DMA patch series [1] Without DMA support, when ADC ref clock is set at 24MHz, I am seeing fifo overflow as CPU is not able to pull the ADC samples. This answers that DMA

Re: [PATCH v3 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-19 Thread Mugunthan V N
On Sunday 09 October 2016 02:00 PM, Jonathan Cameron wrote: > On 05/10/16 10:04, Mugunthan V N wrote: >> This patch adds the required pieces to ti_am335x_adc driver for >> DMA support >> >> Signed-off-by: Mugunthan V N > Hi, > > Just the one question inline

Re: [v2] tty: serial_core: Fix serial console crash on port shutdown

2016-10-19 Thread Mugunthan V N
ial console. > > Fixes: 761ed4a94582ab29 ("tty: serial_core: convert uart_close to use > tty_port_close") > Reported-by: Niklas Söderlund > Signed-off-by: Geert Uytterhoeven > Acked-by: Rob Herring Fixes some junk characters seen on boot console on TI platforms. Te

seeing some junk characters on boot console with v4.9-rc1-3-g14155ca

2016-10-18 Thread Mugunthan V N
onvert uart_close to use tty_port_close" a5a2b13074fd "serial: core: fix potential NULL pointer dereference" [1] - http://pastebin.ubuntu.com/23343431/ [2] - http://pastebin.ubuntu.com/23343435/ Regards Mugunthan V N

[PATCH v4 2/4] net: phy: dp83867: add support for MAC impedance configuration

2016-10-18 Thread Mugunthan V N
Add support for programmable MAC impedance configuration Signed-off-by: Mugunthan V N --- drivers/net/phy/dp83867.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 91177a4..1b63924 100644 --- a/drivers

[PATCH v4 3/4] ARM: dts: dra72-evm-revc: add phy impedance settings

2016-10-18 Thread Mugunthan V N
The default impedance settings of the phy is not the optimal value, due to this the second ethernet is not working. Fix it with correct values which makes the second ethernet port to work. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++ 1 file changed, 2 insertions

[PATCH v4 4/4] ARM: dts: dra72-evm-revc: fix correct phy delay

2016-10-18 Thread Mugunthan V N
The current delay settings of the phy are not the optimal value, fix it with correct values. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra72-evm-revc.dts b/arch/arm/boot

[PATCH v4 0/4] add support for impedance control for TI dp83867 phy and fix 2nd ethernet on dra72 rev C evm

2016-10-18 Thread Mugunthan V N
nrent implementation. * Corrected the phy delay timings to the optimal value. [1] - http://www.ti.com/lit/ds/symlink/dp83867ir.pdf [2] - http://pastebin.ubuntu.com/23343139/ [3] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git dp83867-v4 Mugunthan V N (4): net: phy: dp83867: Add document

[PATCH v4 1/4] net: phy: dp83867: Add documentation for optional impedance control

2016-10-18 Thread Mugunthan V N
Add documention of ti,min-output-impedance and ti,max-output-impedance which can be used to correct MAC impedance mismatch using phy extended registers. Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file changed, 12 insertions

Re: [PATCH v3 1/4] net: phy: dp83867: Add documentation for optional impedance control

2016-10-12 Thread Mugunthan V N
On Monday 10 October 2016 06:48 PM, Rob Herring wrote: > On Thu, Oct 06, 2016 at 10:43:52AM +0530, Mugunthan V N wrote: >> Add documention of ti,impedance-control which can be used to > > Needs updating. Oops, will update this in next version. > >> correct MAC impe

[PATCH v3 2/4] net: phy: dp83867: add support for MAC impedance configuration

2016-10-05 Thread Mugunthan V N
Add support for programmable MAC impedance configuration Signed-off-by: Mugunthan V N --- drivers/net/phy/dp83867.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 91177a4..1b63924 100644 --- a/drivers

[PATCH v3 1/4] net: phy: dp83867: Add documentation for optional impedance control

2016-10-05 Thread Mugunthan V N
Add documention of ti,impedance-control which can be used to correct MAC impedance mismatch using phy extended registers. Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v3 3/4] ARM: dts: dra72-evm-revc: add phy impedance settings

2016-10-05 Thread Mugunthan V N
The default impedance settings of the phy is not the optimal value, due to this the second ethernet is not working. Fix it with correct values which makes the second ethernet port to work. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++ 1 file changed, 2 insertions

[PATCH v3 0/4] add support for impedance control for TI dp83867 phy and fix 2nd ethernet on dra72 rev C evm

2016-10-05 Thread Mugunthan V N
timal value. [1] - http://www.ti.com/lit/ds/symlink/dp83867ir.pdf [2] - http://pastebin.ubuntu.com/23283056/ [3] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git dp83867-v3 Mugunthan V N (4): net: phy: dp83867: Add documentation for optional impedance control net: phy: dp83867

[PATCH v3 4/4] ARM: dts: dra72-evm-revc: fix correct phy delay

2016-10-05 Thread Mugunthan V N
The current delay settings of the phy are not the optimal value, fix it with correct values. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra72-evm-revc.dts b/arch/arm/boot

[PATCH v3 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-05 Thread Mugunthan V N
This patch adds the required pieces to ti_am335x_adc driver for DMA support Signed-off-by: Mugunthan V N --- drivers/iio/adc/ti_am335x_adc.c | 148 ++- include/linux/mfd/ti_am335x_tscadc.h | 7 ++ 2 files changed, 152 insertions(+), 3 deletions(-) diff

[PATCH v3 4/4] ARM: dts: am4372: add DMA properties for tscadc

2016-10-05 Thread Mugunthan V N
Add DMA properties for tscadc Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am4372.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 0fadae5..6094d17 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot

[PATCH v3 3/4] ARM: dts: am33xx: add DMA properties for tscadc

2016-10-05 Thread Mugunthan V N
Add DMA properties for tscadc Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am33xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 98748c6..6d607b8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot

[PATCH v3 0/4] Add DMA support for ti_am335x_adc driver

2016-10-05 Thread Mugunthan V N
://pastebin.ubuntu.com/23278405/ [2] - http://pastebin.ubuntu.com/23211494/ [3] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git iio-dma-v2 Mugunthan V N (4): mfd: ti_am335x_tscadc: store physical address drivers: iio: ti_am335x_adc: add dma support ARM: dts: am33xx: add DMA

[PATCH v3 1/4] mfd: ti_am335x_tscadc: store physical address

2016-10-05 Thread Mugunthan V N
store the physical address of the device in its priv to use it for DMA addressing in the client drivers. Signed-off-by: Mugunthan V N --- drivers/mfd/ti_am335x_tscadc.c | 1 + include/linux/mfd/ti_am335x_tscadc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/mfd

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-05 Thread Mugunthan V N
On Wednesday 05 October 2016 02:16 PM, Peter Ujfalusi wrote: > On 10/05/16 11:17, Mugunthan V N wrote: >> On Wednesday 05 October 2016 12:01 PM, Peter Ujfalusi wrote: >>> On 10/05/16 09:21, Mugunthan V N wrote: >>>> On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-05 Thread Mugunthan V N
On Wednesday 05 October 2016 12:01 PM, Peter Ujfalusi wrote: > On 10/05/16 09:21, Mugunthan V N wrote: >> On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: >>> On 10/03/16 16:03, Mugunthan V N wrote: >>>> +static int tiadc_request_dm

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-04 Thread Mugunthan V N
On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: > On 10/03/16 16:03, Mugunthan V N wrote: >> +static int tiadc_request_dma(struct platform_device *pdev, >> + struct tiadc_device *adc_dev) >> +{ >> +struct tiadc_dma

Re: [PATCH v2 3/4] ARM: dts: dra72-evm-revc: fix correct phy delay and impedance settings

2016-10-04 Thread Mugunthan V N
On Tuesday 04 October 2016 06:41 PM, Lokesh Vutla wrote: > > On Tuesday 04 October 2016 06:26 PM, Mugunthan V N wrote: >> > The default impedance settings of the phy is not the optimal >> > value, due to this the second ethernet is not working. Fix it >> > wi

Re: [PATCH v2 2/4] net: phy: dp83867: add support for MAC impedance configuration

2016-10-04 Thread Mugunthan V N
min-output-imepdance")) > > Did you really test this? Or did you make the same typos in your device > tree file? > I have tested this and attached the log in cover letter. Since there is a typo error on both dts and driver it worked as expected. Will send a v3 ASAP. Regards Mugunthan V N

[PATCH v2 1/4] net: phy: dp83867: Add documentation for optional impedance control

2016-10-04 Thread Mugunthan V N
Add documention of ti,impedance-control which can be used to correct MAC impedance mismatch using phy extended registers. Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v2 2/4] net: phy: dp83867: add support for MAC impedance configuration

2016-10-04 Thread Mugunthan V N
Add support for programmable MAC impedance configuration Signed-off-by: Mugunthan V N --- drivers/net/phy/dp83867.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 91177a4..795ae17 100644 --- a/drivers

[PATCH v2 3/4] ARM: dts: dra72-evm-revc: fix correct phy delay and impedance settings

2016-10-04 Thread Mugunthan V N
The default impedance settings of the phy is not the optimal value, due to this the second ethernet is not working. Fix it with correct values which makes the second ethernet port to work. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++ 1 file changed, 2 insertions

[PATCH v2 0/4] add support for impedance control for TI dp83867 phy and fix 2nd ethernet on dra72 rev C evm

2016-10-04 Thread Mugunthan V N
mlink/dp83867ir.pdf [2] - http://pastebin.ubuntu.com/23274616/ [3] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git dp83867-v2 Mugunthan V N (4): net: phy: dp83867: Add documentation for optional impedance control net: phy: dp83867: add support for MAC impedance configuration ARM: dts:

[PATCH v2 4/4] ARM: dts: dra72-evm-revc: fix correct phy delay

2016-10-04 Thread Mugunthan V N
The current delay settings of the phy are not the optimal value, fix it with correct values. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra72-evm-revc.dts b/arch/arm/boot

[PATCH v2 4/4] ARM: dts: am4372: add DMA properties for tscadc

2016-10-03 Thread Mugunthan V N
Add DMA properties for tscadc Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am4372.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 0fadae5..6094d17 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot

[PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-03 Thread Mugunthan V N
This patch adds the required pieces to ti_am335x_adc driver for DMA support Signed-off-by: Mugunthan V N --- drivers/iio/adc/ti_am335x_adc.c | 145 ++- include/linux/mfd/ti_am335x_tscadc.h | 7 ++ 2 files changed, 149 insertions(+), 3 deletions(-) diff

[PATCH v2 0/4] Add DMA support for ti_am335x_adc driver

2016-10-03 Thread Mugunthan V N
://pastebin.ubuntu.com/23211494/ [4] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git iio-dma-v2 Mugunthan V N (4): mfd: ti_am335x_tscadc: store physical address drivers: iio: ti_am335x_adc: add dma support ARM: dts: am33xx: add DMA properties for tscadc ARM: dts: am4372: add DMA

[PATCH v2 3/4] ARM: dts: am33xx: add DMA properties for tscadc

2016-10-03 Thread Mugunthan V N
Add DMA properties for tscadc Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am33xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 98748c6..6d607b8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot

[PATCH v2 1/4] mfd: ti_am335x_tscadc: store physical address

2016-10-03 Thread Mugunthan V N
store the physical address of the device in its priv to use it for DMA addressing in the client drivers. Signed-off-by: Mugunthan V N --- drivers/mfd/ti_am335x_tscadc.c | 1 + include/linux/mfd/ti_am335x_tscadc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/mfd

Re: [PATCH 1/4] mfd: ti_am335x_tscadc: store physical address

2016-09-30 Thread Mugunthan V N
On Wednesday 28 September 2016 01:10 AM, Lee Jones wrote: > On Wed, 21 Sep 2016, Mugunthan V N wrote: > >> store the physical address of the device in its priv to use it >> for DMA addressing in the client drivers. >> >> Signed-off-by: Mugunthan V N >> --

Re: [PATCH 0/4] Add DMA support for ti_am335x_adc driver

2016-09-29 Thread Mugunthan V N
On Sunday 25 September 2016 03:11 PM, Jonathan Cameron wrote: > On 21/09/16 17:11, Mugunthan V N wrote: >> > The ADC has a 64 work depth fifo length which holds the ADC data >> > till the CPU reads. So when a user program needs a large ADC data >> > to operate on, th

Re: [PATCH 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-09-22 Thread Mugunthan V N
On Thursday 22 September 2016 11:48 AM, Vignesh R wrote: > > > On Wednesday 21 September 2016 09:41 PM, Mugunthan V N wrote: >> This patch adds the required pieces to ti_am335x_adc driver for >> DMA support >> >> Signed-off-by: Mugunthan V N >> --- >>

Re: [PATCH 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-09-22 Thread Mugunthan V N
On Thursday 22 September 2016 12:50 PM, Peter Ujfalusi wrote: > On 09/21/16 19:11, Mugunthan V N wrote: >> This patch adds the required pieces to ti_am335x_adc driver for >> DMA support >> >> Signed-off-by: Mugunthan V N >> --- >> dri

[PATCH 1/4] mfd: ti_am335x_tscadc: store physical address

2016-09-21 Thread Mugunthan V N
store the physical address of the device in its priv to use it for DMA addressing in the client drivers. Signed-off-by: Mugunthan V N --- drivers/mfd/ti_am335x_tscadc.c | 1 + include/linux/mfd/ti_am335x_tscadc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/mfd

[PATCH 0/4] Add DMA support for ti_am335x_adc driver

2016-09-21 Thread Mugunthan V N
] [1] - http://pastebin.ubuntu.com/23211490/ [2] - http://pastebin.ubuntu.com/23211492/ [3] - http://pastebin.ubuntu.com/23211494/ [4] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git iio-dma Mugunthan V N (4): mfd: ti_am335x_tscadc: store physical address drivers: iio: ti_am335x_adc

[PATCH 3/4] ARM: dts: am33xx: add DMA properties for tscadc

2016-09-21 Thread Mugunthan V N
Add DMA properties for tscadc Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am33xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 98748c6..6d607b8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot

[PATCH 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-09-21 Thread Mugunthan V N
This patch adds the required pieces to ti_am335x_adc driver for DMA support Signed-off-by: Mugunthan V N --- drivers/iio/adc/ti_am335x_adc.c | 160 ++- include/linux/mfd/ti_am335x_tscadc.h | 7 ++ 2 files changed, 164 insertions(+), 3 deletions(-) diff

[PATCH 4/4] ARM: dts: am4372: add DMA properties for tscadc

2016-09-21 Thread Mugunthan V N
Add DMA properties for tscadc Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am4372.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 0fadae5..6094d17 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot

Re: [PATCH] tools: iio: fix iio build error by adding KBUILD_OUTPUT support to makefile

2016-09-15 Thread Mugunthan V N
Jonathan On Monday 22 August 2016 12:35 AM, Jonathan Cameron wrote: > On 11/08/16 07:01, Mugunthan V N wrote: >> > Current make doesn't have support to pass kernel built directory >> > to find events.h kernel header file, so adding support for >> >

Re: [PATCH v4 5/5] net: ethernet: ti: cpsw: add ethtool channels support

2016-08-22 Thread Mugunthan V N
> Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v4 3/5] net: ethernet: ti: cpsw: add multi queue support

2016-08-22 Thread Mugunthan V N
's with single-queue default mode. > > The statistic for every channel can be read with: > $ ethtool -S ethX > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v4 1/5] net: ethernet: ti: davinci_cpdma: split descs num between all channels

2016-08-22 Thread Mugunthan V N
another, let every channel to have its > own piece of pool. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 4/5] net: ethernet: ti: davinci_cpdma: move cpdma channel struct macroses to internals

2016-08-16 Thread Mugunthan V N
roses only for internal use. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 5/5] net: ethernet: ti: cpsw: add ethtool channels support

2016-08-16 Thread Mugunthan V N
On Tuesday 16 August 2016 04:55 AM, Ivan Khoronzhuk wrote: > These ops allow to control number of channels driver is allowed to > work with at cpdma level. The maximum number of channels is 8 for > rx and 8 for tx. In dual_emac mode the h/w channels are shared > between two interfaces and changing

Re: [PATCH v3 2/5] net: ethernet: ti: davinci_cpdma: fix locking while ctrl_stop

2016-08-16 Thread Mugunthan V N
is stopping while not all packets were handled > with NAPIs. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

[PATCH] tools: iio: fix iio build error by adding KBUILD_OUTPUT support to makefile

2016-08-10 Thread Mugunthan V N
ctory #include ^ compilation terminated. : recipe for target 'iio_event_monitor.o' failed make: *** [iio_event_monitor.o] Error 1 make: Leaving directory '/home/a0131834/workspace/git/mainline/linux/tools/iio' Signed-off-by: Mugunthan V N --- With this fix I am

Re: [PATCH v3 06/13] net: ethernet: ti: cpsw: create common struct to hold shared driver data

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 04:52 AM, Ivan Khoronzhuk wrote: > This patch simply create holder for common data and as a start moves > pdev var to it. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 11/13] net: ethernet: ti: cpsw: move platform data and slaves info to cpsw_common

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 04:52 AM, Ivan Khoronzhuk wrote: > These data are common for net devs in dual_emac mode. No need to hold > it for every priv instance, so move them under cpsw_common. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 09/13] net: ethernet: ti: cpsw: move cpdma resources to cpsw_common

2016-08-10 Thread Mugunthan V N
k Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 07/13] net: ethernet: ti: cpsw: replace pdev on dev

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 04:52 AM, Ivan Khoronzhuk wrote: > No need to hold pdev link when only dev is needed. > This allows to simplify a bunch of cpsw->pdev->dev now and farther. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 08/13] net: ethernet: ti: cpsw: move links on h/w registers to cpsw_common

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 04:52 AM, Ivan Khoronzhuk wrote: > The pointers on h/w registers are common for every cpsw_private > instance, so no need to hold them for every ndev. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 12/13] net: ethernet: ti: cpsw: move napi struct to cpsw_common

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 04:52 AM, Ivan Khoronzhuk wrote: > The napi structs are common for both net devices in dual_emac > mode, In order to not hold duplicate links to them, move to > cpsw_common. > > Signed-off-by: Ivan Khoronzhuk > --- Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 10/13] net; ethernet: ti: cpsw: move irq stuff under cpsw_common

2016-08-10 Thread Mugunthan V N
mber of irqs to 2, as anyway, driver is using only 2, > at least for now. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 13/13] net: ethernet: ti: cpsw: move ale, cpts and drivers params under cpsw_common

2016-08-10 Thread Mugunthan V N
by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH] drivers: net: cpsw: fix kmemleak false-positive reports for sk buffers

2016-08-10 Thread Mugunthan V N
ich belongs to DEV MMIO space. Kmemleak does not scan IO > memory and so reports memory leaks. > > Hence, mark allocated sk buffers as false positive explicitly. > > Cc: Catalin Marinas > Signed-off-by: Grygorii Strashko Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH] net: ethernet: ti: cpdma: remove used_desc counter

2016-08-09 Thread Mugunthan V N
DMA has been > switched to use genalloc, and may get wrong values on SMP. > > Hence, remove used_desc from struct cpdma_desc_pool. > > Signed-off-by: Grygorii Strashko Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v2 05/14] net: ethernet: ti: cpsw: don't check slave num in runtime

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > No need to check const slave num in runtime for every packet, > and ndev for slaves w/o ndev is anyway NULL. So remove redundant > check. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v2 04/14] net: ethernet: ti: cpsw: remove clk var from priv

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > There is no need to hold link to clk, it's used only once > while probe. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v2 03/14] net: ethernet: ti: cpsw: remove priv from cpsw_get_slave_port() parameters list

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > There is no need in priv here. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v2 02/14] net: ethernet: ti: cpsw: remove redundant check in napi poll

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > No need to check number of handled packets, when in most cases (> 99%) > it's not 0. It can be 0 only in rare cases, even in this case > it's not bad to print just 0. > > Signed-off-by: Ivan Khoronzhuk

Re: [PATCH v2 01/14] net: ethernet: ti: cpsw: simplify submit routine

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > As second net dev is created only in case of dual_emac mode, port > number can be figured out in simpler way. Also no need to pass > redundant ndev struct. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Muguntha

Re: [PATCH v2 3/4] drivers: net: cpsw: use of_platform_depopulate()

2016-07-29 Thread Mugunthan V N
ure that all steps done in > of_platform_populate() are reverted, including cleaning up of > OF_POPULATED flag. > > Signed-off-by: Grygorii Strashko Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v2 2/4] drivers: net: cpsw: fix wrong regs access in cpsw_remove

2016-07-29 Thread Mugunthan V N
ces are down. > > Hence, ensure that CPSW powered up by PM runtime before performing any > deinitialization actions which require CPSW registers access. In case > of PM runtime error just leave cpsw_remove() as we can't do anything > anymore. > > Signed-off-by: Grygorii

Re: [PATCH v2 1/4] net: ethernet: ti: cpdma: fix lockup in cpdma_ctlr_destroy()

2016-07-29 Thread Mugunthan V N
rnet: ti: cpsw: use destroy ctlr to destroy channels") was merged. > > Signed-off-by: Grygorii Strashko Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [net-next PATCH 1/3] net: phy: dp83867: Add documentation for optional impedance control

2016-07-22 Thread Mugunthan V N
Rob, On Friday 22 July 2016 02:44 AM, Rob Herring wrote: > On Thu, Jul 21, 2016 at 11:52:36AM +0530, Sekhar Nori wrote: >> Nishanth, >> >> On Wednesday 20 July 2016 09:03 PM, Nishanth Menon wrote: >>> On 07/20/2016 09:56 AM, Mugunthan V N wrote: >>>> Add

[net-next PATCH 0/3] add support for impedance control for TI dp83867 phy and fix 2nd ethernet on dra72 rev C evm

2016-07-20 Thread Mugunthan V N
Add support for configurable impedance control for TI dp83867 phy via devicetree. More documentation in [1] CPSW second ethernet is not working, fix it by enabling impedance configuration on the phy. Public Datasheet - http://www.ti.com/lit/ds/symlink/dp83867ir.pdf Mugunthan V N (3): net: phy

[net-next PATCH 1/3] net: phy: dp83867: Add documentation for optional impedance control

2016-07-20 Thread Mugunthan V N
Add documention of ti,impedance-control which can be used to correct MAC impedance mismatch using phy extended registers. Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree

[net-next PATCH 2/3] net: phy: dp83867: add support for MAC impedance configuration

2016-07-20 Thread Mugunthan V N
Add support for programmable MAC impedance configuration Signed-off-by: Mugunthan V N --- drivers/net/phy/dp83867.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 91177a4..ace3558 100644 --- a/drivers/net

[net-next PATCH 3/3] ARM: dts: dra72-evm-revc: fix non-working cpsw second ethernet

2016-07-20 Thread Mugunthan V N
Second ethernet of cpsw is not working, make it work by adding impedance configuration. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/dra72-evm-revc.dts b/arch/arm/boot/dts/dra72-evm-revc.dts index

Re: [PATCH v2 00/15] drivers: net: cpsw: improve runtime pm

2016-06-27 Thread Mugunthan V N
ed > - davinci_mdio DT updated with proper description of allowed compatible > strings > combinations > > Link on v1: > https://lkml.org/lkml/2016/6/15/362 For the series. Reviewed-by: Mugunthan V N Regards Mugunthan V N > > Grygorii Strashko (15): > drivers: ne

Re: [PATCH v2] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-27 Thread Mugunthan V N
loc_coherent()). Hence, switch to using genalloc and add > desc_num property for each channel for limitation of max number of > allowed descriptors for each CPDMA channel. This patch do not affect > on net throuput. > > Tested-by: Ivan Khoronzhuk > Signed-off-by: Grygorii Strashko Ack

Re: [PATCH] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-23 Thread Mugunthan V N
\ >> } while (0) >> >> +static void cpdma_desc_pool_destroy(struct cpdma_desc_pool *pool) >> +{ >> +if (!pool) >> +return; >> + >> +WARN_ON(pool->used_desc); >> +if (pool->cpumap) { >> +dma_free_coherent(

Re: [PATCH] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-23 Thread Mugunthan V N
loc_coherent()). Hence, switch to using genalloc and add > desc_num property for each channel for limitation of max number of > allowed descriptors for each CPDMA channel. This patch do not affect > on net throuput. > > Cc: Ivan Khoronzhuk > Signed-off-by: Grygorii Strashko Ack

Re: [PATCH v3 0/2] net: ethernet: ti: cpsw: delete rx_descs property

2016-06-17 Thread Mugunthan V N
. > > Based on > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git > master > > Since v2: > - add declaration of buf_num in correct order > > Since v1: > - separate device tree and driver patches > - return number of rx buffers from cpdma driver &g

Re: [PATCH v2 0/2] net: ethernet: ti: cpsw: delete rx_descs property

2016-06-14 Thread Mugunthan V N
On Tuesday 14 June 2016 06:08 PM, Ivan Khoronzhuk wrote: > > > On 13.06.16 18:19, Andrew F. Davis wrote: >> On 06/13/2016 03:22 AM, Mugunthan V N wrote: >>> On Saturday 11 June 2016 04:34 AM, Schuyler Patton wrote: >>>> >>>> &g

Re: [PATCH v2 0/2] net: ethernet: ti: cpsw: delete rx_descs property

2016-06-13 Thread Mugunthan V N
umber of rx descs >> and throughput >> split between channels > > With gigabit networks 64 or 128 rx descriptors is not going to enough to > fix the > DMA overrun problem. Usually we set this number to an arbitrarily large > 2000 > descriptors in external DDR to demonstrate it is possible to not drop > packets. All > this does is move the problem higher up so that the drops occur in network > stack if the ARM is overloaded. With the high speed networks I would like > to propose that the descriptor pool or pools are moved to DDR by > default. It would > be nice to have some reconfigurability or set a pool size that reduces > or eliminates > the DMA issue that is seen in these types of applications. > > This test gets used a lot, which is to send very short UDP packets. If I > have the math > right, a 52 byte (64 byte with the inter-frame gap) UDP packet the > default 64 > descriptors gets consumed in roughly 33uS. There are the switch fifos > which will also > allow some headroom, but a user was dropping packets at the switch when > they > were bursting 360 packets at the processor on a gigabit link > I too agree that rx-descs can be derived from the pool size and descriptor size in driver itself. The current driver uses bd_ram_size to set the pool size when the descriptors are placed in DDR which is wrong. Here I propose an idea to solve Schuyler's concern to keep the descriptors in DDR when a system need more rx descriptors for lossless UDB performance. The DT property rx-descs can be removed and add a new DT property *pool_size* to add support for descriptors memory size in DDR and define a pool size which the system needs for a network to have lossless UDP transfers. So based on no_bd_ram DT entry, the driver can decide whether it can use internal BD-ram or DDR to initialize the cpdma driver. Regards Mugunthan V N

Re: [PATCH net v3 4/5] dt: cpsw: phy-handle, phy_id, and fixed-link are mutually exclusive

2016-04-28 Thread Mugunthan V N
deprecated, as phy-handle should be > used instead. > > Signed-off-by: David Rivshin Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH] net: ethernet: davinci_emac: Fix devioctl while in fixed link

2016-04-25 Thread Mugunthan V N
uot;net: davinci_emac: Add support for fixed-link PHY") > Signed-off-by: Neil Armstrong Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH net v2 0/3] drivers: net: cpsw: phy-handle fixes

2016-04-21 Thread Mugunthan V N
llowing [1]: > - emac0 with phy_id and emac1 with fixed phy > - emac0 with phy-handle and emac1 with fixed phy > - emac0 with fixed phy and emac1 with fixed phy > > Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v2] MAINTAINERS: net: add entry for TI Ethernet Switch drivers

2016-04-21 Thread Mugunthan V N
as the reviewer. > > Cc: "David S. Miller" > Cc: Tony Lindgren > Cc: Mugunthan V N > Cc: Richard Cochran > Signed-off-by: Grygorii Strashko Acked-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH 0/2] drivers: net: cpsw: fix ale calls and drop host_port field from cpsw_priv

2016-04-11 Thread Mugunthan V N
changed, 21 insertions(+), 31 deletions(-) > Reviewed-by: Mugunthan V N Regards Mugunthan V N

[PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node.

2015-06-24 Thread Mugunthan V N
From: Sourav Poddar Add clock node for qspi controller driver on am437x. Cc: Keerthy Cc: Tero Kristo Signed-off-by: Sourav Poddar Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am4372.dtsi| 2 ++ arch/arm/boot/dts/am43xx-clocks.dtsi | 8 2 files changed, 10 insertions

[PATCH 1/1] ARM: dts: DRA72: switch to cpsw slave0 for ethernet

2015-06-22 Thread Mugunthan V N
From: Vignesh R On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw slave0 for ethernet. Add gpio hog entry to pcf_gpio_21 in order to select cpsw slave0. Signed-off-by: Vignesh R Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra72-evm.dts | 10 -- 1 file changed

Re: [PATCH 0/2] CLK: TI: add dpll_clksel_mac_clk node

2015-06-18 Thread Mugunthan V N
arm/boot/dts/am4372.dtsi| 7 +-- > arch/arm/boot/dts/am43xx-clocks.dtsi | 9 + > drivers/clk/ti/clk-43xx.c| 1 + > 3 files changed, 15 insertions(+), 2 deletions(-) > Tested-by: Mugunthan V N Regards Mugunthan V N -- To unsubscribe from this list: send the li

Re: [PATCH] net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface

2015-04-23 Thread Mugunthan V N
-off-by: Murali Karicheri > --- Acked-by: Mugunthan V N Regards Mugunthan V N -- 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

  1   2   3   >