[U-Boot] [PATCH v2 3/3] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-12-14 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 152 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/gadget/rndis.h | 19 -- include

[U-Boot] [PATCH v2 0/3] DM conversion of usb ether gadget

2016-12-14 Thread Mugunthan V N
://lists.denx.de/pipermail/u-boot/2016-February/246827.html Mugunthan V N (3): drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined drivers: usb: gadget: ether: remove unused variable tmp drivers: usb: gadget: ether/rndis: convert driver to adopt device

[U-Boot] [PATCH v2 1/3] drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined

2016-12-14 Thread Mugunthan V N
@4a10 misc[ + ]`-- usb@4740 usb_dev_gen [ + ]|-- usb@47401000 eth [ + ]| `-- usb_ether usb [ ]`-- usb@47401800 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 8 ++--

[U-Boot] [PATCH v2 2/3] drivers: usb: gadget: ether: remove unused variable tmp

2016-12-14 Thread Mugunthan V N
tmp variable in eth_bind() is never used any where, so remove it. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index bcc8be86a5..e8d9e4a9c9

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-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: [U-Boot] [PATCH resend v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-29 Thread Mugunthan V N
On Wednesday 30 November 2016 05:24 AM, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:39 PM, Mugunthan V N <mugunthan...@ti.com> wrote: >> Adopt usb ether gadget and rndis driver to adopt driver model >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com&

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-29 Thread Mugunthan V N
On Wednesday 30 November 2016 04:43 AM, Joe Hershberger wrote: > On Sun, Nov 27, 2016 at 11:02 AM, Simon Glass <s...@chromium.org> wrote: >> Hi Mugunthan, >> >> On 24 November 2016 at 01:11, Mugunthan V N <mugunthan...@ti.com> wrote: >>> Hi Simon >

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

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

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-24 Thread Mugunthan V N
Hi Simon On Thursday 24 November 2016 07:51 AM, Simon Glass wrote: > Hi Mugunthan, > > On 20 November 2016 at 22:38, Mugunthan V N <mugunthan...@ti.com> wrote: >> Hi Simon, >> >> On Saturday 19 November 2016 01:04 AM, Simon Glass wrote: >>> Hi Mugun

Re: [U-Boot] [PATCH] defconfig: am43xx_evm: Enable DM_SPI and DM_SPI_FLASH

2016-11-22 Thread Mugunthan V N
-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-20 Thread Mugunthan V N
Hi Simon, On Saturday 19 November 2016 01:04 AM, Simon Glass wrote: > Hi Mugunthan, > > On 17 November 2016 at 01:09, Mugunthan V N <mugunthan...@ti.com> wrote: >> Convert usb ether gadget to adopt usb driver model >> >> Signed-off-by: Mugunthan V N <mugunt

[U-Boot] [PATCH v3 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-11-20 Thread Mugunthan V N
Use net device priv to pass usb ether priv and use it in net device ops callback. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 46 +- 1 file changed, 2

[U-Boot] [PATCH v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-20 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/Kconfig | 4 ++ drivers/usb/gadget/ether.c | 153 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/

[U-Boot] [PATCH v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-11-18 Thread Mugunthan V N
Consolidate the net device, usb eth device and gadget device struct to single struct and a single global variable so that the same can be passed as priv of ethernet driver. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- driver

[U-Boot] [PATCH v3 0/6] DM conversion of usb ether gadget

2016-11-18 Thread Mugunthan V N
USLEEP_RANGE patches/usb_gadget/v3.00/0006-drivers-usb-gadget-ether-rndis-convert-driver-to-ado.patch has style problems, please review. Mugunthan V N (6): drivers: usb: gadget: ether: adopt to usb driver model drivers: usb: gadget: ether: access network_started using local variable

[U-Boot] [PATCH v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-11-18 Thread Mugunthan V N
network_started of struct eth_dev can be accessed using local variable dev and no reason to access it with the global struct. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 10 +- 1 fil

Re: [U-Boot] [PATCH v3 0/6] DM conversion of usb ether gadget

2016-11-17 Thread Mugunthan V N
On Thursday 17 November 2016 01:39 PM, Mugunthan V N wrote: > This patch series adopts driver model for usb ether gadget > driver. This series is tested with MUSB driver model conversion > on AM335x GP evm and AM335x BBB (logs [1]). Please drop this patch series as not all patches of th

[U-Boot] [PATCH resend v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-17 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/Kconfig | 4 ++ drivers/usb/gadget/ether.c | 153 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/

[U-Boot] [PATCH resend v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-11-17 Thread Mugunthan V N
prepare driver for driver model migration Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 73 +- 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/e

[U-Boot] [PATCH resend v3 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-11-17 Thread Mugunthan V N
Use net device priv to pass usb ether priv and use it in net device ops callback. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 46 +- 1 file changed, 2

[U-Boot] [PATCH resend v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-11-17 Thread Mugunthan V N
Consolidate the net device, usb eth device and gadget device struct to single struct and a single global variable so that the same can be passed as priv of ethernet driver. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- driver

[U-Boot] [PATCH resend v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-11-17 Thread Mugunthan V N
network_started of struct eth_dev can be accessed using local variable dev and no reason to access it with the global struct. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 10 +- 1 fil

[U-Boot] [PATCH resend v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-17 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadg

[U-Boot] [PATCH resend v3 0/6] DM conversion of usb ether gadget

2016-11-17 Thread Mugunthan V N
as this has to be fixed all over the file which should be a separate patch. CHECK: Avoid CamelCase: #297: FILE: drivers/usb/gadget/rndis.c:1157: +int rndis_set_param_dev(u8 configNr, struct eth_device *dev, int mtu, Mugunthan V N (6): drivers: usb: gadget: ether: adopt to usb driver model drivers: usb

Re: [U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-17 Thread Mugunthan V N
mentation/devicetree/bindings/net/keystone-netcp.txt), still do we need to document the same in u-boot as well? Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 10/10] defconfig: am335x_evm: enable usb driver model

2016-11-17 Thread Mugunthan V N
enable usb driver model for am335x bbb as musb supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am335x_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index e5a1696914..7e1c

[U-Boot] [PATCH v3 08/10] am33xx: board: init usb ether gadget for rndis support

2016-11-17 Thread Mugunthan V N
Add usb ether gadget device with usb_ether_init() when CONFIG_DM_ETH and CONFIG_USB_ETHER are defined. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/cpu/armv7/am33xx/board.c | 8 1 file changed, 8 insertions(+)

[U-Boot] [PATCH v3 09/10] am335x_evm: enable usb ether gadget as it supports DM_ETH

2016-11-17 Thread Mugunthan V N
Since usb ether gadget have support for driver model, so enable usb ether gadget. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- include/configs/am335x_evm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/am

[U-Boot] [PATCH v3 07/10] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-11-17 Thread Mugunthan V N
Add a TI MUSB peripheral driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/musb-new/musb_u

[U-Boot] [PATCH v3 06/10] drivers: usb: musb: add ti musb host driver with driver model support

2016-11-17 Thread Mugunthan V N
Add a TI MUSB host driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- drivers/usb/musb-new/ti-

[U-Boot] [PATCH v3 05/10] drivers: usb: musb: adopt musb backend driver to driver model

2016-11-17 Thread Mugunthan V N
Currently all backend driver ops uses hard coded physical address, so to adopt the driver to DM, add device pointer to ops call backs so that drivers can get physical addresses from the usb driver priv/plat data. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Ri

[U-Boot] [PATCH v3 04/10] am33xx: board: probe misc drivers to register musb devices

2016-11-17 Thread Mugunthan V N
MUSB wrapper driver is bound as MISC device and underlying usb devices are bind to usb drivers based on dr_mode, so probing the MISC wrapper driver to register musb devices. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/a

[U-Boot] [PATCH v3 02/10] am33xx: board: do not register usb devices when CONFIG_DM_USB is defined

2016-11-17 Thread Mugunthan V N
Do not register usb devices when CONFIG_DM_USB is define. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/cpu/armv7/am33xx/board.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/am

[U-Boot] [PATCH v3 01/10] configs: am335x: usb: do not define CONFIG_DM_USB for spl

2016-11-17 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_DM_USB for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/inc

[U-Boot] [PATCH v3 00/10] driver model bring-up of musb on AM335x GP and BBB

2016-11-17 Thread Mugunthan V N
are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 0 checks, 14 lines checked Mugunthan V N (10): configs: am335x: usb: do not define CONFIG_DM_USB for spl am33xx: board: do not register usb devices when CONFIG_DM_USB is de

[U-Boot] [PATCH v3 03/10] drivers: usb: musb: add ti musb misc driver for wrapper

2016-11-17 Thread Mugunthan V N
Add a misc driver for MUSB wrapper, so that based on dr_mode the USB devices can bind to USB host or USB device drivers. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- drivers/usb/musb-new/Kconfig | 9 ++ drivers/usb/musb-

[U-Boot] [PATCH v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-11-17 Thread Mugunthan V N
prepare driver for driver model migration Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 73 +- 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/e

[U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-17 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadg

[U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-14 Thread Mugunthan V N
Add support to detect RGMII link interface from link-interface device tree entry. Also rename the existing link type enums so that it provides meaning full interface like SGMII. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- Without this support there is a crash in K2G EVM tftp b

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

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

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

2016-11-12 Thread Mugunthan V N
and it will be 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 <mugunthan...@ti.com> --- include/linux/mfd/ti_am335x_tscadc.h | 2 +- 1 file changed, 1 ins

[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 <mugunthan...@ti.com> --- .../bindings

[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
://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/input

[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
://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/input

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 touchscree

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 touchscree

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 <mugunthan...@ti.com> wrote: >> > >> > Increase ADC reference clock from 3MHz to 24MHz so that the >> > sampling rates goes up from 100K samples

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-24 Thread Mugunthan V N
in the same amount touch events reported via evtest on AM335x GP EVM. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- 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 s

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

2016-10-24 Thread Mugunthan V N
in 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 <mugunthan...@ti.com> > Hi, > > Jus

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 inl

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

2016-10-19 Thread Mugunthan V N
ing <r...@kernel.org> Fixes some junk characters seen on boot console on TI platforms. Tested-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N > --- > v2: > - Add Acked-by, > - Reworded one-line summary (incl. magic word "fix"). > > Ca

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

2016-10-19 Thread Mugunthan V N
onsole. > > 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. Tested-

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

2016-10-18 Thread Mugunthan V N
vert 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

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

2016-10-18 Thread Mugunthan V N
vert 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 <mugunthan...@ti.com> --- 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..1

[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 <mugunthan...@ti.com> --- 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..1

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

[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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++

[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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra

[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 <mugunthan...@ti.com> --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file c

[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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++

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

[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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra

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

[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 <mugunthan...@ti.com> --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file c

[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

[U-Boot] [PATCH v2 2/3] include: configs: am335x: add Atheros phy support

2016-10-13 Thread Mugunthan V N
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as AM335x SoC RGMII delay mode has to be enabled in phy as mentioned in the silicon errata Advisory 1.0.10 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- inc

[U-Boot] [PATCH v2 0/3] Add Atheros phy delay support and CPSW RGMII id support

2016-10-13 Thread Mugunthan V N
u-boot.git cpsw-rgmii-v2 Mugunthan V N (3): drivers: net: phy: atheros: add separate config for AR8031 include: configs: am335x: add Atheros phy support driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection drivers/net/cpsw.c

[U-Boot] [PATCH v2 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-13 Thread Mugunthan V N
cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Signed-off-by: Lokesh

[U-Boot] [PATCH v2 1/3] drivers: net: phy: atheros: add separate config for AR8031

2016-10-13 Thread Mugunthan V N
EVMsk second port which uses AR8031 Giga bit RGMII phy. Fixing this by adding separate config for AR8031 phy. Reviewed-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- drivers/net/

Re: [U-Boot] [PATCH 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-12 Thread Mugunthan V N
On Thursday 13 October 2016 09:39 AM, Lokesh Vutla wrote: > > > On Monday 10 October 2016 06:27 PM, Mugunthan V N wrote: >> cpsw driver supports only selection of phy mode in control module >> but control module has more setting like RGMII ID mode selection, >> RMII

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

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

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

[U-Boot] [PATCH 2/3] include: configs: am335x: add Atheros phy support

2016-10-10 Thread Mugunthan V N
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as AM335x SoC RGMII delay mode has to be enabled in phy as mentioned in the silicon errata Advisory 1.0.10 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 inse

[U-Boot] [PATCH 1/3] drivers: net: phy: atheros: add separate config for AR8031

2016-10-10 Thread Mugunthan V N
EVMsk second port which uses AR8031 Giga bit RGMII phy. Fixing this by adding separate config for AR8031 phy. Reviewed-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/phy/atheros.c | 37 - 1 file

[U-Boot] [PATCH 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-10 Thread Mugunthan V N
cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/cpsw.c

[U-Boot] [PATCH 0/3] Add Atheros phy delay support and CPSW RGMII id support

2016-10-10 Thread Mugunthan V N
for testing [2]. * DRA 72 Rev B EVM * DRA 72 Rev C EVM * DRA 74 EVM * AM437x GP EVM * AM335x BBB * AM335x GP EVM [1] - http://pastebin.ubuntu.com/23302895/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git cpsw-rgmii Mugunthan V N (3): drivers: net: phy: atheros: add separate config

[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 <mugunthan...@ti.com> --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file changed, 12 insertions(+) diff

[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 <mugunthan...@ti.com> --- 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..1

[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 <mugunthan...@ti.com> --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file changed, 12 insertions(+) diff

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

[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 <mugunthan...@ti.com> --- 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..1

[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 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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra

[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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++

[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 <mugunthan...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 2 ++

  1   2   3   4   5   6   7   8   9   10   >